// JavaScript Document

  if(window.attachEvent)
    window.attachEvent("onload",setListeners);

  function setListeners(){
    inputList = document.getElementsByTagName("INPUT");
    for(i=0;i<inputList.length;i++){
      inputList[i].attachEvent("onpropertychange",restoreStyles);
      inputList[i].style.backgroundColor = "";
    }
    selectList = document.getElementsByTagName("SELECT");
    for(i=0;i<selectList.length;i++){
      selectList[i].attachEvent("onpropertychange",restoreStyles);
      selectList[i].style.backgroundColor = "";
    }
  }

  function restoreStyles(){
    if(event.srcElement.style.backgroundColor != "")
      event.srcElement.style.backgroundColor = "";
  } 



// catering js 

function openwindow(contentURL,windowWidth, windowHeight)
{
widthHeight = 'Height=' + windowHeight + ',width=' + windowwidth;
newWindow = window.open(contentURL,widthHeight);
newWindow.close()
}

// About US

function changestyle(objectID, CSSprop, newval)
{
	var object = document.getElementById(objectID);
	object.style[CSSprop] = newval;
}

function changebcgrd(objectID, CSSprop, newval)
{
	var object = document.getElementById(objectID);
	object.style[CSSprop] = newval;
}


