/*	function GoFash(idx)
	{
		var FLASH ;
		if(idx == 1)
		{
			alert("test") ;
			FLASH = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="168" height="313"><param name="movie" value="../swf/main.swf"><param name="quality" value="high"><embed src="../swf/main.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="168" height="313"></embed></object>' ;
		}


		document.write FLASH ;
	} */


function MakeFlashString(source,id,width,height,wmode, otherParam)
{ 
 return "<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0\" width="+width+" height="+height+" id="+id+"><param name=wmode value="+wmode+" /><param name=movie value="+source+" /><param name=quality value=high />"+otherParam+"<embed src="+source+" quality=high wmode="+wmode+" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+width+" height="+height+" allowScriptAccess=\"sameDomain\"></embed></object>";
}

function MakeObjectString(classid, codebase, name, id, width,height, param)
{
 return "<object classid="+classid+" codebase="+codebase+" name="+name+" width="+width+" height="+height+" id="+id+"><param name=wmode value="+wmode+" />"+param+"</object>";
}

// innerHTML Type
function SetInnerHTML(target, code)
{ 
 target.innerHTML = code; 
}

// Direct Write Type
function DocumentWrite(src)
{
 document.write(src);
}

