function picture_window(src, width, height, left, top, scrollbars) {
	if (window.pic != null) window.pic.close();
	if (left == null) left = ((screen.width-width) / 2);
	if (top == null) top = ((screen.height-height) / 2) - 40;
	pic = window.open('','pic','width=' + width + ',height=' + height + ',left=' + left + ',top=' + top + ',statusbar=0,menu=0,scrollbars=' + ((scrollbars) ? "yes" : "no"));
	pic.focus();
	pic.document.open();
	pic.document.write("<html><head><title>International Education Society</title></head>");
	pic.document.write("<body leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'>");
	//pic.document.write("<a href='javascript:this.close()'><img src='" + src + "' border='0' width='" + width + "' height='" + height + "'></a>");
	pic.document.write("<a href='javascript:this.close()'><img src='" + src + "' border='0'></a>");
	pic.document.write("</body></html>");
	pic.document.close();
}

function open_window(url, width, height, scroll, left, top) {
	if (window.pic != null) window.pic.close();
	if (scroll) {
		scroll = "yes";
	}
	else {
		scroll = "no"
	}
	if (left == null) left = ((screen.width-width) / 2);
	if (top == null) top = ((screen.height-height) / 2) - 40;
	pic = window.open(url,'pic','width=' + width + ',height=' + height + ',left=' + left + ',top=' + top + ',scrollbars=' + scroll + ',statusbar=0,menu=0');
}
