var mymessage = "Welkom op de website van Zijdenbos BV." ;  
var pos;
pos = 400;

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
}

function rtclickcheck(keyp){

  if (document.layers && keyp.which != 1) {
    alert(mymessage);
    return false;
  }


  if (document.all && event.button != 1) { 
    alert(mymessage);
    return false;
  }
}

document.onmousedown = rtclickcheck
function GoToIndex(sFilename)
{

var ContentFilename;
ContentFilename=sFilename 
  if(ContentFilename=="GoOn")
	{//Doe niks
    }
	else
	{
	  top.location.href="../../../default.asp"; // opening on the web
	}
}	
function GoToMail(sWebsite) {
window.open (sWebsite);
}
function GoToHome()
{
document.frmHome.submit();
}
function GoToSitemap()
{
document.frmSitemap.submit();
}
function GoToZijdenbosNL()
{
document.frmZijdenbosNL.submit();
}
function GoToZijdenbosENG()
{
document.frmZijdenbosENG.submit();
}
function GoToPagina(sOnderwerp)
{

	switch(sOnderwerp)
	{
		case 1:
		document.frmZijdenbos.submit();
		break;
		
		case 2:
		document.frmNieuwsberichten.submit();
		break;
		
		case 3:
		document.frmVacatures.submit();
		break;

	}



}

function GoToContact()
{
document.frmVestigingsgegevens.submit();
}

function GoToRoute()
{
document.frmRoutebeschrijving.submit();
}

function GoToInfo()
{
document.frmInformatieformulier.submit();
}


function GoToProduct(lIDProduct)
	{
	document.frmShowProduct.IDProduct.value=lIDProduct;
	document.frmShowProduct.submit();
	}	

function GoToCategorie(lIDCategorie)
	{
	document.frmShowCategorieen.IDCategorie.value=lIDCategorie;
	document.frmShowCategorieen.submit();
	}	
function GoToNews(lIDContent)
	{
	document.frmShowNews.IDContent.value=lIDContent;
	document.frmShowNews.submit();
	}
function GoToVacature(lIDContent)
	{
	document.frmShowVacature.IDContent.value=lIDContent;
	document.frmShowVacature.submit();
	}
