/*
 * Triumph JSÀà¿â--ËøÆÁ
 * ×÷Õß Íõ¿­ 2009-6-21
 */
function Screen(){this.fullWidth=function(){var strWidth;var clientWidth;var bodyWidth;clientWidth = document.documentElement.clientWidth;bodyWidth = $(document).width();if(bodyWidth > clientWidth){strWidth = bodyWidth;} else {strWidth = clientWidth;}return strWidth;}
    this.fullHeight=function(){var strHeight,clientHeight,bodyHeight;clientHeight = document.documentElement.clientHeight;bodyHeight = $(document).height();if(bodyHeight > clientHeight){strHeight = bodyHeight;} else {strHeight = clientHeight;}return strHeight;}
    this.id="screenDiv";this.width=0;this.height=0;this.top=0;this.left=0;this.zindex=1000;this.background="#000000";this.screenDiv = document.createElement("div");this.screenDiv.id=this.id;
    this.lock=function(h){if(this.width<1){this.width=this.fullWidth();}if(this.height<1){this.height=this.fullHeight();}var screen=$(this.screenDiv);screen.css("position","absolute");screen.css("zIndex",this.zindex);screen.css("left",this.left);screen.css("top",this.top);screen.css("display","none");screen.css("width","100%");screen.css("height",this.height);screen.css("background",this.background);screen.append("&nbsp;");document.body.appendChild(this.screenDiv);var jqscreen=$("#screenDiv");jqscreen.fadeTo(1, 0.00, function(){document.body.scroll="no";jqscreen.show();jqscreen.fadeTo(260,0.60,function(){if(h==undefined){return;}if(h==null){return;}new h();});});}
    this.unlock=function(h){document.body.scroll="auto";var jqscreen=$("#screenDiv");jqscreen.fadeTo(180, 0.00, function(){jqscreen.hide(1,function(){if(h==undefined){return;}if(h==null){return;}new h();});});}}
