var gFname=""
var gEmail=""
var gWhere=""
var gBody=""
var gBody2=""
var gQ='"'
var gQspc='", "'
function fNowDate()
{
var vToday = new Date();
var vDate = vToday.getMonth()+1+"/"+vToday.getDate()+"/"+vToday.getFullYear();
return vDate;
}
var gToday = fNowDate()
function fClearForm()
{
document.RegForm.name.value="";
document.RegForm.from.value="";
document.RegForm.AdCode.value="";
document.RegForm.AfCode.value="";
document.RegForm.What.value="";
}
function fCheckEmail()
{
gEmail=document.RegForm.from.value;
TestEmail = /.+@.+\..+/;
vTestEmail = TestEmail.exec(gEmail);
if (vTestEmail==null) {
alert("Please Enter A Valid Email");
document.RegForm.from.focus();
}else{
document.RegForm.submit();
}
}
function fDoRegForm()
{
document.write('
');
document.write('| ');
document.write('');
document.write('Please Register Your Catalog |
');
document.write('
')
document.write('');
}