Edit in JSFiddle

function initialize()
{
    var map = new google.maps.Map(document.getElementById("map"),
    {
        zoom: 6,
        center: new google.maps.LatLng(21.698265,79.035645),
        mapTypeId: google.maps.MapTypeId.ROADMAP
    });
}
<html>
<title>Google Maps API v3 - Loader signal for slow internet connections
</title>
<head>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false">
</script>
<script type="text/javascript">
    <!-- Copy the javascript code here in case you are trying out this code -->
</script>
</head>
<body onload="initialize()" onunload="GUnload()">
<div id="map" style="width: 530px; height: 330px; background: url('http://www.nycgovparks.org/web/map/images/ajax-loader.gif'); background-repeat: no-repeat; background-position: center;">
</div>
</body>
</html>