// JavaScript Document

var image1 = new Image();
image1.src = "../images/menu/button_.gif";

var image2 = new Image();
image2.src = "../images/pulldown/button1_.gif";

var image3 = new Image();
image3.src = "../images/pulldown/button2_.gif";

var image4 = new Image();
image4.src = "../images/pulldown/button3_.gif";

var image5 = new Image();
image5.src = "../images/pulldown/button4_.gif";

var image6 = new Image();
image6.src = "../images/pulldown/button5_.gif";

var image7 = new Image();
image7.src = "../images/pulldown/button6_.gif";

var image8 = new Image();
image8.src = "../images/pulldown/button7_.gif";


//<![CDATA[

    function load() {
	
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
		map.addControl(new GSmallMapControl());
        map.setCenter(new GLatLng(51.323982, 3.83616), 13);
		
		// Create our "tiny" marker icon
		var icon = new GIcon();
		icon.image = "http://www.dp-tec.eu/images/dp-tec_arrow.png";
		icon.iconSize = new GSize(99, 75);
		icon.iconAnchor = new GPoint(99, 75);
		
		
		var point = new GLatLng(51.316882, 3.83526);
  		map.addOverlay(new GMarker(point, icon));


      }
    }

    //]]>
 
 
<!--  
function AutoSize()
{
	if( typeof( window.innerWidth ) == 'number' ) { 
   //Non-IE 
   myHeight = window.innerHeight; 
 } else if( document.documentElement && 
     ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { 
   //IE 6+ in 'standards compliant mode' 
   myHeight = document.documentElement.clientHeight; 
 } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { 
   //IE 4 compatible 
   myHeight = document.body.clientHeight; 
 } 
 
	document.getElementById('main').style.height = (myHeight - 120) + 'px';
    
}
//-->

var t;

<!--
function toggleButton(button,flag) {

id = document.getElementById('button' + button);
menu_down = document.getElementById('down');

	switch(button)
	{
	case 1:
		if(flag == 1) { id.src="../images/menu/button_.gif";
						menu_down.style.visibility='visible';
						clearTimeout(t); }
		else if(flag == 0) { 			
						id.src="../images/menu/button.gif";
						t = setTimeout("menuOut()",500); }
	  	break
	default:
	  	if(flag == 1) { id.src="../images/menu/button_.gif";
						clearTimeout(t); }
		else if(flag == 0) { 			
						id.src="../images/menu/button.gif";
						t = setTimeout("menuOut()",500); }
	}
}
//-->


<!--
function toggleMenu(button,flag) {
	
menu_down = document.getElementById('menu' + button);

		if(flag == 1) { menu_down.src="../images/pulldown/button" + button + "_.gif";
						clearTimeout(t); }
		else if(flag == 0) { 
						menu_down.src="../images/pulldown/button" + button + ".gif";
						t = setTimeout("menuOut()",500); }
}
//-->

<!--
function menuOut() {
	
	document.getElementById('down').style.visibility='hidden'; 
}
//-->

