function openWindow(src,ht,wd) {
	parm = 'height=' + ht + ',width=' + wd + ',menubar=no,status=no,toolbar=no,scrollbars=yes,resizable=yes'
	window.open(src, 'tips', parm);
}

function openCenteredWindow(src,ht,wd) {
	details = ',menubar=no,status=no,toolbar=no,scrollbars=yes,resizable=yes';
	leftPos = (screen.width - wd)/2;
	topPos = 150;
//	topPos = (screen.height - ht)/2;
	parm = 'height=' + ht + ',width=' + wd + ',left=' + leftPos + ',top=' + topPos + details;
	window.open(src, 'tips', parm);
	}

function closeWindow() {
	window.close();
}

<!-- Hide script from older browsers

function showMenu(objID,yVal) {
//function showMenu(hostID, objID, xVal, yVal) {

	//This function receives the object ID and y-coordinate value (in pixels)
	//from the event handler and then uses those values to dynamically
	//position the object in the browser window
	
	if (document.all) {
	
		//This checks to see if the user is using Internet Explorer
		//because only IE uses "document.all"
		
		objName = eval('document.all.' + objID + '.style');
//		hostName = eval('document.all.' + hostID + '.style');
//		alert(hostName.pixelTop);
//		alert(hostName.pixelLeft);
//		alert(objName.pixelTop);
//		alert(objName.pixelLeft);
		
		//This statement creates the object reference for IE from
		//object ID sent to the script
		
//		if (yVal < 0) {
			objName.pixelTop = yVal;
//			}
//		else {
//			objName.pixelTop = 350;
//			objName.pixelLeft = 400;
//			objName.pixelTop = hostName.pixelTop;
//			objName.pixelLeft = hostName.pixelLeft + xVal;
//			}
		
		//This sets the y-coordinates of the top of the object
		//for users browsing with Internet Explorer
		
		} else {
		
		//If user is not using Internet Explorer do what follows
		
		objName = eval('document.' + objID);
		
		//Create the object reference for Netscape using
		//the object ID sent to the script
		
		objName.top = yVal;
		
		//Set the y-coordinate for the top of the object
		//for users browsing with Netscape
	}
}

//-->

<!--//
//***************************************************
//SIMPLE UNIVERSAL IMAGE ROLLOVERS WITH BROWSER DETECTION
//RELEASED TO THE PUBLIC DOMAIN 7/97 BY AARON A. ZADONICK 
// 187@interoperate.com
//Please let me know where you use this!
//***************************************************   

//BROWSER DETECTION
//Below is some "plug-&-play browser detection that compensates for  
//browsers such as IE 3.0 and Netscape 2.0 and less that do not support Javascript or the 
//image object. It also is ready for all future browser versions.
//All it does is detect the browser and then set a global variable called "roll"
//to either true or false for the image functions below or anything else.

browser_name = navigator.appName;
browser_version = parseFloat(navigator.appVersion); 

if (browser_name == "Netscape" && browser_version < 2.0)
        {
        roll = 'false';
        }
else if (browser_name == "Netscape" && browser_version == 2.0)
        {
        roll = 'false';
        }
else if (browser_name == "Netscape" && browser_version >= 3.0)
        {
        roll = 'true';
        }
else if (browser_name == "Microsoft Internet Explorer" && browser_version <= 2.0)
        {
        roll = 'false';
        }
else if (browser_name == "Microsoft Internet Explorer" && browser_version >= 3.0)
        {
        roll = 'true';
        }
else if (browser_version >= 4.0) //assume that if they can read java script and is a
                                 // > than 4.0 version that they probobly have 
                                 // IMG object support
        {
        roll = 'true';
        }
else
        {
        roll = 'false';
        }

//*************************************************************************************
        
//IMAGE ROLLOVER FUCTIONS
//The following scripts functions allow you do execute a "single rollover".
//by that I mean when you rollover a image it changes. The other two allow you
//to rollover one image, have that one change as well as another one on the page.
//These are plug and play, there is no need to edit these. 

//NOTE go to the bottom of the page to add in the images to be "pre_loaded" into the browsers 
//memory cache

//msover1 and msout1 are for the singe image rollover
//msover2 and msout2 are for the dual rollovers
//All you have to do is reference the images as noted below and your on your way.
//NOTE HTML code for futher documentation

function msover(img,ref) {
    if (roll == 'true') {
		document.images[img].src = ref;
	}
}
        
function msout(img,ref) {
	if (roll == 'true') {
		document.images[img].src = ref;
	}
}

//*************************************************************************************
// Rollover functions for slide show pages

function FP_swapImg() {//v1.0
 var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
 n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
 elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_preloadImgs() {//v1.0
 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
 for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}

function FP_getObjectByID(id,o) {//v1.0
 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
 else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
 if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
 for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
 f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
 for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
 return null;
}
