function EmbedFlash(source,width,height,wmode, otherParam)

{	
	var t =  " <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+"> " +
					" <param name='allowScriptAccess' value='always'> " +
					" <param name=wmode value="+wmode+" /> " +
					" <param name=movie value="+source+" /> " +
					" <param name=quality value=high />" +
					" <param name=\"FlashVars\" value=\"" +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>";
 document.write(t);					

}







function MakeFlashString(source,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+"><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 MakeFlashString2(param)
{
	return param;
}


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>";

}

function MakeAppletString(ozcodebase, seve, repo, arg1,width,height,otherparam)
{
	return '<applet codebase="'+ozcodebase+'" code="oz.applet.OZIEApplet" width="'+width+'%" height="'+height+'"><param name="CABBASE" value="OZApplet4IE.cab"><param name="connection.servlet" value="'+seve+'"><param name="connection.reportname" value="/contents/'+repo+'"><param name="applet.configmode" value="html"><param name="applet.isframe" value="false"><param name="applet.usestatusbar" value="false"><param name="applet.useprogressbar" value="true"><param name="toolbar.all" value="false"><param name="connection.pcount" value="1"><param name="connection.args1" value="DATA_SOURCE='+arg1+'">'+otherparam+'</applet>';
}
function MakeAppletString2(ozcodebase, seve, arg1,width,height,otherparam)
{
	return '<applet codebase="'+ozcodebase+'" code="oz.applet.OZIEApplet" width="'+width+'%" height="'+height+'"><param name="CABBASE" value="OZApplet4IE.cab"><param name="connection.servlet" value="'+seve+'"><param name="applet.configmode" value="html"><param name="applet.isframe" value="false"><param name="applet.usestatusbar" value="false"><param name="applet.useprogressbar" value="true"><param name="toolbar.all" value="false"><param name="connection.pcount" value="1"><param name="connection.args1" value="DATA_SOURCE='+arg1+'">'+otherparam+'</applet>';
}
function MakeAppletString3(param)
{
	return param;
}






// innerHTML Type

function SetInnerHTML(target, code)

{ 

	target.innerHTML = code; 

}



// Direct Write Type

function DocumentWrite(src)

{

	document.write(src);

}


