function insFlash(w,h,n){
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+w+'" height="'+h+'">\n');
    document.write('<param name="movie" value="'+n+'" name="quality" value="high">\n');
    document.write('<param name="menu" value="false">\n');
    document.write('<embed src="'+n+'" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed></object>\n');
}
function insInfomercial(w,h,n){
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+w+'" height="'+h+'">\n');
    document.write('<param name="movie" value="'+n+'" name="quality" value="high">\n');
    document.write('<param name="menu" value="false">\n');
    document.write('<param name="bgcolor" value="#EEEEEE">\n');
    document.write('<embed src="'+n+'" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'" bgcolor="#EEEEEE"></embed></object>\n');
}
function insFlash1(w,h,n,param){
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+w+'" height="'+h+'">\n');
    document.write('<param name="movie" value="'+n+'" name="quality" value="high">\n');
    document.write('<param name="menu" value="false">\n');
    document.write('<param name="FlashVars" value="albumid='+param+'">\n');
    document.write('<embed src="'+n+'" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'" FlashVars="albumid='+param+'"></embed></object>\n');
}
function insFlashP(w,h,n,param){
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+w+'" height="'+h+'">\n');
    document.write('<param name="movie" value="'+n+'" name="quality" value="high">\n');
    document.write('<param name="menu" value="false">\n');
    document.write('<param name="FlashVars" value="param1='+param+'">\n');
    document.write('<embed src="'+n+'" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'" FlashVars="param1='+param+'"></embed></object>\n');
}
function insFlashHistory(w,h,n){
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+w+'" height="'+h+'">\n');
    document.write('<param name="movie" value="'+n+'" name="quality" value="high">\n');
    document.write('<param name="menu" value="false">\n');
    document.write('<param name="FlashVars">\n');
    document.write('<embed src="'+n+'" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed></object>\n');
}
function insRm(w,h,n){
document.write('<OBJECT ID=RVOCX CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" WIDTH='+w+' HEIGHT='+h+'>\n');
document.write('<PARAM NAME="SRC" VALUE="'+n+'">\n');
document.write('<PARAM NAME="CONTROLS" VALUE="ImageWindow">\n');
document.write('<PARAM NAME="CONSOLE" VALUE="one"> \n');
document.write('<PARAM NAME="AUTOSTART" VALUE="true"> \n');
document.write('<EMBED SRC="'+n+'" WIDTH='+w+' HEIGHT='+h+' NOJAVA=true CONTROLS=ImageWindow CONSOLE=one AUTOSTART=true>\n');
document.write('</OBJECT><br>\n');
document.write('<OBJECT ID=RVOCX CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" WIDTH='+w+' HEIGHT=36>\n');
document.write('<PARAM NAME="CONTROLS" VALUE="ControlPanel">\n');
document.write('<PARAM NAME="CONSOLE" VALUE="one">\n');
document.write('<EMBED SRC="'+n+'" WIDTH='+w+' HEIGHT=36 NOJAVA=true CONTROLS=ControlPanel CONSOLE=one>\n');
document.write('</OBJECT>\n');
}
function insWm(w,h,n){
document.write('<object id="VIDEO style="position:relative;" NAME="Player" WIDTH="'+w+'" HEIGHT="'+h+'"  type="application/x-oleobject" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">\n');
document.write('<param NAME="URL" VALUE="'+n+'"><param>\n');
document.write('<param NAME="AUTOSTART" VALUE="true"></param>\n');
document.write('<param name="showControls" value="true"></param><PARAM NAME="windowlessVideo" VALUE="true">\n');
document.write('<embed WIDTH="'+w+'" HEIGHT="'+h+'"  SRC="'+n+'" TYPE="application/x-oleobject" AUTOSTART="false">\n');
document.write('</embed></object><br><br><br>\n');
}
function insARm(w,h,n){
document.write('<OBJECT ID=RVOCX CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" WIDTH='+w+' HEIGHT='+h+'>\n');
document.write('<PARAM NAME="SRC" VALUE="'+n+'">\n');
document.write('<PARAM NAME="CONTROLS" VALUE="ImageWindow">\n');
document.write('<PARAM NAME="CONSOLE" VALUE="one"> \n');
document.write('<PARAM NAME="AUTOSTART" VALUE="true"> \n');
document.write('<EMBED SRC="'+n+'" WIDTH='+w+' HEIGHT='+h+' NOJAVA=true CONTROLS=ImageWindow CONSOLE=one AUTOSTART=true>\n');
document.write('</OBJECT><br>\n');
document.write('<OBJECT ID=RVOCX CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" WIDTH='+w+' HEIGHT=36>\n');
document.write('<PARAM NAME="CONTROLS" VALUE="ControlPanel">\n');
document.write('<PARAM NAME="CONSOLE" VALUE="one">\n');
document.write('<EMBED SRC="'+n+'" WIDTH='+w+' HEIGHT=36 NOJAVA=true CONTROLS=ControlPanel CONSOLE=one>\n');
document.write('</OBJECT>\n');
}
function insAWm(w,h,n){
document.write('<object id="VIDEO style="position:relative;" NAME="Player" WIDTH="'+w+'" HEIGHT="'+h+'"  type="application/x-oleobject" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">\n');
document.write('<param NAME="URL" VALUE="'+n+'"><param>\n');
document.write('<param NAME="AUTOSTART" VALUE="true"></param>\n');
document.write('<param name="showControls" value="true"></param><PARAM NAME="windowlessVideo" VALUE="true">\n');
document.write('<embed WIDTH="'+w+'" HEIGHT="'+h+'"  SRC="'+n+'" TYPE="application/x-oleobject" AUTOSTART="false">\n');
document.write('</embed></object><br><br><br>\n');
}
function showhide(id){
if (document.getElementById){
obj = document.getElementById(id);
if (obj.style.display == "none"){
obj.style.display = "";
} else {
obj.style.display = "none";
}
}
} 
