function checkForm() {
var alerts = new Array();
var validator = new email_validator($(‘sb_email’).value, ‘,’);
var phone = 0;
var check = 0;
if($(‘sb_name’).value == ‘’){ alert(‘Please enter your name!’);check = check + 1; }
if(!validator.check()){ alert(‘Please enter a valid email address!’); check = check + 1; }
if($(‘sb_area’).value '' || isNaN($('sb_area').value)) { phone = phone + 1; }
if($('sb_first').value ‘’ || isNaN($(‘sb_area’).value)) { phone = phone + 1; }
if($(‘sb_last’).value == ‘’ || isNaN($(‘sb_area’).value)) { phone = phone + 1; }
if(phone > 0) { alert(‘Please enter your real phone number’); check = check + 1; }
if($(‘sb_city’).value == ‘Select’) { alert(‘Please select the nearest city to you!’); check = check + 1; }
if(check == 0){
$(‘sb_submit’).value = ‘Submitting…’;
submit_survey($(‘superbad’));
}
}
CollegeHumor is holding a sneak preview of Superbad, the last good movie of the summer (sorry, Rush Hour 3). There are ten screenings across the country next week, and we’ll be giving away 100 tickets to each. If you want a pair for you and a friend, just fill out this form:
(If none of that made any sense to you go watch the Superbad trailer, then come back and read it again.)




+
The 15 Best Christmas Movies of All Time
How Creepy You Are, as Determined by Your Pets
The 25 Best Sitcom Couples
Drinking Games for the Mature Adult
Every Time a Bell Rings
10 Roommate Red Flags
Spending your Valentine's Day on the internet? This will make everything better.
Thoughts on Valentine's Day from people who are paid to be cynical bastards.
The 3D makes this movie look real...ly sucky
Your pet says a lot about you. But then, you have a gossipy parrot.
Guys try to surf without water, and somehow succeed.
Ice T is good, but this time of year it's all about CoCo
Yeah! And why did Microsoft make Bing when they can just use Google?
Valentine's Day was simpler back then. And creepier.
Hey! Get your real world out of my internet!
These guys are getting called out by the reeferee.