
// Open Docs
function OpenDocs(index)   {  

	switch(index){

		case 0:
			file = "docs/Quarterly_Newsletter.pdf"
			break
			
		case 1:
			file = "docs/specials.pdf"
			break
		case 2:
			file = "docs/coupon.pdf"
			break
			
		case 3:
			file = "docs/facial_profile.pdf"
			break
		case 4:
			file = "docs/waxing.pdf"
			break
	}
	
	PopUpPage(file)
}

function OpenSite(index)   {  

	switch(index){

		case 0:
			file = "http://www.nealstreetdesign.com"
			break
	
	}
	
	PopUpSite(file)
}



// Pop up page
function PopUpPage(file)   { 
	PopUpWindow=window.open(file, "PopUp",
    "resizable=yes,toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,copyhistory=0,width=900,height=600"); 
  PopUpWindow.location=file;  
	PopUpWindow.focus();

}

// Pop up site
function PopUpSite(file)   { 
	PopUpWindow=window.open(file, "PopUp",
    "resizable=yes,toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,copyhistory=0,width=900,height=600"); 
  PopUpWindow.location=file;  
	PopUpWindow.focus();

}

//<![CDATA[
    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
		  map.addControl(new GSmallMapControl());
			map.addControl(new GMapTypeControl());
        map.setCenter(new GLatLng(32.789302, -117.203473), 15);
		  var point = new GLatLng(32.789302, -117.203473)
		  map.addOverlay(new GMarker(point));
      }
    }
//]]>

