//$(document).ready(function(){
	//MainMenu();
//});
/*
function MainMenu(){
	$('#mainmenu li').hover(
		function () {
			$('ul', this).show();
		}, 
		function () {
			$('ul', this).hide();			
		}
	);
}*/
function ClientSlideshow(){
	$('#cycle').cycle({
		fx: 'scrollHorz',
		timeout: 4000,
    	next: 'a#next',
		prev: 'a#prev'
	});
}
function HomeSlideshow(){
	$('#slider').cycle({
        timeout: 7000,
        pager:  '#slidenav',
		slideExpr: 'img'
    });	
}
function DienstenSlideshow(){
	$('#slider').cycle({
        timeout: 2000,
		slideExpr: 'img'
    });	
}
function GoogleMap(){
	$("#map_canvas").gMap({ 
		markers: [{ latitude: 51.9925258, longitude: 4.4745536}],
		zoom: 14, 
		scrollwheel: false, 
		controls: ["GSmallMapControl"],
		icon:{
			image:              "/media/img/logo_gmaps.png",
			shadow:             false,
			iconsize:           [31, 38],
			shadowsize:         false,
			iconanchor:         [20, 19],
			infowindowanchor:   [0, 0]
		}
	});	
}
// Externe link in nieuw venster
$(document).ready(function() {
    $('a.external').click(function(){
        window.open(this.href);
        return false;
    });
});
