function ClickBtnOnEnter(b,c,a){var f=(window.navigator.appName.toLowerCase().indexOf("explorer")!=-1);if(!b){var b=window.event}if(b.keyCode){code=b.keyCode}else{if(b.which){code=b.which}}if(code==13&&c!=""){document.mainform.target="_blank";document.mainform.action=document.getElementById(a).href;var d;if(f){d=b.srcElement}else{d=b.target}if((typeof(d)!="undefined")&&(d!=null)){if(!document.mainform.onsubmit||(document.mainform.onsubmit()!=false)){RedirectUserToClubCirque();OpenAsPopup(document.getElementById("lnkSignup"))}b.cancelBubble=true;b.returnValue=false;if(b.stopPropagation){b.stopPropagation()}return false}}return true}function ClearEmailWhenDefault(a){if(a.value==label){a.value=""}}function SetEmailWhenEmpty(a){if(a.value==""){a.value=label}}function OpenAsPopup(a){var b=a.href;window.open(b,"_blank");return false}$(document).ready(function(){$("#lnkSignup").click(function(){var b=$(this).attr("href"),a=$("#hRegistrationForm_EMail").attr("value");b=b.replace("%23%23%23",a);$(this).attr("href",b)})});
