
document.write('<META http-equiv="Page-Exit" CONTENT="progid:DXImageTransform.Microsoft.Fade(Overlap=0.50);  " />');

if (top.frames.length <1)
	{top.location.href= "http://www.balance2.nl/index.htm"} ;

function balancemsg(txt) { window.status=txt; }

// (C) 2004 CodeLifter.com
function nrcIE(){
	if (document.all){return false;}}
function nrcNS(e){
	if(document.layers||(document.getElementById&&!document.all)){ 
	if (e.which==2||e.which==3){
	return false;}}} 
	if (document.layers){
	document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown=nrcNS;
	}else{document.onmouseup=nrcNS;document.oncontextmenu=nrcIE;}
	document.oncontextmenu=new Function("return false");



// ############### LAGEN IN HET SUBMENU ######################################

function menulaag(optie, toestand) {
	identity=top.balancesubmenu.document.getElementById(optie);
	identity.className=toestand;
}

function heelmenulaag(toestand) {
	menulaag ('laag00',toestand);
	menulaag ('laag01',toestand);
	menulaag ('laag02',toestand);
	menulaag ('laag03',toestand);
	menulaag ('laag04',toestand);
	menulaag ('laag05',toestand);
	menulaag ('laag06',toestand);
	menulaag ('laag07',toestand);
}

function zetlaag(optie, toestand) {
	heelmenulaag ('laaguit');
	menulaag (optie, toestand); 
}


// ############### stijlwisseling hoofdmenu-OPTIE AAN/UIT ######################################

function hoofdmenu(optie, toestand) {
	identity=top.balancehoofdmenu.document.getElementById(optie);
	identity.className=toestand;
}

function heelhoofdmenu(toestand) {
	hoofdmenu ('hfd00',toestand);
	hoofdmenu ('hfd01',toestand);
	hoofdmenu ('hfd02',toestand);
	hoofdmenu ('hfd03',toestand);
	hoofdmenu ('hfd04',toestand);
	hoofdmenu ('hfd05',toestand);
	hoofdmenu ('hfd06',toestand);
	hoofdmenu ('hfd07',toestand);

}

function hoofdstuk(optie, toestand) {
	heelhoofdmenu ('aan'); 
	hoofdmenu (optie, toestand);
}

// ############### stijlwisseling SUBMENU-OPTIE AAN/UIT ######################################

function submenu(optie, toestand) {
	identity=top.balancesubmenu.document.getElementById(optie);
	identity.className=toestand;
}

function heelsubmenu(toestand) {	// Let op: deze opsomming moet identiek zijn aan wat gebruikt wordt in het submenu!
	submenu ('optie001',toestand);	// 0. Home NL
	submenu ('optie002',toestand);	// 0. Home UK
	submenu ('optie003',toestand);	// 0. Home DE
	submenu ('optie004',toestand);	// 0. Home FR

	submenu ('optie101',toestand);	// 1. Wie zijn wij?
	submenu ('optie102',toestand);	// 	Ons team
//	submenu ('optie103',toestand);	// 	Geschiedenis / niet vertaald?
	submenu ('optie104',toestand);	// 	Raad van Advies

	submenu ('optie201',toestand);	// 2. Wat bieden wij?
	submenu ('optie202',toestand);	// 	
	submenu ('optie203',toestand);	// 	
//	submenu ('optie204',toestand);	// 	
//	submenu ('optie205',toestand);	// 	
//	submenu ('optie206',toestand);	// 	
	
	submenu ('optie301',toestand);	// 3. Onze klanten (referentielijst)
	
	submenu ('optie401',toestand);	// 4. Vacatures
	
	submenu ('optie501',toestand);	// 5. Nieuws
//	submenu ('optie502',toestand);	// 

	submenu ('optie601',toestand);	// 6. Leestafel
	submenu ('optie602',toestand);	// 
	submenu ('optie603',toestand);	// 
	submenu ('optie604',toestand);	// 
	submenu ('optie605',toestand);	// 
	submenu ('optie606',toestand);	// 
	submenu ('optie607',toestand);	// 
	
	submenu ('optie701',toestand);	// 7. Contact

}

function paragraaf(optie, toestand) {
	heelsubmenu ('aan');
	submenu (optie, toestand);	
}

// ############### stijlwisseling TEKSTVLAK GROOT/KLEIN #####################################

function tekstvlak(optie, toestand) {
	identity=top.balancecontent.document.getElementById(optie);
	identity.className=toestand;
}

function toestand(optie, toestand) {
	identity=top.balancecontent.document.getElementById(optie);
	identity.className=toestand;
}

function openofsluit(optie) {
	identity=top.balancecontent.document.getElementById(optie);
	toestand=identity.className;
	if (toestand=='groot') 	{ identity.className='klein'; }
	else			{ identity.className='groot'; }
}




