
function sponsors()
{
	document.write("<br><br><br><br><br><br><br>");
      document.write("<img border='0' src='/images_surf/logos/vans.jpg'><br>");
      document.write("<img src='/images_surf/logos/quicksilver_reduc.jpg'><br><br>");
        document.write("<br>");
	
}


function printLeftTopFrame(title_page)
{
document.write("<center> ");


		document.write("<table valign='top' width='1033' height='100' border='0' cellpadding='0' cellspacing='0'>");
		document.write("<tr valign='top' >");
			document.write("<td rowspan='3' align='right' valign='top' background='/funride/images_surf/coast5.png' width='175'  align='right' valign='top'>");
				document.write("<table valign='top' width='175' height='345' cellpadding='0' cellspacing='0' border='0' background='/funride/images_surf/frame-col-g-transp.png'>");
					document.write("<tr height='265'>");
						document.write("<td>");
							document.write("<a href='/index.htm'><img src='/images_surf/transp/transp-w175-H175.gif' border='0'></a>");
							
							
						document.write("</td>");
					document.write("</tr>");
					document.write("<tr valign='top'>");
					  document.write("<td height='80' width='118' align='right'>");
					  document.write("</td>");
					document.write("</tr>");
				document.write("</table>");
			document.write("</td>");
			document.write("<td height='260' width='849' colspan='4' background='/funride/images_surf/animated_frameHD_wide.gif' valign='top'>");
				document.write("<table width='849' border='0' height='249' border='0' cellpadding='0' cellspacing='0' >");
					document.write("<tr>");
						document.write("<td valign='top'>");
							document.write("<table cellpadding='0' cellspacing='0' border='0'>");
										document.write("<tr>");
											document.write("<td align='left'><a href='http://www.facebook.com/profile.php?id=100000371643255' title='surf camp'><img src='/images_surf/logos/facebook-logo.png' ALT='surfcamp facebook' name='surfcamp facebook' border='0'></a></td><td width='5'>&nbsp;</td><td align='left'><a href='/surf-camp.htm' title='surf camp'><img src='/images_surf/flags/english_thumb.jpg' ALT='surfcamp flag' name='surfcamp english' border='0'></a></td>");
											document.write("<td width='5'>&nbsp;</td>");
											document.write("<td align='left'><a href='/de/surf-camp.htm'  title='surfcamp in Algarve'><img src='/images_surf/flags/german_thumb.gif'  ALT='german flag' name='surfcamp german' border='0'></a></td>");
											document.write("<td width='5'>&nbsp;</td>");
											document.write("<td align='left'><a href='/fr/surf-camp.htm'  title='surfing camp flag'><img src='/images_surf/flags/french_thumb.jpg'  ALT='surfcamp beach' name='surfcamp french' border='0'></a></td>");
											document.write("<td width='5'>&nbsp;</td>");
											document.write("<td align='left'><a href='/ru/surf-camp.htm'  title='surfcamp in Algarve'><img src='/images_surf/flags/russian_thumb.jpg'  ALT='russian flag' name='surfcamp russian' border='0'></a></td>");
										document.write("</tr>");
							document.write("</table>");
						document.write("</td>");
					document.write("</tr>");
					document.write("<tr>");
						document.write("<td height='150' valign='bottom' ><a href='/index.htm'><img src='/images_surf/transp/transp-anim.gif'  border='0'></a></td>");
					document.write("</tr>");
					document.write("<tr>");
					  document.write("<td>");


						document.write("<table width='100%' cellpadding='0' cellspacing='0' border='0'>");
							document.write("<tr>");
								document.write("<td width='100' valign='bottom' height='10' rowspan='2'>");
									document.write("<ul id='navbar'>");
										 document.write("<li><a href='surf-camp-packages.htm'><img src='/fr/images_surf/buttons/button-packages.png' title='surf camp basics' border='0'>");
											document.write("<ul>");
												document.write("<li><a href='/fr/surf-camp-packages.htm#packageA1' id='packA'>&nbsp;</a></li>");
												document.write("<li><a href='/fr/surf-camp-packages.htm#packageB1' id='packB'>&nbsp;</a></li>");
												document.write("<li><a href='/fr/surf-camp-packages.htm#surfschool' id='surflessons'>&nbsp;</a></li>");
											document.write("</ul>");
										 document.write("</li>");
									  document.write("</ul>");
								document.write("</td>");
								document.write("<td width='65' valign='bottom' height='10' rowspan='2'>");
									document.write("<ul id='navbar'>");
										 document.write("<li><a href='surf-camp-galerie.html' title='surf camp'><img src='/fr/images_surf/buttons/button-gallery.png' border='0'></a>");
											document.write("<ul>");
												document.write("<li><a href='/fr/surf-camp-galerie.html' id='journeys'>&nbsp;</a></li>");
												document.write("<li><a href='/fr/surf-camp-logement.htm' id='accomodations'>&nbsp;</a></li>");
											document.write("</ul>");
										 document.write("</li>");
									  document.write("</ul>");
								document.write("</td>");
								document.write("<td width='80' valign='bottom' height='10' rowspan='2'><a href='surf-camp-equipe.htm'><img src='/fr/images_surf/buttons/button-team.png'   title='surf camp crew' border='0'></a></td>");
								document.write("<td width='100' valign='bottom' height='10' rowspan='2'><a href='surf-camp-plans.htm'><img src='/fr/images_surf/buttons/button-maps.png'  title='surf travel destinations' border='0'></a></td>");
								document.write("<td width='75' valign='bottom' height='10' rowspan='2'><a href='surf-camp-video.htm'><img src='/fr/images_surf/buttons/button-video.png' title='surf holidays' border='0'></a></td>");
								document.write("<td width='100' valign='bottom' height='10' rowspan='2'><a href='surf-camp.htm'><img src='/images_surf/buttons/button-home.png'  title='surf travel home' border='0'></a></td>");
							document.write("</tr>");
						document.write("</table>");
						
						
						
					document.write("</td>");
				   document.write("</tr>");
				document.write("</table>");
			document.write("</td>");
			document.write("<td background='/funride/images_surf/coast-d-border4.png' width='40' border='0'><img src='/images_surf/transp/transp-coast-d.gif'  border='0'></td>");
		document.write("</tr>");
		document.write("<tr>");
			document.write("<td height='25' background='/funride/images_surf/cadre-g.jpg' width='16'><img src='/funride/images_surf/transp-w16.gif' border='0'></td>");
			document.write("<td width='15' valign='top' bgcolor='#F7E4BA'><img src='/funride/images_surf/transp-w15.gif'  border='0'></td>");
			document.write("<td width='756' valign='top' bgcolor='#F7E4BA'>");
				document.write("<table width='100%' border='0' cellpadding='0' cellspacing='0'>");
					document.write("<tr>");
						document.write("<td width='600'><font face='arial' size='4'><b>",title_page,"</b></font></td>");
						document.write("<td align='right'><a href='surf-camp-reservations.htm' id='booknow'><img src='/images_surf/buttons/book-now.png' border='0'></a></td>");
						document.write("<td width='150' align='right'><a href='surf-camp-contact.htm' id='contacts'><img src='/images_surf/buttons/contact.png' border='0'></a></td>");
					document.write("</tr>");
				document.write("</table>");
			
			document.write("</td>");
			document.write("<td background='/funride/images_surf/cadre-d2.jpg' width='40'><img src='/funride/images_surf/transp-w31.gif'  border='0'></td>");
			document.write("<td background='/funride/images_surf/coast-d-border4.png' width='40' border='0'><img src='/images_surf/transp/transp-coast-d.gif'  border='0'></td>");
		 document.write("</tr>");
		 document.write("<tr> ");
			document.write("<td width='16' height='42' background='/funride/images_surf/cadre-g.jpg'><img src='/funride/images_surf/transp-w16.gif' border='0'></td>");
			document.write("<td width='15' valign='top' bgcolor='#F7E4BA' height='42'> <img src='/funride/images_surf/transp-w15.gif' border='0'></td>");
			document.write("<td width='756' valign='top' bgcolor='#F7E4BA' height='42'>");
				document.write("<img src='/images_surf/transp/transp-w785.gif' border='0'>");



}

function printBottomFrame()
{
					document.write("<br>");
	
				document.write("<td width='40' background='/funride/images_surf/cadre-d2.jpg' height='486'><img src='/funride/images_surf/transp-w31.gif' border='0'></td>");
				document.write("<td background='/funride/images_surf/coast-d-border4.png' width='40' border='0'><img src='/images_surf/transp/transp-coast-d.gif' border='0'></td>");
			document.write("</tr>");
			document.write("<tr>");
				document.write("<td background='/funride/images_surf/coast5.png' width='176' height='56'>&nbsp;</td>");
				document.write("<td height='45' colspan='4' background='/funride/images_surf/cadre-b2.jpg'><br><br><br><font class='bottom_typo'>&nbsp;&nbsp;© Fun Ride - 2002-2011</font></td>");
				document.write("<td background='/funride/images_surf/coast-d-border4.png' width='40' border='0'><img src='/images_surf/transp/transp-coast-d.gif' border='0'></td>");
			document.write("</tr>");
			document.write("<tr>");
				document.write("<td background='/funride/images_surf/coast_vague_chinoise_new5.png' width='176'>&nbsp;</td>");
				document.write("<td height='150' colspan='5' background='/funride/images_surf/vague-chinoise7-new.png' class='frame_bl'>");
					document.write("<font face='arial' size='2' color='#999999'>Sponsored by :</font><br>");
					document.write("<table>");
						document.write("<tr>");
							document.write("<td valign='center'><a href='http://global.quiksilver.com/'  target='_blank'><img src='/images_surf/logos/quiksilver-logo.gif' border='0'></img></a></td>");
							document.write("<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>");
							document.write("<td valign='center'><a href='http://www.vans.com/vans/intl.html' target='_blank'><img src='/images_surf/logos/vans-surf-camp-logo3.png' border='0'></img></a></td>");
							document.write("<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>");
							document.write("<td valign='center'><a href='http://www.semente.pt/'  target='_blank'><img src='/images_surf/logos/sponsor_semente3.png' border='0'></img></a></td>");
							document.write("<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>");
							document.write("<td valign='center'><a href='http://www.surfstickers.eu' target='_blank'><img src='/images_surf/logos//surf-stickers-europe2.png' border='0'/></a></td>");
						document.write("</tr>");
					document.write("</table>");
				document.write("</td>");
			document.write("</tr>");
		document.write("</table>");
	
	document.write("</center>");

}


function openPhoto(mylink, windowname,width,height)
{	
	if(height=='' || height==undefined) {height=415; }
	if(width==''|| width==undefined) {width=540;}

	if (! window.focus) // if popup already open
	{  return true;
	}
	
	var href;
	if (typeof(mylink) == 'string')
	{  href=mylink;
	}
	else
	{  href=mylink.href;
	}
	window.open(href, windowname, 'toolbar=no,location=no,locationbar=no,directories=no,status=no,statusbar=yes,top=no,personalbar=no,pathname=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,height='+height+',width='+width);

	return false;
}

function PrintPhotoFrame_Begin(argHeight)
{
	// argHeight : height of middle cell
	
	if(argHeight == 0 || argHeight == undefined || argHeight == 'undefined' || argHeight == null) 
		{ argHeight=128; }

		document.write("<table width='200' border='0' height='",argHeight+30,"' cellspacing='0'>");
		  document.write("<tr> ");
		    document.write("<td width='15' height='15' background='/images_surf/cadres/cadre-photo_hg.gif'></td>");
		    document.write("<td width='170' height='15' background='/images_surf/cadres/cadre-photo_h.gif'></td>");
		    document.write("<td width='15' height='15' background='/images_surf/cadres/cadre-photo_hd.gif'></td>");
		  document.write("</tr>");
		  document.write("<tr> ");
		    document.write("<td width='15' height='",argHeight,"' background='/images_surf/cadres/cadre-photo_g.gif'></td>");
}

function PrintPhotoFrame_End(argHeight)
{
	if(argHeight == 0 || argHeight == undefined || argHeight == 'undefined' || argHeight == null) 
		{ argHeight=128; }

		    document.write("<td width='15' height='",argHeight,"' background='/images_surf/cadres/cadre-photo_d.gif'></td>");
		  document.write("</tr>");
		  document.write("<tr> ");
		    document.write("<td width='15' height='15' background='/images_surf/cadres/cadre-photo_bg.gif'></td>");
		    document.write("<td width='170' height='15' background='/images_surf/cadres/cadre-photo_b.gif'></td>");
		    document.write("<td width='15' height='15' background='/images_surf/cadres/cadre-photo_bd.gif'></td>");
		  document.write("</tr>");
		document.write("</table>");
}


function PrintRoundFrame_Begin(argWidth)
{
	if(argWidth == 0 || argWidth == undefined || argWidth == 'undefined' || argWidth == null) 
		{ argWidth=500; }
	document.write("<table width='",argWidth,"' border='0' height='50' cellspacing='0'>");
	  document.write("<tr>");
	    document.write("<td width='15' height='15' background='/images_surf/cadres/cadre-arrondi_hg.gif'></td>");
	    document.write("<td width='",argWidth,"' height='15' background='/images_surf/cadres/cadre-arrondi_h.gif'></td>");
	    document.write("<td width='15' height='15' background='/images_surf/cadres/cadre-arrondi_hd.gif'></td>");
	  document.write("</tr>");
	  document.write("<tr>");
	    document.write("<td width='15' height='50' background='/images_surf/cadres/cadre-arrondi_g.gif'></td>");
	    document.write("<td width='",argWidth,"' height='50' bgcolor='#FFF7C5'>");

}

function PrintRoundFrame_End(argWidth)
{
	if(argWidth == 0 || argWidth == undefined || argWidth == 'undefined' || argWidth == null) 
		{ argWidth=500; }
	      document.write("</td>");
	    document.write("<td width='15' height='50' background='/images_surf/cadres/cadre-arrondi_d.gif'></td>");
	  document.write("</tr>");
	  document.write("<tr>");
	    document.write("<td width='15' height='15' background='/images_surf/cadres/cadre-arrondi_bg.gif'></td>");
	    document.write("<td width='",argWidth,"' height='15' background='/images_surf/cadres/cadre-arrondi_b.gif'></td>");
	    document.write("<td width='15' height='15' background='/images_surf/cadres/cadre-arrondi_bd.gif'></td>");
	  document.write("</tr>");
	document.write("</table>");
}




function PrintReserForm(argPack)
{
	document.write("<form method='post' action='envoieReservationNew.php'>");
	PrintRoundFrame_Begin();
        document.write("<center><table width='100%' border='0' height='416' bgcolor='#FFF7C5'>");
          document.write("<tr bgcolor='#FFF7C5'> ");
            document.write("<td align='left' colspan='2'> ");
              document.write("<p><b><font face='Arial, Helvetica, sans-serif'>FICHE DE RESERVATION</font></b></p>");
            document.write("<td align='left' > ");
            document.write("</td>");
          document.write("</tr>");
          document.write("<tr valign='middle' bgcolor='#FFF7C5'> ");
            document.write("<td align='left' width='176'><font face='Arial, Helvetica, sans-serif' size='2'>date ");
              document.write("et heure d'arrivée : </font></td>");
            document.write("<td  align='left'bgcolor='#FFF7C5' align='left'><font face='Arial, Helvetica, sans-serif' size='2'> ");
              document.write("<input type='text' name='date_arrival'>");
              document.write("</font></td>");
          document.write("</tr>");
          document.write("<tr valign='middle' bgcolor='#FFF7C5'> ");
            document.write("<td  align='left'width='176'><font face='Arial, Helvetica, sans-serif' size='2'>date ");
              document.write("et heure de départ :</font></td>");
            document.write("<td align='left'><font face='Arial, Helvetica, sans-serif' size='2'> ");
              document.write("<input type='text' name='date_departure'>");
              document.write("</font></td>");
          document.write("</tr>");
          document.write("<tr valign='middle' bgcolor='#FFF7C5'> ");
            document.write("<td  align='left'width='176'><font face='Arial, Helvetica, sans-serif' size='2'>nom ");
              document.write(":</font></td>");
            document.write("<td align='left'> <font face='Arial, Helvetica, sans-serif' size='2'> ");
              document.write("<input type='text' name='name'>");
              document.write("</font></td>");
          document.write("</tr>");
          document.write("<tr valign='middle' bgcolor='#FFF7C5'> ");
            document.write("<td  align='left' width='176'><font face='Arial, Helvetica, sans-serif' size='2'>pays :</font></td>");
            document.write("<td align='left'> <font face='Arial, Helvetica, sans-serif' size='2'> ");
              document.write("<input type='text' name='country'>");
              document.write("</font></td>");
          document.write("</tr>");
          document.write("<tr valign='middle' bgcolor='#FFF7C5'> ");
            document.write("<td  align='left' width='176'><font face='Arial, Helvetica, sans-serif' size='2'>age :</font></td>");
            document.write("<td align='left'><font face='Arial, Helvetica, sans-serif' size='2'> ");
              document.write("<input type='text' name='age'>");
              document.write("</font></td>");
          document.write("</tr>");
          document.write("<tr valign='middle' bgcolor='#FFF7C5'> ");
            document.write("<td  align='left' width='176' height='24'><font face='Arial, Helvetica, sans-serif' size='2'>niveau de surf :</font></td>");
            document.write("<td  align='left' height='24'><font face='Arial, Helvetica, sans-serif' size='2'> ");
              document.write("<select name='level'>");

                document.write("<option");
		if (argPack == 'PackA') {document.write(" selected"); }
                document.write("><font face='Arial, Helvetica, sans-serif' size='2'>d&eacute;butant</font></option>");

                document.write("<option><font face='Arial, Helvetica, sans-serif' size='2'>interm&eacute;diaire</font></option>");

                document.write("<option");
		if (argPack == 'PackB') { document.write(" selected"); }
                document.write("><font face='Arial, Helvetica, sans-serif' size='2'>avanc&eacute;</font></option>");

              document.write("</select>");
              document.write("</font></td>");
          document.write("<tr>");
          document.write("<tr valign='middle' bgcolor='#CCFFFF'> ");
          document.write("  <td  align='left' bgcolor='#FFF7C5' height='29' width='176'><font face='Arial, Helvetica, sans-serif' size='2'>formule choisie :</font></td>");
          document.write("  <td  align='left' bgcolor='#FFF7C5' height='29'><font face='Arial, Helvetica, sans-serif' size='2'> ");
              document.write("<select name='pack'>");

                document.write("<option");
		if (argPack == 'PackA') {document.write(" selected"); }
                document.write("><font face='Arial, Helvetica, sans-serif' size='2'>PACK A : Débutants</font></option>");

                document.write("<option");
		if (argPack == 'PackB') {document.write(" selected"); }
                document.write("><font face='Arial, Helvetica, sans-serif' size='2'>PACK B : Surfaris</font></option>");

                document.write("<option");
		if (argPack == 'Surfari') {document.write(" selected"); }
                document.write("><font face='Arial, Helvetica, sans-serif' size='2'>Surf School</font></option>");


				
              document.write("</select>");
              document.write("</font></td>");
          document.write("</tr>");
          document.write("<tr valign='middle' bgcolor='#FFF7C5'> ");
          document.write("  <td  align='left' height='38' width='176' valign='middle'><font face='Arial, Helvetica, sans-serif' size='2'>nombre de personnes :</font></td>");
            document.write("<td  align='left' height='38' bgcolor='#FFF7C5' valign='top'><font face='Arial, Helvetica, sans-serif' size='2'> ");
              document.write("<input type='text' name='nb_persons'></font></td>");
          document.write("</tr>");
          document.write("<tr valign='middle' bgcolor='#FFF7C5'> ");
            document.write("<td  align='left' colspan='2' align='left'><font face='Arial, Helvetica, sans-serif' size='2'> ");
              document.write("<b>Veuillez nous donner au moins l'une des deux informations suivantes afin que l'on puisse vous répondre  :</b></font></td>");
          document.write("</tr>");
          document.write("<tr valign='middle' bgcolor='#FFF7C5'> ");
            document.write("<td  align='left' width='176'><font face='Arial, Helvetica, sans-serif' size='2'>e-mail :</font></td>");
            document.write("<td align='left'> <font face='Arial, Helvetica, sans-serif' size='2'> ");
              document.write("<input type='text' name='e_mail'>");
              document.write("</font></td>");
          document.write("</tr>");
          document.write("<tr valign='middle' bgcolor='#FFF7C5'> ");
            document.write("<td  align='left' width='176'><font face='Arial, Helvetica, sans-serif' size='2'>t&eacute;l&eacute;phone :</font></td>");
            document.write("<td align='left'> <font face='Arial, Helvetica, sans-serif' size='2'> ");
              document.write("<input type='text' name='phone'>");
              document.write("</font></td>");
          document.write("</tr>");
          document.write("<tr valign='middle' bgcolor='#FFF7C5'> ");
            document.write("<td  align='left' width='176' height='27'><font face='Arial, Helvetica, sans-serif' size='2'>commentaires :</font></td>");
            document.write("<td  align='left' height='27'> ");
              document.write("<textarea name='comments' rows='3' cols='20'></textarea>");
            document.write("</td>");
          document.write("</tr>");
          document.write("<tr valign='middle' bgcolor='#FFF7C5'> ");
            document.write("<td width='176' height='27'>&nbsp;</td>");
            document.write("<td  align='left' height='27'> ");
              document.write("<input type='submit' name='Submit' value='Envoyer'>");
            document.write("</td>");
          document.write("</tr>");
        document.write("</table></center>");
	PrintRoundFrame_End();
	document.write("</form>");
}


