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="imgs2k4/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="imgs2k4/top_21.gif">');
document.write('<tr><td><img src="imgs2k4/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="imgs2k4/top_22.gif" width="15" height="32" border="0"></td>');
document.write('<td class="topcom">Your Hotel on Osa Peninsula - Costa Rica</td>');
document.write('<td class="topcom"><img src="imgs2k4/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="imgs2k4/top_3.jpg" width="307" height="32" border="0"></td></tr>');
document.write('</table>');
}

function menu()	{
document.write('<img src="imgs2k4/top_4.jpg" width="140" height="88" border="0" align="top"><br>');
//document.write('<div style="padding:5px; border:solid 1px #086B08; margin-left:5px; background-color:white; color:#086B08; font-family:Arial; font-weight:bold; text-align:center; font-size:16px; width:120px;">Call by Skype<br><img src="imgs/call_green_white_124x52.png" style="border: none;" width="124" height="52" alt="Skype Me!" /></div>');
//document.write('<div style="width:100px; height:auto; margin-left:10px; margin-top:5px; margin-bottom:5px; border:solid 2px #FFFFFF; background-color:#000000;"><a href="http://www.facebook.com/pages/Pirate-Cove-Hotel/125830356802" target="_blank"><img src="facebook/images.jpg" border="0" /></a></div>');
document.write('<table width="140" border="0" cellpadding="0" cellspacing="0">');
document.write('<tr><td width="5"><img src="imgs2k4/px.gif" width="5" height="170"></td><td width="135"><br><div id="Aquimenu" ');
document.write('<div style="position:relative; width:135; height:170;"><img src="imgs2k4/px.gif" width="135" height="170"></div></td></tr></table>');
document.write('<br>');
document.write('<br>');
document.write('<br>');
document.write('<br>');
document.write('<br>');
document.write('<br>');
document.write('<div style="margin-left:10px;margin-top:10px;"><img src="imgs2k4/logo_padi.gif" width="98" height="139"></div>');
document.write('<div style="margin-left:5px;margin-top:10px;"><a href="http://www.corcovadofoundation.org/" target="_blank"><img src="imgs2k4/corcovado-foundation.gif" border="0" width="100" height="58"></a></div><br>');
document.write('<div style="margin-left:5px;margin-top:10px;"><a href="http://www.corcovadofoundation.net/green_your_trip/index.htm" target="_blank"><img src="imgs2k4/green-trip.gif" border="0" width="100" height="58"></a></div><br>');
}

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) 2234 6154, 8834 1226, 8393 9449 &nbsp; &nbsp; &nbsp; Costa Rica, Central America');
document.write('&nbsp; &nbsp; &nbsp; <a href="mailto:info'+'@'+'piratecovecostarica.com">info'+'@'+'piratecovecostarica.com</a><br>');
document.write('NOTE: Comcast and Scglobal users, for reasons out of our control we canīt comunicate through email with those servers, so please make your reservation using mail servers as hotmail, yahoo, or gmail. Thanks <br>');
document.write('<img src="imgs2k4/logocatuosa.gif" width="30" height="30" alt="" border="0" align="absmiddle" style="margin-left:5px;"> 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="./imgs2k4/' + 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><strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Required Fields in Bold</strong><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('Adults<br> <input name="05children" type="text" id="name7" size="3">');
	document.write('Children (3-11 years old)</td></tr>');
}
document.write('<tr><td align="right" class="conte"><strong>Package:</strong>&nbsp;</td>');
document.write('<td><select name="06type"><option>-- Select One --</option>');
document.write('<option value="Package A">Package A</option>');
document.write('<option value="Package B">Package B</option>');
document.write('<option value="Package C">Package C</option>');
document.write('<option value="Honeymoon Package">Honeymoon Package</option>');
document.write('<option value="Just Give Me a Room">Just Give Me a Room</option></select></td></tr>');
document.write('<tr><td align="right" class="conte"><strong>Type of accommodation:</strong>&nbsp;</td>');
document.write('<td><select name="07type"><option>-- Select One --</option>');
document.write('<option value="Bungalow">Bungalow</option>');
document.write('<option value="Cabin">Cabin</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>January</option>');
document.write('<option>February</option>');
document.write('<option>March</option>');
document.write('<option>April</option>');
document.write('<option>May</option>');
document.write('<option>June</option>');
document.write('<option>July</option>');
document.write('<option>August</option>');
document.write('<option>September</option>');
document.write('<option>October</option>');
document.write('<option>November</option>');
document.write('<option>December</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>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="in'+'fo'+'@'+'piratecovecostarica.com">');
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="ma'+'il'+'to'+':'+'in'+'fo'+'@'+'piratecovecostarica.com'+'">in'+'fo'+'@'+'piratecovecostarica.com'+'</a>');
}




