function reHeight(){var p$d=document.documentElement;var p$bh=p$d.scrollHeight;var p$dh=p$d.clientHeight;$(".asBody").height(Math.max(p$dh,p$bh));};function reTop(n){if($.browser.msie&&$.browser.version=="6.0"){var $select=$("select:not(.ie6popshow)");switch(n){case 0:$select.css("visibility","hidden");break;case 1:$select.css( "visibility","visible");break;default:$(".pop").css({top:document.documentElement.clientHeight/2+$(this).scrollTop()});}}}function openPop(c){if($(".asBody")[0]==null){$("body").append("<div class=\"asBody\"><\/div>");};if($(".pop")[0]!=null){	$(".pop").remove();};	$("body").append("<div class=\"pop "+c+"\"><\/div>");reHeight();	setTimeout(function(){$(".pop").fadeIn("normal").css({"margin-top":-($(".pop").height()/2),"margin-left":-($(".pop").width()/2)});},1);reTop();reTop(0);$(".asBody").fadeIn("fast").css({"filter":"Alpha(opacity=34)"});};function closePop(c){$(".pop").fadeOut("fast",function(){$(this).remove();reTop(1);});if(c==null){$(".asBody").fadeOut("normal",function(){$(this).remove();});};}$(window).resize(function(){	setTimeout("reHeight()",1);});$(window).scroll(function(){reTop();});