var urlcheck=document.location.href.indexOf('?');
//Flash en alternatieve plaatjes homepage
var flashmovie="banner-home.swf";
var bannerheight=200;
var altimg1="banner_1.jpg";
var altimg2="banner_2.gif";

if (urlcheck != -1) {
	//Flash en alternatieve plaatjes vervolgpagina's
	var flashmovie="banner-sub.swf";
	var bannerheight=120;
	var altimg1="banner_1b.jpg";
	var altimg2="banner_2b.gif";
}

var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;

if (plugin) {
	var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	for (var i = 0; i < words.length; ++i) {
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i]; 
	}
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
} else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE") >=0 && (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<scr' + 'ipt type="text/vbscript"\> \n');
	document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
	document.write('</scr' + 'ipt\> \n');
}

if (MM_FlashCanPlay) {
	document.write('<object type="application/x-shockwave-flash" data="inc/img/'+flashmovie+'" width="750" height="'+bannerheight+'"><param name="movie" value="inc/img/'+flashmovie+'" /></object>');
} else {
	document.write('<table style="width:750px;height:'+bannerheight+'px;" cellpadding="0" cellspacing="0"><tr><td><img src="inc/img/'+altimg1+'" alt="Banner links (foto)"></td><td><img src="inc/img/'+altimg2+'" alt="Banner links (logo)"></td></tr></table>');
}