function live_validation(){if(document.getElementById("lfname").value==""){alert("Please type in your name.");return false}else if(document.getElementById("lfemail").value==""){alert("Please type in your email address.");return false}else if(document.getElementById("lfemail").value.indexOf("@",1)==-1){alert("Please enter a valid email address.");return false}else if(document.getElementById("lfemail").value.indexOf(".",3)==-1){alert("Please enter a valid email address.");return false}else{return true}}document.write("<div id='liveactor_ad' style='font-size:11px;color:#fff;width:600px;height:70px;background:url(http://liveactor.com/ad/demo_wide/widebanner.jpg);'></div>");document.getElementById("liveactor_ad").innerHTML="<form style='margin:0;padding:0;' action='http:\/\/liveactor.com\/ad\/demo\/demo.php' method='get' onsubmit='return live_validation()'><div id='formholder' style='width:145px;float:left;padding-top:0px;padding-left:250px;height:68px;'><table summary='liveactor.com demo' style='border-collapse:collapse;height:68px;'><tr><td>Name:<\/td><\/tr><tr><td><input type='text' size='18' id='lfname'  name='fname' style='border:none;font-size:9px;'\/><\/td><\/tr><tr><td>Email:<\/td><\/tr><tr><td><input type='text' size='18' name='femail' id='lfemail' style='border:none;font-size:9px;'\/><\/td><\/tr><\/table><\/div><div id='button' style='float:right;width:151px;height:31px;padding-top:38px;padding-right:24px;'><input type='image' src='http:\/\/liveactor.com\/ad\/demo_wide\/btn.jpg' style='display:block;'\/><\/div><\/form>";