function createwindow(basehref,description,alt,image,width,height)
{
	width_adjustment = 5;
	height_adjustment = 130;
	if (window.screen)
	{
		required_height = height + height_adjustment;
		required_width = width + width_adjustment;
		
		if ((required_height > screen.availHeight) || (required_width > screen.availWidth))
		{
			height_factor = (screen.availHeight - height_adjustment) / height;
			width_factor = (screen.availWidth  - width_adjustment) / width;
			(height_factor > width_factor) ? factor = width_factor : factor = height_factor;
			height =	Math.round((height * factor));
			width =		Math.round((width * factor));
		}
	}
	winheight=height+height_adjustment;
	winwidth=width+width_adjustment;
	today = new Date();
	outstandingtime = today.getTime();
	windowfeatures = 'innerheight='+height+', innerwidth='+width+', height='+winheight+', width='+winwidth+', menubar=no, scrollbars=yes,resizable=yes, toolbar=no, directories=no, title=yes';
	outstandingwindow = window.open('','outstandingwindow'+outstandingtime,windowfeatures);
	outstandingwindow.document.writeln('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><HTML><HEAD><TITLE>'+description+'</TITLE>');
	/*outstandingwindow.document.writeln('<BASE HREF="'+basehref+'">');*/
	outstandingwindow.document.writeln('<LINK REL=stylesheet TYPE="text/css" HREF="/css/window.css">');
	outstandingwindow.document.writeln('</HEAD><BODY CLASS="window" LEFTMARGIN=0 TOPMARGIN=0 SCROLL="auto"><TABLE CELLSPACING=0 CELLPADDING=2 BORDER=0><TR><TD>');
	outstandingwindow.document.writeln('<H1>'+description+'</H1>');
	outstandingwindow.document.writeln('<IMG SRC="'+image+'" HEIGHT='+height+' WIDTH='+width+' ALT="'+alt+'">');
	outstandingwindow.document.writeln('<TABLE width="100%"><TR><TD Width="49%">&nbsp;</TD>');
	outstandingwindow.document.writeln('<TD><FORM><INPUT TYPE="BUTTON" VALUE="Close Window" onClick="window.self.close(); "></FORM></TD>');
	outstandingwindow.document.writeln('<TD Width="49%">&nbsp;</TD></TR></TABLE></BODY></HTML>');
	outstandingwindow.document.close();
	outstandingwindow.focus();
	outstandingwindow.moveTo(1,1);
}	
