<!-- // Detect Client Browser type
var isIEape  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
function loadLink(inputLink){
	if(isIEape){
		frames['related'].location.href=inputLink;
	}else{
		document.getElementById("related").src=inputLink;
	}
}
function makeFlashFull(flash_url, flash_w, flash_h, div_id, div_w, div_h, flash_query) {
	//var theh= (parseInt(h)+35);
	if(div_id==""){
		document.write('<div id="container" style="float:left; width:'+div_w+'px; height:'+div_h+'px; margin: 0 0 0 0; top:0px; left:0px; overflow: hidden; visibility:visible;"></div>');
		div_id="container";
	}
	
	if(isIEape) {
		var tempApe = document.createElement('object');
		document.getElementById(div_id).appendChild(tempApe);
		tempApe.width = flash_w;
		tempApe.height = flash_h;
		tempApe.id = "container_swf";
		tempApe.codebase = "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,18,0"
		tempApe.classid = "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000";
		tempApe.allowFullScreen ="true";
		tempApe.allowScriptAccess = "always";
		tempApe.scale = "noscale";
		tempApe.wmode = "transparent";
		//tempApe.salign = "lt";
		tempApe.movie = flash_url+"?"+flash_query;
	} else {
			var tagApe= '<OBJECT' +
			'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" CODEBASE="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,18,0"  align="middle" WIDTH="'+flash_w+'" HEIGHT="'+flash_h+'" ID="container_swf">' +
			'<PARAM NAME="allowScriptAccess" VALUE="always" />' +
			'<PARAM NAME="movie" VALUE="'+flash_url+'?'+flash_query +'" />' +
			'<PARAM NAME="quality" VALUE="high" />' +
			'<PARAM NAME="wmode" VALUE="transparent" />' +
			//'<PARAM NAME="salign" VALUE="lt" />' +
			'<PARAM NAME="scale" VALUE="noscale" />' +
			'<EMBED SRC="'+flash_url+'?'+flash_query+'" wmode="transparent" loop="false" menu="false" quality="high" scale="noscale" salign="lt" bgcolor="#000000" align="left" WIDTH="'+flash_w+'" HEIGHT="'+flash_h+'" NAME="container_swf" allowFullScreen="true" allowScriptAccess="always" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" />' +
			'</OBJECT>';
			document.getElementById(div_id).innerHTML = tagApe;
	}
}


