var text = '';
var strDeText = '';
function changePath(strAangeroepenDoor, strTekst){
	var arrDirectory 	= strAangeroepenDoor.split("/");
	var arrPad 			= strTekst.split("/");	
	text = '';
	
	for (i=0; i < arrPad.length; i++){	
		text = text + '/<a href="frame_builder.htm?'+arrDirectory[i]+'" class="pad" target="_top">'+arrPad[i]+'</a>' ;
	}
	text = strTekst;
	updateText();
}

function monitor(){	


	if (parent.length != 0){
		if (parent.strText){
			var arrDirectory 	= parent.location.pathname.split("/");
			var arrPad 			= parent.strText.split("/");
			var strDirectoryCum = '/';
			text = '';
						
			for (i=0; i < arrPad.length; i++){	
				if (i!=0) text = text +' &gt; '
				if (i<arrPad.length-1){
					strDirectoryCum = strDirectoryCum + arrDirectory[i+1] + '/';
					text = text + '<a href="frame_builder.htm?'+strDirectoryCum+'" class="pad" target="_top">'+arrPad[i]+'</a>' ;
				}
				else {
				if (parent.main.length != 0) {
					if (parent.main.sub2en3.length != 0) {
					text = text + '<a href="frame_builder.htm?'+parent.main.left.location.pathname+'" class="pad" target="_top">'+arrPad[i]+'</a>' ;
						}
					else {		
					text = text +arrPad[i] ;
				    		 }
					}
				else {		
				text = text +arrPad[i] ;
				     }
				}
			}
		}
		if (parent.main.length != 0){
					
				if (parent.main.sub2en3.length != 0) {
					if (parent.main.sub2en3.n3.strText) text = text + ' &gt; <a href="frame_builder.htm?'+parent.main.sub2en3.n3.location.pathname+'" class="pad" target="_top">' + parent.main.sub2en3.n3.strText+'</a>';		
					if (parent.main.sub2en3.n4.strText) text = text + ' &gt; <a href="frame_builder.htm?'+parent.main.sub2en3.n4.location.pathname+'" class="pad" target="_top">' + parent.main.sub2en3.n4.strText+'</a>';		
				}
			}
		}
	
	if (text != strDeText){
		updateText();
		strDeText = text;
	}
	setTimeout('monitor()',1000);	
}

function updateText(){
	var timerId; 
	var strTempText;
	
  if (document.all)
        document.all('KopDiv').innerHTML = '<img border="0" src="../images/transparent.gif" width="1" height="19" align="absmiddle" alt=" "><a href="/us_index.htm" class="pad" target="_top">Cito USA home</a> &gt; '+text;
   else if (document.layers) {
	    document.layers['KopLayer'].document.open();
	    document.layers['KopLayer'].document.write('<font color="#000000" face="Arial, Helvetica, sans-serif" size="2">a'+text+'</font>');
	    document.layers['KopLayer'].document.close();
	}	
	else if (navigator.appName + navigator.appVersion.substring (0, 1) == "Netscape5")
		document.getElementById('KopDiv').innerHTML = '<img border="0" src="../images/transparent.gif" width="14" height="19" align="absmiddle" alt=" "><a href="/us_index.htm" class="pad" target="_top">Cito USA home</a> &gt; '+text;;
		
}

function stopError() {
	self.location.reload();
	return true;
}
//window.onerror = stopError;

