//START BOOKMARK AND HOMEPAGE SCRIPT
var ua=navigator.userAgent.toLowerCase();
var ischrome=(ua.indexOf('chrome')!=-1);
var isKonq=(ua.indexOf('konqueror')!=-1);
var isSafari=(ua.indexOf('webkit')!=-1);
var isMac=(ua.indexOf('mac')!=-1);
var buttonStr=isMac?'Command/Cmd':'CTRL';

url = "http://www.neukplaza.nl/";
title = "NeukPlaza.nl"; 
	
	// START BOOKMARK SCRIPT
	function Bookmark() {
		if (window.sidebar){ // Mozilla Firefox Bookmark
			window.sidebar.addPanel(title, url,"");
		}else if( window.external ){ 
			if(ischrome){ //Chrome
				alert('U dient op CTRL + D te drukken om '+title+' aan uw favorieten toe te voegen.');
			}else{ // IE Favorite
				window.external.AddFavorite( url, title);
			}
		}else{
			if(isKonq){ //Chrome
				alert('U dient op CTRL + B te drukken om '+title+' aan uw favorieten toe te voegen.');
			}else if(window.home || isSafari){ // Firefox, Netscape, Safari, iCab
				alert('U dient op '+buttonStr+' + D te drukken om '+title+' aan uw favorieten toe te voegen.');
			}else if(!window.print || isMac){ // IE5/Mac and Safari 1.0
				alert('U dient op Command/Cmd + D te drukken om '+title+' aan uw favorieten toe te voegen.');    
			}else{
				alert('U dient '+title+' handmatig toe te voegen aan uw favorieten');
			}
		}
	}
	// END BOOKMARK SCRIPT
	// START HOMEPAGE SCRIPT
	function Homepage(root){	
		if (window.sidebar){ // Mozilla Firefox Bookmark
			alert('Sleep het icoontje links naast het webadres naar het "Home" icoontje in de werkbalk, om '+title+' in te stellen als jouw startpagina.');
		}else if(window.external){ // IE Favorite
			if(ischrome){ //Chrome
				alert('Om '+title+' als uw startpagina in te stellen, dient u dit handmatig in te stellen in uw browser opties.');
			}else{
				theobj = document.anchors[0];
				theobj.style.behavior='url(#default#homepage)';
				theobj.setHomePage(url);
			}
		}else{
			alert('Om '+title+' als uw startpagina in te stellen, dient u dit handmatig in te stellen in uw browser opties.');
		}
	}
	// END HOMEPAGE SCRIPT
//END BOOKMARK AND HOMEPAGE SCRIPT