/*
	void callFBTO(String)

	- wordt aangeroepen vanuit de aangeleverde flashbanner, zodat wij kunnen bepalen wat er moet gebeuren
*/
function callFBTO(actie){
	if (actie == 'reis2007juni') {
		location.href='/fbto/recreatie/rppIntroductiePrepareAction.do';
	}
	else if (actie == 'matrix') {
	    location.href='/nsecure/fbto/flexauto/jsp/MrpaIntroductie.jsp';
	}
}

// alle anchors configureren met juiste mouseovers en searchbox formtarget aanpassen voor 'frameloze pagina'
window.onload = function() {
	setGlobalAnchorText();
	// zoekform is niet altijd aanwezig (bijv. als de timer uit staat)
	if (ele("zoekForm1") != null) {
		ele("zoekForm1").forward.value = "resultFrameless";
	}
	if (ele("zoekForm2") != null) {
		ele("zoekForm2").forward.value = "resultFrameless";
	}
}

function MM_swapImage() { //v3.0
	var i,j=0,x,a=MM_swapImage.arguments;
	
	document.MM_sr=new Array;
	for(i=0; i<(a.length-2); i+=3) 
		if ((x=document.getElementById(a[i])) != null) {
			document.MM_sr[j++]=x;
			if(!x.oSrc)
				x.oSrc=x.src;
			x.src=a[i+2];
		}
}

function MM_swapImgRestore() { //v3.0
	var i,x,a=document.MM_sr;
	
	for(i=0; a && i<a.length && (x=a[i]) && x.oSrc; i++)
		x.src=x.oSrc;
}