function swapEm2(imagename, stat) {	if(navigator.appName == "Netscape")		eval("window.document['"+imagename+"'].src = "+imagename+"_"+ stat+".src");	else		eval("window.document.all['"+imagename+"'].src = "+imagename+"_"+stat+".src");}// Throw a popupfunction popup(url, width, height, name, resizable) {	// Check for default values and set them if they don't exist	name = (name == undefined || name == '') ? '' : name;	resizable = (resizable == undefined || resizable == false) ? 0 : 1;		// Open the window	window.open(escape(url),name,"width="+width+",height="+height+",menubar=0,scrollbars=1,toolbar=0,location=0,resizable="+resizable);	return false;}// These functions are deprecated... please call popup directlyfunction pop_image(image,width,height) {        window.open(escape(image),"","width="+width+",height="+height+",menubar=0,scrollbars=1,toolbar=0");        return false;}function pop_image2(image,width,height) {        window.open(image,"","width="+width+",height="+height+",menubar=0,scrollbars=1,toolbar=0");        return false;}function pop(url) {	var loc = window.location;      window.open(url,'pop_resource','toolbar=0,menubar=0,location=0,scrollbars=1,height=500,width=600,resizable=1');	return false;}function pop_window(url,width,height) {                window.open(url,"info",'toolbar=no,menubar=no,resizable=yes,location=no,scrollbars=yes,height='+height+',width='+width);                return false;        }// Clear the text out of a textboxfunction clearText(thefield) {	if (thefield.defaultValue == thefield.value)		thefield.value = "";} // Open a URL in a new windowfunction target_url(url) {	if (url.charAt(0) == "/" || url.indexOf('http://www.cgfs.org') == 0 )		return true;	else {		window.open (url,'targeted');		return false;	}}function addLoadEvent(func) {	var oldonload = window.onload;	if (typeof window.onload != 'function') {		window.onload = func;	} else {		window.onload = function() {			oldonload();			func();		}	}}