function pastas(  imgCaption, imgWidth, imgHeight) {
	imgWidth=550
	winHeight=250;
	w = window.open('','Demo','toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=yes,left=100, top=100,copyhistory=no,width='+imgWidth+',height='+winHeight);
	w.document.write( "<html><head><title>"+imgCaption+"</title>" );
	w.document.write( "<meta http-equiv='Content-Type' content='text/html; charset=windows-1257'>" );
	w.document.write( "</head><body leftmargin=0 topmargin=0 rightmargin=0 bottommargin=0" );
	w.document.write( ">" );
w.document.write( "<FORM ACTION='http://www.javascript.nu/cgi4free/formmail/send.pl' METHOD='post' ID=Form1>" );
w.document.write( "<INPUT TYPE='hidden' NAME='to' VALUE='trasa@trasa.serveriai.lt' ID=Hidden1>" );
w.document.write( "<INPUT TYPE='hidden' NAME='subject' VALUE='E-mailas iš Trasos puslapio' ID=Hidden2>" );
w.document.write( "<INPUT TYPE='hidden' NAME='redirect' VALUE='http://trasa.serveriai.lt/close.htm' ID=Hidden3>" );
w.document.write( "<TABLE BORDER='2' width="+imgWidth+" height="+winHeight+" CELLPADDING=0 CELLSPACING=0 ID=Hidden3>" );
w.document.write( "<TR><TD><TABLE BORDER='0' width=100% height=100% CELLPADDING=0 CELLSPACING=0 BGCOLOR='#eeeeee'>" );
w.document.write( "<TR BGCOLOR='#cccccc'><TD>Įveskite savo e-mail'ą:</TD><TD><INPUT TYPE='text' NAME='from' " );
w.document.write( "ID=Text1></TD></TR>" );
w.document.write( "<TR><TD COLSPAN='2'>         Jūsų žinutė:</TD></TR>" );
w.document.write( "<TR><TD COLSPAN='2'><TEXTAREA COLS='65' ROWS='8' NAME='msg' ID=TEXTAREA1></TEXTAREA></TD></TR>" );
w.document.write( "<TR><TD COLSPAN='2'><INPUT TYPE='submit' VALUE='Siųsti' ID=Submit1></TD></TR>\n" );
w.document.write( "</TABLE></TD></TR>" );
w.document.write( "</TABLE>" );
w.document.write( "</FORM>" );
	
	w.document.write( "</body></html>" );
	w.document.close();
}



