//Open Window and populate it
function picture(name,wd,ht){

	imagename=""
	we = 10
	he = 35
	imagename = name
	w = wd
	h = ht
	stadd=window.open("","","height="+ (h + he) +",width="+ (w + we) +",top=5,left=5")
	setTimeout('towindow()',500)
}

function towindow() {
	doc=stadd.document;
		doc.open('text/html');
		doc.write('<HTML><TITLE>Enlarged View<\/TITLE>');
		doc.write('<HEAD><\/HEAD><BODY topmargin=0 leftmargin=0 marginheight=0 marginwidth=0 bgcolor=#000000><TABLE ALIGN=center><TR ALIGN=center><TD><IMG SRC="images/'+ imagename +'.jpg"><\/TD><\/TR>');
		doc.write('<TR bgcolor="black" ALIGN=center><TD><a href="#" onClick="self.close()"><img src="images/closewindow.gif" border=0></a><\/TD><\/TR><\/TABLE><\/BODY><\/HTML>');
		doc.close();
}

