Edit in JSFiddle

function initialize()
    var myLatLng = new google.maps.LatLng(28.617161,77.208111);
    var map = new google.maps.Map(document.getElementById("map"),
        zoom: 17,
        center: myLatLng,
        mapTypeId: google.maps.MapTypeId.ROADMAP

    var marker = new google.maps.Marker(
        position: myLatLng,
        map: map,
        title: 'Rajya Sabha'
<title>Google Maps API v3 - Simple marker example
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false">
<script type="text/javascript">
<!--Insert the Javascript below here in case you want to try this code.-->
<body onload="initialize()" onunload="GUnload()">
<div id="map" style="width: 500px; height: 300px">