// JavaScript Document
		function startCatExpand(e,element)
		{
			//if(navigator.platform.indexOf("Mac") > -1 && navigator.userAgent.indexOf("Netscape") > -1) return;
			if(e.type != "onmouseenter")
			{
				var fromElement = e.relatedTarget || e.fromElement;
				while (fromElement && fromElement != element && fromElement.nodeName != 'BODY')
					fromElement = fromElement.parentNode
				if (fromElement == element)
					return;
			}
			
			var tableElement = element;
			var imgElement = tableElement.firstChild.firstChild.firstChild.firstChild.firstChild;
			
			if(!imgElement.inited)
				init(imgElement);

			tableElement.style.width = tableElement.offsetWidth;
			tableElement.className = "gr_expanded";
			tableElement.nextSibling.width = tableElement.offsetWidth;
			tableElement.nextSibling.height = tableElement.offsetHeight+1;
			tableElement.parentNode.style.zIndex = 1;
			window.clearTimeout(imgElement.imgDelayID);
			imgElement.imgDelayID = window.setTimeout(imgElement.expand,300);
		}

		function endCatExpand(e,element)
		{
			//if(navigator.platform.indexOf("Mac") > -1 && navigator.userAgent.indexOf("Netscape") > -1) return;
			if(e.type != "onmouseleave")
			{
				var toElement = e.relatedTarget || e.toElement;
				while(toElement && toElement != element && toElement.nodeName != 'BODY')
					toElement = toElement.parentNode;
				if(toElement == element)
					return;
			}

			var tableElement = element;
			var imgElement = tableElement.firstChild.firstChild.firstChild.firstChild.firstChild;
			window.clearTimeout(imgElement.imgDelayID);
			imgElement.contract();
		}

		function init(imgElement)
		{
			imgElement.originalHeight = imgElement.height;
			imgElement.originalWidth = imgElement.width;
			imgElement.expand = function() 
								{
									var factorw = Math.round(imgElement.width*.07);
									var factorh = Math.round(imgElement.height*.07);
									if(imgElement.width + factorw < imgElement.originalWidth*3)
									{
										imgElement.width += factorw;
										imgElement.height += factorh;
										imgElement.imgDelayID = window.setTimeout(imgElement.expand,12);
									}
									else
									{
										imgElement.width = imgElement.originalWidth*4;
										imgElement.height = imgElement.originalHeight*4;
										var tableElement = imgElement.parentNode.parentNode.parentNode.parentNode.parentNode;

										if(tableElement.getAttribute("pushdown") == "1")
											tableElement.nextSibling.height = tableElement.offsetHeight+1;
									}
								};
			imgElement.contract = function() 
								{
									var factorh = Math.round(imgElement.height*.07);
									var factorw = Math.round(imgElement.width*.07);
									if(imgElement.width - factorw > imgElement.originalWidth)
									{
										imgElement.width -= factorw;
										imgElement.height -= factorh;
										imgElement.imgDelayID = window.setTimeout(imgElement.contract,10);
									}
									else
									{
										imgElement.width = imgElement.originalWidth;
										imgElement.height = imgElement.originalHeight;
										
										var parentTable = imgElement.parentNode.parentNode.parentNode.parentNode.parentNode;
										parentTable.className = "gr_expandable";
										parentTable.parentNode.style.zIndex = 0;
										parentTable.nextSibling.height = "1";
									}
								};
			
			imgElement.inited = true;
		}
