home_homeon = new Image();
home_homeon.src = "images/menu/home_home_on.gif";
home_homeoff = new Image();
home_homeoff.src = "images/menu/home_home_off.gif";
home_productson = new Image();
home_productson.src = "images/menu/home_products_on.gif";
home_productsoff = new Image();
home_productsoff.src = "images/menu/home_products_off.gif";
home_demoon = new Image();
home_demoon.src = "images/menu/home_demo_on.gif";
home_demooff = new Image();
home_demooff.src = "images/menu/home_demo_off.gif";
home_pricingon = new Image();
home_pricingon.src = "images/menu/home_pricing_on.gif";
home_pricingoff = new Image();
home_pricingoff.src = "images/menu/home_pricing_off.gif";
home_aboutuson = new Image();
home_aboutuson.src = "images/menu/home_aboutus_on.gif";
home_aboutusoff = new Image();
home_aboutusoff.src = "images/menu/home_aboutus_off.gif";
home_orderon = new Image();
home_orderon.src = "images/menu/home_order_on.gif";
home_orderoff = new Image();
home_orderoff.src = "images/menu/home_order_off.gif";
home_faqon = new Image();
home_faqon.src = "images/menu/home_faq_on.gif";
home_faqoff = new Image();
home_faqoff.src = "images/menu/home_faq_off.gif";
home_contacton = new Image();
home_contacton.src = "images/menu/home_contact_on.gif";
home_contactoff = new Image();
home_contactoff.src = "images/menu/home_contact_off.gif";
home_contacton = new Image();
home_contacton.src = "images/menu/home_contact_on.gif";
home_contactoff = new Image();
home_contactoff.src = "images/menu/home_contact_off.gif";

cartdemoon = new Image();
cartdemoon.src = "images/menu/cartdemo_on.gif";
cartdemooff = new Image();
cartdemooff.src = "images/menu/cartdemo_off.gif";


var downStrokeField;

function autojump(fieldName,nextFieldName,fakeMaxLength)
{
	var myForm=document.forms[document.forms.length - 1];
	var myField=myForm.elements[fieldName];
	myField.nextField=myForm.elements[nextFieldName];
	
	if (myField.maxLength == null) myField.maxLength=fakeMaxLength;
	
	myField.onkeydown=autojump_keyDown;
	myField.onkeyup=autojump_keyUp;
}

function autojump_keyDown()
{
	this.beforeLength=this.value.length;
	downStrokeField=this;
}

function autojump_keyUp()
{
	if ((this == downStrokeField) && (this.value.length > this.beforeLength) && (this.value.length >= this.maxLength)) this.nextField.focus();
	downStrokeField=null;
}

function setCardDate()
{
	document.getElementById('CardDate').value = document.getElementById('CardMonth').value + document.getElementById('CardYear').value;
}