function swf(src,w,h)
{
	html = '';
	html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="param" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';
	html += '<param name="bgcolor" value="#ffffff">';
	html += '<param name="menu" value="false">';
	html += '<param name="wmode" value="transparent">';
	html += '<param name="swliveconnect" value="true">';
	html += '<embed src="'+src+'" quality=high bgcolor="#ffffff" menu="false" width="'+w+'" height="'+h+'" swliveconnect="true" id="param" name="param" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>';
	html += '<\/object>';
	document.write(html);
}

function top_swf(src,w,h)
{
    html = "";
	html += "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='"+w+"' height='"+h+"' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0'  id='ShockwaveFlash1'>" ;
	html += "<param name=flash_component value='ImageViewer.swc'>" ;
	html += "<param name=movie value='"+src+"'>" ;
	html += "<param name=quality value='high'>" ;
	html += "<param name=wmode value='transparent'>" ;
	html += "<param name='FlashVars' value='' flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:true,frameShow:false,slideDelay:5,captionSize:10,captionColor:#333333,titleSize:10,transitionsType:'Random',titleColor:#333333,slideAutoPlay:false,imageURLs:['img1.jpg','img2.jpg','img3.jpg'],slideLoop:false,frameThickness:2,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[]} > " ;
    html += "<embed src='"+src+"' width='"+w+"' height='"+h+"' quality='high' flashvars='' flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:true,frameShow:false,slideDelay:5,captionSize:10,captionColor:#333333,titleSize:10,transitionsType:'Random',titleColor:#333333,slideAutoPlay:false,imageURLs:['img1.jpg','img2.jpg','img3.jpg'],slideLoop:false,frameThickness:2,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[]} pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash'><\/embed>";
	html += "<\/object>";
	document.write(html); 
}	


function vod7(src,w,h)
{
 html = '';
 html += '<OBJECT classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" height='+h+' id=obj width='+w+' type=application/x-oleobject VIEWASTEXT standby="Loading Microsoft Windows Media Player components...">';
 html += '<PARAM NAME="EnableFullScreenControls" VALUE="-1">';
 html += '<param NAME="TransparentAtStart" VALUE="1">';
 html += '<PARAM NAME="AnimationAtStart" VALUE="-1">';
 html += '<PARAM NAME="ClickToPlay" VALUE="1">';
 html += '<PARAM NAME="DisplaySize" VALUE="4">';
 html += '<PARAM NAME="Filename" VALUE="'+src+'">';
 html += '<PARAM NAME="PlayCount" VALUE="1">';
 html += '<PARAM NAME="EnableContextMenu" VALUE="0">';
 html += '<PARAM NAME="SendOpenStateChangeEvents" VALUE="-1">';
 html += '<PARAM NAME="SendPlayStateChangeEvents" VALUE="-1">';
 html += '<PARAM NAME="ShowControls" VALUE="1">';
 html += '<PARAM NAME="ShowStatusBar" VALUE="1">';
 html += '<\/OBJECT>';
 document.write(html);
}

function vod9(src,w,h)
{
 html = '';
 html += '<OBJECT classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" height='+h+' id=obj width='+w+' type="application/x-oleobject" standby="Loading Microsoft Windows Media Player components..." VIEWASTEXT>';
 html += '<param name="URL" value="'+src+'">';
 html += '<param name="uiMode" value="full">';
 html += '<param name="stretchToFit" value="true">';
 html += '<PARAM name="EnableContextMenu" value="0">';
 html += '<\/OBJECT>';
 document.write(html);
}

function teruten(w,h)
{
 html = '';
 html += '<OBJECT ID="obj" width="'+w+'" height="'+h+'" type="application/x-oleobject" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" VIEWASTEXT>';
 html += '<param name="autoStart" value="true">';
 html += '<param name="stretchToFit" value="true">';
 html += '<param name="uiMode" value="full">';
 html += '<param name="EnableContextMenu" value="0">';
 html += '<\/OBJECT>';
 document.write(html);
}

function emb(src,w,h)
{
	html = '';
	html += '<embed src="'+src+'" quality="hight" wmode="transperant" width="'+w+'" height="'+h+'">';
	html += '<\/embed>';
	document.write(html);
}
