﻿function openPage(page,w,h,st)
{
   window.open(page,'','scrollbars='+st+',width='+w+',height='+h+',status=yes,resizable=1,left=100,top=100,alwasRized');
}



// (C) 2003 CodeLifter.com
// Source: CodeLifter.com
// Do not remove this header

// Set the message for the alert box
am = "© 2010 - marenostro";

// do not edit below this line
// ===========================
bV  = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"

function nrc(e) {
   if (bNS && e.which > 1){
      alert(am)
      return false
   } else if (bIE && (event.button >1)) {
     alert(am)
     return false;
   }
}

document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;




if (window.Event)
{
  document.captureEvents(Event.MOUSEUP);
}

function nocontextmenu() 
{	
  event.cancelBubble = true, event.returnValue = false;
  return false;
} 

function norightclick(e) 
{
  if (window.Event) 
  {
    if (e.which == 2 || e.which == 3) return false;
  }
  else if (event.button == 2 || event.button == 3) 
  {
    event.cancelBubble = true, event.returnValue = false;
    return false;
  }
}

if (document.layers)
{
	document.captureEvents(Event.MOUSEDOWN);
	document.oncontextmenu = nocontextmenu;
	document.onmousedown = norightclick;
	document.onmouseup = norightclick;
}