// smart rollover

function smartRollover() {   
    if(document.getElementsByTagName) {   
        var images = document.getElementsByTagName("img");   
        for(var i=0; i < images.length; i++) {   
            if(images[i].getAttribute("src").match("_off."))   
            {   
                images[i].onmouseover = function() {   
                    this.setAttribute("src", this.getAttribute("src").replace("_off.", "_on."));   
                }   
                images[i].onmouseout = function() {   
                    this.setAttribute("src", this.getAttribute("src").replace("_on.", "_off."));   
                }   
            }   
        }   
    }   
}   
if(window.addEventListener) {   
    window.addEventListener("load", smartRollover, false);   
}   
else if(window.attachEvent) {   
    window.attachEvent("onload", smartRollover);   
}  


// openChildWin

function openChildWin () {
	var args = arguments;
	var op = (args.length == 4) ? "" : args [4];
	if ((navigator.appVersion.indexOf ("Mac", 0) != -1) && (navigator.appName.indexOf ("Mic", 0) != -1)) {
		args [2] -= 15;
		args [3] -= 15;
	}
	var w = window.open (args [0], args [1], "width=" + args [2] + ",height=" + args [3] + "," + op );
	if (document.images) w.focus ();
	}
	function closeChildWin () {
	
	
	window.self.close ();
}


// pressWin

function pressWin(url) {
	press=window.open(url, "press", "width=770,height=600,toolbar=yes,menubar=yes,status=yes,location=yes,scrollbars=yes,resizable=yes");
press.focus();
}

