function pop( pageName ) {
  popup=open( "" + pageName + ".htm", "popup", "width=300,height=100,resizeable=no" );
  clean=0;
}

function endpop() {
  if ( clean!=1 && !popup.closed ) {
    popup.close();
  }
}

//Below is the code that pre-loads the graphics 

{

//These are the large images
alt0 = new Image();
alt0.src = "joncross.gif";

alt1 = new Image();
alt1.src = "ahuramazdasym2.gif";

alt2 = new Image();
alt2.src = ".gif";

//These are the first button graphics

graphic1= new Image();
graphic1.src = "Rhate.gif";
graphic1on = new Image();
graphic1on.src = "RhateY.gif";

//These are the second button graphics 

graphic2= new Image();
graphic2.src = "Rhate.gif";
graphic2on = new Image();
graphic2on.src = "RhateY.gif";

//This is the function that calls for
//the change in the buttons 

}
function imageChange(imageID,imageName,imageID2,imageName2) { 

{
document.images[imageID].src = eval(imageName + ".src");
document.images[imageID2].src = eval(imageName2 + ".src");
}

}

//Start of Plus/Minus menu

function fliparrows() {
    img1.src="minus.gif";
    img2.src="plus.gif";
    img3.src="plus.gif";
    img4.src="plus.gif";
    img5.src="plus.gif";
    img6.src="plus.gif";
    img7.src="plus.gif";
    img8.src="plus.gif";
    img9.src="plus.gif";
    img10.src="plus.gif";
    img11.src="plus.gif";
    img12.src="plus.gif";
    img13.src="plus.gif";
    img14.src="plus.gif";
}

function tier1Menu(objMenu,objImage) {
    if (objMenu.style.display == "none") {
            objMenu.style.display = "";
            objImage.src = "minus.gif";
        }
        else {
            objMenu.style.display = "none";
	    objImage.src = "plus.gif";
        }
}

function ChangeCursor(obj,str) {
	obj.style.cursor = str;
}

function newitem(str)
	{
		endDate = new Date(str)
		if (Date.parse(Date()) < Date.parse(endDate))
		{
			document.write('New!')
		}
	}

function updateitem(str)
	{
		endDate = new Date(str)
		if (Date.parse(Date()) < Date.parse(endDate))
		{
			document.write('Updated')
		}
	}

//-->



