function smartOver() {
smartRollover('wrapper');
}
function smartRollover(idName) {
	if(document.getElementsByTagName) {

	if(!document.getElementById(idName)){return;}

		var images = document.getElementById(idName).getElementsByTagName("img");
		for(var i=0; i < images.length; i++) {

			if(images[i].getAttribute("src").match(/_n\./))
			{
				fileName = new Array(images[i].getAttribute("src").replace("_n.", "_o."));
				preImages = new Array();
				for (j=0; j<fileName.length; j++)
				{
					preImages[j] = new Image();
					preImages[j].src = fileName[j];
				}

				images[i].onmouseover = function() {
				this.setAttribute("src", this.getAttribute("src").replace("_n.", "_o."));
				}
				images[i].onmouseout = function() {
				this.setAttribute("src", this.getAttribute("src").replace("_o.", "_n."));
				}
			}
		}
	}
}
if(window.addEventListener) {
window.addEventListener("load", smartOver, false);
}
else if(window.attachEvent) {
window.attachEvent("onload", smartOver);
}
else{
window.onload = smartOver;
}

function openwin(theURL,theNAME,W,H){
 option = 
"toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,width=" 
+  W +",height=" + H;
 window.open(theURL,theNAME,option,true);
}

