//provided by LOJIC 
function openMap(url) {
	//BEM - 12/6/2006
	//PRE:   The url String parameter must be valid.
	//POST:  The LOJIC map window is opened with the correct formatting.
	openMap(url, "LOJICmap")
}

function openMap(url, title) {
	//BEM - 12/6/2006
	//PRE:   The url String parameter must be valid.  The title String parameter is used
	//       to name the new window.
	//POST:  The LOJIC map window is opened with the correct formatting.
	
	//  Adjust new window size
	var screenWidth = screen.width;
	var screenHeight = screen.height;
	if (screenWidth > 1280) screenWidth = 1280;
	if (screenHeight > 1024) screenHeight = 1024;
	
	//  Set window properties
	var windowprops = "top=0,left=0,resizable=no,status=yes" 
	+ ",width=" + (screenWidth-9) + ",height=" + (screenHeight-77);
	
	//  Open map in new window
	var i = window.open(url,title,windowprops);
}