// ################## Script For Flash & ActiveX #########################
function MkFlash(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+"></embed></object>";
}

function MkMovie(source,id,width,height,size,autostart,otherParam)
{	
	return "<object name=\"MediaPlayer1\" id=\"MediaPlayer1\" width=\""+width+"\" height=\""+height+"\" classid=\"clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95\" codebase=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#version=6,4,7,1112\" standby=\"loading windows media player components...\" type=\"application/x-oleobject\"><param name=Filename value="+source+"><param name=\"autostart\" value=\"true\"><param name=\"sendmouseclickevents\" value=\"false\"><param name=\"allowchangedisplaysize\" value='0'><param name=\"enablefullscreencontrols\" value=\"false\"><PARAM NAME=\"EnableContextMenu\" VALUE=\"false\"><param name=\"displaysize\" value=''><param name=\"sendmousemoveevents\" value=\"false\"><param name=\"sendmouseclickevents\" value=\"false\"><param name=\"sendkeyboardevents\" value=\"false\"><param name=\"transparentonstop\" value=\"true\"><param name=\"clicktoplay\" value=\"false\"><param name=\"showcontrols\" value=\"0\"><param name=\"showpositioncontrols\" value=\"1\"><param name=\"showstatusbar\" value=\"1\"><param name=\"autosize\" value=\"0\"><param name=\"autoresize\" value=\"0\"><param name=\"animationatstart\" value=\"1\"><param name=\"transparentatstart\" value=\""+autostart+"\">"+otherParam+"</object>";
}

function MkObject(classid, codebase, name, id, width,height, param)
{
	return "<object classid="+classid+" codebase="+codebase+" name="+name+" width="+width+" height="+height+" id="+id+">"+param+"</object>";
}

function SetInnHTML(target, code)
{ 
	target.innerHTML = code; 
}

function DocuWrite(src)
{
	document.write(src);
}
// #######################################################################