<!--

function nwin(n,w,h){

path="/images/archive/"+n+".jpg"

big=window.open("","preview","width="+w+",height="+h+",toolbars=no,scrollbars=no,resizable=yes")

big.document.open();

big.document.write('<html><head></head><body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" onblur=self.close();><div align="center"><img src='+path+'></div></body></html>');

big.document.close();

}


function init(what) {
eval(what+"_off.src="+what+"_on.src");
eval("img('"+what+"','"+what+"_on')");
}

function img(id,name){
     if (document.images){
       if (document.images[id]){document.images[id].src=eval(name+".src");
       } else {
         if (document.layers){ 
           for (i=0; i < document.layers.length; i++) {
             if (document.layers[i].document.images[id]) {
             document.layers[i].document.images[id].src=eval(name+".src");
             break;
             }
           }
         }
       }
     }
   }


function show(object) {
    if (document.getElementById && document.getElementById(object) != null)
         node = document.getElementById(object).style.visibility='visible';
    else if (document.layers && document.layers[object] != null)
        document.layers[object].visibility = 'visible';
    else if (document.all)
        document.all[object].style.visibility = 'visible';
}

function hide(object) {
    if (document.getElementById && document.getElementById(object) != null)
         node = document.getElementById(object).style.visibility='hidden';
    else if (document.layers && document.layers[object] != null)
        document.layers[object].visibility = 'hidden';
    else if (document.all)
         document.all[object].style.visibility = 'hidden';
}


function preload(imgObj,imgSrc) {
	if(document.images) 
		eval(imgObj+' = new Image();');
		eval(imgObj+'.src = "'+imgSrc+'";');
}



//-->
