
function CheckFrames() {
   if (top.location.href == self.location.href) {
   	  location.href="http://www.absmo.nl/index.html";
   }
}

function CheckBrowser() {
	var appVer = navigator.userAgent.toUpperCase();
	var message = "";
	if (appVer.indexOf("MSIE") == -1) {
        	message += "Deze site is ontwikkeld voor Microsft Internet Explorer.\n"
		message += "U gebruikt een andere browser.\n"
	}
	if (screen.width < 1024) {
	        message += "Deze site is ontwikkeld voor een resolutie van 1024*768.\n"
		message += "U gebruikt een andere resolutie.\n"
	}
	if (message != "") {
		message += "Wilt u toch deze site openen?";
		if (!(confirm(message))) {
			document.href=history.back();
		}
	}
}

function click(e){
//ie
	if(document.all){
        	if(event.button == 2){
			alert("Copyright © ABS Multi Onderhoud");	
                        return false;
                }
        }
//ns
        if(document.layers){
	        if(e.which == 3){
			alert("Copyright © ABS Multi Onderhoud");
                        return false;
                }
        }
}

if(document.layers){
	document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
  
