function validate_emailform(oemProSubscription)
{
return (checkString(oemProSubscription.elements["FormValue_CustomField1"],"name",false) && 
checkEmail(oemProSubscription.elements["FormValue_Email"],false)
);
}
function setNull(){
document.oemProSubscription.FormValue_CustomField1.value='';
}
function emailNull(){
document.oemProSubscription.FormValue_Email.value='';
}
function popups(mylink, windowname)
{
if (!window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=550,height=300,scrollbars=yes');
return false;
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
