function flash(src,width,height,flashvars){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="' + width + '" height="' + height + '">');
	document.write('<param name="movie" value="' + src + '">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="menu" value="false">');
	document.write('<param name="author" value="Sven de Bie">');
	document.write('<param name="copyright" value="de Bie productions 2007">');
	document.write('<param name="flashvars" value="&' + flashvars + '">');
	document.write('<param name="wmode" value="transparent">');
	document.write('<embed src="' + src + '" flashvars="&' + flashvars + '" menu="false" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '"></embed>');
	document.write('</object>');	
}

function show(id){
	document.getElementById(id).style.display = "";	
	document.getElementById(id).style.visibility = "visible";	
}

function hide(id){
	document.getElementById(id).style.display = "none";	
	document.getElementById(id).style.visibility = "hidden";	
}

function hoogte(){
	var breedte,hoogte;
	
	if (self.innerHeight){ // Alle browsers behalve IE
		breedte = self.innerWidth;
		hoogte = self.innerHeight;
	} else if (document.documentElement && document.documentElement.clientHeight){ // IE6 Strict Mode
		breedte = document.documentElement.clientWidth;
		hoogte = document.documentElement.clientHeight;
	} else if (document.body){ // Alle andere browsers
		breedte = document.body.clientWidth;
		hoogte = document.body.clientHeight;
	}	
	
	return hoogte;
}

function init(){
	
	document.getElementById('main').style.height = hoogte() + "px";
	
}
