// JavaScript Document
//Disables Right-Click to copy images - 04/25/08 - rm
function disableRightClick(e)
{
  var message = "Images on Alyssa Alexiya Empire are Copyright and are Not Allowed";

  if(!document.rightClickDisabled) // initialize
	{
    if(document.layers) 
    	{
      	document.captureEvents(Event.MOUSEDOWN);
      	document.onmousedown = disableRightClick;
    	}
    else document.oncontextmenu = disableRightClick;
    	return document.rightClickDisabled = true;
	}

  if(document.layers || (document.getElementById && !document.all))
	{
		if (e.which==2||e.which==3)
			{
			alert(message);
			return false;
		    }
	}
	else
		{
		alert(message);
	    return false;
		}
}
//disableRightClick();

//Opens new customized web page popup style smaller- 04/25/08 - rm
function getNewPageS(npage)
{
window.open(npage, 'page', 'width=900, height=600, top=50, left=60, status=no, toolbar=no, location=no, menubar=no, scrollbars=no, resizable=no');
}
//Opens new customized web page popup style bigger- 04/25/08 - rm
function getNewPageB(npage)
{
window.open(npage, 'page', 'width=600, height=600, top=0, left=0, status=no');
}
//Opens new customized web page popup style full- 04/25/08 - rm
function getNewPageF(npage)
{
window.open(npage, 'page', 'width=1024, height=768, toolbar=yes, location=yes, menubar=yes, top=0, left=0, scrollbars=yes, resizable=yes');
}