var couponwidthdefault='380';
var couponheightdefault='600';
var couponiddefault='59';

function validateForm(theForm)
	{
		// Customize these calls for your form
		// Start ------->
		//if (!validFirstName(theForm.FirstName))
		//	return false;
		//if (!validLastName(theForm.LastName))
		//	return false;
		if (!validRequired(theForm.Email,"email"))
			return false;
		if (!validEmail(theForm.Email,"Email",true))
			return false;
		// <--------- End
		//validateCustomForm(theForm);
		return true;
}

function validateFormChange(theForm)
	{
		if (!validRequired(theForm.Emailnew,"email"))
			return false;
		if (!validEmail(theForm.Emailnew,"Email",true))
			return false;
	//validateCustomForm(theForm);
		return true;
	}
	
function validateFormUnsubscribe(theForm)
	{
		if (!validRequired(theForm.vEmailAddress,"email"))
			return false;
		if (!validEmail(theForm.vEmailAddress,"Email",true))
			return false;
	//	validateCustomForm(theForm);
		return true;
	}



function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function clearField(object) {
object.value ="";
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


//function OpenCouponBotox(couponid,couponwidth,couponheight)
//{
//if (couponwidth == undefined ){
//var couponwidth=couponwidthdefault;
//}
//if ( couponheight == undefined ){
//var couponheight=couponheightdefault;
//}
//if ( couponid == undefined ){
//var couponid=couponiddefault;
//}