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

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>')}

if(w3c)div1=document.getElementById('lim')
if(ie4)div1=document.all['lim']
if(ns4)div1=document.layers['lim']


function write_div(text){
    if(ns4){
        div1.document.open();
        div1.document.write(text);
        div1.document.close();
    }
    else {div1.innerHTML=text;}
}
 
function thumbIM(n){
	ondiv=n
	write_div("<a href='javascript:void(0)' onmouseout='thumbIM_hide()' onmouseover='ondiv=1'><img style='border-width:1px; border-color:#cbcbcb; border-style:solid;' name=ib src="+n+" width=360></a>");
}
function thumbIM_hide(){ ondiv=0; window.setTimeout('thumbIM_hide2()',100) }
function thumbIM_hide2(){ if (ondiv==0){ write_div(""); } }


