function LoadFlash(url,wmode,width,Height)
{ 
document.write(
  '<embed src="' + url + '" wmode=' + wmode +' quality="high"  width="' + width + '" height="' + Height + '" pluginspage=http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash type="application/x-shockwave-flash"></embed>');   
}

/*-------------------*/

function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}


/*另開視窗置中*/
function openwindow(url,name,iWidth,iHeight)
 {
  var url;                                 //?向网?的地址;
  var name;                           //网?名?，可?空;
  var iWidth;                          //?出窗口的?度;
  var iHeight;                        //?出窗口的高度;
  var iTop = (window.screen.availHeight-30-iHeight)/2;       //?得窗口的垂直位置;
  var iLeft = (window.screen.availWidth-10-iWidth)/2;           //?得窗口的水平位置;
  window.open(url,name,'height='+iHeight+',,innerHeight='+iHeight+',width='+iWidth+',innerWidth='+iWidth+',top='+iTop+',left='+iLeft+',toolbar=no,menubar=no,scrollbars=auto,resizeable=no,location=no,status=no');
 }
