myPop={modalfunctions:function(){var b={square:null,overdiv:null,span1:null,linkdiv:null};var a={popOut:function(e,d,g,j,i,f){var c=document.getElementById("dropbox");var h=true;b.overdiv=document.createElement("div");b.overdiv.className="overdiv";b.square=document.createElement("div");b.square.className="square";b.square.style.position="absolute";b.square.style.position="fixed";b.overdiv.setAttribute("id","overdiv1");b.square.setAttribute("id","square1");b.span1=document.createElement("span");b.span1.innerHTML="<img height='"+d+"' width='"+e+"' alt='"+g+"' src=' "+j+"'  />";b.square.appendChild(b.span1);b.p1=document.createElement("p");b.p1.appendChild(document.createTextNode(i));b.p1.style.fontWeight="bold";b.square.appendChild(b.p1);b.square.style.border="2px solid #ccc";b.square.style.backgroundColor="#FFFFFF";b.square.style.top=(Math.ceil((document.documentElement.clientHeight-d)/2))+"px";b.square.style.left=((document.documentElement.clientWidth-e)/2)+"px";b.overdiv.onclick=function(){a.popIn()};b.square.onclick=function(){a.popIn()};c.appendChild(b.overdiv);c.appendChild(b.square)},popIn:function(){var c=document.getElementById("dropbox");try{b.square.removeChild(b.span1);b.span1=null;c.removeChild(b.overdiv);c.removeChild(b.square)}catch(d){}c=null}};return a}};
