function arriba()	{
document.write('<table width="760" border="0" cellpadding="0" cellspacing="0">');
document.write('<tr><td width="760" height="83" valign="top"><img src="imgs/top_1.jpg" width="760" height="83" border="0" usemap="#Map"><map name="Map"><area ');
document.write('shape="rect" coords="250,15,590,80" href="index.html" alt="Home"></map></td></tr></table>');

document.write('<table width="760" border="0" cellpadding="0" cellspacing="0" background="imgs/top_21.gif">');
document.write('<tr><td><img src="imgs/top_2.jpg" width="469" height="32" border="0"></td><td align="right">');
document.write('<table border="0" cellpadding="0" cellspacing="0">');
document.write('<tr><td><img src="imgs/top_22.gif" width="15" height="32" border="0"></td>');
document.write('<td class="topcom">CANO DIVERS - CANO ISLAND</td>');
document.write('<td class="topcom"><img src="imgs/px.gif" width="10" height="1" border="0"></td></tr></table>');
document.write('</table>');

document.write('<table width="760" border="0" cellpadding="0" cellspacing="0">');
document.write('<tr><td><img src="imgs/top_3.jpg" width="307" height="32" border="0"></td></tr>');
document.write('</table>');
}

function menu()	{
document.write('<img src="imgs/top_4.jpg" width="140" height="88" border="0" align="top"><br>');
document.write('<table width="140" border="0" cellpadding="0" cellspacing="0">');
document.write('<tr><td width="5"><img src="imgs/px.gif" width="5" height="140"></td><td width="135"><br><div id="Aquimenu" ');
document.write('style="position:relative; width:135; height:140;"><img src="imgs/px.gif" width="135" height="140"></div>');
document.write('<br><a href="../diving-hotel/index.html"><img src="imgs/pcove.gif" width="127" height="79" border="0" style="margin-left:5px;"></a><br><br></td></tr></table>');
}

function debajo()	{
document.write('<br><table width="746" border="0" cellpadding="0" cellspacing="0">');
document.write('<tr><td bgcolor="#aaaaaa" colspan="2"><img src="imgs/px.gif" width="98" height="1"></td></tr>');
document.write('<tr valign="top"><td class=pet>&nbsp; Copyright &copy; 2003 PirateCoveCostaRica.com<br>');
document.write('&nbsp; Phones: (506) 234 6154, 834 1226, 393 9449 &nbsp; &nbsp; &nbsp; Costa Rica, Central America');
document.write('&nbsp; &nbsp; &nbsp; <a href="mailto:info@piratecovecostarica.com">info@piratecovecostarica.com</a><br>&nbsp; Member of Camara de Turismo de Osa - Catuosa</td>');
document.write('<td class=pet align="right"><a href="#arriba" class="goup" title="Go Up">.^.</a></td></tr></table>');
}

var newwindow = '';


function popitup2(fotirris, wid,hei)
{	vh = "width="+wid+",height="+hei+",toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no";	

	if (!(!newwindow.closed && newwindow.location))
	{	newwindow=window.open('','popero',vh);
		if (!newwindow.opener) newwindow.opener = self;
	}
	var wid2 = parseInt(wid) + 10;
	var hei2 = parseInt(hei) + 25;
	newwindow.resizeTo(wid2,hei2);
	newwindow.document.write('<HTML><HEAD><TITLE>PirateCoveCostaRica.com</TITLE></HEAD><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">');
	newwindow.document.write('<a href="javascript:window.close();"><img src="./imgs/' + fotirris + '" alt="Click to close"  border="0"></a>');
	newwindow.document.write('</BODY></HTML>');
	newwindow.document.close();
	if (window.focus) {newwindow.focus()}
	return false;
}


function popitup4()
{	newwindow2=window.open('','popero','height=200,width=150');
	newwindow2.document.write('<HTML><HEAD><TITLE>Popup</TITLE>');
	newwindow2.document.write('</HEAD><BODY><P>This is once again a popup.</P>');
	newwindow2.document.write('<P><A HREF="javascript:alert(self.location.href)">View location</A>.</P>');
	newwindow2.document.write('<P><A HREF="javascript:self.close()">Close</A> the popup.</P>');
	newwindow2.document.write('</BODY></HTML>');
	newwindow2.document.close();
}

function rW(newLoc, newWidth, newHeight) {
       newWin = open("",newLoc,"scrollbars=no,resizable=yes,status=no,height=" + newHeight + ",width=" + newWidth);
}
//<a  onclick="resizeWin('storyboard',500,378)" href="2-3e.html" target="storyboard">


function mafor(tales)	{
document.write('<form method=POST action="http://www.piratecovecostarica.com/cgi-bin/f_request.cgi">');
document.write('<table width="75%" border="0" align="center" cellpadding="0" cellspacing="2">');
document.write('<tr><td colspan="2" class="conte" align="center"><span class="titulo">Reservation Form</span><br>Required Fields in Bold<br><br></td></tr>');
document.write('<tr><td align="right" class="conte"><strong>Name:</strong>&nbsp;</td>');
document.write('<td><input name="00realname" type="text" id="name" size="30"></td></tr>');
document.write('<tr><td align="right" class="conte"><strong>Country:</strong>&nbsp;</td>');
document.write('<td><input name="01country" type="text" id="name3" size="30"></td></tr>');
document.write('<tr><td align="right" class="conte">Phone:&nbsp;</td>');
document.write('<td><input name="02phone" type="text" id="name4" size="30"></td></tr>');
document.write('<tr><td align="right" class="conte"><strong>E-mail:</strong>&nbsp;</td>');
document.write('<td><input name="03email" type="text" id="name5" size="30"></td></tr>');
document.write('<tr valign="top">');
if (tales == "Honeymoon")	{
	document.write('<input name="04adults" type="hidden" id="name6" size="3" value="2">');
	document.write('<input name="05children" type="hidden" id="name7" size="3" value="0">');
}
else	{
	document.write('<td align="right" class="conte"><strong>You are reserving for:</strong>&nbsp;</td>');
	document.write('<td class="conte"><input name="04adults" type="text" id="name6" size="3">');
	document.write('Adult<br> <input name="05children" type="text" id="name7" size="3">');
	document.write('Children (12 yrs old or younger)</td></tr>');
}
document.write('<tr><td align="right" class="conte"><strong>Type of accommodation:</strong>&nbsp;</td>');
document.write('<td><select name="06type"><option>-- Select One --</option>');
document.write('<option value="Jungle Cabin">Jungle Cabin</option>');
document.write('<option value="Deluxe Suite">Deluxe Suite</option></select></td></tr>');
document.write('<tr><td align="right" class="conte"><strong>Arrival Date:</strong>&nbsp;</td>');
document.write('<td class="conte"><select name="07month">');
document.write('<option>Month</option>');
document.write('<option>Jan</option>');
document.write('<option>Feb</option>');
document.write('<option>Mar</option>');
document.write('<option>Apr</option>');
document.write('<option>May</option>');
document.write('<option>Jun</option>');
document.write('<option>Jul</option>');
document.write('<option>Aug</option>');
document.write('<option>Sep</option>');
document.write('<option>Oct</option>');
document.write('<option>Nov</option>');
document.write('<option>Dec</option>');
document.write('</select> &nbsp; <select name="08day">');
document.write('<option>Day</option>');
document.write('<option>1</option>');
document.write('<option>2</option>');
document.write('<option>3</option>');
document.write('<option>4</option>');
document.write('<option>5</option>');
document.write('<option>6</option>');
document.write('<option>7</option>');
document.write('<option>8</option>');
document.write('<option>9</option>');
document.write('<option>10</option>');
document.write('<option>11</option>');
document.write('<option>12</option>');
document.write('<option>13</option>');
document.write('<option>14</option>');
document.write('<option>15</option>');
document.write('<option>16</option>');
document.write('<option>17</option>');
document.write('<option>18</option>');
document.write('<option>19</option>');
document.write('<option>20</option>');
document.write('<option>21</option>');
document.write('<option>22</option>');
document.write('<option>23</option>');
document.write('<option>24</option>');
document.write('<option>25</option>');
document.write('<option>26</option>');
document.write('<option>27</option>');
document.write('<option>28</option>');
document.write('<option>29</option>');
document.write('<option>30</option>');
document.write('<option>31</option>');
document.write('</select> &nbsp; <select name="09year">');
document.write('<option>Year</option>');
document.write('<option>2004</option>');
document.write('<option>2005</option>');
document.write('<option>2006</option>');
document.write('<option>2007</option>');
document.write('<option>2008</option>');
document.write('</select>');
document.write('<input type="Hidden" name="10Form" value="'+tales+'"></td></tr>');
document.write('<tr valign="top"><td align="right" class="conte"> Comments or questions:&nbsp;</td>');
document.write('<td><textarea name="Message" cols="30" rows="5"></textarea></td></tr>');
document.write('<tr><td></td>');
document.write('<td><input type="submit" name="Submit" value="Submit" class="bot"> &nbsp;&nbsp;&nbsp; ');
document.write('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="reset" name="Submit2" value="Reset" class="bot"></td></tr>');
document.write('</table>');
document.write('<input type=hidden name=owneremail value="erlane@racsa.co.cr">');
document.write('<input type=hidden name=BodyTag value="&lt;body  bgcolor=&quot;#FFFFFF&quot; text=&quot;#000000&quot; link=&quot;#0000FF&quot; alink=&quot;#FF0000&quot; vlink=&quot;#800080&quot;&gt;">');
document.write('<input type=hidden name=FA value="SendMail">');
document.write('</form>');
}

function mailrick()	{
document.write('<a href="mailto:erlane@racsa.co.cr">erlane@racsa.co.cr</a>');
}




