		// Browser Check
		ns4 = (document.layers)? 1:0
		ie4 = (document.all)? 1:0
		newDOM = (document.getElementById) ? 1 : 0; 	// 	IE 5.5 + NN 6.0
				
			
		// Change Image Over
		function change(imgName,imgObj) {
			if (document.images) {
				document.images[imgName].src = eval( imgObj+".src" );
			}
		}

		// Change Image Over
		function changeDiv(div, imgName,imgObj) {
			var images;
			if (ns4) 
				images = eval( "document."+div+".document.images" );
			else
				images = document.images;
			if (images) 
				images[imgName].src = eval( imgObj+".src" );
		}
		
		// Open Window; must set parameter 1 can set 2,3 i.e height and width
		function openPopup (theURL)
		{
			
			var theHeight = 445;
			var theWidth = 513;
			if (openPopup.arguments.length == 3)
			{
				theWidth = openPopup.arguments[1];
				theHeight = openPopup.arguments[2];
			}
			window.open (theURL, 'infowindow','width='+theWidth+',height='+theHeight+',left=200,top=200,location=no,resizable=yes,menubar=no,status=no,toolbar=no,scrollbars=yes');
		}

function submitOnEnter( form ) {
	if ( window.event.keyCode == 13 ) {
		form.submit();
	}
}
			
function openWindow( url, title, x, y ) {
	w = window.screen.width;
	h = window.screen.height;
	px = w / 2 - x / 2; if ( px < 0 ) px = 0;
	py = h / 2 - y / 2; if ( py < 0 ) py = 0;
	a=window.open(url, title, "toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,height="+y+",width="+x);
	a.moveTo(px,py);
//	document.title=document.title;		
	return ( a );
}

function openWindowStatus( url, title, x, y ) {
	w = window.screen.width;
	h = window.screen.height;
	px = w / 2 - x / 2; if ( px < 0 ) px = 0;
	py = h / 2 - y / 2; if ( py < 0 ) py = 0;
	a=window.open(url, title, "toolbar=no,location=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,height="+y+",width="+x);
	a.moveTo(px,py);
//	document.title=document.title;		
	return ( a );
}

function openWindowStatusNoPos( url, title, x, y ) {
	a=window.open(url, title, "toolbar=no,location=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,height="+y+",width="+x);
	return ( a );
}


function ow( url, title, x, y ) {
	a=window.open(url, title, "toolbar=no,location=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,height="+y+",width="+x);
	return ( a );
}

