document.write('<div id="galleryHolder" style="visibility:hidden;position:absolute;left:0px;height:0px;"><table width="399" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#EFC500" height="400"><tr><td valign="top" colspan="3" align=right><A HREF="Javascript:hidePg();"><IMG style="MARGIN-RIGHT: 10px" height=14 alt="" src="images/close_button.jpg" width=51 align=right border=0></A></td></tr><tr><td colspan="3" align=center valign=middle width=399 height=302><img src="images/b.gif" border="0" alt="" name="photograph" id="photograph"></td></tr><tr><td valign="top" colspan="3"><img src="images/b.gif" width="399" height="10" border="0" alt=""></td></tr><tr><td valign="top" colspan="3" id="descriptionx"><div class="wwk1" style="margin-left:10px;margin-right:10px;line-height:18px;text-align:justify;margin-bottom:28px;" id="desc"></div></td></tr><tr><td valign="top" width="" id="prvcell"><img src="images/previous_none.gif" width="75" height="15" border="0" id="previous" name="previous" alt="" hspace="10"></td><td id="nextcell" valign="top" class="wwk1" align="right"><img src="images/next_none.gif" width="54" height="15" border="0" id="next" name="next" alt="" hspace="10"></td></tr><tr><td valign="top" bgcolor="#EFC500" colspan="2"><img src="images/b.gif" width="1" height="20" border="0"></td></tr></table></div>');var gallery = new Array();var gl=0;var g_gid;function getPageOffsetLeft(){return arguments[0].offsetLeft + (arguments[0].offsetParent ? getPageOffsetLeft(arguments[0].offsetParent) : 0);}function getPageOffsetTop(){return arguments[0].offsetTop + (arguments[0].offsetParent ? getPageOffsetTop(arguments[0].offsetParent) : 0);}function addData(galName,imd,imnd){gallery[gl]=new Array();gallery[gl][0]=galName;gallery[gl][1]=new Array();for(g=0;g<imd.length;g++){gallery[gl][1][g]=imd[g];}gallery[gl][2]=new Array();for(g=0;g<imnd.length;g++){gallery[gl][2][g]=imnd[g];}}function showGallery(gn,ac,xr,yr){document.getElementById("galleryHolder").style.left=getPageOffsetLeft(document.getElementById(ac))+xr+"px";document.getElementById("galleryHolder").style.top=getPageOffsetTop(document.getElementById(ac))+yr+"px";document.getElementById("galleryHolder").style.visibility = "visible";for(i=0;i<gallery.length;i++){if(gallery[i][0]==gn){g_gid=i;display(0);break;}}}function display(id){document.getElementById("photograph").src=gallery[g_gid][1][id];document.getElementById("desc").innerHTML=gallery[g_gid][2][id];if(id<gallery[g_gid][1].length-1){document.getElementById("nextcell").innerHTML = "<a href='Javascript:display("+(id+1)+")'><img src='images/next.gif' width='54' height='15' border='0'></a>";}else{document.getElementById("nextcell").innerHTML = "<img src='images/next_none.gif' width='54' height='15' border='0'>";}if(id>0){document.getElementById("prvcell").innerHTML="<a href='Javascript:display("+(id-1)+")'><img src='images/previous.gif' width='75' height='15' border='0'></a>";}else{document.getElementById("prvcell").innerHTML = "<img src='images/previous_none.gif' width='75' height='15' border='0'>";}}function hidePg(){document.getElementById("galleryHolder").style.visibility="hidden";document.getElementById("galleryHolder").style.left="0px";document.getElementById("galleryHolder").style.top="0px";}