ns4=(navigator.appName.indexOf("Netscape")>=0 && !document.getElementById)? 1 : 0;
ie4=(document.all && !document.getElementById)? 1 : 0;
ie5=(document.getElementById && document.all)? 1 : 0;
ns6=(document.getElementById && navigator.appName.indexOf("Netscape")>=0 )? 1: 0;
w3c=(document.getElementById)? 1 : 0;

wid=(ie4||ie5)?window.document.body.clientWidth-20:window.innerWidth-36

//was top:-5; left:2;
if(ns4){document.write ('<layer name="lim"></layer>')}else{document.write ('<div id="lim" style="position:absolute; top:0; left:0; z-index:100"></div>')}

outd=""

if(w3c)div1=document.getElementById('lim')
if(ie4)div1=document.all['lim']
if(ns4)div1=document.layers['lim']


function move_div(x,y)
{
	if (isNaN(x+y))return
}

function write_div(text)
{
	if(ns4)
	{
		div1.document.open();
		div1.document.write(text);
		div1.document.close();
	}
	else 
	{
		div1.innerHTML=text;
	}
}
 
function largeIM(n)
{
	ondiv=n
	write_div("<table bgcolor='#990000' cellpadding='2' cellspacing='1' border='0'><tr><td align='left' bgcolor='#990000'><div style='margin-top : 2px; margin-left : 2px; margin-bottom : 2px; '><b class='MediumWhite'>&nbsp;Click Image to Close</b></div></td></tr><tr><td><a href=javascript:void(0) onmousedown='largeIM_hide()' onmouseover='ondiv=1'><img border=0 name=ib src="+n+"></a></td></tr></table>");
	move_div(x,y)
}



function largeIM_hide(){
	ondiv=0;
	t3=window.setTimeout('largeIM_hide2()',100)
}

function largeIM_hide2(){
if (ondiv==0){
	write_div("");
	move_div(-1000,-1000)}
}

y=x=0

