window.addEvent("domready", function() { adjustXLayout(); }); function adjustXLayout() { // Get natural heights var iContentHeight = xHeight("content"); var iLeftHeight = xHeight("content_left"); var iMiddleHeight = xHeight("content_middle"); var iRightHeight = xHeight("content_right"); var iFooterHeight = xHeight("footer"); var iMenuTopHeight = xHeight("MenuTop"); var iTop = 100; var iMarginBottom = 30; var iMinHeight = 1020; //var iScreenHeight = xClientHeight() - iTop; // Find the maximum height var maxHeight = Math.max(iContentHeight, iLeftHeight, iRightHeight, iMiddleHeight, iMinHeight ); maxHeight += iMarginBottom; xHeight("outer", (maxHeight+iFooterHeight+iMenuTopHeight+1) ); xHeight("content", (maxHeight) ); // Assign maximum height to all columns xHeight("content_left", maxHeight); xHeight("content_middle", maxHeight); xHeight("content_right", maxHeight); } var message="Right-mouse click is uitgeschakeld. Copyright Trouwwensen.nl"; function click(e) { if (document.all) { if (event.button==2||event.button==3) { alert(message); return false; } } else { if (e.button==2||e.button==3) { e.preventDefault(); e.stopPropagation(); alert(message); return false; } } } if (document.all) // for IE { document.onmousedown=click; } else // for FF { document.onclick=click; }