function replacepic(val){showpic(val);window.close();}
function showpic(val){
dataWindow=open("","","toolbar=0,directories=0,menu=0,scrollbars=0,location=0,resizable=0,status=0,top=50,left=50,width=500,height=400,menubar=0,dependent=1,hotkeys=0");
		dataWindow.document.open();
		dataWindow.document.write("<HTML><HEAD><TITLE>Conference Pictures</TITLE>");
		dataWindow.document.write("<script language=\"JavaScript\" type=\"text/javascript\" src=\"images1.js\"></script></HEAD>");
		dataWindow.document.write("<body bgcolor='ffffff' leftmargin='0' topmargin='0' marginwidth='0' marginheight='0' onload='window.focus()'>");
		dataWindow.document.write("<center><img id='pic' src='images1/"+val+".jpg' width=500 height=375></center>");
		dataWindow.document.write("<table width='100%'><tr width='25%'><td align='center' width='25%' id='previous'>");
		if(val!=1){
		dataWindow.document.write("<a href='javascript:replacepic("+(val-1)+")' id='pre'><img src='previous.gif' border=0></a>");}
			dataWindow.document.write("</td><td width='25%' align='center'>");
		dataWindow.document.write("<a href='slide1.swf' id='nex'><img src='slideshow.gif' border=0></a>");
		dataWindow.document.write("</td><td align='center' width='25%'><a href='javascript:window.close()'> <img src='close.gif' border=0></a></td><td align='center' width='25%' id='next'>");
		if(val!=24){
		dataWindow.document.write("<a href='javascript:replacepic("+(val-1+2)+")' id='nex'><img src='next.gif' border=0></a>");}	
		dataWindow.document.write("</td></tr></table>");
		dataWindow.document.write("</BODY>");
		dataWindow.document.close();
}