//new window
function openMyWin(myFileIs,myWinSet,myWinStatus) {
	window.status=myWinStatus;
	
	newMyWin = window.open(myFileIs,'newMyWin',myWinSet);
	newMyWin.focus();
	
}	


//image swap
function imgScrol(whatImg, changeTo) {
	document.images[whatImg].src=changeTo;
}



//experimental stuff

function showMap() {
	mapWindow = window.open('map.asp','mapWindow','width=368,height=450');
}

var d = window.document.images;

//Get the img X and Y positions with an onMouseOver event
function getXCoor(imgId) {
	var x = (d.layers)?d[imgId].x:d[imgId].offsetLeft;
	var y = (d.layers)?d[imgId].y:d[imgId].offsetTop;
	return x;
}
function getYCoor(imgId) {
	var x = (d.layers)?d[imgId].x:d[imgId].offsetLeft;
	var y = (d.layers)?d[imgId].y:d[imgId].offsetTop;
	return y;
}

