﻿// JScript 檔

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 check_width()
{
var s=800;
if(screen.width!=s);
document.write("您的螢幕解析度是 "+screen.width+" * "+screen.height);
if(screen.width!=s)document.write("，並非最佳解析度，建議您更換解析度。");
else document.write("，符合本站最佳瀏覽環境。");
}

//放大縮小
function MM_effectGrowShrink(targetElement, duration, from, to, toggle, referHeight, growFromCenter)
{
	Spry.Effect.DoGrow(targetElement, {duration: duration, from: from, to: to, toggle: toggle, referHeight: referHeight, growCenter: growFromCenter});
}

function NtouPrt(mPath)
{
window.open(mPath,"","width=100 height=120");
}