var neuwin;
var pic;
function makewin(pic){
	neuwin=open('','displayWindow','height=700,width=900');
	neuwin.document.open();
	this.pic=pic;
	with(neuwin.document) {
	
	write("<html><head><title>Mallorca Webguide</title></head>");
	write("<body bgcolor='#FFFFFF' text='#000000' topmargin='1' leftmargin='1' ondragstart='return false' onselectstart='return false' oncontextmenu='return false'>");
	write("<table width='900' border='0' cellspacing='0' cellpadding='0'><tr><td>");
	write("<table width='900' border='0' cellspacing='0' cellpadding='0'><tr>");
	write("<td width='10'><img src='../../Logos/popup_liob.gif' width='20' height='50'></td>");
	write("<td width='863'><img src='../../Logos/popup_top.gif' width='860' height='50'></td> ");
	write("<td width='13'><img src='../../Logos/popup_reob.gif' width='20' height='50'></td></tr> ");
	write("<tr><td width='10' background='../../Logos/popup_lise.gif'>&nbsp;</td> ");
	write("<td width='863' bgcolor='#FFFFCC'> ");
	write("<div align='center'><img src=");
	write("http://www.partyteufel.com/mallorcawebguide/" + this.pic + " ");
	write("</div> </td>");
	write("<td width='13' background='../../Logos/popup_rese.gif'>&nbsp;</td></tr> ");
	write("<tr> <td width='10'><img src='../../Logos/popup_liut.gif' width='20' height='40'></td>");
	write("<td width='863'><img src='../../Logos/popup_bot.gif' width='860' height='40' usemap='#map' border='0'></td> ");
	write("<td width='13'><img src='../../Logos/popup_reut.gif' width='20' height='40'></td> </tr>");
	write("</table> </td></tr></table>");
	write("<map name='map'>");
	write("<area shape='rect' coords='715,7,857,29' href='javascript:close()'> ");
	write("</map> ");
	write("</body>");
	write("</html>");

	}
	neuwin.document.close();
}
