// JScript source code
//Links for offers page. (for brand New Machines)
function pop1() {
	newwindow=open("deals/2430 and 2420.htm","newWindow","toolbar=no, left=10, top=30, scrollbars=yes, location=no, height=650,  width=950");
		}
function pop2() {
	newwindow=open("deals/HP M530.htm","newWindow","toolbar=no, left=10, top=30, scrollbars=yes, location=no, height=650,  width=950");
		}
function pop3() {
	newwindow=open("deals/3005 D.htm","newWindow","toolbar=no, left=10, top=30, scrollbars=yes, location=no, height=650,  width=950");
		}
function pop4() {
	newwindow=open("deals/HP2840.HTM","newWindow","toolbar=no, left=10, top=30, scrollbars=yes, location=no, height=650,  width=950");
		}
		
//Links for offers page. (for second hand Machines)		
function popr1() {
	newwindow=open("deals/4345XMFP.htm","newWindow","toolbar=no, left=10, top=30, scrollbars=yes, location=no, height=650,  width=950");
		}
function popr2() {
	newwindow=open("deals/P2015N.htm","newWindow","toolbar=no, left=10, top=30, scrollbars=yes, location=no, height=650,  width=950");
		}

function popr3() {
	newwindow=open("deals/P2015N.htm","newWindow","toolbar=no, left=10, top=30, scrollbars=yes, location=no, height=650,  width=950");
		}
		
//Reset the feedback form. empty all fields.
function formReset()
		{
		document.getElementById("myForm").reset()
		}


//Reseller Form
//Name Validation
//Company Validation
//Email Validation
function checkemail(form)
			{
			if (form.name.value == "")
				{
					alert("Please enter your name." );
					form.name.focus();
					return false;
				}
			
			if (form.compname.value == "")
				{
					alert("Please enter your company name." );
					form.compname.focus();
					return false;
				}
				
			if (form.email.value == "")
				{
					alert("Please enter a valid email address." );
					form.email.focus();
					return false;
				}

			}
//Feedback form
//name validation
//subject validation
function checksubject(form)
			{
			if (form.name.value == "")
				{
					alert("Please enter your name." );
					form.name.focus();
					return false;
				}
				
			if (form.subject.value == "")
				{
					alert("Please enter the Subject." );
					form.subject.focus();
					return false;
				}
			}
			
//Find Us Enlaged maps
function popvic() {
	newwindow=open("images/vic.jpg","newWindow","toolbar=no, left=150, top=150, scrollbars=yes, location=no, height=505,  width=535");
		}
function popwa() {
	newwindow=open("images/wa.jpg","newWindow","toolbar=no, left=150, top=150, scrollbars=yes, location=no, height=508,  width=535");
		}