function openWindow(theURL, width, height) { windowfull = window.open(theURL,"","scrollbars=no,resizable=yes,toolbar=no,location=no,status=no,width="+ width +",height="+ height); halfwidth = width/2 halfheight = height/2 windowY=((window.screen.availHeight/2)-halfheight) windowX=((window.screen.availWidth/2)-halfwidth) windowfull.moveTo(windowX,windowY); windowfull.focus(); } function openWindowScroll(theURL, width, height) { windowfull = window.open(theURL,"","scrollbars=yes,resizable=yes,toolbar=no,location=no,status=no,width="+ width +",height="+ height); halfwidth = width/2 halfheight = height/2 windowY=((window.screen.availHeight/2)-halfheight) windowX=((window.screen.availWidth/2)-halfwidth) windowfull.moveTo(windowX,windowY); windowfull.focus(); } function validEmail() { if ( document.email_form.Email.value == 'Enter your email here' || document.email_form.Email.value == '' ) { return false; } else { return true; } } function swap() { if ( document.email_form.Email.value == 'Enter your email here' ) { document.email_form.Email.value = ''; } else if ( document.email_form.Email.value == '' ) { document.email_form.Email.value = 'Enter your email here'; } }