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:5; left:5; 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
	//if(ns4){div1.moveTo(x,y)}else{div1.style.left=x+'px';div1.style.top=y+'px';}
}

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 cellpadding='0' cellspacing='0' border='0'><tr><td align='left' bgcolor='#000000'><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='show(\"ppForm\");largeIM_hide()' onmouseover='ondiv=1'><img border=1 name=ib src="+n+" width=250></a></td></tr></table>");
		move_div(x,y)
}

function largeIM2(n){
ondiv=n
		write_div("<table cellpadding='0' cellspacing='0' border='0'><tr><td align='left' bgcolor='#000000'><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='show(\"ppForm\");largeIM_hide()' onmouseover='ondiv=1'><img border=1 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)}
}

function thumbIM(n){
		ondiv=n
		write_div("<a href=javascript:void(0) onclick='javascript: window.open(n)' onmouseout='thumbIM_hide()' onmouseover='ondiv=1'> <img border=0 name=ib src="+n+" width=178 height=178></a>");
		move_div(x,y)
}

function thumbIM_hide(){
	ondiv=0;
	t3=window.setTimeout('thumbIM_hide2()',100)
}

function thumbIM_hide2(){
if (ondiv==0){
	write_div("");
	move_div(-1000,-1000)}
}



y=x=0
