//********************************************************
//Name: isNN6
//Desc:  
//Note:  
//********************************************************	
function isNN6()  {
	var ua = navigator.userAgent.substring(0,11)
	if(ua=='Mozilla/5.0')  {
	return true;
	}
	else {
	return false;
	}
}
//********************************************************
//Name: showHide
//Desc: 
//Note: 
//********************************************************	
function showHide(strStyleLayer,  strAction, strTag) {
	if(document.all) {
		eval("document.all." + strStyleLayer + ".style").visibility = strAction;
	} 
	else if(document.layers) {
	
			if (strAction=='visible') {
				strAction='show';
			}
			else if (strAction=='hidden') {
				strAction='hide';
			}
			
		document.layers[strStyleLayer].visibility=strAction;
		
	}
	else if(isNN6()) {
			var myDivs = document.getElementsByTagName(strTag)
			myDivs[strStyleLayer].style.visibility = strAction;		
	}
}

MenuTimeout = null;

function menuIn() {
		clearTimeout(MenuTimeout);
}

function menuOut(duur) {
		MenuTimeout = setTimeout("menuTimeout()", duur);
}

function menuTimeout() {
		hideLayers();
}

function hideLayers() {
		showHide('internet','hidden','SPAN');    		
		showHide('illustraties','hidden','SPAN');   		
     		showHide('communicatie','hidden','SPAN'); 
		showHide('independentart','hidden','SPAN');
		showHide('links','hidden','SPAN');
}

function Hidefunction(Hide1,Hide2,Hide3,Hide4,Show6) {
		showHide(Hide1,'hidden','SPAN');
		showHide(Hide2,'hidden','SPAN');
		showHide(Hide3,'hidden','SPAN');
		showHide(Hide4,'hidden','SPAN');
		showHide(Show6,'visible','SPAN');
}

//********************************************************
//Name: PopUp
//Desc:  
//Note:  
//********************************************************	
var popName
var myWind


function PopUp(popName)  {
	if (!myWind || myWind.closed) {
		myWind=window.open(popName,'def','HEIGHT=400,WIDTH=400,scrollbars=auto');
	} else {
		myWind.focus();
		myWind=window.open('images/PleaseWait.gif','def','HEIGHT=400,WIDTH=400,scrollbars=auto');
		myWind=window.open(popName,'def','HEIGHT=400,WIDTH=400,scrollbars=auto');
	}
}
