/* Script [ Flash & ActiveX ] */

function MakeFlashString(source,id,width,height,wmode, otherParam)
{	
	_FS = "<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0\" ";
	_FS = _FS + "width="+width+" height="+height+" id="+id+">";
	_FS = _FS + "<param name=wmode value="+wmode+">";
	_FS = _FS + "<param name=movie value="+source+">";
	_FS = _FS + "<param name=quality value=high>";
	_FS = _FS + otherParam;
	_FS = _FS + "<embed src="+source+" quality=high wmode="+wmode;
	_FS = _FS + " type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" ";
	_FS = _FS + "width="+width+" height="+height+"></embed></object>";

	return _FS;
}

function MakeObjectString(classid, codebase, name, id, width,height,wmode,param)
{
	_FS = "<object classid="+classid;
	_FS = _FS + " codebase="+codebase;
	_FS = _FS + " name="+name;
	_FS = _FS + " width="+width+" height="+height+" id="+id+">";
	_FS = _FS + "<param name=wmode value="+wmode+">"+param+"</object>";

	return _FS;
}


// innerHTML Type
function SetInnerHTML(target, code)
{ 
	target.innerHTML = code; 
}

// Direct Write Type
function DocumentWrite(src)
{
	document.write(src);
}



//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+"></embed></object>";
//}

//function MakeObjectString(classid, codebase, name, id, width,height,wmode,param)
//{
//	return "<object classid="+classid+" codebase="+codebase+" name="+name+" width="+width+" height="+height+" id="+id+"><param name=wmode value="+wmode+" />"+param+"</object>";
//}
