function MM_openBrWindow(imageName,alt)
{posLeft=(screen.availWidth-200)/2;
 posTop=(screen.availHeight-100)/2;
 msg= '<script>';
 msg+='leftPressed=0;';
 msg+='function ClickCheck(){if(event.button!=1)self.close();';
 msg+='if(event.button==1){leftPressed=1;oldMouseX=event.clientX;oldMouseY=event.clientY;}}';
 msg+='document.onmousedown=ClickCheck;';
 msg+='function Release(){leftPressed=0;}';
 msg+='document.onmouseup=Release;';
 msg+='function mouseMoved(){if(leftPressed){mouseX=event.clientX;mouseY=event.clientY;';
 msg+='window.scrollBy(oldMouseX-mouseX,oldMouseY-mouseY);oldMouseX=mouseX;oldMouseY=mouseY;}}';
 msg+='</script>';
 msg+='<html><head><title>'+alt+'</title><META HTTP-EQUIV="imagetoolbar" CONTENT="no">';
 msg+='<script>';
 msg+='function CenterImage(){';
 msg+='w=document.images[0].width+10;h=document.images[0].height+29;';
 msg+='scrWidth=screen.availWidth;scrHeight=screen.availHeight;';
 msg+='posLeft=(scrWidth-w)/2;posTop=(scrHeight-h)/2;';
 msg+='if(posLeft<0){posLeft=0;w=scrWidth;}';
 msg+='if(posTop<0){posTop=0;h=scrHeight;}';
 msg+='window.moveTo(posLeft,posTop);window.resizeTo(w,h);';
 msg+='loading.style.visibility="hidden"}';
 msg+='</script>';
 msg+='</head><body onload="CenterImage()">';
 msg+='<div style="position:absolute; left:0px; top:0px"><img src="'+imageName+'" alt="'+alt+'" ondrag="mouseMoved()" style="cursor:pointer; cursor:hand"></div>';
 msg+='<div id="loading" style="position:absolute; left:0px; top:0px"><table bgcolor="black" width=200 height=100><td align=center style="font:11px verdana;color:white">Loading...</td></table></div>';
 msg+='</body></html>';
 BigImage=window.open('','',"resizable=no,scrollbars=no,width=200,height=100,left="+posLeft+",top="+posTop);
 BigImage.document.write(msg);
 BigImage.document.close();
}