var request=null;try{request=new XMLHttpRequest}catch(trymicrosoft){try{request=new ActiveXObject("Msxml2.XMLHTTP")}catch(othermicrosoft){try{request=new ActiveXObject("Microsoft.XMLHTTP")}catch(failed){request=null}}}request==null&&alert("Error creating request object!");function open_window(a,b,c){newWin=window.open(a,"newWin","width="+b+",height="+c+",menubar=no,location=no,resizable=yes,scrollbars=yes");newWin.focus()}function open_printable_version(a){newWin=window.open(a,"perintableWin","menubar=no,location=no,resizable=yes,scrollbars=yes");newWin.focus()}function confirmDelete(a,b,c){if(temp=window.confirm(b))window.location=c+a} function confirmUnsubscribe(){if(temp=window.confirm("Are you sure you want to terminate your account?"))window.location="index.php?killuser=yes"}function validate(){if(document.subscription_form.email.value.length<1){alert("Please enter your email correctly");return false}if(document.subscription_form.email.value=="Email"){alert("Please enter your email correctly");return false}return true} function validate_disc(){if(document.formD.nick.value.length<1){alert("Please enter your nickname");return false}if(document.formD.topic.value.length<1){alert("Please enter message subject");return false}return true} function validate_search(){if(document.Sform.price1.value!=""&&(document.Sform.price1.value<0||isNaN(document.Sform.price1.value))){alert("Price should be a positive number");return false}if(document.Sform.price2.value!=""&&(document.Sform.price2.value<0||isNaN(document.Sform.price2.value))){alert("Price should be a positive number");return false}return true}function MM_jumpMenu(a,b,c){eval(a+".location='"+b.options[b.selectedIndex].value+"'");if(c)b.selectedIndex=0} function gohome(){window.location="http://www.seekwellness.com"};
