function fnToggleMap(strLocations) {
	objMap = document.getElementById("map")
	if(objMap.style.display == "block") {
		objMap.innerHTML = ""
		objMap.style.display = "none"
	} else {
		objMap.style.display = "block"
		
		xmlHttp = getXmlHttpObject()
	    xmlHttp.open("GET","ajax/map.asp?locations=" + strLocations + "&map=" + objMap.style.backgroundImage + "&" + Math.random(),true)
		xmlHttp.onreadystatechange = function() {
			if (xmlHttp.readyState==4) {
				objMap.innerHTML = xmlHttp.responseText
			}
		}
	    xmlHttp.send(null)
	}
}
function fnPrintMap(strLocations) {
	xmlHttp = getXmlHttpObject()
	xmlHttp.open("GET","ajax/map.asp?locations=" + strLocations + "&map=url(images/maps/bigmap.png)&" + Math.random(),true)
	xmlHttp.onreadystatechange = function() {
		if (xmlHttp.readyState==4) {
			strResponse = xmlHttp.responseText
			
			objWindow = window.open("","","")
			objWindow.document.open()
			objWindow.document.write('<div style=""background-image: url(images/maps/bigmap.png);"">' + strResponse + '</div>')
			objWindow.document.close()
		}
	}
	xmlHttp.send(null)
}
