/* WEEBO : CONTENT MADE EASY                                                                          */                                                                        
/* -------------------------------------------------------------------------------------------------- */
/* Original development began in 2001, where a need came about to develop a content management system */
/* that catered for business and not only graphic designers. Weebo has come a long way and this new   */
/* content management system was derived to cater for the small, medium and large enterprise websites */
/* This code is the intellectual property of Gilbert Martin II, anyone attempting to copy, alter or   */
/* modify this code is committing patent fraud. Beyond this you are a miserable human being if you    */
/* are trying to copy somebody else/*s work, because you are not good enough to do your own.          */
/* -------------------------------------------------------------------------------------------------- */
/* Copyright (C) 2000 - 2020 . Gilbert Martin II (www.gilbertmartin.co.za) . All Rights Reserved      */
/* Visit www.gilbertmartin.co.za or www.weebo.co.za for more information regarding this development   */
/* -------------------------------------------------------------------------------------------------- */

/* HIDE CONTEXT MENU */
var message='';
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) 
{if (document.layers||(document.getElementById&&!document.all)) {if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else {document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function('return false')

/* CUSTOM RIGHT CLICK MENU */
var isie=0;
if(window.navigator.appName=="Microsoft Internet Explorer"&&window.navigator.appVersion.substring(window.navigator.appVersion.indexOf("MSIE")+5,window.navigator.appVersion.indexOf("MSIE")+8)>=5.5) {
isie=1;
}
else {
isie=0;
}
if(isie) {
var html="";
html+='<table style="border:1pt solid #cccccc;" bgcolor="#e8e8e8" width="140" height="220" cellpadding="0" cellspacing="5">';
html+='<st'+'yle type="text/css">\n';
html+='a:link {text-decoration:none;font-family:verdana;font-size:11px;}\n';
html+='a:visited {text-decoration:none;font-family:verdana;font-size:11px;}\n';
html+='td {font-family:verdana;font-size:11px;}\n';
html+='</st'+'yle>\n';
html+='<sc'+'ript language="javascript">\n';
html+='\n<'+'!--\n';
html+='window.onerror=null;\n';
html+='/'+' -'+'->\n';
html+='</'+'script>\n';
html+='<tr><td style="border:1pt solid #e8e8e8" id="i0" onmouseover="document.all.i0.style.background=\'#cfd6e8\';" onmouseout="document.all.i0.style.background=\'#e8e8e8\';" onclick="window.history.go(-1);">&nbsp;&nbsp;Go Back</td></tr>';
html+='<tr><td> </td></tr>';
html+='<tr><td style="border:1pt solid #e8e8e8" id="i6" onmouseover="document.all.i6.style.background=\'#cfd6e8\';" onmouseout="document.all.i6.style.background=\'#e8e8e8\';" onclick="window.parent.print();">&nbsp;&nbsp;Print Page</td></tr>';
html+='<tr><td style="border:1pt solid #e8e8e8" id="i7" onmouseover="document.all.i7.style.background=\'#cfd6e8\';" onmouseout="document.all.i7.style.background=\'#e8e8e8\';" onclick="window.parent.location.href=window.parent.location.href;">&nbsp;&nbsp;Refresh Page</td></tr>';
html+='<tr><td> </td></tr>';
html+='<tr><td style="border:1pt solid #e8e8e8" id="i8" onmouseover="document.all.i8.style.background=\'#cfd6e8\';" onmouseout="document.all.i8.style.background=\'#e8e8e8\';" onclick="if(window.parent.document.body.style.zoom!=0) window.parent.document.body.style.zoom*=1.6; else window.parent.document.body.style.zoom=1.6;">&nbsp;&nbsp;Zoom In</td></tr>';
html+='<tr><td style="border:1pt solid #e8e8e8" id="i9" onmouseover="document.all.i9.style.background=\'#cfd6e8\';" onmouseout="document.all.i9.style.background=\'#e8e8e8\';" onclick="if(window.parent.document.body.style.zoom!=0) window.parent.document.body.style.zoom*=0.625; else window.parent.document.body.style.zoom=0.625;">&nbsp;&nbsp;Zoom Out</td></tr>';
html+='</table>';
var oPopup = window.createPopup();
}

function dopopup(x,y) {
if(isie) {
var oPopupBody = oPopup.document.body;
oPopupBody.innerHTML = html;
oPopup.show(x, y, 140, 220, document.body);
}
}
function click(e) {
if(isie) {
if(document.all) {
if(event.button==2||event.button==3) {
dopopup(event.x-1,event.y-1);
}
}
}
}
if(isie) {
document.oncontextmenu = function() { dopopup(event.x,event.y);return false; }
document.onmousedown = click;
}

