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