Jump to content

Recommended Posts

taking many days to figure this out:

heres the code

 

<!DOCTYPE HTML>

<html>

<head>

<meta charset="utf-8">

<title>Booking</title>

<style type="text/css">

body,td,th {

font-family: Arial, Helvetica, sans-serif;

font-size: 12px;

color: rgba(255,255,255,1);

}

body {

background-color: #E1E8FF;

background-repeat: no-repeat;

background-position: center top;

height: 848px;

text-align: left;

background-image: url(bgbooking.jpg);

font-family: Arial, Helvetica, sans-serif;

color: #FFF;

}

a:link {

text-decoration: none;

color: rgba(252,217,37,1);

}

a:visited {

text-decoration: none;

color: rgba(102,0,0,1);

}

a:hover {

text-decoration: none;

color: rgba(153,153,153,1);

}

a:active {

text-decoration: none;

}

#apDiv1 {

position:absolute;

left:10px;

top:48px;

width:760px;

height:848px;

z-index:1;

visibility: inherit;

}

#apDiv2 {

position:absolute;

left:29px;

top:61px;

width:258px;

height:120px;

z-index:2;

}

#apDiv3 {

position:absolute;

left:329px;

top:26px;

width:283px;

height:87px;

z-index:1;

}

#apDiv4 {

position:absolute;

left:325px;

top:114px;

width:702px;

height:22px;

z-index:2;

text-align: right;

background-color: #333399;

border-radius: 9px 9px 0px 0px;

}

#apDiv5 {

position:absolute;

left:308px;

top:186px;

width:429px;

height:46px;

z-index:3;

}

#apDiv6 {

position:absolute;

left:751px;

top:217px;

width:266px;

z-index:4;

color: rgba(255,255,255,1);

padding-top: 3px;

padding-right: 3px;

padding-bottom: 3px;

padding-left: 3px;

height: 288px;

background-color: rgba(0,0,0,0.5);

text-align: center;

border-radius: 15px 15px 0px 0px;

}

#apDiv7 {

position:absolute;

left:329px;

top:217px;

width:398px;

height:298px;

z-index:5;

text-align: center;

}

#apDiv8 {

position:absolute;

left:303px;

top:594px;

width:270px;

height:74px;

z-index:6;

text-align: center;

}

</style>

<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>

<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">

<style type="text/css">

#apDiv9 {

position:absolute;

left:325px;

top:137px;

width:703px;

height:3px;

z-index:7;

background-color: #CB00CB;

}

#apDiv10 {

position:absolute;

left:324px;

top:164px;

width:412px;

height:44px;

z-index:8;

}

#apDiv11 {

position:absolute;

left:317px;

top:602px;

width:700px;

height:134px;

z-index:9;

}

#apDiv12 {

position:absolute;

left:2px;

top:596px;

width:693px;

height:119px;

z-index:9;

background-color: rgba(0,0,0,.4);

text-align: center;

color: #FFF;

border-radius: 15px 15px;

}

#apDiv13 {

position:absolute;

left:325px;

top:141px;

width:703px;

height:2000px;

z-index:1;font-size: 27px;

background-color: rgba(0,0,0,.5);

color: #FFF;

}

#apDiv14 {

position:absolute;

left:385px;

top:883px;

width:564px;

height:24px;

z-index:10;

color: #003;

text-align: center;

}

.f {

font-weight: bold;

}

.f {

font-weight: bold;

}

#apDiv14 p {

font-weight: bold;

}

#apDiv15 {

position:absolute;

left:328px;

top:169px;

width:384px;

height:32px;

z-index:11;

color: #FFF;

font-family: Arial, Helvetica, sans-serif;

font-size: 27px;

text-shadow: 3px 3px 3px rgba(0,0,0,1);

font-style: oblique;

}

#apDiv13 p {

color: #FFFFFF;

padding-left: 5px;

text-indent: 10px;

font-weight: bold;

}

#apDiv16 {

position:absolute;

width:191px;

height:871px;

z-index:12;

left: 423px;

top: 17px;

overflow: auto;

}

</style>

 

<link rel="stylesheet" type="text/css" href="../config/jamstyle.css" />

<style type="text/css">

.style1 {

border-width: 0px;

}

#apDiv17 {

position:absolute;

left:40px;

top:159px;

width:317px;

height:49px;

z-index:8;

font-size: 24px;

font-style: italic;

}

head {

font-size: 24px;font-weight: normal;

}

.headin {

font-size: 27px;

text-shadow: 2px 2px 2px rgba(0,0,0,1);

left: 4px;

font-style: italic;

font-family:tahoma;

font-weight: normal;

 

color: rgba(255,153,0,1);

text-align: left;

}

.reservation tbody tr td .headin {

font-style: italic;

font-weight: normal;

}

.reservation tr td h4 {

font-style: italic;

color: rgba(255,153,0,1);

font-size: 16px;

text-align: center;

}

 

#apDiv18 {

position:absolute;

width:238px;

height:115px;

z-index:8;

left: 769px;

top: 161px;

}

</style>

 

 

<script type="text/javascript">

 

function check_email(z)

{

var x = document.getElementById(z);

var y = document.getElementById('email');

var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;

if(y.value == x.value && filter.test(y.value)){

document.getElementById('emailvalidation').innerHTML = '';

x.style.backgroundColor = '#77DE6B';

y.style.backgroundColor = '#77DE6B';

}else{

document.getElementById('emailvalidation').innerHTML = 'Invalid email';

x.style.backgroundColor = '#F44D00';

y.style.backgroundColor = '#F44D00';

}

}

 

function show_fields(x)

{

var ob = document.getElementById(x);

if(ob.style.display == "none"){

ob.style.display = "block";

}else{

ob.style.display = "none";

arrChildren = ob.childNodes;

for(i = 0; i < arrChildren.length; i++)

{

objChild = arrChildren;

objChild.value = "0";

}

add_total();

}

add_total();

}

 

function add_total()

{

var ttotal = 0.00;

var tour = document.getElementsByName("tour[]");



if(tour.item(0).checked)

{

 

ttotal += parseInt(document.getElementById("tour0a").value) * parseInt(35.00);

ttotal += parseInt(document.getElementById("tour0c").value) * parseInt(35.00);

document.getElementById("tour0b").value = 1;

}

else

{

document.getElementById("tour0a").value = 0;

document.getElementById("tour0b").value = 0;

document.getElementById("tour0c").value = 0;

}

 

if(tour.item(1).checked)

{

 

ttotal += parseInt(document.getElementById("tour1a").value) * parseInt(65.00);

ttotal += parseInt(document.getElementById("tour1c").value) * parseInt(65.00);

document.getElementById("tour1b").value = 1;

}

else

{

document.getElementById("tour1a").value = 0;

document.getElementById("tour1b").value = 0;

document.getElementById("tour1c").value = 0;

}

 

if(tour.item(2).checked)

{

ttotal += parseInt(document.getElementById("tour2a").value) * parseInt(60.00);

ttotal += parseInt(document.getElementById("tour2c").value) * parseInt(60.00);

}

else

{

document.getElementById("tour2a").value = 0;

document.getElementById("tour2c").value = 0;

}

 

if(tour.item(3).checked)

{

ttotal += parseInt(document.getElementById("tour3a").value) * parseInt(50.00);

ttotal += parseInt(document.getElementById("tour3c").value) * parseInt(50.00);

}

else

{

document.getElementById("tour3a").value = 0;

document.getElementById("tour3c").value = 0;

}

 

if(tour.item(4).checked)

{

ttotal += parseInt(document.getElementById("tour4a").value) * parseInt(45.00);

ttotal += parseInt(document.getElementById("tour4c").value) * parseInt(45.00);

}

else

{

document.getElementById("tour4a").value = 0;

document.getElementById("tour4c").value = 0;

}

 

if(tour.item(5).checked)

{

ttotal += parseInt(document.getElementById("tour5a").value) * parseInt(45.00);

ttotal += parseInt(document.getElementById("tour5c").value) * parseInt(45.00);

}

else

{

document.getElementById("tour5a").value = 0;

document.getElementById("tour5c").value = 0;

}

 

if(tour.item(6).checked)

{

ttotal += parseInt(document.getElementById("tour6a").value) * parseInt(72.00);

ttotal += parseInt(document.getElementById("tour6c").value) * parseInt(50.00);

}

else

{

document.getElementById("tour6a").value = 0;

document.getElementById("tour6c").value = 0;

}

 

if(tour.item(7).checked)

{

ttotal += parseInt(document.getElementById("tour7a").value) * parseInt(45.00);

ttotal += parseInt(document.getElementById("tour7c").value) * parseInt(30.00);

}

else

{

document.getElementById("tour7a").value = 0;

document.getElementById("tour7c").value = 0;

}

 

if(tour.item( 8).checked)

{

ttotal += parseInt(document.getElementById("tour8a").value) * parseInt(30.00);

ttotal += parseInt(document.getElementById("tour8c").value) * parseInt(20.00);

}

else

{

document.getElementById("tour8a").value = 0;

document.getElementById("tour8c").value = 0;

}

 

if(tour.item(9).checked)

{

ttotal += parseInt(document.getElementById("tour9a").value) * parseInt(340.00);

ttotal += parseInt(document.getElementById("tour9c").value) * parseInt(0.00);

}

else

{

document.getElementById("tour9a").value = 0;

document.getElementById("tour9c").value = 0;

}

 

if(tour.item(10).checked)

{

ttotal += parseInt(document.getElementById("tour10a").value) * parseInt(59.00);

ttotal += parseInt(document.getElementById("tour10c").value) * parseInt(59.00);

}

else

{

document.getElementById("tour10a").value = 0;

document.getElementById("tour10c").value = 0;

}

 

if(tour.item(11).checked)

{

ttotal += parseInt(document.getElementById("tour11a").value) * parseInt(143.00);

ttotal += parseInt(document.getElementById("tour11c").value) * parseInt(125.00);

}

else

{

document.getElementById("tour11a").value = 0;

document.getElementById("tour11c").value = 0;

}

 

if(tour.item(12).checked)

{

ttotal += parseInt(document.getElementById("tour12a").value) * parseInt(204.00);

ttotal += parseInt(document.getElementById("tour12c").value) * parseInt(186.00);

}

else

{

document.getElementById("tour12a").value = 0;

document.getElementById("tour12c").value = 0;

}

 

if(tour.item(13).checked)

{

ttotal += parseInt(document.getElementById("tour13a").value) * parseInt(84.00);

ttotal += parseInt(document.getElementById("tour13c").value) * parseInt(73.00);

}

else

{

document.getElementById("tour13a").value = 0;

document.getElementById("tour13c").value = 0;

}

 

if(tour.item(14).checked)

{

ttotal += parseInt(document.getElementById("tour14a").value) * parseInt(35.00);

ttotal += parseInt(document.getElementById("tour14c").value) * parseInt(24.00);

}

else

{

document.getElementById("tour14a").value = 0;

document.getElementById("tour14c").value = 0;

}

 

if(tour.item(15).checked)

{

ttotal += parseInt(document.getElementById("tour15a").value) * parseInt(52.00);

ttotal += parseInt(document.getElementById("tour15c").value) * parseInt(37.00);

}

else

{

document.getElementById("tour15a").value = 0;

document.getElementById("tour15c").value = 0;

}

 

if(tour.item(16).checked)

{

ttotal += parseInt(document.getElementById("tour16a").value) * parseInt(49.00);

ttotal += parseInt(document.getElementById("tour16c").value) * parseInt(32.00);

}

else

{

document.getElementById("tour16a").value = 0;

document.getElementById("tour16c").value = 0;

}

 

if(tour.item(17).checked)

{

ttotal += parseInt(document.getElementById("tour17a").value) * parseInt(51.00);

ttotal += parseInt(document.getElementById("tour17c").value) * parseInt(42.00);

}

else

{

document.getElementById("tour17a").value = 0;

document.getElementById("tour17c").value = 0;

}

 

if(tour.item(18).checked)

{

ttotal += parseInt(document.getElementById("tour18a").value) * parseInt(69.00);

ttotal += parseInt(document.getElementById("tour18c").value) * parseInt(58.00);

}

else

{

document.getElementById("tour18a").value = 0;

document.getElementById("tour18c").value = 0;

}

 

if(tour.item(19).checked)

{

ttotal += parseInt(document.getElementById("tour19a").value) * parseInt(77.00);

ttotal += parseInt(document.getElementById("tour19c").value) * parseInt(64.00);

}

else

{

document.getElementById("tour19a").value = 0;

document.getElementById("tour19c").value = 0;

}

 

if(tour.item(20).checked)

{

ttotal += parseInt(document.getElementById("tour20a").value) * parseInt(67.00);

ttotal += parseInt(document.getElementById("tour20c").value) * parseInt(55.00);

}

else

{

document.getElementById("tour20a").value = 0;

document.getElementById("tour20c").value = 0;

}

 

if(tour.item(21).checked)

{

ttotal += parseInt(document.getElementById("tour21a").value) * parseInt(52.00);

ttotal += parseInt(document.getElementById("tour21c").value) * parseInt(37.00);

}

else

{

document.getElementById("tour21a").value = 0;

document.getElementById("tour21c").value = 0;

}

 

if(tour.item(22).checked)

{

ttotal += parseInt(document.getElementById("tour22a").value) * parseInt(74.00);

ttotal += parseInt(document.getElementById("tour22c").value) * parseInt(62.00);

}

else

{

document.getElementById("tour22a").value = 0;

document.getElementById("tour22c").value = 0;

}

 

if(tour.item(23).checked)

{

ttotal += parseInt(document.getElementById("tour23a").value) * parseInt(0.00);

ttotal += parseInt(document.getElementById("tour23c").value) * parseInt(0.00);

}

else

{

document.getElementById("tour23a").value = 0;

document.getElementById("tour23c").value = 0;

}

 

if(tour.item(24).checked)

{

ttotal += parseInt(document.getElementById("tour24a").value) * parseInt(45.00);

ttotal += parseInt(document.getElementById("tour24c").value) * parseInt(30.00);

}

else

{

document.getElementById("tour24a").value = 0;

document.getElementById("tour24c").value = 0;

}

 

if(tour.item(25).checked)

{

ttotal += parseInt(document.getElementById("tour25a").value) * parseInt(70.00);

ttotal += parseInt(document.getElementById("tour25c").value) * parseInt(50.00);

}

else

{

document.getElementById("tour25a").value = 0;

document.getElementById("tour25c").value = 0;

}

 

if(tour.item(26).checked)

{

ttotal += parseInt(document.getElementById("tour26a").value) * parseInt(50.00);

ttotal += parseInt(document.getElementById("tour26c").value) * parseInt(35.00);

}

else

{

document.getElementById("tour26a").value = 0;

document.getElementById("tour26c").value = 0;

}

 

if(tour.item(27).checked)

{

ttotal += parseInt(document.getElementById("tour27a").value) * parseInt(65.00);

ttotal += parseInt(document.getElementById("tour27c").value) * parseInt(50.00);

}

else

{

document.getElementById("tour27a").value = 0;

document.getElementById("tour27c").value = 0;

}

 

if(tour.item(28).checked)

{

ttotal += parseInt(document.getElementById("tour28a").value) * parseInt(98.00);

ttotal += parseInt(document.getElementById("tour28c").value) * parseInt(98.00);

}

else

{

document.getElementById("tour28a").value = 0;

document.getElementById("tour28c").value = 0;

}

 

if(tour.item(29).checked)

{

ttotal += parseInt(document.getElementById("tour29a").value) * parseInt(125.00);

ttotal += parseInt(document.getElementById("tour29c").value) * parseInt(125.00);

}

else

{

document.getElementById("tour29a").value = 0;

document.getElementById("tour29c").value = 0;

}

 

if(tour.item(30).checked)

{

ttotal += 80.00;

ttotal += parseInt(document.getElementById("tour30a").value) * parseInt(20.00);

ttotal += parseInt(document.getElementById("tour30c").value) * parseInt(20.00);

document.getElementById("tour30b").value = 1;

}

else

{

document.getElementById("tour30a").value = 0;

document.getElementById("tour30b").value = 0;

document.getElementById("tour30c").value = 0;

}

 

if(tour.item(31).checked)

{

ttotal += 200.00;

ttotal += parseInt(document.getElementById("tour31a").value) * parseInt(35.00);

ttotal += parseInt(document.getElementById("tour31c").value) * parseInt(20.00);

document.getElementById("tour31b").value = 1;

}

else

{

document.getElementById("tour31a").value = 0;

document.getElementById("tour31b").value = 0;

document.getElementById("tour31c").value = 0;

}

 

if(tour.item(32).checked)

{

ttotal += parseInt(document.getElementById("tour32a").value) * parseInt(25.00);

ttotal += parseInt(document.getElementById("tour32c").value) * parseInt(15.00);

}

else

{

document.getElementById("tour32a").value = 0;

document.getElementById("tour32c").value = 0;

}

 

if(tour.item(33).checked)

{

ttotal += parseInt(document.getElementById("tour33a").value) * parseInt(8.00);

ttotal += parseInt(document.getElementById("tour33c").value) * parseInt(0.00);

}

else

{

document.getElementById("tour33a").value = 0;

document.getElementById("tour33c").value = 0;

}

 

if(tour.item(34).checked)

{

ttotal += parseInt(document.getElementById("tour34a").value) * parseInt(0.00);

ttotal += parseInt(document.getElementById("tour34c").value) * parseInt(0.00);

}

else

{

document.getElementById("tour34a").value = 0;

document.getElementById("tour34c").value = 0;

}

 

if(tour.item(35).checked)

{

ttotal += parseInt(document.getElementById("tour35a").value) * parseInt(22.00);

ttotal += parseInt(document.getElementById("tour35c").value) * parseInt(22.00);

}

else

{

document.getElementById("tour35a").value = 0;

document.getElementById("tour35c").value = 0;

}

 

if(tour.item(36).checked)

{

ttotal += parseInt(document.getElementById("tour36a").value) * parseInt(38.00);

ttotal += parseInt(document.getElementById("tour36c").value) * parseInt(38.00);

}

else

{

document.getElementById("tour36a").value = 0;

document.getElementById("tour36c").value = 0;

}

 

if(tour.item(37).checked)

{

ttotal += parseInt(document.getElementById("tour37a").value) * parseInt(98.00);

ttotal += parseInt(document.getElementById("tour37c").value) * parseInt(98.00);

}

else

{

document.getElementById("tour37a").value = 0;

document.getElementById("tour37c").value = 0;

}

 

if(tour.item(38).checked)

{

ttotal += parseInt(document.getElementById("tour38a").value) * parseInt(125.00);

ttotal += parseInt(document.getElementById("tour38c").value) * parseInt(125.00);

}

else

{

document.getElementById("tour38a").value = 0;

document.getElementById("tour38c").value = 0;

}

 

if(tour.item(39).checked)

{

ttotal += parseInt(document.getElementById("tour39a").value) * parseInt(50.00);

ttotal += parseInt(document.getElementById("tour39c").value) * parseInt(50.00);

}

else

{

document.getElementById("tour39a").value = 0;

document.getElementById("tour39c").value = 0;

}

 

if(tour.item(40).checked)

{

ttotal += parseInt(document.getElementById("tour40a").value) * parseInt(65.00);

ttotal += parseInt(document.getElementById("tour40c").value) * parseInt(50.00);

}

else

{

document.getElementById("tour40a").value = 0;

document.getElementById("tour40c").value = 0;

}

 

if(tour.item(41).checked)

{

ttotal += parseInt(document.getElementById("tour41a").value) * parseInt(40.00);

ttotal += parseInt(document.getElementById("tour41c").value) * parseInt(40.00);

}

else

{

document.getElementById("tour41a").value = 0;

document.getElementById("tour41c").value = 0;

}

 

if(tour.item(42).checked)

{

ttotal += parseInt(document.getElementById("tour42a").value) * parseInt(51.00);

ttotal += parseInt(document.getElementById("tour42c").value) * parseInt(51.00);

}

else

{

document.getElementById("tour42a").value = 0;

document.getElementById("tour42c").value = 0;

}

 

if(tour.item(43).checked)

{

ttotal += parseInt(document.getElementById("tour43a").value) * parseInt(30.00);

ttotal += parseInt(document.getElementById("tour43c").value) * parseInt(15.00);

}

else

{

document.getElementById("tour43a").value = 0;

document.getElementById("tour43c").value = 0;

}

 

if(tour.item(44).checked)

{

ttotal += parseInt(document.getElementById("tour44a").value) * parseInt(55.00);

ttotal += parseInt(document.getElementById("tour44c").value) * parseInt(35.00);

}

else

{

document.getElementById("tour44a").value = 0;

document.getElementById("tour44c").value = 0;

}

 

if(tour.item(45).checked)

{

ttotal += parseInt(document.getElementById("tour45a").value) * parseInt(35.00);

ttotal += parseInt(document.getElementById("tour45c").value) * parseInt(17.00);

}

else

{

document.getElementById("tour45a").value = 0;

document.getElementById("tour45c").value = 0;

}

 

if(tour.item(46).checked)

{

ttotal += parseInt(document.getElementById("tour46a").value) * parseInt(30.00);

ttotal += parseInt(document.getElementById("tour46c").value) * parseInt(20.00);

}

else

{

document.getElementById("tour46a").value = 0;

document.getElementById("tour46c").value = 0;

}

 

if(tour.item(47).checked)

{

ttotal += parseInt(document.getElementById("tour47a").value) * parseInt(45.00);

ttotal += parseInt(document.getElementById("tour47c").value) * parseInt(45.00);

}

else

{

document.getElementById("tour47a").value = 0;

document.getElementById("tour47c").value = 0;

}

 

if(tour.item(48).checked)

{

ttotal += parseInt(document.getElementById("tour48a").value) * parseInt(59.00);

ttotal += parseInt(document.getElementById("tour48c").value) * parseInt(40.00);

}

else

{

document.getElementById("tour48a").value = 0;

document.getElementById("tour48c").value = 0;

}

 

if(tour.item(49).checked)

{

ttotal += parseInt(document.getElementById("tour49a").value) * parseInt(72.00);

ttotal += parseInt(document.getElementById("tour49c").value) * parseInt(72.00);

}

else

{

document.getElementById("tour49a").value = 0;

document.getElementById("tour49c").value = 0;

}

 

if(tour.item(50).checked)

{

ttotal += parseInt(document.getElementById("tour50a").value) * parseInt(98.00);

ttotal += parseInt(document.getElementById("tour50c").value) * parseInt(98.00);

}

else

{

document.getElementById("tour50a").value = 0;

document.getElementById("tour50c").value = 0;

}

 

if(tour.item(51).checked)

{

ttotal += parseInt(document.getElementById("tour51a").value) * parseInt(125.00);

ttotal += parseInt(document.getElementById("tour51c").value) * parseInt(125.00);

}

else

{

document.getElementById("tour51a").value = 0;

document.getElementById("tour51c").value = 0;

}

 

if(tour.item(52).checked)

{

ttotal += parseInt(document.getElementById("tour52a").value) * parseInt(70.00);

ttotal += parseInt(document.getElementById("tour52c").value) * parseInt(55.00);

}

else

{

document.getElementById("tour52a").value = 0;

document.getElementById("tour52c").value = 0;

}

 

if(tour.item(53).checked)

{

ttotal += parseInt(document.getElementById("tour53a").value) * parseInt(95.00);

ttotal += parseInt(document.getElementById("tour53c").value) * parseInt(67.00);

}

else

{

document.getElementById("tour53a").value = 0;

document.getElementById("tour53c").value = 0;

}

 

if(tour.item(54).checked)

{

ttotal += parseInt(document.getElementById("tour54a").value) * parseInt(40.00);

ttotal += parseInt(document.getElementById("tour54c").value) * parseInt(30.00);

}

else

{

document.getElementById("tour54a").value = 0;

document.getElementById("tour54c").value = 0;

}

 

document.getElementById("total").innerHTML = ttotal.toFixed(2);

document.getElementById("deposit").innerHTML = (ttotal/5).toFixed(2);

}

function clear_all()

{

 

var tour = document.getElementsByName("tour[]");

for(var i = 0; i < tour.length;i++){

tour.item(i).checked = false;

document.getElementById("div"+i).style.display = "none";

document.getElementById("tour"+i+"a").value = 0;

document.getElementById("tour"+i+"c").value = 0;

}

 

document.getElementById("total").innerHTML = 0.00;

document.getElementById("deposit").innerHTML = 0.00;

}

function init(){

var tour = document.getElementsByName("tour[]");

var none = 0.0;

for(var i = 0; i < tour.length;i++){

var a = document.getElementById("tour"+i+"a")

var c = document.getElementById("tour"+i+"c")

 

if(parseInt(a.value) > 0 || parseInt(c.value) > 0){

tour.item(i).checked = true;

document.getElementById("div"+i).style.display = "block";

}

}

document.getElementById("total").innerHTML = none;

document.getElementById("deposit").innerHTML = none;

}

</script>

 

</head>

 

<body bgcolor="#CCCCCC" leftmargin="29px" topmargin="61px" marginwidth="258px" marginheight="120px">

<div id="apDiv18">

<div align="right"></div>

<div align="right"><img src="funcation_vansm.png" alt="funcation" width="200" height="136">

</div>

<div align="right"></div>

</div>

<div id="apDiv3"><img src="funcation2.png" width="267" height="71" alt="jamaica funcation"></div>

<div id="apDiv4">

<ul id="MenuBar1" class="MenuBarHorizontal">

<li><a href="http://www.-.com/fun...ion">home</a> </li>

<li><a href="http://www.-.com/fun...events</a></li>

<li><a href="http://www.-.com/tou...rs</a> </li>

<li><a href="http://www.-.com/faq...">faqs</a></li>

<li><a href="http://www.-.com/boo...ooking</a></li>

<li><a href="http://www.-.com/con...ontact</a></li>

</ul>

</div>

<div id="apDiv9"></div>

<div id="apDiv13">

 

 

<form action="https://www.paypal.c...cgi-bin/webscr" method="post">

<input type="hidden" name="cmd" value="_xclick">

 

 

<input type="hidden" name="business" value="cueb.jb@gmail.com">

 

 

 

 

 

 

<table width="100%" class="reservation">

<tbody>

<tr>

<td colspan="2" align="center">

<p align="left"> <span class="headin"><font color="ffffff"> TOUR BOOKING </span></p></font><BR>

 

<p align="left">Thank you for choosing Funcation Island Tours & Events. <br>We are committed to ensuring superb customer service, safety and FUN!

<br> Please fill out the following or <a href="http://www.-.com/tou...tours"><B><font color="orange">CUSTOMIZE YOUR VACATION</font></B></a>

<br> <br>

</p>

 

</td>

</tr>

<tr>

<td colspan="2">

<label>Name:    

<input type="text" name="name" id="name" class="input" value="" size="30" /></label>

</td>

</tr>

<tr>

<td>

<div id="emailvalidation">

</div>

<label>Email::    

<input type="text" name="email" id="email" class="input" value="" size="30" /></label>

<br>

</td>

<td valign="bottom"><label>How did you hear about Funcation?:  </label>

</td>

</tr>

<tr>

<td>

<label>Contact #:     

<input type="text" name="contact" id="contact" class="input" value="" size="30" /></label>

 

</td>

<td>

<label> <input type="text" name="referral" id="referral" class="input" value="" size="45" /></label></td>

</tr>

 

</td>

 

 

<td>

<label>Date of Tour:

<input type="text" name="dateoftour" id="dateoftour" class="input" value="" size="30" /></label>

 

</td>

<td>

<label>Alt Contact #:     

<input type="text" name="contact2" id="contact2" class="input" value="" size="30" /></label></td>

</tr>

<tr>

 

<tr>

<td colspan="2">

<label><br>

Additional cost (Optional:) Transportation service from airport to your villa / hotel. If needed, please include the following: <br> Arrival date, Time and pickup location<br>

<input type="text" name="transportationdetails_airport" id="travelers" class="input" value="" size="100" /></label>

 

    </td>

<tr>

<td colspan="2">

<h2 align="left"><br>

Choose your tour/s below </h2>

 

<span class="headin">OCHO RIOS</span><BR>

 

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="62" value= "tour" onclick="show_fields('div0')"

/> Dunns River Falls - - Round trip transportation from hotel - - $35 per person

 

</label>

<div id="div0" class="prices" style="display:none"> number of <input type="text" value="0" class="input" name="tour0a" id="tour0a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour0c" id="tour0c" size="2" onchange="add_total()" />

<input type="hidden" value="0" class="input" name="tour0b" id="tour0b" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="63" value= "tour" onclick="show_fields('div1')"

/> Dunns River Falls and River Rafting - - Round trip transportation from hotel - - $65 per person

 

</label>

<div id="div1" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour1a" id="tour1a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour1c" id="tour1c" size="2" onchange="add_total()" />

<input type="hidden" value="0" class="input" name="tour1b" id="tour1b" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="15" value= "tour" onclick="show_fields('div2')"

/> Dunns River Falls and River Tubing - - Round trip transportation from hotel - - $60 per person

 

</label>

<div id="div2" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour2a" id="tour2a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour2c" id="tour2c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="16" value= "tour" onclick="show_fields('div3')"

/> Dunns River Falls and Ocho Rios Sightseeing - - Round trip transportation from hotel - - $45 per person

</label>

<div id="div3" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour3a" id="tour3a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour3c" id="tour3c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="18" value= "tour" onclick="show_fields('div4')"

/> Dunns River Falls and Reggae Beach - - Round trip transportation from hotel - - $45 per person

</label>

<div id="div4" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour4a" id="tour4a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour4c" id="tour4c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="17" value= "tour" onclick="show_fields('div5')"

/><strong><a href="http://www.-.com/tou...om/tours"><font color="#ffffff">**</font><font color="#FFFF00">DUNNS RIVER TOUR PACKAGE</FONT><font color="#ffffff">**</font></a></strong></font> - - $75 per person

</label>

<div id="div5" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour5a" id="tour5a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour5c" id="tour5c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="20" value= "tour" onclick="show_fields('div6')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div6" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour6a" id="tour6a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour6c" id="tour6c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="19" value= "tour" onclick="show_fields('div7')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div7" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour7a" id="tour7a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour7c" id="tour7c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="21" value= "tour" onclick="show_fields('div8')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div8" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour8a" id="tour8a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour8c" id="tour8c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="31" value= "tour" onclick="show_fields('div9')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div9" class="prices" style="display:none">Number of boat (1-4 people) required: <input type="text" value="0" class="input" name="tour9a" id="tour9a" size="2" onchange="add_total()" />

<input type="hidden" value="0" class="input" name="tour9c" id="tour9c" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="24" value= "tour" onclick="show_fields('div10')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div10" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour10a" id="tour10a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour10c" id="tour10c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="27" value= "tour" onclick="show_fields('div11')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div11" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour11a" id="tour11a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour11c" id="tour11c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="26" value= "tour" onclick="show_fields('div12')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div12" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour12a" id="tour12a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour12c" id="tour12c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="25" value= "tour" onclick="show_fields('div13')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div13" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour13a" id="tour13a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour13c" id="tour13c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="33" value= "tour" onclick="show_fields('div14')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div14" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour14a" id="tour14a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour14c" id="tour14c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="34" value= "tour" onclick="show_fields('div15')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div15" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour15a" id="tour15a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour15c" id="tour15c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="30" value= "tour" onclick="show_fields('div16')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div16" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour16a" id="tour16a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour16c" id="tour16c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="28" value= "tour" onclick="show_fields('div17')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div17" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour17a" id="tour17a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour17c" id="tour17c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="29" value= "tour" onclick="show_fields('div18')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div18" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour18a" id="tour18a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour18c" id="tour18c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="32" value= "tour" onclick="show_fields('div19')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div19" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour19a" id="tour19a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour19c" id="tour19c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label><br><span class="headin">NEGRIL</span><br>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="36" value= "tour" onclick="show_fields('div20')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div20" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour20a" id="tour20a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour20c" id="tour20c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="35" value= "tour" onclick="show_fields('div21')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div21" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour21a" id="tour21a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour21c" id="tour21c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="37" value= "tour" onclick="show_fields('div22')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div22" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour22a" id="tour22a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour22c" id="tour22c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="38" value= "tour" onclick="show_fields('div23')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div23" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour23a" id="tour23a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour23c" id="tour23c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="39" value= "tour" onclick="show_fields('div24')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div24" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour24a" id="tour24a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour24c" id="tour24c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="40" value= "tour" onclick="show_fields('div25')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div25" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour25a" id="tour25a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour25c" id="tour25c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="41" value= "tour" onclick="show_fields('div26')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div26" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour26a" id="tour26a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour26c" id="tour26c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="42" value= "tour" onclick="show_fields('div27')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div27" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour27a" id="tour27a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour27c" id="tour27c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="69" value= "tour" onclick="show_fields('div28')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div28" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour28a" id="tour28a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour28c" id="tour28c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="72" value= "tour" onclick="show_fields('div29')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div29" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour29a" id="tour29a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour29c" id="tour29c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="53" value= "tour" onclick="show_fields('div30')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div30" class="prices" style="display:none">Additional (<b>ontop</b> of the included 1-4 People) Adults: <input type="text" value="0" class="input" name="tour30a" id="tour30a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour30c" id="tour30c" size="2" onchange="add_total()" />

<input type="hidden" value="0" class="input" name="tour30b" id="tour30b" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="43" value= "tour" onclick="show_fields('div31')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div31" class="prices" style="display:none">Additional (<b>ontop</b> of the included 1-4 People) Adults: <input type="text" value="0" class="input" name="tour31a" id="tour31a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour31c" id="tour31c" size="2" onchange="add_total()" />

<input type="hidden" value="0" class="input" name="tour31b" id="tour31b" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="46" value= "tour" onclick="show_fields('div32')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div32" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour32a" id="tour32a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour32c" id="tour32c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="44" value= "tour" onclick="show_fields('div33')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div33" class="prices" style="display:none">Number of person10yrs old & up required: <input type="text" value="0" class="input" name="tour33a" id="tour33a" size="2" onchange="add_total()" />

<input type="hidden" value="0" class="input" name="tour33c" id="tour33c" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="80" value= "tour" onclick="show_fields('div34')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div34" class="prices" style="display:none">Number of person under 10 required: <input type="text" value="0" class="input" name="tour34a" id="tour34a" size="2" onchange="add_total()" />

<input type="hidden" value="0" class="input" name="tour34c" id="tour34c" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="48" value= "tour" onclick="show_fields('div35')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div35" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour35a" id="tour35a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour35c" id="tour35c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="49" value= "tour" onclick="show_fields('div36')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div36" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour36a" id="tour36a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour36c" id="tour36c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="67" value= "tour" onclick="show_fields('div37')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div37" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour37a" id="tour37a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour37c" id="tour37c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="70" value= "tour" onclick="show_fields('div38')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div38" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour38a" id="tour38a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour38c" id="tour38c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="11" value= "tour" onclick="show_fields('div39')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div39" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour39a" id="tour39a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour39c" id="tour39c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="50" value= "tour" onclick="show_fields('div40')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div40" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour40a" id="tour40a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour40c" id="tour40c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="51" value= "tour" onclick="show_fields('div41')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div41" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour41a" id="tour41a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour41c" id="tour41c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="52" value= "tour" onclick="show_fields('div42')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div42" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour42a" id="tour42a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour42c" id="tour42c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="54" value= "tour" onclick="show_fields('div43')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div43" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour43a" id="tour43a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour43c" id="tour43c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="55" value= "tour" onclick="show_fields('div44')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div44" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour44a" id="tour44a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour44c" id="tour44c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="60" value= "tour" onclick="show_fields('div45')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div45" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour45a" id="tour45a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour45c" id="tour45c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="56" value= "tour" onclick="show_fields('div46')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div46" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour46a" id="tour46a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour46c" id="tour46c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="45" value= "tour" onclick="show_fields('div47')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div47" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour47a" id="tour47a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour47c" id="tour47c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="79" value= "tour" onclick="show_fields('div48')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div48" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour48a" id="tour48a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour48c" id="tour48c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="14" value= "tour" onclick="show_fields('div49')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div49" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour49a" id="tour49a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour49c" id="tour49c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="68" value= "tour" onclick="show_fields('div50')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div50" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour50a" id="tour50a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour50c" id="tour50c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="71" value= "tour" onclick="show_fields('div51')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div51" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour51a" id="tour51a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour51c" id="tour51c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="57" value= "tour" onclick="show_fields('div52')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div52" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour52a" id="tour52a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour52c" id="tour52c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="58" value= "tour" onclick="show_fields('div53')"

/>Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div53" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour53a" id="tour53a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour53c" id="tour53c" size="2" onchange="add_total()" /></div>

</div>

<div class="divtours"><label>

<input type="checkbox" value="unchecked" class="input" name="tour[]" id="61" value= "tour" onclick="show_fields('div54')"

/> Round trip transportation from Waikiki - - Adult: $85.00 Child 2-11 yrs: $75.45

</label>

<div id="div54" class="prices" style="display:none">Adults: <input type="text" value="0" class="input" name="tour54a" id="tour54a" size="2" onchange="add_total()" />

Children: <input type="text" value="0" class="input" name="tour54c" id="tour54c" size="2" onchange="add_total()" /></div>

</div>

 

 

 

 

<p> </p>

 

</td>

</tr>

<tr>

<td style="height: 92px">

<p>(Optional) Additional Information

<textarea id="addinfo" name="addinfo" rows="5" cols="40"></textarea>

<table border="0" cellpadding="10" cellspacing="0" align="right">

<tr><td align="right"><label>Total: USD$</label></td><td id="total" name="total"></td></tr>

<tr><td align="right"><label>Deposit: USD$ </label></td><td id="deposit" name="deposit"></td></tr>

 

 

 

<tr><td align="right">

 

 

<p class="submit" align="right">

 

 

<input type="submit" name="submit" id="submit" value="Book Now">

 

 

 

 

 

 

 

 

</p></td></tr>

<tr><td align="center">

</td></tr></table></p>

<img src="paypal-logo.png" width="129" style="float: left" height="108"border="0" ></a></td>

<td style="height: 92px"> </td>

</tr>

<tr>

<td> </td>

<td>

 

</td>

</tr>

</tbody>

</table>

</form>

<script type="text/javascript">

</script>

</body>

</html>

Post only the relevant code. There's no need to post CSS, etc. for a PHP problem.

When posting code, enclose it within the forum's'

 . . .

BBCode tags.

Calculating costs on the client side with javascript is a terrible idea. The client can access and change those amounts to whatever they want. The amount will never be in your favor.

 

This is not a php question. Moving thread to javascript help.

Edited by Pikachu2000
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.