// JavaScript Document

//variable keeps track of google map initialize, if false do not reinitialize
var intmap = true;

function showMap(){
	var map = document.getElementById('tdMap');	
	if (map.style.display == ''){
		map.style.display = 'none';	
		document.getElementById('mapText').innerHTML = "Show Map";
	}
	else{
		map.style.display = '';
		document.getElementById('mapText').innerHTML = "Hide Map";
	}
	

/*alert("called");
lot_show();	*/
}
function initmap(largeMap,controls, lat, lng, zoom ){

if(intmap){
init(largeMap, controls, lat, lng, zoom);
intmap = false;
}
	
}

function showSites(cat){
	var sites = document.getElementById(cat);	
	if (sites.style.display == '')  sites.style.display = 'none';	
	else sites.style.display = '';

/*alert("called");
lot_show();	*/
}

function displayRow(rownum){
	var classrow = "captionRow"+rownum;	
	var row = document.getElementById(classrow);	
	if (row.style.display == '')  row.style.display = 'none';	
	else row.style.display = '';

/*alert("called");
lot_show();	*/
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
