// JavaScript Document
function loadflash(sUrl,sWidth,sHeight){
  document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0' width='"+sWidth+"' height='"+sHeight+"' >");
  document.write("<param name='movie' value='"+sUrl+"' />");
  document.write("<param name='quality' value='high' />");
  document.write("<param name='wmode' value='transparent' />");
  document.write("<param name='menu' value='false'>");
  document.write("<embed src='"+sUrl+"' quality='high' wmode='transparent' pluginspage='http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='"+sWidth+"' height='"+sHeight+"' ></embed></object>");
}

function onsize(chkWidth,chkHeight) {
  var sWidth =(document.documentElement.clientWidth-chkWidth)/2;
  var sHeight =(document.documentElement.clientHeight-chkHeight)/2;
  document.getElementById("box").style.height = document.documentElement.clientHeight+"px";
  document.getElementById("menu").style.left = sWidth+"px";
  document.getElementById("main").style.top = sHeight+"px";
  document.getElementById("main").style.left = sWidth+"px";
}

document.oncontextmenu = function(event){return false;}
document.onselectstart=new Function("event.returnValue=false;"); 
document.onSelectStart=false;

