<div id=\\\"oppala_map\\\" style=\\\"width: 700px; height: 600px; border: 1px solid #cccccc\\\">Betöltés..<br>
  <br>
  A térkép használatához engedélyeznie kell böngészőjében a JavaScript futtatást.<br>
  <br>
  To use this map, you must enable JavaScript in your browser.</div>
<!-- 
www.oppala.hu key:
ABQIAAAAloomRe9DXWSKP6-ODmAsNRRHA-9EjvXQRJmb3DRfZ1Q_IAalphR7N-gsqHv6qIPu_h8NvznhCMVwjg

oppala.patronet.hu key:
ABQIAAAAloomRe9DXWSKP6-ODmAsNRTtIVH72demgEGRrreZvInRZzYBARRb9YEOs1777DseJTTGTVYaml1H4Q
-->
<script src=\\\"http://maps.google.com/maps?file=api&v=2.x&key=ABQIAAAAloomRe9DXWSKP6-ODmAsNRQ5bKQrTeAsjjeCTPir6jDTf4eQ4hQCUobSLA9NaTNjIkYBqJbxHqeIqA\\\" type=\\\"text/javascript\\\"></script>
<script type=\\\"text/javascript\\\">


    //<![CDATA[
if (GBrowserIsCompatible()) {
	var map = new GMap2(document.getElementById(\\\"oppala_map\\\"));
	var defPos = new GLatLng(47.55608238857139, 19.045872688293457);
	var defZoom = 15;
	var defCenter = new GLatLng(47.555, 19.048878688293457);
}

document.fullScreen = false;
function checkFullScreen(){
	// get the current URL
	var url = window.location.toString();
	//get the parameters
	url.match(/\\\\?(.+)$/);
	var params = RegExp.$1;
	// split up the query string and store in an
	// associative array
	var params = params.split(\\\"&\\\");
	var queryStringList = {};
	
	for(var i=0;i<params.length;i++)
	{
		var tmp = params[i].split(\\\"=\\\");
		queryStringList[tmp[0]] = unescape(tmp[1]);
	}
	
	// print all querystring in key value pairs
	for(var i in queryStringList){

	if(i==\\\'fullScr\\\' && queryStringList[i]==\\\'true\\\') {
			document.fullScreen = true;
			 return true;
		 } else {
			document.fullScreen = false;
			 return false;
		 }
	} 
}

checkFullScreen();

function load() {
	

	if (GBrowserIsCompatible()) {
		
		if(document.fullScreen==true){
			map.addControl(new GLargeMapControl());
		} else {
			map.addControl(new GSmallMapControl());
		}
		map.addControl(new GMapTypeControl());
 map.addMapType(G_SATELLITE_3D_MAP);
      map.addControl(new GHierarchicalMapTypeControl());
		
		map.setCenter( defCenter , defZoom );
	
		var icon = new GIcon();
		icon.image = \\\"http://oppala.patronet.hu/parameters/oppala/images/mapLogo.png\\\";
		icon.shadow = \\\"http://oppala.patronet.hu/parameters/oppala/images/mapLogoShadow.png\\\";
		icon.iconSize = new GSize(105, 32);
		icon.shadowSize = new GSize(105, 32);
		icon.iconAnchor = new GPoint(21, 25);
		icon.infoWindowAnchor = new GPoint(80, 5);	

		var point = new GLatLng(47.55608238857139, 19.045872688293457);  	
		var marker = new GMarker(defPos ,icon);	
 		GEvent.addListener(marker, \\\"click\\\", function() {   showInfoWindow(marker);;  });		

		map.addOverlay(marker);
		//showInfoWindow(marker);
		map.enableDoubleClickZoom();
		
		if(document.fullScreen==true){
			map.addControl(new GScaleControl());
			var overviewMap = new GOverviewMapControl(new GSize(150,150));
			map.addControl(overviewMap);
			map.enableContinuousZoom();
		}
	}
}

load();
    //]]>




// when unload the page, call the unload function
window.onunload = unloadMap;

function showInfoWindow(marker){
  marker.openInfoWindowHtml(\\\"<font style=\\\'font-family:Tahoma;font-size:11px\\\'><strong>Oppala Kft.</strong><br>1033 Budapest, <br>Szentendrei út 89-93.</font>\\\");  
}


function unloadMap(){
	// unload the Google Map
 	GUnload();
}



//----------------
var isNav4 = ((navigator.appName == \\\"Netscape\\\") && (parseInt(navigator.appVersion) >= 4))
// wait in onLoad for page to load and settle in IE
function init() {
    // fill missing IE properties
    if (!window.outerWidth) {
        window.outerWidth = document.body.clientWidth
        window.outerHeight = document.body.clientHeight + 30
    }
    // fill missing IE4 properties
    if (!screen.availWidth) {
        screen.availWidth = 640
        screen.availHeight = 480
    }
}
// resizes window to occupy all available screen real estate
function maximize() {
    window.moveTo(0,0)
    window.resizeTo(screen.availWidth, screen.availHeight)
}
if(document.fullScreen == true){

  init();
  setTimeout(\\\"maximize()\\\",100);

}

</script>
