// JavaScript Document	//FudoMouth is currently using two versions of "Tooltips" 	//--maybe mostly because we haven't recoded everything yet--	//This script contains the "new" version, as used on the main menus, etc.<!--// ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||// // Tooltips Coded by Travis Beckham// http://www.squidfingers.com | http://www.podlob.com// If want to use this code, feel free to do so, but please leave this message intact.//// ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||// --- version date: 06/13/04 ---------------------------------------------------------tooltip = {	name : "tooltipDiv",	offsetX : +15,	offsetY : -10,	tip : null};tooltip.init = function () {	if (!document.getElementById) return;		// It would be nice to be able to generate the tooltip div, 	// but when using document.createElement Explorer5/MacOS9, 	// the tooltip div becomes 100% of the window height.	// Therefore, we have to use document.getElementById to access	// a div that is already in the body.		// this.tip = document.createElement ("div");	// this.tip.setAttribute ("id", this.name);	// document.body.appendChild (this.tip);		this.tip = document.getElementById (this.name);	if (this.tip) document.onmousemove = function (evt) {tooltip.move (evt)};		// FudoMouth Note: below was originally coded for simple "a" tag links,	// but we've replaced "a" with "area" to meet our needs. Also, this was	// originally coded to show tag "title," but Safari was displaying both	// tooltip and title, so we've replaced "title" with "id".	var area;	var anchors = document.getElementsByTagName ("area");	for (var i = 0; i < anchors.length; i ++) {		area = anchors[i];		if (area.className == "tooltip") {			area.onmouseover = function () {tooltip.show (this.id)};			area.onmouseout = function () {tooltip.hide ()};		}	}};tooltip.move = function (evt) {	var x=0, y=0;	if (document.all) {// Explorer			// Explorer5 contains the documentElement object but it's empty, 		// so we must check if the scrollLeft property is available.				// If Explorer6 is in Quirks mode, the documentElement properties 		// will still be defined, but they will contain the number 0.				// If Explorer6 is in Standards compliant mode, the document.body 		// properties will still be defined, but they will contain the number 0.				x = (document.documentElement && document.documentElement.scrollLeft) ? document.documentElement.scrollLeft : document.body.scrollLeft;		y = (document.documentElement && document.documentElement.scrollTop) ? document.documentElement.scrollTop : document.body.scrollTop;		x += window.event.clientX;		y += window.event.clientY;			} else {// Mozilla		x = evt.pageX;		y = evt.pageY;	}	// If the style property value is not a string containing the unit measurement,	// browsers in standard compliant mode will not set the property.	this.tip.style.left = (x + this.offsetX) + "px";	this.tip.style.top = (y + this.offsetY) + "px";};tooltip.show = function (text) {	if (!this.tip) return;	this.tip.innerHTML = text;	// Without the next line, Explorer5/Mac has a redraw problem.	this.tip.style.visibility = "visible";	this.tip.style.display = "block";};tooltip.hide = function () {	if (!this.tip) return;	// Without the next line, Explorer5/Mac has a redraw problem.	this.tip.style.visibility = "hidden";	this.tip.style.display = "none";	this.tip.innerHTML = "";};window.onload = function () {	tooltip.init ();}// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=		//End Tooltips. What follows are basic Javascript tricks...function MM_reloadPage(init) {  //reloads the window if Nav4 resized  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();}MM_reloadPage(true);function MM_findObj(n, d) { //v4.01  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);  if(!x && d.getElementById) x=d.getElementById(n); return x;}function MM_showHideLayers() { //v6.0  var i,p,v,obj,args=MM_showHideLayers.arguments;  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }    obj.visibility=v; }}function MM_preloadImages() { //v3.0  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}function MM_swapImgRestore() { //v3.0  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function MM_swapImage() { //v3.0  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}<!-- flooble Expandable Content header start -->// Expandable content script from flooble.com.// For more information please visit://   http://www.flooble.com/scripts/expand.php// Copyright 2002 Animus Pactum Consulting Inc.//----------------------------------------------var ie4 = false; if(document.all) { ie4 = true; }function getObject(id) { if (ie4) { return document.all[id]; } else { return document.getElementById(id); } }function toggle(link, divId) { var lText = link.innerHTML; var d = getObject(divId); if (lText == '+') { link.innerHTML = '-'; d.style.display = 'block'; } else { link.innerHTML = '+'; d.style.display = 'none'; } }<!-- flooble Expandable Content header end   -->//-->//END