function openpopup()
{
 	top.consoleRef=window.open('','myconsole', 'left='+(window.screen.width-330)+',top=30,width=300,height=305,menubar=0,toolbar=0,status=0,scrollbars=0,resizable=0')
	top.consoleRef.document.writeln( '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
	top.consoleRef.document.writeln( '<html xmlns="http://www.w3.org/1999/xhtml">');
	top.consoleRef.document.writeln( '<head>');
	top.consoleRef.document.writeln( '<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />');
	top.consoleRef.document.writeln( '<title>Zamów katalog</title>');
	top.consoleRef.document.writeln( '<style type="text/css">');
	top.consoleRef.document.writeln( '<!--');
	top.consoleRef.document.writeln( 'body { background-color: #72d52a; margin: 0 0 0 0; padding: 0 0 0 0; font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 11px; color:#FFFFFF; line-height: 16px; top: -20px;}');
	top.consoleRef.document.writeln( 'ul { list-style:none;}');
	top.consoleRef.document.writeln( 'input { font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #999999; width:170px; height:16px; position: static; right: 900; border: 0px; margin: 5px; padding: 0px; padding-left: 5px;}');
	top.consoleRef.document.writeln( '-->');
	top.consoleRef.document.writeln( '</style>');
	top.consoleRef.document.writeln( '</head>');
	top.consoleRef.document.writeln( '<body>');
	top.consoleRef.document.writeln( '<div><img src="popup/foto_top.jpg" alt="" width="300" height="113" /></div>');
	top.consoleRef.document.writeln( '<table style="padding-left:10px; margin-top: 10px;" width="300" border="0" cellspacing="0" cellpadding="0">');
	top.consoleRef.document.writeln( '  <tr><form action="http://boot-hortorus.pl/popup/pop.php" method="post" id="xform">');
	top.consoleRef.document.writeln( '    <td nowrap>Imię i nazwisko *</td>');
	top.consoleRef.document.writeln( '    <td><input type="text" name="textfield1" /></td>');
	top.consoleRef.document.writeln( '  </tr>');
	top.consoleRef.document.writeln( '  <tr>');
	top.consoleRef.document.writeln( '    <td>Nazwa firmy *</td>');
	top.consoleRef.document.writeln( '    <td><input type="text" name="textfield2" /></td>');
	top.consoleRef.document.writeln( '  </tr>');
	top.consoleRef.document.writeln( '  <tr>');
	top.consoleRef.document.writeln( '    <td>Adres dostawy *</td>');
	top.consoleRef.document.writeln( '    <td><input type="text" name="textfield3" /></td>');
	top.consoleRef.document.writeln( '  </tr>');
	top.consoleRef.document.writeln( '  <tr>');
	top.consoleRef.document.writeln( '    <td>Telefon *</td>');
	top.consoleRef.document.writeln( '    <td><input type="text" name="textfield4" /></td>');
	top.consoleRef.document.writeln( '  </tr>');
	top.consoleRef.document.writeln( '  <tr>');
	top.consoleRef.document.writeln( '    <td>Email *</td>');
	top.consoleRef.document.writeln( '    <td><input type="text" name="textfield5" /></td>');
	top.consoleRef.document.writeln( '  </tr>');
	top.consoleRef.document.writeln( '  <tr></form>');
	top.consoleRef.document.writeln( '    <td>&nbsp;</td>');
	top.consoleRef.document.writeln( '    <td><a href="" onClick="document.getElementById(\'xform\').submit(); return false"><img style="margin-left: 95px; margin-top: 5px; margin-bottom: 5px;" src="popup/zamawiam.gif" width="85" height="30" border="0"></a></td>');
	top.consoleRef.document.writeln( '  </tr>');
	top.consoleRef.document.writeln( '</table>');
	top.consoleRef.document.writeln( '</body>');
	top.consoleRef.document.writeln( '</html>');
	top.consoleRef.document.close()
}
