<!--//

	function transferview(artist,image,width,height) 
	{
		window.open("imagepop.php?art=" + artist + "&img="+image, "newwin","toolbar=no,scrollbars=no,width="+width+",height="+height+",menubar=no");
	}
	
	/*function panel(_level)
	{
		var this_level1 = document.getElementById('artists');
		var this_level2 = document.getElementById('close');
		
		this_level1.style.display = "none";
		this_level2.style.display = "none";
	   
		if (_level == "artists")
		{
			this_level1.style.display = "block";
			this_level2.style.display = "block";
		}

	}*/
	
	//<![CDATA[
    
	function createMap()
	{
		if (GBrowserIsCompatible()) {
        	var map = new GMap2(document.getElementById("map"));
	        map.addControl(new GSmallMapControl());
    	    map.addControl(new GMapTypeControl());
        	map.setCenter(new GLatLng(34.062595, -118.360082), 15);
        	
        	// Create a base icon for all of our markers that specifies the
			// shadow, icon dimensions, etc.
			var baseIcon = new GIcon();
			baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
			baseIcon.iconSize = new GSize(20, 34);
			baseIcon.shadowSize = new GSize(37, 34);
			baseIcon.iconAnchor = new GPoint(9, 34);
			baseIcon.infoWindowAnchor = new GPoint(9, 2);
			baseIcon.infoShadowAnchor = new GPoint(18, 25);
	
			// Creates a marker whose info window displays the letter corresponding
			// to the given index.
			function createMarker(point) 
			{
				// Set up our GMarkerOptions object
				var marker = new GMarker(point);
				
				GEvent.addListener(marker, "click", function() {
				marker.openInfoWindowHtml("<b>Carl Berg Gallery</b> <br/>6018 Wilshire Blvd <br/>Los Angeles, CA 90036");
				});
				
				return marker;
			}

	        var marker = new createMarker(map.getCenter());
    	    map.addOverlay(marker);
		}
	}
	
    //]]>

-->