<!--
function resizeMovie(action,movieurl) {
	//alert(movieurl);
// opgeven waarden **************************************************
	var stepHeight 			= 100; // default height
	var stepWidth 			= 134; // default width
	var stepLeft 				= 134;
	var numberofSteps		= 4; // aantal stappen dat vergroot mag worden
// ******************************************************************
	var movie 					= document.getElementById('movieContainer');
	var newFlash 				= '';
	var newHeight				= "";
	var newWidth				= "";
	var newLeft					= "";
	var curHeight 			= movie.offsetHeight;
	var curWidth 				= movie.offsetWidth;	
	var curLeft 				= movie.offsetLeft;	
	var curTop 					= movie.offsetTop;	
	var curLeft2 				= movie.style.marginLeft;	
	var maxMarginLeft		= "320px";
	var maxHeight				= (numberofSteps+1)*stepHeight;
	var maxWidth				= (numberofSteps+1)*stepWidth;	
	var maxLeft					= (numberofSteps+1)*stepLeft;	
	var verhouding 			= maxWidth/maxHeight;
	
var curSteps = ((maxWidth-curWidth)/stepWidth);
curSteps=Math.round(curSteps); 

// hoogte en breedte bepalen
	if(action == "plus") {
		if(curWidth < (numberofSteps*stepWidth)) {
			newWidth = curWidth + stepWidth;
			newHeight = curHeight + stepHeight;
			newWidth = (5-curSteps)*stepWidth + stepWidth;
			newHeight = (5-curSteps)*stepHeight + stepHeight; 
			newLeft = (stepLeft*(curSteps+1));
		}
		else {
			newWidth = maxWidth;
			newHeight = maxHeight;
			newLeft=newLeft;
		newWidth = (1)*stepWidth - stepWidth;
		newHeight = (1)*stepHeight - stepHeight; 
		newLeft = (stepLeft*(1));
		}
	}
	else if(action == "min") {
		if(curWidth > stepWidth) {
			newWidth = curWidth - stepWidth;
			newHeight = curHeight - stepHeight;
			newWidth = (5-curSteps)*stepWidth - stepWidth;
			newHeight = (5-curSteps)*stepHeight - stepHeight; 
			newLeft = (stepLeft*(curSteps+1));
		}
		else {
			newWidth = stepWidth;
			newHeight = stepHeight;
			newLeft=newLeft;
			newWidth = (1)*stepWidth - stepWidth;
			newHeight = (1)*stepHeight - stepHeight; 
			newLeft = (stepLeft*(1));
		}		
	} else {
		newWidth=curWidth;
		newHeight=curHeight;
		newLeft=curLeft;
		newWidth = (1)*stepWidth - stepWidth;
		newHeight = (1)*stepHeight - stepHeight; 
		newLeft = (stepLeft*(1));
	}
			
	if(newWidth < stepWidth) {
			newWidth = stepWidth;
	}
	if(newHeight < stepHeight) {
			newHeight = stepHeight;
	}

	// div van movie aanpassen
	movie.style.width=Math.round((newWidth)) + "px";

	var curSteps = ((maxWidth-newWidth)/stepWidth);
	newLeft = (stepLeft*(curSteps+1))-350;
	movie.style.marginLeft=(newLeft)+"px";
	curKnop=5-curSteps;
	curKnop=Math.round(curKnop);
	
	if(curKnop<1) {
			curKnop=1;
	}
	
	curPos=curKnop;
	
	if(curKnop>4) {
		curKnop=4;
	}
	
	if(!curKnop) {
		curKnop=1;
	}
	if(curKnop>2) {
		document.getElementById('cm1').style.width="589px";
		
		if(document.getElementById('cm1').style.overflow!="hidden") {
			document.getElementById('cm1').style.overflow="hidden";
		}
		
		document.getElementById('fla_huisje').style.display="none";
		document.getElementById('cl1').style.display="none";
	} else {
		document.getElementById('fla_huisje').style.display="block";
		document.getElementById('cl1').style.display="block";
		
		//document.getElementById('cm1').style.overflow="hidden";
		//alert(document.getElementById('cm1').offsetWidth);
		
		document.getElementById('cm1').style.width="604px";
		//alert(document.getElementById('cm1').style.overflow);
		if(document.getElementById('cm1').style.overflow=="hidden") {
			document.getElementById('cm1').style.overflow="auto";
		}
		
	}
	document.getElementById('knopgroter').innerHTML="<img onmouseover='this.src=\"/images/btn_movie_plus"+curKnop+"_on.gif\"' onmouseout='this.src=\"/images/btn_movie_plus"+curKnop+"_off.gif\"' src='/images/btn_movie_plus"+curKnop+"_off.gif' id='imggroter' alt='larger'/>";
	document.getElementById('knopkleiner').innerHTML="<img onmouseover='this.src=\"/images/btn_movie_min"+curKnop+"_on.gif\"' onmouseout='this.src=\"/images/btn_movie_min"+curKnop+"_off.gif\"' src='/images/btn_movie_min"+curKnop+"_off.gif' id='imgkleiner' alt='smaller'/>";

	//newFlash += '  <object id="movie" name="movie1" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + newWidth	 + '" height="' +  Math.round((newWidth/verhouding)) + '">'
	newFlash += '  <object id="movie" name="movie1" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100%" height="100%">'	
  newFlash += '  <param name="movie" value="/images/fla_movieloader_small.swf?movie=' + movieurl + '">';
  newFlash += '  <param name=quality value=high>';
  newFlash += '  <param name=wmode value=transparent>';	
  //newFlash += '  <embed id="movieembed" swliveconnect="true" name="movie2" wmode="transparent" src="/images/fla_movieloader_small.swf?movie=/upload/files/' + movieurl + '" width="' + newWidth	 + '" height="' + Math.round((newWidth/verhouding))	 + '" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>';
	newFlash += '  <embed id="movieembed" swliveconnect="true" name="movie2" wmode="transparent" src="/images/fla_movieloader_small.swf?movie=/upload/files/' + movieurl + '" width="100%" height="100%" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>';	
  newFlash += '  </object>';
	
	if(document.getElementById('movieDiv').innerHTML=="") { // als movie nog niet is geladen, movie aanmaken
		document.getElementById('movieDiv').innerHTML = newFlash;
	}
	else {
		ht = Math.round((newWidth/verhouding));
		document.getElementById('movieDiv').style.width=newWidth + "px";
		document.getElementById('movieDiv').style.height=ht + "px";
	}
}