startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("mainnav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}
window.onload=startList;


// Pop Up Window ==============
var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height, scroll) {
  	if (popUpWin) {
    	if (!popUpWin.closed) {
			popUpWin.close();
		}
  	}
  
	var show_scroll = "no";
	
	if (scroll) {
		show_scroll = "yes";
	}
	
	popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=' + show_scroll + ',resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
};


var images = new Array(
    "/images/header_rate_title-over.gif",
    "/images/header_estimate_title-over.gif",
    "/images/header_taxi_full-over.gif"
);

for (var i = 0; i < images.length; i++) {
    var tmp = new Image();
    tmp.src = images[i];
};