
var oPopup = window.createPopup();

function HoverMessage(MSG,X,Y,LEN,LOC) {

  oPopupBody = oPopup.document.body;
  oPopupBody.innerHTML = MSG;
  oPopupBody.style.backgroundColor = "#ffff66";
  oPopupBody.style.border = "1 solid black";
  oPopupBody.style.fontSize = "12px";
  oPopupBody.style.fontFamily = "Courier New";
  oPopupBody.style.textAlignLast="center";

oPopup.show(X, Y, LEN, 20,LOC);
}


function openWindow(theURL,winName,w,h,settings){
	options = 'height='+h+',width='+w+','+settings
	myWin = window.open(theURL,winName,options);
	myWin.focus();
}


function PopPic(URL,HT,WD) { 
	if (!(HT)) { HT = "400"; }
	if (!(WD)) { WD = "400"; }
	default_window = window.open(URL,"PopUp","location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0,hotkey=0,width="+WD+",height="+HT+"");
}


function PopUp(URL,HT,WD) { 
	if (!(HT)) { HT = "400"; }
	if (!(WD)) { WD = "400"; }
	default_window = window.open(URL,"PopUp","location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=0,toolbar=0,hotkey=0,width="+WD+",height="+HT+"");
}


function popWin(url)	{
	var popWin = open(url,"windowName",'nostatus,resizable=no,width=640,height=400,top=100,left=100');
	}


function popPedigree(url)	{
	var popWin = open(url,"windowName",'nostatus,resizable=no,width=640,height=400,top=100,left=100');
	}



function popFriendsWin(url)	{
	var FriendsWin = window.open(url, 'myfriends', 'toolbars=0,scrollbars=1,location=0,statusbars=0,menubars=0,resizable=1,width=290,height=500,left=50,top=50');
}


function popWinsizeable(url,width,height)	{
	var myWindow = window.open(url,"windowRef","width=" + width + ",height=" + height+",nostatus,resizable=no,top=20,left=20,screenX=20,screenY=20");
	}

function load(file,target) {
    if (target != '')
        target.window.location.href = file;
    else
        window.location.href = file;
}

function myVoid() {;}


var message="Sorry, you may not right click on this page...  All photos are copyrighted."; 
function rightclick(b) { 
if (navigator.appName == 'Netscape' && (b.which == 3 || b.which == 2))
{ alert(message); return false;}
 
else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3))
{ alert(message); return false;
}
return true;
} document.onmousedown=rightclick;
if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=rightclick;


