<!--
function Validate_FormSearch()
{
	if (document.verifysearch.search4.value.length == 0)
	{
		alert('You must enter SOMETHING TO SEARCH FOR to continue.');
		document.verifysearch.search4.focus();
		return(false);
	}
	return (true);
} 
function Validate_FormDisclaimer()
{
	if (document.disclaimerfrm.age.value.length == 0)
	{
		alert('You must BE 18 YEARS OR OLDER TO ENTER THIS SITE.');
		document.disclaimerfrm.age.focus();
		return(false);
	}
	return (true);
} 
function Validate_FormRegistration()
{

	
	if (document.registration.fName.value.length == 0)
	{
		alert('You must enter YOUR FIRST NAME to continue.');
		document.registration.fName.focus();
		return(false);
	}
	if (document.registration.lName.value.length == 0)
	{
		alert('You must enter YOUR LAST NAME to continue.');
		document.registration.lName.focus();
		return(false);
	}
	if (document.registration.address.value.length == 0)
	{
		alert('You must enter YOUR ADDRESS to continue.');
		document.registration.address.focus();
		return(false);
	}
	if (document.registration.city.value.length == 0)
	{
		alert('You must enter YOUR CITY to continue.');
		document.registration.city.focus();
		return(false);
	}
	if (document.registration.zip.value.length == 0)
	{
		alert('You must enter YOUR ZIP to continue.');
		document.registration.zip.focus();
		return(false);
	}
	if (document.registration.phone.value.length == 0)
	{
		alert('You must enter YOUR PHONE NUMBER to continue.');
		document.registration.phone.focus();
		return(false);
	}
   if (document.registration.email.value.length == 0 || document.registration.email.value.indexOf(".") == -1 || document.registration.email.value.indexOf("@") == -1)
	{
		alert('You must enter A VALID E-MAIL ADDRESS containing "@" and "." to continue.');
		document.registration.email.focus();
		return(false);
	}
	if (document.registration.password.value.length == 0)
	{
		alert('You must enter AN ACCOUNT PASSWORD to continue.');
		document.registration.password.focus();
		return(false);
	}
	if (document.registration.password.value.length < 8)
	{
		alert('You must enter A PASSWORD WITH AT LEAST 8 CHARACTERS to continue.');
		document.registration.password.focus();
		return(false);
	}
	if ( ( document.registration.agree[0].checked == false ) || ( document.registration.agree[1].checked == true ) )
    {
        alert ( "You must AGREE TO THE ADVERTISER AGREEMENT to continue." );
		return(false);
    }

	if (document.registration.age.value < 18)
	{
		alert('You must BE 18 YEARS OR OLDER TO ENTER THIS SITE.');
		document.registration.age.focus();
		return(false);
	}
	return (true);
} 


function Validate_FormCC()
{
	if (document.processCard.fName.value.length == 0)
	{
		alert('You must enter YOUR FIRST NAME to continue.');
		document.processCard.fName.focus();
		return(false);
	}
	if (document.processCard.lName.value.length == 0)
	{
		alert('You must enter YOUR LAST NAME to continue.');
		document.processCard.lName.focus();
		return(false);
	}
	if (document.processCard.address.value.length == 0)
	{
		alert('You must enter YOUR ADDRESS to continue.');
		document.processCard.address.focus();
		return(false);
	}
	if (document.processCard.city.value.length == 0)
	{
		alert('You must enter YOUR CITY to continue.');
		document.processCard.city.focus();
		return(false);
	}
	if (document.processCard.zip.value.length == 0)
	{
		alert('You must enter YOUR ZIP to continue.');
		document.processCard.zip.focus();
		return(false);
	}
	if (document.processCard.strCcType.selectedIndex == 0)
	{
		alert('You must enter CREDIT CARD TYPE to continue.');
		document.processCard.strCcType.focus();
		return(false);
	}
	
	if (document.processCard.nameoncard.value.length == 0)
	{
		alert('You must enter THE NAME ON YOUR CREDIT CARD to continue.');
		document.processCard.nameoncard.focus();
		return(false);
	}
	if (document.processCard.cardnumber.value.length == 0)
	{
		alert('You must enter YOUR CREDIT CARD NUMBER to continue.');
		document.processCard.cardnumber.focus();
		return(false);
	}
	if (document.processCard.expmonth.value.length == 0)
	{
		alert('You must enter YOUR CREDIT CARDS MONTH EXPIRATION DATE to continue.');
		document.processCard.expmonth.focus();
		return(false);
	}
	if (document.processCard.expyear.value.length == 0)
	{
		alert('You must enter YOUR CREDIT CARDS YEAR EXPIRATION DATE to continue.');
		document.processCard.expyear.focus();
		return(false);
	}
	if (document.processCard.cvv2.value.length == 0)
	{
		alert('You must enter YOUR CREDIT CARDS CVV2 CODE to continue.');
		document.processCard.cvv2.focus();
		return(false);
	}
	return (true);
} 

function Validate_PostAdForm()
{
	if (document.postad.displayName.value.length == 0)
	{
		alert('You must enter YOUR DISPLAY NAME to contine.');
		document.postad.displayName.focus();
		return(false);
	}
	if (document.postad.displayTitle.value.length == 0)
	{
		alert('You must enter YOUR AD TITLE to contine.');
		document.postad.displayTitle.focus();
		return(false);
	}
	if (document.postad.bio.value.length == 0)
	{
		alert('You must enter YOUR AD BIO to contine.');
		document.postad.bio.focus();
		return(false);
	}

	return (true);
} 


var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){

	if(pos=="random"){
		LeftPosition=(screen.width)?Math.floor(Math.random()*((screen.width-w)-75)):100;
		TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
	if(pos=="center"){
		LeftPosition=(screen.width)?(screen.width-w)/2:100;
		TopPosition=(screen.height)?(screen.height-h)/2:100;}
	else if((pos!="center" && pos!="random") || pos==null){
		LeftPosition=0;
		TopPosition=20}

	settings='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable';
	win=window.open(mypage,myname,settings);
	if(win.focus){win.focus();}}
	

//-->
















































