//L is for Source
//s is fro scrollbar
//r is for resize
//c is for comment
//x is for horiz size
//y is for vert size

function openwind(l,s,r,x,y){
	var wind = window.open("","HKNPics","");
	wind.close();
	options = "toolbar=no,status=no,menubars=no,scrollbars="+s+"no,resizable="+r+",location=0,directories=0,width="+x+",height="+y;
	 wind = window.open("","HKNPics",options);
	wind.document.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\" >\n<html>\n<head>\n\t<title>Eta Kappa Nu Pictures </title>\r\n\t<link rel=\"stylesheet\" href=\"lib/css/hknstyle.css\" type=\"text/css\" />\n\t<style type=\"text/css\">\n\t\tbody\t{margin:0;padding:0;}\n\t\tform\t{position:absolute;top:5px;left:5px;}\n\t</style>\n</head>\n");
	wind.document.write("<body>\n\t<div>\n\t\t<img alt=\"Click to close\" src=\""+l+"\" />\n");
	wind.document.write("\t\t<form action=\"none\"><fieldset>\n\t\t\t<button type=\"button\" onclick=\"window.close()\" value=\"Close Me\" >Close Me</button>\n\t\t</fieldset></form>\n\t</div>\n</body>\n</html>");
	wind.moveTo((window.screen.availWidth-x)/2,(window.screen.availHeight-y)/2);
	wind.document.close();
}

