// JavaScript Document
function cc(myTR,theColor){myTR.style.backgroundColor=theColor;}
function ccw(myTR,myTRc){myTR.style.backgroundColor=myTRc;}

function ccb(myTR,theColor)
{
	myTR.style.borderColor=theColor;
	myTR.style.borderColorLight=theColor;
	myTR.style.borderColorDark=theColor;

}

var theHideTimer=200,menuNumber,timeoutMenu1,timeoutMenu2;
function myHideDelay(menuNumber){
  switch (menuNumber){
	case 1:timeoutMenu1=setTimeout("MM_showHideLayers('hardwareSubOptions','','hide')",theHideTimer);break;
	case 2:timeoutMenu2=setTimeout("MM_showHideLayers('warrantySubOptions','','hide')",theHideTimer);break;

	default:alert('no menu found');break;}
}
var theShowTimer=1,menuNumber,timeoutMenu1,timeoutMenu2;;
function myShowDelay(menuNumber){
  switch (menuNumber){
	case 1:timeoutMenu1=setTimeout("MM_showHideLayers('hardwareSubOptions','','show')",theShowTimer);break;
	case 2:timeoutMenu2=setTimeout("MM_showHideLayers('warrantySubOptions','','show')",theShowTimer);break;

	default:alert('no menu found');break;}
}
function checkForInvoiceNumber() 
{
	if (document.TheForm.os0.value=="") 
	{
		alert("Invoice Number is required. Please enter.");
		document.TheForm.os0.focus();
		return false;
	}
	else
		return true;
}

