// JavaScript Document
function newWindow(windowUrl,windowWidth,windowHeight) {

var name="popup";
var features="Width=600,Height=535,top=50,left=150";
 features+=",menubar=no,scrollbars=no,location=no,status=no,directories=no,resizable=no"; 


var myNewWindow=window.open('',name,features);
myNewWindow.focus();
myNewWindow.document.open();
myNewWindow.document.write("<html>\n");
myNewWindow.document.write("<head>\n");
myNewWindow.document.write("<title>contact</title>\n");
myNewWindow.document.write("<meta http-equiv='Content-Type'content='text/html; charset=iso-8859-1'>\n");
myNewWindow.document.write("<style type='text/css'>\n");
myNewWindow.document.write(".back{background-attachment: fixed; background-image: url(images/bayscontact.jpg);center center  no-repeat: background-color: #fff;  scrollbar-face-color:#49392C; scrollbar-shadow-color:#553A27; scrollbar-arrow-color:#49392C; scrollbar-base-color:#553A27;}\n"); 
myNewWindow.document.write(".p{font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #000;}\n");
myNewWindow.document.write("#text{FONT-WEIGHT: 900; FONT-SIZE: 28px; Z-INDEX: 2; LEFT: 0px; COLOR: #990000; FONT-FAMILY: Arial, Helvetica, sans-serif; POSITION: relative; TOP: 0px}\n");
myNewWindow.document.write("#textback{FONT-WEIGHT: 900; FONT-SIZE: 28px; Z-INDEX: 1; LEFT: 2px; COLOR: #999; FONT-FAMILY: Arial, Helvetica, sans-serif; POSITION: relative; TOP: -30px}\n");
myNewWindow.document.write("a:link{color:#333; text-decoration:none; font=size:12px;}\n");
myNewWindow.document.write("a:visited{color:#333; text-decoration:none; font=size:12px;\n}");
myNewWindow.document.write("a:hover{color:#FF33FF; text-decoration:underline; font=size:12px;\n}");
myNewWindow.document.write("a:active{color:#FF33FF; text-decoration:underline; font=size:12px;\n}");
myNewWindow.document.write("</style>\n");
myNewWindow.document.write("</head>\n");
myNewWindow.document.write("<body class='back'>\n");
myNewWindow.document.write("<div id='text'>Bayswater Bed &amp; Breakfast</div>\n");
myNewWindow.document.write("<div id='textback'>Bayswater Bed &amp; Breakfast</div>\n");
myNewWindow.document.write("<div align='center'>\n");
myNewWindow.document.write("<span style='position:relative;top:2px; font-family:sans-serif; color: #000; font-size: 12px;'>For booking, or any information,</span><br>\n");
myNewWindow.document.write("<span style=' font-family:sans-serif; color: #000; font-size: 12px;'>You can contact us at <a href='mailto:cottage@bayswaterbb.com'> cottage@bayswaterbb.com</a> or phone us on (08)92724604</span><br>\n");
myNewWindow.document.write("<div class='p'><div style='position: relative: top:10px; left:50px;'>Or simply write your message in the box below and click the button</div></div>\n");
myNewWindow.document.write("</div>\n");
myNewWindow.document.write("<form method=post action='http://bayswaterbb.com/cgi-bin/cgiemail/bayswatercss/bayswbbb.txt'>\n");

//NOT REQUIRED FOR CGIEMAIL myNewWindow.document.write("<input type=hidden name='destination' value='cottage@bayswaterbbb.com'>\n"); 

//YOU MAY USE THIS TO REDIRECT TO A DIFFERENT SUCCESS PAGE - UNCOMMENT AND MAKE THE SUCCESS PAGE
//myNewWindow.document.write("<INPUT TYPE='hidden' NAME='success' VALUE='http://bayswaterbbb.com/success.html>'\n");

myNewWindow.document.write("<div class='p'><INPUT NAME='name' Size=45 Type='text'> Your Name<BR>\n");
myNewWindow.document.write("<INPUT NAME='email' Size=45 Type='text'> Your E-Mail Address<BR>\n");

//NOT REQUIRED FOR CGIEMAIL myNewWindow.document.write("<INPUT TYPE='hidden' NAME='submitaddress' VALUE=''><BR>\n");

myNewWindow.document.write("<b>Write to me below:</b><BR>\n");
myNewWindow.document.write("<TEXTAREA NAME='feedback' ROWS=10 COLS=70 style='background-image: url(images/bayscontact.jpg)';div class='p';></TEXTAREA><BR>\n");
myNewWindow.document.write("<INPUT TYPE=submit Value='SEND'>\n");
myNewWindow.document.write("<INPUT TYPE=reset Value='CLEAR '>\n");
myNewWindow.document.write("</div></FORM>\n");
myNewWindow.document.write("<div align='center'>\n");
myNewWindow.document.write("<span style='position:relative;bottom:1px; font-family:sans-serif; color: #333; font-size: 12px;'>Need a Logo, Graphic, Web design, Photo Effects <a href='http://lpwebsolution.bravehost.com'>click here</a></span>\n");
myNewWindow.document.write("<form>\n");
myNewWindow.document.write("<span style='position:relative; bottom:0px;'><input type='button' value='close this window!' onClick='parent.close()'></span>\n");
myNewWindow.document.write("</form>\n");
myNewWindow.document.write("</div>\n");
myNewWindow.document.write("</body>\n");
myNewWindow.document.write("</html>\n");
myNewWindow.document.close();
}
