////////////////////////////////////////////////////////////////////// //Disable right click - with message ////////////////////////////////////////////////////////////////////// function clickIE4(){ if (event.button==2){ showAddFavorites(); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ showAddFavorites(); return false; } } } function showAddFavorites(){ window.external.AddFavorite("http://www.pivolte.be","Dansschool Pivolte"); } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } function openPopup(URL, window_name, window_width, window_height, scrollbars){ if (document.all) var xMax = screen.width, yMax = screen.height; else if (document.layers) var xMax = window.outerWidth, yMax = window.outerHeight; else var xMax = 640, yMax=480; var xOffset = (xMax - window_width)/2, yOffset = (yMax - window_height)/2; popup = window.open(URL, window_name, 'width='+window_width+', height='+window_height+', screenX='+xOffset+', screenY='+yOffset+', top='+yOffset+', left='+xOffset+', menubar=no, scrollbars='+scrollbars+', status=no, toolbar=no, resizable=no, dependent=yes, directories=no, location=no'); popup.focus(); } function set_m (first, second) { // e-mail: mijnuser@mijndomein.com // gebruik mail pre = "mail"; url = pre + "to:" + first; document.location.href = url + "@" + second; } function set_s (first) { // gebruik popup = window.open(first + "webalizer/web") popup.focus(); } document.oncontextmenu=new Function("window.external.AddFavorite('http://www.pivolte.be','Dansschool Pivolte');return false");