<!--//

am = "This site are protected by copyright";
bV = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"
function nrc(e) {
        if (bNS && e.which > 1){
      	    alert(am)
      	    return false
      } else if (bIE && (event.button >1)) {
      	    alert(am)
      	    return false;}
}
document.onmousedown = nrc;
      	if (document.layers) window.captureEvents(Event.MOUSEDOWN);
      	if (bNS && bV<5) window.onmousedown = nrc;

function FP_swapImg() {//v1.0
 var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
 n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
 elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_preloadImgs() {//v1.0
 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
 for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}

function FP_getObjectByID(id,o) {//v1.0
 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
 else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
 if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
 for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
 f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
 for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
 return null;
}

		function cal(){

			      toty = "0";
				totdep  = "0";	
				totcars = "0"; 
    
			      if (document.FrontPage_Form1.Bonnie.checked == true)  
			      				{toty = toty * "1" + 395;
			      				  totdep = totdep * "1" + 75;
								totcars = totcars * "1" + 1;}
			      if (document.FrontPage_Form1.Valentino.checked == true)  
			                              {toty = toty * "1" + 395;
			                                 totdep = totdep * "1" + 75;
			                    totcars = totcars * "1" + 1;}
			      if (document.FrontPage_Form1.Clyde.checked == true)  
			                              {toty = toty * "1" + 375;
			                                 totdep = totdep * "1" + 75;
								totcars = totcars * "1" + 1;}
			      if (document.FrontPage_Form1.Capone.checked == true)  
			                              {toty = toty * "1" + 375;
			                                 totdep = totdep * "1" + 75;
								totcars = totcars * "1" + 1;}
			      if (document.FrontPage_Form1.Ness.checked == true)  
			                              {toty = toty * "1" + 375;
			                                 totdep = totdep * "1" + 75;
								totcars = totcars * "1" + 1;}
			      if (document.FrontPage_Form1.Roosevelt.checked == true)  
			                              {toty = toty * "1" + 395;
			                                 totdep = totdep * "1" + 75;
								totcars = totcars * "1" + 1;}
			      if (document.FrontPage_Form1.Darcy.checked == true)  
			                              {toty = toty * "1" + 295;
			                                 totdep = totdep * "1" + 75;
								totcars = totcars * "1" + 1;}
			      if (document.FrontPage_Form1.Rochester.checked == true)  
			                              {toty = toty * "1" + 295;
			                                 totdep = totdep * "1" + 75;
								totcars = totcars * "1" + 1;}
	
			      if (document.FrontPage_Form1.Trips.value == "Yes")  
			                              {toty = toty * "1" + 50;}      
			                              
				if (totcars == 1) {
					if (document.FrontPage_Form1.Honeymoon.value == "Yes") 						
						{toty = (toty + 295) * "0.95";}}
						
				if (totcars >= 2) { 
					if (document.FrontPage_Form1.Honeymoon.value == "Yes") 
						{toty = (toty + 295 ) * "0.85";}
					else
						{toty = toty * "0.9";}}
			
					
			      if (document.FrontPage_Form1.Grooms_Car.value == "Yes")  
			                              {toty = toty * "1" + 175;
							totdep = totdep * "1" + 75;}                      		
                		
				 
					document.FrontPage_Form1.Balance.value = dec(toty - totdep);
			      	document.FrontPage_Form1.Total_Cost.value = dec(toty * "1");
			      	document.FrontPage_Form1.Total_Deposit.value = dec(totdep * "1");
			      		
 
				function  dec(toty){		 
					return (toty == Math.floor(toty)) ? toty + '.00':
		        		((toty*10 == Math.floor(toty*10)) ? toty + '0': 
		       		toty);
		       	}					    
        }
// end hiding -->

