function checkBoxLength(a,b){if(a.value.length>b){alert("The maximum length of "+b+" characters has been reached, please shorten your entry.");a.value=a.value.substring(0,a.value.length-1);}}function verifySecure(){window.open("https://secure.startrungrow.com/payment/securedThawte.htm","secured","height=130,width=400,menubar=no,status=yes,resizable=yes");}function pop(f){var d="";var e=0;var a=0;var i="top=";var g="";switch(f){case 1:d="/membership/businessClubDetail.aspx";e=675;a=800;i=",menubar=no,status=yes,scrollbars=yes,resizable=yes";g="BusinessClub";break;}if(document.all){w=document.body.clientWidth;h=document.body.clientHeight;}else{if(document.layers){w=window.innerWidth;h=window.innerHeight;}}var c=Math.floor((w-a)/2);var b=Math.floor((h-e)/2);window.open(d,g,"top="+b+",left="+c+",height="+e+",width="+a+i);}var ffLastKeyCode=null;if(window.Event){window.captureEvents(Event.KEYDOWN);document.onkeydown=ffKeyPress;}function ffKeyPress(a){ffLastKeyCode=a.which;}function checkSubmit(c,a){var b;if(document.all||window.Event){if(document.all){b=c.keyCode;}else{b=c.which;}if(b==13){switch(a){case"search":doSearch();break;}}}return false;}function doSearch(){var a=document.forms[0];var b=document.getElementById("__VIEWSTATE");a.removeChild(b.parentNode);a.action="/search";a.method="get";a.submit();}function buyNow(){var a=document.forms[0];a.action="https://www.sandbox.paypal.com/cgi-bin/webscr";a.method="post";a.submit();}function checkDr(){if(event.srcElement.tagName!="INPUT"){return false;}}function trackEvent(a,b){if(_gaq){_gaq.push(["_trackEvent",a,b]);}}function trackPageView(a){if(_gaq){_gaq.push(["_trackPageview",a]);}}$(function(){$("#toolbarTop .flag").click(function(){window.location.href="changeRegion.aspx";});});
