var image_popup={  init:function(){    $$('a.popup_img_link').each(function(l){      $(l).observe('click', function(event){        Event.stop(event);        if(!image_popup.overlay){          image_popup.buildPopup();        }        if(!l.init){          l.img=new Image()          l.img.src=l.href;          l.init=true;        }        $(image_popup.imgCont.overlay).setStyle({          background:'transparent url('+this.img.src+') center no-repeat'        });        image_popup.overlay.show();      }.bindAsEventListener(l));    });  },  buildPopup:function(){    var overlay=new nUtils.overlay({      createInDomEl:$('wrapper'),      opacity:0.8,      style:{        height:'445px',      	width:'617px',      	position:'absolute',      	top:'156px',      	left:'182px',      	zIndex:2,      	display:'none',      	backgroundColor:'#ffffff'      }    });    var imgCont=new nUtils.overlay({      createInDomEl:$('wrapper'),      opacity:1,      style:{        height:'445px',      	width:'617px',      	position:'absolute',      	top:'156px',      	left:'182px',      	display:'none',      	background:'none'      },      closeBtn:false    });    overlay.appendLayer(imgCont);     $(imgCont.overlay).observe('click', function(){      overlay.hide();    });          image_popup.overlay=overlay;    image_popup.imgCont=imgCont;      }}
