
// open new window
var newWindow = null
function showPicVertical(URL,name) {
		newWindow = window.open("", "","width=370,height=545,scrollbars=no,resizable=no");
		if (newWindow != null) { 
			var newContent = "<html><head><title>View Picture</title></head>" 
			newContent += "<body bgcolor=333399 link=FFFFFF vlink=FFFFFF alink=FFFFFF><p align=center><img src="
			newContent +=URL
			newContent += " width=340 height=510 border=0><br>" 
			newContent += "<a href=javascript:self.close() style='text-decoration: none'>"
			newContent += "<strong><font face=Arial size=2>Close</font></strong></a></p>" 
			newContent += "</body></html>" 
			newWindow.document.write(newContent) 
			}			
}

var newWindow = null
function showPicHorizontal(URL,name) {
		newWindow = window.open("", "","width=545,height=370,scrollbars=no,resizable=no");
		if (newWindow != null) { 
			var newContent = "<html><head><title>View Picture</title></head>" 
			newContent += "<body bgcolor=333399 link=FFFFFF vlink=FFFFFF alink=FFFFFF><p align=center><img src="
			newContent +=URL
			newContent += " width=510 height=340 border=0><br>"
			newContent += "<a href=javascript:self.close() style='text-decoration: none'>"
			newContent += "<strong><font face=Arial size=2>Close</font></strong></a></p>" 
			newContent += "</body></html>" 
			newWindow.document.write(newContent) 
			}			
}

