// Ignore errors
function IgnoreError() {return true;}
window.onerror=IgnoreError;

// Framebuster
if (top.location!=location) {top.location.href=location.href;} 

// Function to open new windows
function rs(n,u,w,h) {
  var remote = null;
  remote = window.open(u, n, 'width=' + w + ',height=' + h +',toolbar=no,titlebar=no,menubar=no,resizable=no,scrollbars=no');
  if (remote != null) {
    if (remote.opener == null)
      remote.opener = self;
    window.name = 'catpop';
    remote.location.href = u;
  }
  // window.focus();
}


//Disable right click 
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")
