// JavaScript Document

function open_window(link,w,h) {
	var win = "width="+w+",height="+h+",menubar=no,location=no,resizable=yes,scrollbars=yes";
	newWin = window.open(link,'newWin',win);
	newWin.focus();
}

function over(evt){
	evt = (evt) ? evt : ((window.event) ? window.event : null);
    if (evt) {
        var elem = (evt.srcElement) ? evt.srcElement : evt.target;
		elem.style.backgroundColor="Silver";
		//elem.style.width = "128px";
		//elem.style.height = "24px";
		elem.style.cursor="pointer";
	} 
}

function out(evt){
	evt = (evt) ? evt : ((window.event) ? window.event : null);
    if (evt) {
        var elem = (evt.srcElement) ? evt.srcElement : evt.target;
		if (document.location.href.indexOf(elem.id) == -1){
			//elem.style.backgroundColor="#464250";
			elem.style.backgroundColor="Gray";
			//elem.style.width = "120px";
			//elem.style.height = "22px";
		}
	} 
}

function bMouseUp(evt, path){
	evt = (evt) ? evt : ((window.event) ? window.event : null);
    if (evt) {
        var elem = (evt.srcElement) ? evt.srcElement : evt.target;
		document.location.href = path;
		//document.location.href = "#";
	} 
}