function printscreenx(swf,xwmode)
{
var xwidth=screen.width - 25;
var xheight=xwidth / 2;

document.write("    <object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' height="+xheight+" width="+xwidth+" id="+swf+" align='top'>");
document.write("    <param name='allowScriptAccess' value='sameDomain' />");
document.write("    <param name='movie' value='"+swf+".swf' />");
document.write("    <param name='quality' value='high' />");
document.write("    <param name='menu' value='false' />");
document.write("    <param name='salign' value='tl' />");
document.write("    <param name='wmode' value="+xwmode+" />");
document.write("    <embed src='"+swf+".swf' quality='high' height="+xheight+" width="+xwidth+" name="+swf+" menu='false' salign='tl' wmode="+xwmode+" allowScriptAccess='sameDomain' align='top' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.write("    </object>");
}
function printscreen(swf,xheight,xwidth,xwmode)
{
/*var xwidth=xwidth;
var xheight=xheight;*/

document.write("    <object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' height="+xheight+" width="+xwidth+" id="+swf+" align='top'>");
document.write("    <param name='allowScriptAccess' value='sameDomain' />");
document.write("    <param name='movie' value='"+swf+".swf' />");
document.write("    <param name='quality' value='high' />");
document.write("    <param name='menu' value='false' />");
document.write("    <param name='salign' value='tl' />");
document.write("    <param name='wmode' value="+xwmode+" />");
document.write("    <embed src='"+swf+".swf' quality='high' height="+xheight+" width="+xwidth+" name="+swf+" menu='false' salign='tl' wmode="+xwmode+" allowScriptAccess='sameDomain' align='top' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.write("    </object>");
}
function loaderobjects(){
    objects = document.getElementsByTagName("object");
    for (var i = 0; i < objects.length; i++)
    {
       objects[i].outerHTML = objects[i].outerHTML;
    }
}
