<!--
function spawn(url, nameW, w, h) {
	if (navigator.appVersion.indexOf('4') != -1) {
		x4 = screen.width/2 - (w/2);
		y4 = screen.height/2 - (h/2);
		window.open(url, nameW, 'height='+h+',width='+w+',scrollbars=0,resizable=0,menubar=0,toolbar0,status=0,location=0,directories=0,left=' + x4 + ',top=' + y4 + '');
	} else {
		window.open(url, nameW, 'height='+h+',width='+w+',scrollbars=0,resizable=0,menubar=0,toolbar=0,status=0,location=0,directories=0,left=150,top=200');
	}
}

var our_work_popup;
var w = 1010;
var h = 720;
function Our_Work(brand){
	var URL = "cases/index.php";
	var scrollbars = screen.width < 1024 ? ", scrollbars=yes" : "scollbars=no";
	if(brand){URL = URL + "?brand=" + brand;}
	if(!our_work_popup || our_work_popup.closed){
		our_work_popup = window.open(URL, "work", "height=" + h + ",width=" + w + ", screenX=0, screenY=0, top=0, left=0, status=0, toolbars=0, menubar=0, scrollbars=1");
	} else {
		our_work_popup.location.href = URL;
		our_work_popup.focus();
	}
}

function Our_Work2(linker){
	var URL = "cases/index.php?link=" + linker;
	var scrollbars = screen.width < 1024 ? ", scrollbars=yes" : "scollbars=no";
	//if(brand){URL = URL + "?brand=" + brand;}
	if(!our_work_popup || our_work_popup.closed){
		our_work_popup = window.open(URL, "work", "height=" + h + ",width=" + w + ", screenX=0, screenY=0, top=0, left=0, status=0, toolbars=0, menubar=0, scrollbars=1");
	} else {
		our_work_popup.location.href = URL;
		our_work_popup.focus();
	}
}

function initialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"))
        map.setCenter(new GLatLng(53.464190,9.985886), 15);
        map.addControl(new GSmallMapControl());
        map.addControl(new GMapTypeControl());
        var marker = new GMarker(new GLatLng(53.464190,9.985886));
        map.addOverlay(marker);
        var html="<img src='../../img/gmap_logo.gif'" +
         "width='128' height='22'/> <br/>" +
         "<b>Riebling van Elst GmbH &amp; Co. KG</b><br/>" +
         "Am Schellerdamm 16, D-21079 Hamburg";
		marker.openInfoWindowHtml(html);
      }
    }
    
function PopUp (Adresse) {
	MyWindow = window.open(Adresse, "Anfahrtsplan", "Width=530,Height=630,left=100,top=34");
	MyWindow.focus();
}
//-->