function dispDate()
{
var months=new Array(13);
months[1]="January";
months[2]="February";
months[3]="March";
months[4]="April";
months[5]="May";
months[6]="June";
months[7]="July";
months[8]="August";
months[9]="September";
months[10]="October";
months[11]="November";
months[12]="December";
var time=new Date();
var lmonth=months[time.getMonth() + 1];
var date=time.getDate();
var year=time.getYear();
if (year < 2000)    // Y2K Fix, Isaac Powell
year = year + 1900; // http://onyx.idbsu.edu/~ipowell
document.write("<left>&nbsp;&nbsp;" + lmonth + " ");
document.write(date + ", " + year + "</left>");
}



function CheckFields()
{
if(document.FRM_Enquiry.Full_Name.value == 0)
alert("Your Full Name is required...")

else if(document.FRM_Enquiry.EMail_Address.value == 0)
alert("Your E-Mail Address is required...")

else if(document.FRM_Enquiry.Telephone_No.value == 0)
alert("Your Telephone No. is required...")

else if(document.FRM_Enquiry.Questions_and_Queries.value == 0)
alert("Your Questions or Queries are required...")

else

document.FRM_Enquiry.submit()
}




function ShowProducts()
{
var URL = document.FRM.Category_Name.options[document.FRM.Category_Name.selectedIndex].value;
self.location.href = URL;
}





function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}




//



function Download(FileName)
{
parent.frames['DownloadWin'].location="../catalogue_download/dodownload.asp?File="+FileName
}


//



function ProductPics()
{
window.open("../our_range/pp.asp","PWin","width=525,height=375,resizable=no,scrollbars=no")
}


//



function NL()
{

window.open('newsletter/display_add_user.asp','BWin','width=500,height=250,status=yes,scrollbars=yes')
}


//



function Checkfields_NL()
{
if(document.FRM.EMail_Address.value == 0)
alert("E-Mail Address is Required...")

else if(document.FRM.Full_Name.value == 0)
alert("Full Name is Required...")

else

document.FRM.submit()
}
