//e-mail, print
window.onload = function() {
	changeImage();
}

function changeImage(){
	if (!document.getElementById) return false;
	var image1 = document.getElementById("button1");
	var image2 = document.getElementById("button2");
	image1.onmouseover = function(){this.src = "images/button1_on.gif";}
	image2.onmouseover = function(){this.src = "images/button2_on.gif";}
	
	image1.onmouseout = function(){this.src = "images/button1_off.gif";}
	image2.onmouseout = function(){this.src = "images/button2_off.gif";}
	
	image1.onmousedown = function(){this.src = "images/button1_click.gif";}
	image2.onmousedown = function(){this.src = "images/button2_click.gif";}
}
function changebg()
{
	if(document.searchForm.search.value=="Zoek")
	{
		document.searchForm.search.value="";
		document.getElementById("bgdiv").style.backgroundImage='url(images/search_on.jpg)';
	}
}
function getbg()
{
	if(document.getElementById("search").value=='Zoek')
		document.getElementById("bgdiv").style.backgroundImage='url(images/search.jpg)';
	else if(document.getElementById("search").value=='')
	{
		document.getElementById("bgdiv").style.backgroundImage='url(images/search.jpg)';	
		document.getElementById("search").value='Zoek';
	}
	else
		document.getElementById("bgdiv").style.backgroundImage='url(images/search_on.jpg)';	
}

 function searchtxt()
 {
	var frm = document.searchForm;
	searchTxt = (frm.search.value).toLowerCase();
	if(searchTxt == "computable")
	{		
		frm.action = "./template3.html";
		frm.submit();
	}
}

