/******************************Function: openWindowArgs: url - URL to open	  w - New window width	  h - New window heightDescription: Open a URL in a new window with an assigned width and height******************************/function openWindow(url,w,h) {	agent = navigator.userAgent;	windowName = "newWindow";	params  = "";	params += "toolbar=0,";	params += "location=0,";	params += "directories=0,";	params += "status=0,";	params += "menubar=0,";	params += "scrollbars=1,";	params += "resizable=1,";	params += "width=" + w + ",";	params += "height=" + h;	win = window.open(url, windowName , params);	if (agent.indexOf("Mozilla/2") != -1 && agent.indexOf("Win") == -1) {		win = window.open(url, windowName , params);	}		if (!win.opener) {		win.opener = window;	}	return;}/**************************************Function: showEmailDescription: Display an email address through javascriptArgs: prefix - email name	  suffix - domain	  display - display name 	  href - 1/0 clickable**************************************/function showEmail(prefix, suffix, display, href) {	if (suffix == "") {		suffix = "rodpub.com";	}	// setup mailto	if (href == 1) {		document.write("<a href='");		document.write("mailto:");		document.write(prefix + "@");		document.write(suffix);		document.write("'>");	}	// show mail or name	if (display == "") {		document.write(prefix + "@");		document.write(suffix);	} else {		document.write(display);	}	// close mailto	if (href == 1) {		document.write("</a>");	}}	/**************************************Function: openImageArgs: img - image location	  title - window title	  w - window width	  h - window heightDescription: Open a new window with an image in it with a certain width and height**************************************/function openImage(img, title, w, h) {	window.open(img, title, config='width='+w+',height='+h);}/**************************************Function: menuJumpArgs: baseurl - baseurl	  val - path to new pageDescription: Open a new window with an image in it with a certain width and height**************************************/function menuJump(baseurl, val) {	var url = baseurl+'/'+val;    location.href = url;}
