function autoMovie(flashFile, larg, altu , bIsTransparent)
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+larg+'" height="'+altu+'">');
	document.write('<param name="movie" value="'+flashFile+'">');	
	document.write('<param name="quality" value="high">');
	if(bIsTransparent)
		document.write('<param name="wmode" value="transparent">');	
	document.write('<param name="menu" value="false">');	
	document.write('<embed src="'+flashFile+'" '+(bIsTransparent?'wmode="transparent"':'')+' menu="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+larg+'" height="'+altu+'"></embed>');
	document.write('</object>');
}

function InsertPDF(file,width,height)  
{  
	document.write('<OBJECT id="pdf" height="'+height+'" width="'+width+'" classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" viewastext>');  
	document.write('<PARAM name="src" value="'+file+'">');  
	document.write('<EMBED id="pdf" SRC="'+file+'" HEIGHT="'+height+'" WIDTH="'+width+'"></EMBED>');  
	document.write('</OBJECT>');  
} 

function InsertPDFInto(file,width,height,container)  
{  
	var temp='<OBJECT id="pdf" height="'+height+'" width="'+width+'" classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" viewastext>';  
	temp+='<PARAM name="src" value="'+file+'">';  
	temp+='<EMBED id="pdf" SRC="'+file+'" HEIGHT="'+height+'" WIDTH="'+width+'"></EMBED>';  
	temp+='</OBJECT>';  
	    document.getElementById(container).innerHTML=temp;
} 


function InsertMovie360(file,width,height,plugin){
      document.write('<OBJECT id=spv width="'+width+'" height="'+height+'" classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,0,0,0" viewastext>');
      document.write('<PARAM name=src value="'+plugin+'">');
      document.write('<PARAM name=swURL value="'+file+'">');
      document.write('<param name=swStretchStyle value=stage>');
      document.write('<param name="swRemote" value="swContextMenu=FALSE">');
      document.write('<param name=progress value=true>');
      document.write('<param name=logo value=false>');
      document.write('<EMBED id=spv width="'+width+'" height="'+height+'" type="application/x-director" pluginspage="http://www.macromedia.com/shockwave/download/" src="'+plugin+'" swurl="'+file+'" swstretchstyle=stage swRemote="swContextMenu=FALSE" progress=FALSE logo=FALSE></EMBED>');
      document.write('</OBJECT>');
}

function InsertMovie360Into(file,width,height,plugin,container){
	var temp='<OBJECT id=spv width="'+width+'" height="'+height+'" classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,0,0,0" viewastext>';
      temp+='<PARAM name=src value="'+plugin+'">';
       temp+='<PARAM name=swURL value="'+file+'">';
       temp+='<param name=swStretchStyle value=stage>';
      temp+='<param name="swRemote" value="swContextMenu=FALSE">';
       temp+='<param name=progress value=true>';
       temp+='<param name=logo value=false>';
       temp+='<EMBED id=spv width="'+width+'" height="'+height+'" type="application/x-director" pluginspage="http://www.macromedia.com/shockwave/download/" src="'+plugin+'" swurl="'+file+'" swstretchstyle=stage swRemote="swContextMenu=FALSE" progress=FALSE logo=FALSE></EMBED>';
       temp+='</OBJECT>';
       document.getElementById(container).innerHTML=temp;
}
