	<!--
	var awPopUps = new Array();
	//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	function imagepopup(url_id,w,h,s)
	{
		var objNav = navigator;
		var strDEBUG = "";
		strDEBUG += objNav.Platform + '\n';
		strDEBUG += objNav.appName + '\n';
		strDEBUG += String(w) + ' = w\n';
		strDEBUG += String(h) + ' = h\n';
		strDEBUG += String(window.screen.width) + ' = screenLeft\n';
		strDEBUG += String(window.screen.height) + ' = screenTop\n';
		strDEBUG += String(window.innerHeight) + ' = innerHeight\n';
		strDEBUG += String(document.body.clientHeight) + ' = document.body.clientHeight\n';
		var newWidth = w;
		var newHeight = h;
		var newTop = 0
		var newLeft = 0;
		var iScreenHeightYouCanSee = window.screen.height;
		if (objNav.appName == "Microsoft Internet Explorer"){
			//allow for task bar
			iScreenHeightYouCanSee = iScreenHeightYouCanSee - 28;
		}
		newTop = (iScreenHeightYouCanSee / 2) - (newHeight / 2);
		newLeft = (window.screen.width / 2) - (newWidth / 2);
		strDEBUG += String(iScreenHeightYouCanSee) + ' = iScreenHeightYouCanSee\n';
		strDEBUG += String(newTop) + ' = newTop\n';
		strDEBUG += String(newLeft) + ' = newLeft\n';
		//alert(strDEBUG);
		newWindow = window.open('/popup_image.php?url_id=' + String(url_id), 'ImagePopup'  + String(url_id), 'screenX=' + newLeft +
				',screenY=' + newTop +
				',left=' + newLeft +
				',top=' + newTop +
				',width=' + newWidth +
				',height=' + newHeight +
				',dependent=yes');
		newWindow.focus();
		//awPopUps is only used when the function closeAllPopUps
		//is in use - I've left it in as it does no harm
		awPopUps[awPopUps.length] = newWindow;
		return false;
	}
	//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	function closeAllPopUps()
	{
		//This function was intended to be used from an page onload
		//event but isn't currently
		//from an original idea at : http://tinyurl.com/3q96x
		for (var index = 0;index < awPopUps.length;index++ )
			{
				if ((awPopUps[index] != null ) && (!awPopUps[index].closed))
				{
					awPopUps[index].close();
				} 
				awPopUps[index] = null; // free memory
			}
	}
	// -->
