//<![CDATA[
var tst0_5rzs8_0=document.getElementById('googlemap0_5rzs8_0');
				var tstint0_5rzs8_0;
				var map0_5rzs8_0;
				var mySlidemap0_5rzs8_0;
				var overviewmap0_5rzs8_0;
				var overmap0_5rzs8_0;
				var xml20_5rzs8_0;
				var imageovl0_5rzs8_0;
				var directions0_5rzs8_0;
				
var proxy = 'http://www.cactuslv.com//plugins/content/plugin_googlemap2_proxy.php?';function handleErrors0_5rzs8_0(){
								var dirsidebar0_5rzs8_0 = document.getElementById('dirsidebar0_5rzs8_0');
								var newelem = document.createElement('p');
								if (directions0_5rzs8_0.getStatus().code == G_GEO_UNKNOWN_ADDRESS)
									newelem.innerHTML = 'No corresponding geographic location could be found for one of the specified addresses. This may be due to the fact that the address is relatively new, or it may be incorrect.<br />Error code: ' + directions0_5rzs8_0.getStatus().code;
								else if (directions0_5rzs8_0.getStatus().code == G_GEO_SERVER_ERROR)
									newelem.innerHTML = 'A geocoding or directions request could not be successfully processed, yet the exact reason for the failure is not known.<br />Error code: ' + directions0_5rzs8_0.getStatus().code;
							    else if (directions0_5rzs8_0.getStatus().code == G_GEO_MISSING_QUERY)
									 newelem.innerHTML = 'The HTTP q parameter was either missing or had no value. For geocoder requests, this means that an empty address was specified as input. For directions requests, this means that no query was specified in the input.<br />Error code: ' + directions0_5rzs8_0.getStatus().code;
								//   else if (directions0_5rzs8_0.getStatus().code == G_UNAVAILABLE_ADDRESS)  <--- Doc bug... this is either not defined, or Doc is wrong
								//     newelem.innerHTML = 'The geocode for the given address or the route for the given directions query cannot be returned due to legal or contractual reasons.<br />Error code: ' + directions0_5rzs8_0.getStatus().code;
								   else if (directions0_5rzs8_0.getStatus().code == G_GEO_BAD_KEY)
									 newelem.innerHTML = 'The given key is either invalid or does not match the domain for which it was given.<br />Error code: ' + directions0_5rzs8_0.getStatus().code;
								
								   else if (directions0_5rzs8_0.getStatus().code == G_GEO_BAD_REQUEST)
									 newelem.innerHTML = 'A directions request could not be successfully parsed.<br />Error code: ' + directions0_5rzs8_0.getStatus().code;
								   else newelem.innerHTML = 'An unknown error occurred.';
								dirsidebar0_5rzs8_0.appendChild(newelem); 
							}
								
DirectionMarkersubmit0_5rzs8_0 = function( formObj ){
								if(formObj.dir[1].checked ){
									tmp = formObj.daddr.value;
									formObj.daddr.value = formObj.saddr.value;
									formObj.saddr.value = tmp;
								}
formObj.submit();
if(formObj.dir[1].checked )
								setTimeout('DirectionRevert0_5rzs8_0()',100);
							};
DirectionRevert0_5rzs8_0 = function(){
								formObj = document.getElementById('directionform0_5rzs8_0');
								tmp = formObj.daddr.value;
								formObj.daddr.value = formObj.saddr.value;
								formObj.saddr.value = tmp;
							};

function checkMap0_5rzs8_0()
				{
					if (tst0_5rzs8_0)
						if (tst0_5rzs8_0.offsetWidth != tst0_5rzs8_0.getAttribute("oldValue"))
						{
							tst0_5rzs8_0.setAttribute("oldValue",tst0_5rzs8_0.offsetWidth);
	
							if (tst0_5rzs8_0.getAttribute("refreshMap")==0)
								if (tst0_5rzs8_0.offsetWidth > 0) {
									clearInterval(tstint0_5rzs8_0);
					getMap0_5rzs8_0();
									tst0_5rzs8_0.setAttribute("refreshMap", 1);
								} 
						}
				}
					function getMap0_5rzs8_0(){
					if (tst0_5rzs8_0.offsetWidth > 0) {
						map0_5rzs8_0 = new GMap2(document.getElementById('googlemap0_5rzs8_0'));
						map0_5rzs8_0.getContainer().style.overflow='hidden';
						map0_5rzs8_0.addMapType(G_PHYSICAL_MAP);map0_5rzs8_0.addMapType(G_SATELLITE_3D_MAP);
var point = new GLatLng( 35.9767870, -115.1349140);
var centerpoint = point;map0_5rzs8_0.setCenter(centerpoint, 10);
					map0_5rzs8_0.addControl(new GLargeMapControl3D());map0_5rzs8_0.addControl(new GMapTypeControl());map0_5rzs8_0.setMapType(G_NORMAL_MAP);
					map0_5rzs8_0.disableContinuousZoom();
					map0_5rzs8_0.disableDoubleClickZoom();
					var marker0_5rzs8_0 = new GMarker(point);map0_5rzs8_0.addOverlay(marker0_5rzs8_0);
						}
			}
//]]>

//<![CDATA[
		if (GBrowserIsCompatible()) {
			window.onunload=function(){window.onunload;GUnload()};
			tst0_5rzs8_0.setAttribute("oldValue",0);
			tst0_5rzs8_0.setAttribute("refreshMap",0);
			if (window.MooTools==null)
			tstint0_5rzs8_0=setInterval("checkMap0_5rzs8_0()",500);
		else
			window.addEvent('domready', function() {
					tstint0_5rzs8_0=setInterval('checkMap0_5rzs8_0()',500);
				});
		}
//]]>
