<!--
	var NS = (navigator.appName.indexOf('Netscape', navigator.appName, 0) != -1)
	var navlocked = false;
	var c = 1;
	var s = 1;
	var i = 1;
	var dragging = false;
	var dragdx;
	var dragdy;
	var odoc;
	if (!top.navx) {
		top.navx = new Number;
		top.navx = 230;
		top.navy = new Number;
		top.navy = 300;
		top.navvis = new Number;
		top.navvis = '0';
		top.inited = new Number;
		top.inited = 0;
	}

function init() {
	top.inited = 0;
	if (!document.menuform) {
	if (document.nav.document) odoc = document.nav.document; }
	else odoc = document;
	if (NS) {
		var x;
		if(!(x=document['nav']) && document.all)
			x=document.all['nav'];
		x.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP | Event.MOUSEMOVE | Event.DBLCLICK);
		x.onmousedown = startdragnav;
		x.onmouseup = stopdragnav;
		x.onmousemove = dragnav;
		x.ondblclick = minimaxi;
	}
	PImg = new Image()
	PImg.src = "images/nav_go_.gif"
	styleobj('nav').left = top.navx;styleobj('nav').top = top.navy;
	if (top.navvis != 0) minimaxi(top.navvis);
	styleobj('nav').visibility = (top.navvis > 0) ? 'visible' : 'hidden';
	for (x=0;x<odoc.menuform.cat.options.length;x++) if (odoc.menuform.cat.options[x].value == top.qcat) odoc.menuform.cat.options[x].selected=true;
	catchange();
	for (x=0;x<odoc.menuform.spec.options.length;x++) if (odoc.menuform.spec.options[x].value == top.qspec) odoc.menuform.spec.options[x].selected=true;
	specchange();
	for (x=0;x<odoc.menuform.inter.options.length;x++) if (odoc.menuform.inter.options[x].value == top.qinter) odoc.menuform.inter.options[x].selected=true;
	top.inited = 1;
}

function rootdoc(formx) {
	if (!document[formx]) {
	if (document.root.document) return document.root.document; }
	else return document;
}

function styleobj(n) {
	var x;
	if(!(x=document[n])&&document.all)
		x=document.all[n];
	if (x.style) x = x.style;
	return x;
}

function zoek(){
	if ((odoc.menuform.key1.value == '') && (odoc.menuform.key2.value == '') && (odoc.menuform.key3.value == ''))
		alert('Enter at least one keyword.');
	else
	{
		//minimaxi();
		//navhide();
		location = 'search.asp?key1=' + escape(odoc.menuform.key1.value) + '&key2=' + escape(odoc.menuform.key2.value) + '&key3=' + escape(odoc.menuform.key3.value);
	}
}

function catchange(){
	c=odoc.menuform.cat.options[odoc.menuform.cat.selectedIndex].value;
	while (odoc.menuform.spec.options.length != 0) odoc.menuform.spec.options[0] = null;
	odoc.menuform.spec.options[odoc.menuform.spec.options.length]=new Option('Step 2','');
	if (odoc.menuform.cat.selectedIndex>0){
	odoc.menuform.spec.options[odoc.menuform.spec.options.length]=new Option('All','_');
	if (!NS) odoc.menuform.spec.options[odoc.menuform.spec.options.length-1].style.color='#FF0000';
	}
	for (si=0;si<CatSpec.length;si++) if (CatSpecParent[si]==c) odoc.menuform.spec.options[odoc.menuform.spec.options.length]=new Option(CatSpec[si],CatSpecId[si]);
	specchange();
	if (top.navvis!=0) odoc.menuform.spec.focus();
}

function specchange(){
	c=odoc.menuform.cat.options[odoc.menuform.cat.selectedIndex].value;
	s=odoc.menuform.spec.options[odoc.menuform.spec.selectedIndex].value;
	while (odoc.menuform.inter.options.length!=0) odoc.menuform.inter.options[0]=null;
	odoc.menuform.inter.options[odoc.menuform.inter.options.length]=new Option('Step 3','');
	if (odoc.menuform.spec.selectedIndex>0){
	odoc.menuform.inter.options[odoc.menuform.inter.options.length]=new Option("All","_");
	if (!NS) odoc.menuform.inter.options[odoc.menuform.inter.options.length-1].style.color='#FF0000';
	odoc.menuform.inter.options[odoc.menuform.inter.options.length]=new Option("International","inter");
	if (!NS) odoc.menuform.inter.options[odoc.menuform.inter.options.length-1].style.color='#FF0000';
	for (ii=0;ii<Country.length;ii++) odoc.menuform.inter.options[odoc.menuform.inter.options.length]=new Option(Country[ii],CountryId[ii]);}
	if (top.navvis != 0) odoc.menuform.inter.focus();
}

function intchange(){
	if ((odoc.menuform.cat.selectedIndex!=0)&&(odoc.menuform.spec.selectedIndex!=0)&&(odoc.menuform.inter.selectedIndex!=0)&&(top.inited==1)){
		if ((odoc.menuform.spec.options[odoc.menuform.spec.selectedIndex].value != top.qspec) || (odoc.menuform.inter.options[odoc.menuform.inter.selectedIndex].value != top.qinter) || (odoc.menuform.cat.options[odoc.menuform.cat.selectedIndex].value != top.qcat)) {
			location = 'show.asp?cat='+odoc.menuform.cat.options[odoc.menuform.cat.selectedIndex].value+'&spec='+odoc.menuform.spec.options[odoc.menuform.spec.selectedIndex].value+'&inter='+odoc.menuform.inter.options[odoc.menuform.inter.selectedIndex].value;
			locknav();
		//odoc.menuform.cat.options[0].selected = true;
		//catchange();
		//navhide();
		}
	}
}

function locknav(){
	navlocked = true;
	odoc.menuform.gobutton.src = 'images/nav_wait.gif';
	if (!NS) {
		odoc.menuform.cat.disabled = true;
		odoc.menuform.spec.disabled = true;
		odoc.menuform.inter.disabled = true;
		odoc.menuform.key1.disabled = true;
		odoc.menuform.key2.disabled = true;
		odoc.menuform.key3.disabled = true;
	}
}

function navhide(){
	menuimg('butsearch', 'images/balk_search.gif');
	styleobj('nav').visibility = 'hidden';
	top.navvis = 0;
}

function navshow(){
	menuimg('butsearch', 'images/balk_search0.gif');
	styleobj('nav').visibility = 'visible';
	minimaxi(2);
	odoc.menuform.cat.focus();
}

function minimaxi(){
	if (minimaxi.arguments.length > 0) {
		styleobj('nav').height = (minimaxi.arguments[0] == 1) ? '137px' : '21px'; 
	}
		if (styleobj('nav').height == '137px' ) {
			menuimg('butsearch', 'images/balk_search0.gif');
			styleobj('nav').height = '21px';
			if (NS) styleobj('nav').clip.height = 21;
			odoc.minibutton.src = 'images/nav_maxi.gif';
			top.navvis = 1;
		}
		else {
			styleobj('nav').height = '137px';
			if (NS) styleobj('nav').clip.height = 137;
			odoc.minibutton.src = 'images/nav_mini.gif';
			top.navvis = 2;
		}
}

function startdragnav(e){
	if (!dragging) {
		dragging = true;
		if (NS) {
			dragdx = e.pageX - styleobj('nav').left;
			dragdy = e.pageY - styleobj('nav').top;
		}
		else {
			if ( styleobj('nav').left.indexOf('px', styleobj('nav').left, 0) != -1 ) {
				dragdx = e.clientX - (styleobj('nav').left.substr(0, styleobj('nav').left.length - 2));
				dragdy = e.clientY - (styleobj('nav').top.substr(0, styleobj('nav').top.length - 2));
			
			}
			else {
				dragdx = e.clientX - styleobj('nav').left;
				dragdy = e.clientY - styleobj('nav').top;
			}
		}
	}
}

function stopdragnav(e){
	if (dragging) {
		dragging = false;
		top.navx = styleobj('nav').left;
		top.navy = styleobj('nav').top;
	}
}

function dragnav(e){
	if (dragging) {
		if (NS) {
			styleobj('nav').left = e.pageX - dragdx;
			styleobj('nav').top = e.pageY - dragdy;
		}
		else {
			styleobj('nav').left = e.clientX - dragdx;
			styleobj('nav').top = e.clientY - dragdy;
		}
	}
}

//-->