<!--

var ie=document.all?1:0
var ns=document.layers?1:0

var today = new Date();
var expiry = new Date(today.getTime() + 60 * 24 * 60 * 60 * 2000);

function setCookie(name, value)
{
   if (value != null && value != "")
      document.cookie=name + "=" + escape(value) + "; expires=" + expiry.toGMTString();
}

function getCookie(name)
{
    var dc = document.cookie;
    var prefix = name + "=";
    var begin = dc.indexOf("; " + prefix);
    if (begin == -1)
    {
        begin = dc.indexOf(prefix);
        if (begin != 0) return null;
    }
    else
    {
        begin += 2;
    }
    var end = document.cookie.indexOf(";", begin);
    if (end == -1)
    {
        end = dc.length;
    }
    return unescape(dc.substring(begin + prefix.length, end));
}


 function chpic(mit,mire)
 {
	if (eval(mire).complete)
	   document[mit].src=eval(mire+".src");
    if (ns4) return true;
 }
 
function zoom(pic) {
    window.open('/zoom.php?photo='+pic, 'ZOOM', 'scrollbars=no,status=no,location=no,toolbar=no,resizable=no,width=200,height=200');
}

function zoom2(mit,xx,yy) {
    ZOOM2 = window.open(mit, 'ZOOM2', 'scrollbars=no,status=no,location=no,toolbar=no,resizable=no,width='+xx+',height='+yy);
}

function zoom3(mit) {
    window.open(mit, 'ZOOM3', 'scrollbars=yes,status=yes,location=no,toolbar=yes,resizable=yes');
}

function zoom4(mit,xx,yy) {
    window.open(mit, 'ZOOM4', 'scrollbars=yes,status=yes,location=no,toolbar=yes,resizable=yes,width='+xx+',height='+yy);
}


startHighlight = function()
{				
	if (document.all && document.getElementById)
	{
		navRoot = document.getElementById("TableOver");
			
		// Get a reference to the TBODY element 
		tbody = navRoot.childNodes[0];
			
		for (i = 1; i < tbody.childNodes.length; i++)
		{
			node = tbody.childNodes[i];
			if (node.nodeName == "TR")
			{
				node.onmouseover=function()
				{
					this.className = "over";								
				}
					
				node.onmouseout=function()
				{
					this.className = this.className.replace("over", "");
				}
			}
		}
	}
}
	
//window.onload = startHighlight;			

//-->

