// ===================================================================
// Author: Kolibrie Creatieve Media (c) 2008
// http://www.kolibrie.net/
// ===================================================================

if (top != self) top.location.href='/default.asp';

function objRef(id) {if (document.getElementById(id)) return document.getElementById(id)}
function styleRef(id) {return this.objRef(id).style}

function hl(obj){
	b=obj.src;
	s=(b.substring(b.length-4,b.length-5)==0)?'1':'0';
	obj.src=(b.substring(b.length-5,0)+s+b.substring(b.length,b.length-4));
}

function showfoto(s) {
	ss=(s==1)?'none':'block';
	styleRef('website').display=ss;
	styleRef('logohzt').display=ss;
	// styleRef('raster').display=ss
}

// *** BEGIN BACKGROUND JAVASCRIPT ***
var sw, sh;
var origWidth=0;
var origHeight=0;


// *** BEGIN PULLDOWN JAVASCRIPT ***
var the_timeout;

function menuaan(nr) {
	if (the_timeout) clearTimeout(the_timeout);
	for (i=1;i<=3;i++) if (objRef('menu'+i)) {
		styleRef('menu'+i).display=(i==nr)?'block':'none';
	}
}

function menuuit(nr) {if (objRef('menu'+nr)) styleRef('menu'+nr).display='none'}

function menu(nr,s) {
	n=nr;
	switch (s) {
		case 0: {the_timeout = setTimeout("menuuit(n);", 500); break}
		case 1: {if (the_timeout) clearTimeout(the_timeout); break }
		case 2: {the_timeout = setTimeout("menuuit(n);", 500); break }
	}
}
// *** EINDE PULLDOWN JAVASCRIPT ***

