
if(typeof czen=='undefined')czen={};czen.inlinePopups=[];dojo.declare('czen.InlinePopup',null,{constructor:function(toggler){this.toggler=toggler;this.popup=document.getElementById(this.toggler.getAttribute('rel'));this.offset={x:-75,y:-25};var limbo=this.popup.parentNode.removeChild(this.popup);dojo.body().appendChild(limbo);dojo.connect(this.toggler,'onclick',this,this.show);dojo.connect(this.popup,'onclick',this,this.hide);},show:function(evt){var evt=dojo.fixEvent(evt);if(dojo.isIE<=6)czen.hideSelects();dojo.style(this.popup,{left:evt.pageX+this.offset.x+'px',top:evt.pageY+this.offset.y+'px',display:'block'});},hide:function(){if(dojo.isIE<=6)czen.showSelects();this.popup.style.display='none';}});function setUpPops(container){dojo.query('.inlinePop').forEach(function(item){czen.inlinePopups.push(new czen.InlinePopup(item))})}
dojo.addOnLoad(function(){setUpPops(document.getElementsByTagName('body')[0]);});