function writelink(emailname, classname) {
	document.write('<a href=\"mailto:' + emailname + '\@metalicht.nl\" ' + 'class=\"' + classname + '\">' + emailname + '@metalicht.nl</a>') ;
}
function writelink2(emailname, classname, title) {
	document.write('<a href=\"mailto:' + emailname + '\@metalicht.nl\" ' + 'class=\"' + classname + '\">' + title + '</a>') ;
}

function showReleaseNotes() {
	window.open('Release_Notes.htm','','toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=500,height=250');
}
function showReleaseNotes(releaseNotePath) {
	window.open(releaseNotePath,'','toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=500,height=250');
}
function mOver(menuItem) {
   menuItem.style.cursor = 'hand';
   menuItem.style.color = '#ffd275';
}
function mOut(menuItem) {
   menuItem.style.cursor = 'default';
   menuItem.style.color = '#ffffff';
}
function mOverMenu(menuItem){
   menuItem.style.cursor = 'hand';
	menuItem.style.borderColor = "#9d9d9d";
	menuItem.style.backgroundColor = "#f1f1f1";
	menuItem.style.color = "#000000";
}
function mOutMenu(menuItem){
   menuItem.style.cursor = 'default';
	menuItem.style.borderColor = "#ffffff";
	menuItem.style.backgroundColor = "#ffffff";
	menuItem.style.color = "#000000";
}


function tabOver(tab) {
	if (document.getElementById) // DOM3 = IE5, NS6
	{
   		document.getElementById(tab).className = 'tabLINKhover';
   	}
}
function tabOut(tab) {
	if (document.getElementById) // DOM3 = IE5, NS6
	{
   		document.getElementById(tab).className = 'tabLINK';
   	}
}


if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus


function hidestatus(){
window.status=''
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus

 
function right(e) {
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && 
(event.button == 2 || event.button == 3)) {
alert("Site ontwikkeld door Formlite BV (R. Douwma).\n\nVoor vragen of informatie kunt u bellen op:\n\nTel: +31 (0)53 - 428 0171\n\nMailen kan naar:\n\nmail@formlite.nl (of via de mailoptie op deze site).");
return false;
}
return true;
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;

if (window.Event)   
  document.captureEvents(Event.MOUSEUP);   
 function nocontextmenu()    
{  
 event.cancelBubble = true  
 event.returnValue = false;  
  return false;  
}  
 function norightclick(e)   
{  
 if (window.Event)   
 {  
  if (e.which == 2 || e.which == 3)  
   return false;  
 }  
 else  
  if (event.button == 2 || event.button == 3)  
  {  
   event.cancelBubble = true  
   event.returnValue = false;  
   return false;  
  }  
 }  
 document.oncontextmenu = nocontextmenu;   
document.onmousedown = norightclick;   
 function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
