/* alert("JS loaded"); */

function printPage()
{
	window.print();
}


function closeWindow()
{
	window.close();
}


function openWin(name, nameWin ,h ,w) 
{
	var scw = screen.availWidth
	var sch = screen.availHeight
	aawindow = window.open(name, nameWin,"left="+((scw/2)-(w/2))+",top="+((sch/2)-(h/2))+",width="+w+",height="+h+",scrollbars=no");
}

function googleMap() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.addControl(new GSmallMapControl());
       // map.addControl(new GMapTypeControl());
        map.setCenter(new GLatLng(51.201586370983264, 4.4311487674713135), 15);
        var adres = new GLatLng(51.201586370983264, 4.4311487674713135);
        var adresMarker = new GMarker(adres);
        GEvent.addListener(adresMarker, "click", function() {
			adresMarker.openInfoWindowHtml("<b>Sputnik TV</b> <br /> Klokstraat 12 A <br /> 2600 Berchem");
		});
        map.addOverlay(adresMarker);

      }
    }
    

/*
	add bahaviours to language choice on homepage
	see: http://www.htmldog.com/articles/suckerfish/example/
*/

/*function changeBehavior() {							
	if (document.all&&document.getElementById) {
		nav = document.getElementById("lang");
		navEn = document.getElementById("en");
		nav.onmouseover=function() {
			navEn.className='en_v';
		}
		nav.onmouseout=function() {
			navEn.className='en';
		}
		navEn.onmouseover=function() {
			navEn.className='en_v';
		}
		navEn.onmouseout=function() {
			navEn.className='en';
		}*/
		/*for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				alert ('hier');
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}*//*
	}
}*/