/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

function load() {

    var myLatlng = new google.maps.LatLng(38.617004, -121.328262);
    var myOptions = {
      zoom: 11,
      center: myLatlng,
      mapTypeId: google.maps.MapTypeId.ROADMAP,
      mapTypeControl: false
    }
    var map = new google.maps.Map(document.getElementById("map"), myOptions);

        var icontype = new google.maps.MarkerImage('images/sherpin.png');
    var marker = new google.maps.Marker({
        position: myLatlng,
        map: map,
        title:"Sher E Punjab Indian Restaurant, 6400 Fair Oaks Blvd",
        icon:  icontype
    });

  google.maps.event.addListener(marker, 'click', function() {
          location.href = "http://maps.google.com/maps?hl=en&safe=off&um=1&ie=UTF-8&q=6400+Fair+Oaks+Boulevard,+Sacramento,+CA&fb=1&gl=us&hnear=Arden-Arcade,+CA&cid=0,0,9546116740126323620&ei=jCmcTJf2KMOQnwfBjYGvDQ&sa=X&oi=local_result&ct=image&resnum=1&ved=0CBYQnwIwAA";
      });

}

// ACCORDION
// Options:
// Use H3 to indicate section headers
// - Turn off auto-height because some sections are way shorter than others
// - Define 'change' method to blur headers to avoid Internet Explorer problem with headers

    $(function() {
            $( "#accordion" ).accordion({
                header:"h3",
                autoHeight: false,
                change: function() {
                    $(this).find('h3').blur();
                }
            });
    });


