// JavaScript Document
startList = function() {
if (document.all&&document.getElementById) {
	navRoot = document.getElementById("nav");
	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;

/* opens new window
	and resizes it to fit
	the image loaded in 
	that window */
function lgImg(myImg){
	 var new_url = "/premiumImg.asp?imgSrc=" + myImg;
	 var new_name = 'premiumImg';
	 var new_width = 320;
	 var new_height = 320;
	 var new_top = 50;
	 var new_left = (screen.width / 2) - (new_width / 2);
	 var win_look = ', resizable=no, menubar=no, directories=no, status=no, location=no, toolbar=no, scrollbars=no';
	 var win_size = 'left=' + new_left + ', top=' + new_top + ', width=' + new_width + ', height=' + new_height;
	 var features = win_size + win_look;
	 window.open(new_url, new_name, features );
}

