var host = window.location; function popU1(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=450,height=100,left = 150,top = 100');"); } function popU2(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=400,left = 200,top = 50');"); } function popU3(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=350,left = 100,top = 50');"); } function isEmpty( str){ strRE = new RegExp( ); strRE.compile( '^[\s ]*$', 'gi' ); return strRE.test( str.value ); } function notValidEmail( str ){ mailRE = new RegExp( ); mailRE.compile( '^[\._a-z0-9-]+@[\.a-z0-9-]+[\.]{1}[a-z]{2,4}$', 'gi' ); return !(mailRE.test( str.value )); } function notChecked( box ){ if( box.checked ){ return false; } else{ return true; } } //it accepts form as parameter function checkForm( form ){ //lets check if Name text field is empty. This field has name name. if( isEmpty( form.name ) ){ alert( 'Name is required field!' ); return false; } //now let's check if email is correct. This field name is email if( notValidEmail( form.email ) ){ alert( 'Email is required field!' ); return false; } //alert('Form is okay!!!'); //return false; }document.write('') document.write('
| ')
document.write('Your Name: ') document.write('E-mail Address: ') document.write(' ') document.write(' | ')
document.write(' The EzineXchange is a free e-mail newsletter subscription service. An email will sent to you to confirm your subscription. ') document.write('Privacy Policy | ') document.write('Add Your Ezine ') document.write(' |