// change pics number when adding new imagespics=36var num1=Math.floor(Math.random()*pics)+1if (num1<10) {	num1 = "0" + num1;	}var num2=Math.floor(Math.random()*pics)+1if (num2==num1) {	while (num2==num1) {		num2=Math.floor(Math.random()*pics)+1;	   }	}if (num2<10) {	num2 = "0" + num2;	}	var num3=Math.floor(Math.random()*pics)+1if (num3==num1 || num3==num2) {	while (num3==num1 || num3==num2) {		num3=Math.floor(Math.random()*pics)+1;	   }	}if (num3<10) {	num3 = "0" + num3;	}function imgPopUp(URL) {	win=window.open('','','height=400,width=400,toolbar=0,statusbar=0,scrollbars=0,resizable=0');	win.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><title>ODPA Gallery</title><link rel=stylesheet href="./inc/all.css" type="text/css"></head><body bgcolor="#F0F8FF" leftmargin="0" topmargin="0"><table cellspacing=0 cellpadding=0 border=0 width=100% height=100%><tr><td align=center><img src="'+URL+'" border=1><p><a href="#" onclick="window.close();return false;">Close Window</a></td></tr></table></body></html>');	win.document.close();	return true;	}document.write('<p><a href="gallery/'+num1+'.jpg" onclick="imgPopUp(this.href);return false;"><img src="thumbs/'+num1+'.jpg" width=100 height=100 border=1 alt="Click to view image"></a>&nbsp;&nbsp;<a href="gallery/'+num2+'.jpg" onclick="imgPopUp(this.href);return false;"><img src="thumbs/'+num2+'.jpg" width=100 height=100 border=1 alt="Click to view image"></a>&nbsp;&nbsp;<a href="gallery/'+num3+'.jpg" onclick="imgPopUp(this.href);return false;"><img src="thumbs/'+num3+'.jpg" width=100 height=100 border=1 alt="Click to view image"></a>');