<!--
// 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+"></embed></object>";
}

//Wmv
function MakeWmvString(source,id,width,height)
{	
	var autoplay;

	if(id == "wedding")
		autoplay = true;
	else
		autoplay = false;

	return "<object id=player2 name=player2 classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 standby=Loading Microsoft Windows Media Player components...  type=application/x-oleobject  bgcolor=DarkBlue width="+width+" height="+height+" align=middle>" + 
			 "<param name=loop value=true>" + 
			 "<param name=AutoStart value="+ autoplay +">" + 
			 "<param name=Filename value="+ source +">" + 
			 "<param name=ShowStatusBar value=false>" + 
			 "<param name=TransparentAtStart value=true>" + 
			 "<param name=AudioStream value=1>" + 
			 "<param name=AllowScan value=true>" + 
			 "<param name=Balance value=0>" + 
			 "<param name=BufferingTime value=5>" + 
			 "<param name=ClickToPlay value=true>" + 
			 "<param name=DisplayBackColor value=#ffffff>" + 
			 "<param name=DisplayForeColor value=#000000>" + 
			 "<param name=Volume value=-3500>" + 
			 "<param name=EnableContextMenu value=0>" + 
//			 "<param  name=mute  value=true>" + 
			 "</object>";
}

// Direct Write Type
function DocumentWrite(src)
{
	document.write(src);
}
//-->



