function DisableRightClick(){
function ClickIE(){if (document.all)return false;}
function ClickNS(e){if (document.layers || (document.getElementById && !document.all)) if (e.which == 2 || e.which == 3) 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")}
function OpenInNewBrowser(NewLocation){if (!window.NewWindow || NewWindow.closed) NewWindow = window.open(NewLocation, null, "location=no, menubar=no, resizable=yes, scrollbars=yes, status=yes, toolbar=yes"); else NewWindow.location = NewLocation;}
function Open_IMG(FileName, WWidth, WHeight){window.open(FileName, null, 'width=' + WWidth + ', height=' + WHeight + ', location=no, menubar=no, resizable=no, scrollbars=yes, status=no, toolbar=no');}
function PreloadImg(){ if (document.images){ var ImgFiles = PreloadImg.arguments; if (document.PreloadArray == null) document.PreloadArray = new Array(); var i = document.PreloadArray.length; with (document) for (var j = 0; j < ImgFiles.length; j++) if (ImgFiles[j].charAt(0) != "#"){ PreloadArray[i] = new Image; PreloadArray[i++].src = ImgFiles[j];}}}
function ChangeButton(ButtonName, ButtonImage){document.images[ButtonName].src=ButtonImage;}
function hidestatus(){window.status=""; return true;}

