// RETURNS PSEUDO-RANDOM NUMBER IN RANGE min...max
function random_number(min,max) {

    return (Math.round((max-min) * Math.random() + min));
}
$(document).ready(function() {
		lang = 'de';
		api = $('#googlemap').jmap('init', {
				language: lang,
				mapType:'sat',
				mapZoom: random_number(8,13),
				//mapCenter:[51.3978365,7.1834356],
				mapCenter:[random_number(-55,60),random_number(-175,175)],
				mapEnableType: true,
				mapEnableOverview: false,
				mapEnableScrollZoom: true,
				mapEnableSmoothZoom: true,
				mapEnableGoogleBar: false,
				mapEnableScaleControl: true,
				mapShowjMapsIcon: false,
				mapControl: 'small'
				
		});
		
		//var baseIcon = new GIcon(G_DEFAULT_ICON);
		//baseIcon.image = "./img/marker.png";
        //baseIcon.shadow = "../images/shadow.png";
		//baseIcon.iconSize = new GSize(63, 72);
        //baseIcon.shadowSize = new GSize(37, 34);
        //baseIcon.iconAnchor = new GPoint(9, 34);
        //baseIcon.infoWindowAnchor = new GPoint(9, 2);


});