var timer;var actual_id;var vpmouseover=false;var thumbCol=0;var vp;if($.getUrlVar("vp")=="off"||globalVars.sessionPrefervp=="no"){vp=0}else{vp=1;var vpDOM}var vpReady=false;$(document).ready(function(){switch(globalVars.whereAmI){case"video":initDynamicWrap();videoHardBtnInit();$("#reportsend").reportBtn("#reportForm");$(".fav").favoriteBtn();$("#suggest_to_friends").popUpMe(".suggest_btn","");if($.getUrlVar("report")){TabbedContent.init("#tab_report",".report")}else{TabbedContent.init("#tab_details",".details")}var b=$(".video_blockmenu").children().find(".active").attr("id");$(".video_blockmenu").videoBlock(b);$(".download").hover(function(){$(".download DIV").addClass("hover")},function(){$(".download DIV").removeClass("hover")});$(".fav").hover(function(){$(".fav DIV").parent().find("DIV").addClass("hover")},function(){$(".fav DIV").parent().find("DIV").removeClass("hover")});$(".stream").hover(function(){$(".stream DIV").parent().find("DIV").addClass("hover")},function(){$(".stream DIV").parent().find("DIV").removeClass("hover")});$("#flvAnyad").scrollToMiddle();break;case"main":initDynamicWrap();if($.getUrlVar("login")){$("#loginbox").popUpMe("#login_btn","",true)}var a=$.getUrlVar("filter");$("#longshort_change").slideButton("long","on","off");$("#thumbVideo_change").slideButton("vp","off","on");$("#ggender").slideButton("vp","off","on");$("#static_menu").showPage();break;case"community":break;case"register":$("#panForm").validationEngine("attach",{scroll:false});break;case"pornstars":initDynamicWrap();break;default:}});var savedWidth=$.cookie("wrapWidth");var savedThumbWidth=$.cookie("percentageWidth");var prevWidth=$.cookie("bWidth");var staticWidth="1005px";function initDynamicWrap(){if(browserIsOldIE){return false}if(typeof(NODYNAMICWRAP)!="undefined"){if(NODYNAMICWRAP){return false}}if(savedWidth==null||parseInt(savedWidth)==100||prevWidth!=mySize.width){resizePage()}$(window).resize(function(){$.cookie("wrapWidth",null,{domain:".hardsextube.com"});$.cookie("pecentagleWidth",null,{domain:".hardsextube.com"});$.cookie("bWidth",null,{domain:".hardsextube.com"});resizePage()})}function resizePage(){var a=windowSize();if(a.width<=800){resetWrap("770px")}else{if(a.width>=1349){resetWrap("1300px")}else{if(a.width==1280){resetWrap("1261px")}else{if(a.width<=1277&&a.width>1124){resetWrap("1050px")}else{if(a.width<=1124){resetWrap("1005px")}else{resetWrap("100%")}}}}}}function resetWrap(a){$(".mainBlock").css({width:"100%"});$(".wrap").css({width:a,margin:"auto"});if(savedWidth!=a){$.cookie("wrapWidth",a,{expires:100,domain:".hardsextube.com"});$.cookie("bWidth",mySize.width,{expires:100,domain:".hardsextube.com"})}resizeDivs()}function resizeDivs(){resizeBlock(".video-block.dynamic")}function resizeBlock(g,f){var e=$(g).parents().find(".relatedvid.wrap").width();if(e==0||e==null||e==undefined){e=$(g).width()}if($(g).hasClass("categories")){var d=0}else{var d=6}var b=$(g+" ..wrap_thumbs LI.normal_li").find(".thumb").width()+d;var a=parseInt($(g+" ..wrap_thumbs LI.normal_li").css("height"));numThumb=parseInt(e/b);var c=100/numThumb+"%";$(g+" ..wrap_thumbs LI.normal_li").width(c);$.cookie("percentageWidth",c,{expires:100,domain:".hardsextube.com"})}$(function(){$(".showHide,.TshowHide").click(function(){var a=$(this).attr("data-href");$(this).children().each(function(){$(this).hide()});if($(a).css("display")=="none"){$(a).slideDown(function(){$(".slideContent").css("display","block")});$(this).removeClass("inactive");$(this).parent().find("A").removeClass("inactive");$(this).removeClass("inactive");$(this).parent().find("A").addClass("active");a=a.replace("#","");$.cookie(a,"active")}else{$(a).children().each(function(){$(this).hide()});$(a).slideUp();$(this).removeClass("active");$(this).addClass("inactive");$(this).parent().find("A").removeClass("active");$(this).parent().find("A").addClass("inactive");a=a.replace("#","");$.cookie(a,null)}});$(".showHide,.TshowHide").mouseover(function(){if($(this).hasClass("inactive")){$("#showHide").css("backgroundPosition","-974px 6px")}else{$("#showHide").css("backgroundPosition","-996px 6px")}}).mouseleave(function(){if($(this).hasClass("inactive")){$("#showHide").css("backgroundPosition","-962px 6px")}else{$("#showHide").css("backgroundPosition","-974px 6px")}})});function adxShowonPlayer(a,b){var e=$("#"+a).offset();var d=$("#"+a).width();var g=$("#"+a).height();var c=$("#"+b).width();var f=$("#"+b).height();$("#"+b).css("left",e.left+(d/2)-(c/2)-3);$("#"+b).css("top",e.top+(g/2)-(f/2)-80-3);$("#"+b).slideDown("fast")}function adxHidePlayer(a,b){$("#"+b).hide()}function vpPopupCallback(){if(AdCreative.click){AdCreative.click()}}function vidiiPopupCallback(){if(AdCreative.click){AdCreative.click()}}function shareVideo(a){$("#share_vid").popUpMe("","videoShare()",true)}function videoShare(){var b=0;var a="Please fill this field...";$("#videoShareForm").css("display","block");$("#videoShareForm_div").html("");$("#videoShareForm .input").click(function(){if(b!=3){$("#videoShareForm .input").each(function(){if($(this).attr("title")=="wrong"){$(this).val("");$(this).attr("title","ok")}})}});$("#videoShareForm_submit").live("click",function(){$("#videoShareForm .input").each(function(){if($(this).val()!=""&&$(this).attr("title")=="ok"){b++}else{$(this).attr("title","wrong");$(this).val(a);b=0}});if(b>=2){$.post(globalVars.www_subdomain+"/share.php",$("#videoShareForm").serialize(),function(c){if(c=="1"){$("#videoShareForm").hide();$("#videoShareForm_div").html("<span class='msg'>Your message has sent.</span>")}else{$("#videoShareForm").hide();$("#videoShareForm_div").html("<span class='msg_error'>Shit! Something happened wrong!<br/><Try it later!</span>")}})}})}function videoHardBtnInit(){$(".hard_btn").bind("click",function(){var b=$(this).children("A").attr("data-href");var a=$(this).attr("data-href");var c=$(this).children("SPAN").html();c=parseInt(c);if(a!=""){if(b!=0){$(this).unbind("click");return false}else{c++;$.post(globalVars.www_subdomain+"/api.php",{data:JSON.stringify({q:this.id,type:"video_hard",u:a,harder:1})},function(d){if(d=="harded"){$(this).unbind("click")}});$(this).children("SPAN").html(c);$(this).addClass("harded");$(this).removeClass("hard_btn");$(this).unbind("click")}}else{window.location=globalVars.www_subdomain+"/register/NTIwNToxODoxNg/"}})}$(function(){$(".comments").click(function(){var a=$(this).attr("id");load(0,"tab_comments",a,"video",0,5)})});$("#sendPostBlock").ready(function(){$("#comment_submit .btnBg").live("click",function(){if($("#commentField").val()!=""){var a=$("#commentField").attr("data-href");var d=$("#commentField").val();var c=document.getElementById("reCapchaDiv");if(c!=null&&c.rel=="created"){var b={data:a,comment:d,challange:Recaptcha.get_challenge(),response:Recaptcha.get_response()}}else{var b={data:a,comment:d}}$.post(globalVars.www_subdomain+"/newcomments.php",b,function(e){if(e=="ok"){load(0,"tab_comments",a,"video",0,5);$("#commentNum").html(parseInt($("#commentNum").html())+1)}else{if(e=="captcha"){createCaptcha("reCapchaDiv")}else{return false}}})}else{$("#commentField").css("border-color","yellow")}});$("#commentField").live("click",function(){$(this).css("border-color","#595959")})});function getXY(g){var e=document.getElementById(g);var f=0;var b=0;var a;var d;if(e.offsetParent){do{f+=e.offsetLeft;b+=e.offsetTop}while(e=e.offsetParent)}else{if(e.x){f+=e.x;b+=e.y}}if(navigator.userAgent.search("Mozilla")!=-1){f++;b++}var c=[f,b];return c}function vpRotationStart(a){if(!vpReady){createVpObject()}timer=setTimeout(function(){vpRotationStartTimed(a)},500)}function vpMouseOutEvent(){}function createVpObject(){if(vp){try{var a={};var d={};var b={};d.play="true";d.loop="true";d.menu="true";d.quality="high";d.scale="noscale";d.salign="tl";d.wmode="transparent";d.bgcolor="transparent";d.swliveconnect="true";d.allowfullscreen="false";d.allowscriptaccess="always";d.allownetworking="always";b.id="vplayerobject";b.name="vplayerobject";b.wmode="transparent";b.id="vplayerobject";swfobject.embedSWF(globalVars.vp_dir,"vplayer","160","120","9.0.0",false,a,d,b,status);vpReady=true}catch(c){$.log("Flash error:"+c)}}}function vpRotationStartTimed(g){var e=getXY(g);var c=(e[0]+0);var f=(e[1]+0);var b=g.substr(2,g.length);var a=globalVars.www_subdomain+"/"+b+"/";var d={};d.videoURL="http://vp.hardsextube.com/videothumbs/"+b+".flv?start=0";d.videoLINK=a;d.videoUploader=$("#"+g).attr("data-rel");d.videoUploaderUrl=globalVars.community_subdomain+"/"+d.videoUploader;if($("#"+g).hasClass("blockThumb")){d.openVideoCallback='$("body").impressionLog("relatedThumbClick")'}$("#vplayerobject").css({border:"1px solid #3d3d3d"});$("#vplayerobject").css("top",f);$("#vplayerobject").css("left",c);$("#vplayerobject").attr("data-href",g);vpDOM=document.getElementById("vplayerobject");vpDOM.playVideoPreview(d)}function adBlockerDeterctor(){var _abdStatusFnc="_status";function _status(isDetected){if(isDetected){$.post(globalVars.www_subdomain+"/adblockerdetect.php",{adbdetected:1},function(data){})}else{}}eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!"".replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return"\\w+"};c=1}while(c--){if(k[c]){p=p.replace(new RegExp("\\b"+e(c)+"\\b","g"),k[c])}}return p}("(g(){a 5=z;a 2=8;a 4=8;g A(){2=6.u(\"I\");4=6.u(\"H\");2.l='b';2.n='/o/';2.3.v='G';2.3.F='C';4.l='s';4.n='/o/E-N.P';4.3.p=2.3.p='m';4.3.q=2.3.q='m';4.3.r=2.3.r='-h';4.3.t=2.3.t='-h';6.j.i(2);6.j.i(4);Q(k,O)};g k(){7(6.c('s').3.v.J('C')>-1)5=9;f 7(6.c('b').3.K=='L')5=9;f 7(6.c('b').M==0)5=9;2.x.D(2);4.x.D(4);7(d(w)!='8')e(w+'('+5+');');f{7((5==9)&&(d(y)!='8'))e(y+'();');7((5==z)&&(d(B)!='8'))e(B+'();')}};A()})();",53,53,"||_af|style|_am|_ab|document|if|undefined|true|var|_afd|getElementById|typeof|eval|else|function|1000px|appendChild|body|_ss|id|1px|src|adimages|width|height|top|_amd|left|createElement|display|_abdStatusFnc|parentNode|_abdDetectedFnc|false|detect_ab|_abdNotDetectedFnc|none|removeChild|textlink|border|block|IMG|IFRAME|indexOf|visibility|hidden|clientHeight|ads|100|jpg|setTimeout".split("|"),0,{}))}jQuery.fn.scrollToMiddle=function(a){var b=(mySize.height-parseInt($(this).css("height")));if(mySize.height>480){$("html, body").animate({scrollTop:$(this).offset().top-(b/2)},100)}else{$("html, body").animate({scrollTop:$(this).offset().top},100)}};jQuery.fn.videoBlock=function(d){var c=2;var i=0;var h=new Object();h.name=d;h.size=0;var f=$(d).children().find(".thumb").width();$(d+" .video-block").addClass("dynamic");resizeDivs(d+".wrap");if(mySize.width<=800){h.thumbPerPage=8}else{if(mySize.width>=1349){h.thumbPerPage=14}else{if(mySize.width==1280){h.thumbPerPage=14}else{if(mySize.width<=1277&&mySize.width>1124){h.thumbPerPage=12}else{if(mySize.width<=1124){h.thumbPerPage=10}else{h.thumbPerPage=14}}}}}if(browserIsOldIE){h.thumbPerPage=10}this.children().each(function(){if(this.childNodes[0].id==d){this.childNodes[0].className="active"}});function g(l,k,j){$(l).find("IMG").each(function(m){if(m>=k){$(this).attr("src",$(this).attr("data-href"));$(this).slideDown("fast")}if(j&&j==m+1){i=m+1;return false}})}function b(j){h.name=j;h.size=$(j+" LI").size();h.children=$(h.name).children();if(h.size>h.thumbPerPage){h.children.find(".next").show()}else{h.children.find(".next").hide()}}$(".next").click(function(){if(!$(this).children("A").hasClass("inactive")){if(h.size>i){h.children.find(".wrap_thumbs").animate({top:"-=380px"},function(){if(h.size-h.thumbPerPage<i){h.children.find(".next").children("A").addClass("inactive")}});g(h.name,i,parseInt(i+h.thumbPerPage));h.children.find(".prev").children("A").removeClass("inactive")}else{$(this).hide()}}});$(".prev").click(function(){if(!$(this).children("A").hasClass("inactive")){if((i-h.thumbPerPage)>=h.thumbPerPage){i=i-h.thumbPerPage;$(".next").children("A").removeClass("inactive");h.children.find(".wrap_thumbs").animate({top:"+=380px"},function(){if(i<=h.thumbPerPage){$(h.name).children().find(".prev").children("A").addClass("inactive")}})}else{$(this).hide()}}});$(d).show();b(d);g(d,0,h.thumbPerPage);var a=0;var e=0;this.children().find("SPAN").click(function(){var m=$(this).attr("id");var k=$(this).parent().parent().find(".active");lastActiveDiv=k.attr("id");$(lastActiveDiv).children().find(".prev").hide();$(lastActiveDiv).children().find(".next").hide();$(lastActiveDiv).hide();k.removeClass("active");$(this).addClass("active");$(m).children().find("UL.wrap_thumbs").css("top","0px");$(m).show();$(m+" .video-block").addClass("dynamic");g(m,0,h.thumbPerPage);b(m);resizeBlock(m+".wrap");if(m==".relatedHD"&&a==0){var j=$(m+" SPAN").html();$(m+" #hdvideos").append('<center><br><iframe ALLOWTRANSPARENCY="true" align="center" width="960px" frameborder="0" height="500" src="'+j+'"></iframe></center>');a=1}else{if(a!=1){$(" #hdvideos").html("")}}if(m==".reviews"&&e==0){var l=$(m).children("SPAN").html();$.post("/xreview.php",{t:l},function(n){e=1;$(".reviews").append(n);gotxreviews=true;if(parseInt($(m+".wrap").width())==1300){$(".xreviewsmainBlock").css("width","33%")}else{$(".xreviewsmainBlock").css("width","50%")}})}else{if(e!=1){$(".reviews").html("")}}if(m=="relatedvid"){}})};jQuery.fn.favoriteBtn=function(){$(this).click(function(){var b=new Date();b.setTime(b.getTime()+(20*60*1000));var a=$(this).attr("id");if($(this).hasClass("remove")){$.ajax({url:"/aplay.php",data:"fav=remove&vid="+a,type:"GET",dataType:"text",success:function(c){if(c=="0"){$.cookie(a,"fav",{domain:".hardsextube.com",expires:1});$(".fav").removeClass("add").addClass("remove").attr("title","Remove from favorites");$(".fav DIV").removeClass("addfavorite_btn").addClass("remfavorite_btn");$(".fav SPAN").html("Remove from<br/>favorites")}if(c=="1"){$.cookie(a,null,{domain:".hardsextube.com"});$(".fav").removeClass("remove").addClass("add").attr("title","Add to favorites");$(".fav DIV").removeClass("remfavorite_btn").addClass("addfavorite_btn");$(".fav SPAN").html("Add to<br/>favorites")}if(c=="2"){window.location=globalVars.www_subdomain+"/register/NTIwNToxODoxNg/"}}})}if($(this).hasClass("add")){$.ajax({url:"/aplay.php",data:"fav=add&vid="+a,type:"GET",dataType:"text",success:function(c){if(c=="0"){$.cookie(a,"fav",{domain:".hardsextube.com",expires:1});$(".fav").removeClass("add").addClass("remove").attr("title","Remove from favorites");$(".fav DIV").addClass("remfavorite_btn");$(".fav SPAN").html("Remove from<br/>favorites")}if(c=="1"){$.cookie(a,null,{domain:".hardsextube.com"});$(".fav").removeClass("remove").addClass("add").attr("title","Add to favorites");$(".fav DIV").addClass("addfavorite_btn");$(".fav SPAN").html("Add to<br/>favorites")}if(c=="2"){window.location=globalVars.www_subdomain+"/register/NTIwNToxODoxNg/"}}})}})};function addToFavorites(a){var b=new Date();b.setTime(b.getTime()+(20*60*1000));$.ajax({url:"/aplay.php",data:"fav=add&vid="+a,type:"GET",dataType:"text",success:function(c){if(c=="0"){$.cookie(a,"fav",{domain:".hardsextube.com",expires:1});$(".fav").removeClass("add").addClass("remove").attr("title","Remove from favorites");$(".fav DIV").addClass("remfavorite_btn");$(".fav SPAN").html("Remove from<br/>favorites")}if(c=="1"){$.cookie(a,null,{domain:".hardsextube.com"});$(".fav").removeClass("remove").addClass("add").attr("title","Add to favorites");$(".fav DIV").addClass("addfavorite_btn");$(".fav SPAN").html("Add to<br/>favorites")}if(c=="2"){window.location=globalVars.www_subdomain+"/register/NTIwNToxODoxNg/"}}})}function remToFavorites(a){var b=new Date();b.setTime(b.getTime()+(20*60*1000));$.ajax({url:"/aplay.php",data:"fav=remove&vid="+a,type:"GET",dataType:"text",success:function(c){if(c=="0"){$.cookie(a,"fav",{domain:".hardsextube.com",expires:1});$(".fav").removeClass("add").addClass("remove").attr("title","Remove from favorites");$(".fav DIV").removeClass("addfavorite_btn").addClass("remfavorite_btn");$(".fav SPAN").html("Remove from<br/>favorites")}if(c=="1"){$.cookie(a,null,{domain:".hardsextube.com"});$(".fav").removeClass("remove").addClass("add").attr("title","Add to favorites");$(".fav DIV").removeClass("remfavorite_btn").addClass("addfavorite_btn");$(".fav SPAN").html("Add to<br/>favorites")}if(c=="2"){window.location=globalVars.www_subdomain+"/register/NTIwNToxODoxNg/"}}})}jQuery.fn.reportBtn=function(a){(this).click(function(){var b=$(b).clientInfoGenrate();$("#reportForm").append(b);$.post(globalVars.www_subdomain+"/contact.php",$(a).serialize(),function(d){if(d=="needCaptcha"){$("#messagetext").hide();$("#msg p").hide();Recaptcha.create("6LdUUAYAAAAAAL2ZvfQIFUeSR9Z6xUoGPNpeysKk","recaptchaDiv",{theme:"blackglass",callback:Recaptcha.focus_response_field});setTimeout(function(){$("#recaptcha_response_field").keypress(function(g){var f;if(g.keyCode){f=g.keyCode}else{if(g.which){f=g.which}}if(f==13){return false}})},500);return false}if(d=="wrongCaptcha"){Recaptcha.reload();Recaptcha.focus_response_field();return false}$(a).hide();if(d=="1"){$(a).parent().append("<span class='msg'>Your message has sent. Thank you.</span>")}else{$(a).parent().append("<span class='msg'>Fuck! Something wrong! Try it later!</span>")}var c=setTimeout(function(){$("#recaptchaDiv").html("");$("#messagetext").show();$("#msg p").show();$(a).parent().find(".msg").hide();$(a).show()},4000)})})};function createCaptcha(b){var a=document.getElementById(b);if(a){a.innerHTML="";Recaptcha.create("6LdUUAYAAAAAAL2ZvfQIFUeSR9Z6xUoGPNpeysKk",b,{theme:"blackglass",callback:Recaptcha.focus_response_field});a.rel="created";return true}return false}function replace(d,b){var a=false;if(navigator.appName=="Microsoft Internet Explorer"){a=new ActiveXObject("Microsoft.XMLHTTP")}else{a=new XMLHttpRequest()}document.getElementById(d).innerHTML="<center>loading..</center>";try{a.open("GET",b,true)}catch(c){return true}a.onreadystatechange=function(){if(a.readyState==4){document.getElementById(d).innerHTML=a.responseText;if(d=="tab_comments"){createCaptcha("reCapchaDiv")}}};a.send(null)}function load(e,f,d,b,a,c){e=0;replace(f,"/newcomments.php?data="+d+"&type="+b+"&page="+e+"&rows="+c+"&div="+f+"&vis="+a)}function nextpage(e,f,d,b,a,c){$("#"+f).css("height","700px");e++;replace(f,"/newcomments.php?data="+d+"&type="+b+"&page="+e+"&rows="+c+"&div="+f+"&vis="+a)}function prevpage(e,f,d,b,a,c){$("#"+f).css("height","700px");if(e){e--}replace(f,"/newcomments.php?data="+d+"&type="+b+"&page="+e+"&rows="+c+"&div="+f+"&vis="+a)}jQuery.fn.showPage=function(){var a=$(this).parent().parent().find(".active").attr("data-href");$(a).show();$(this).children().find("A").click(function(){a=$(this).parent().parent().find(".active").attr("data-href");$(this).parent().parent().find(".active").removeClass("active");var b=$(this).attr("data-href");$(this).addClass("active");$(a).hide();$(b).show()})};var TabbedContent={init:function(c,b){var a=$(".tab_item_movingbg").position()["left"];$(c).show();$(b).addClass("activetab");$(".tab_item_movingbg").css("left",$(b).position()["left"]);$(".tab_item A").mouseover(function(){$(".tab_item_movingbg").delay(300).animate({left:$(this).position()["left"]},{duration:300})}).click(function(){var d=$(this).attr("id");var e=$(this).attr("class");a=$(".tab_item_movingbg").position()["left"];$(this).parent().parent().find("A").removeClass("activetab");$(this).addClass("activetab");$(".hide.tabbed_content").hide();$(d).show();if(e=="snapshots"){$(d+" SPAN").each(function(){var f=$(this).children("IMG").attr("class");$(this).children("IMG").attr("src",f)})}}).mouseleave(function(){$(".tab_item_movingbg").stop(true,false)});$(".tabs_hover").mouseleave(function(){$(".tab_item_movingbg").animate({left:$(this).children().find(".activetab").position()["left"]},{duration:300})})}};jQuery.fn.slideButton=function(b,a,c){$(".tab_item").click(function(){var d;var f=$(this).attr("id");var e="gender";switch(f){case"filterStraight":d=0;e="gender";break;case"filterAll":d=90;e="gender";break;case"filterGay":d=180;e="gender";break;case"filterVp":d=0;e="preview";break;case"filterTb":d=57;e="preview";break;case"filterShort":d=0;e="duration";break;case"filterLong":d=57;e="duration";break}if(browserIsOldIE&&(f!="filterGay"&&f!="filterStraight"&&f!="filterAll")){d=d-27}if(browserIsOldIE&&(f=="filterGay"||f=="filterStraight"||f=="filterAll")){d=d-90}$(".moving_slide."+e).animate({left:d},{duration:100})})};function adhide(d,b){var a=$.cookie("hstadh");var c;if(typeof(a)=="undefined"||a==null){c={};c[d]=1}else{c=JSON.parse($.cookie("hstadh"));if(c[d]==null){c[d]=0}c[d]=1-c[d]}$.cookie("hstadh",JSON.stringify(c),{expires:7,path:"/",domain:".hardsextube.com"});if(c[d]!=1){location.reload()}else{$("."+d).slideUp("slow");$(b).html("&#8226; show banner &#8226;")}}$.fn.delaydelay=function(a,b){jQuery.fx.step.delay=function(){};return this.animate({delay:1},a,b)};function isLoggedIn(){if(!$.cookie("hstauth")){return false}return true};
