var glossary = new Object(100);

/*
glossary object
1 entry
2 definition
3 img
4 height
5 weight


*/

function openGlossaryEntry(wEntry)	{
	glossaryWin = open("glossary.php?wEntry="+wEntry,"WiredToWinGloassary","width=660,height=400,menubar=no,scrollbars=yes,toolbar=no,status=no,location=no,directories=no,hotkeys=yes,resizable=yes");
//	glossaryWin.focus();
}

function displayGlossaryData(wContentItem)	{
	var wEntry = unescape(window.location.search.substr(1));
	if (wContentItem == 2)	{
		document.write("<img src=\""+glossary[wEntry][2]+"\" border=\"0\" height=\""+glossary[wEntry][3]+"\" width=\""+glossary[wEntry][4]+"\">");
	} else {
		document.write(glossary[wEntry][wContentItem]);
	}
}



if (document.images) 
{
   img1 = new Image();
   img2 = new Image();
   img3 = new Image();
   img4 = new Image();
   img1.src = "../images/Educators-over.jpg";
   img2.src = "../images/theBrain-over.jpg";
   img3.src = "../images/theFilm-over.jpg";
   img4.src = "../images/thePeople-over.jpg";
}
