	function submitQ1(){		
		document.getElementById("question1").style.visibility  = "hidden";
		document.getElementById("question1").style.height  = "0px";
		if(document.getElementById("claim1_id").checked){
			document.getElementById("question2").style.position  = "relative";
			if(navigator.appName=="Netscape"){
				document.getElementById("question2").style.top  = "-15px";
			}
			else{
				document.getElementById("question2").style.top  = "-435px";
			}
			document.getElementById("question2").style.height = "0px";
			document.getElementById("question2").style.left  = "0px";			
			document.getElementById("question2").style.display  = "block";
		}
		else if(document.getElementById("claim2_id").checked){
			document.getElementById("downloadPDF").style.position  = "relative";
			document.getElementById("downloadPDF").style.left  = "0px";			
			document.getElementById("downloadPDF").style.display  = "block";
			if(navigator.appName=="Netscape"){
				document.getElementById("downloadPDF").style.top = "-15px";
				document.getElementById("form7Download").style.top  = "0px";
			}
			else{
				document.getElementById("downloadPDF").style.top  = "-415px";
				document.getElementById("form7Download").style.top  = "0px";
			}
			document.getElementById("form7Download").style.position  = "relative";
			document.getElementById("form7Download").style.display  = "block";
		}
		else if(document.getElementById("claim3_id").checked){
			document.getElementById("downloadPDF").style.position  = "relative";
			document.getElementById("downloadPDF").style.left  = "0px";			
			document.getElementById("downloadPDF").style.display  = "block";
			document.getElementById("form8Download").style.position  = "relative";
			document.getElementById("form8Download").style.display  = "block";
			if(navigator.appName=="Netscape"){
				document.getElementById("downloadPDF").style.top = "-15px";
				document.getElementById("form8Download").style.top  = "0px";
			}
			else{
				document.getElementById("downloadPDF").style.top  = "-415px";
				document.getElementById("form8Download").style.top  = "0px";
			}
		}
		else if(document.getElementById("claim4_id").checked){
			document.getElementById("downloadPDF").style.position  = "relative";
			document.getElementById("downloadPDF").style.left  = "0px";			
			document.getElementById("downloadPDF").style.display  = "block";
			if(navigator.appName=="Netscape"){
				document.getElementById("downloadPDF").style.top = "-15px";
				document.getElementById("form9Download").style.top  = "0px";
			}
			else{
				document.getElementById("downloadPDF").style.top  = "-415px";
				document.getElementById("form9Download").style.top  = "0px";
			}
			document.getElementById("form9Download").style.position  = "relative";
			document.getElementById("form9Download").style.display  = "block";
			
		}
		else if(document.getElementById("claim5_id").checked){
			document.getElementById("downloadPDF").style.position  = "relative";
			document.getElementById("downloadPDF").style.left  = "0px";			
			document.getElementById("downloadPDF").style.display  = "block";
			document.getElementById("form10Download").style.position  = "relative";
			document.getElementById("form10Download").style.display  = "block";
			if(navigator.appName=="Netscape"){
				document.getElementById("downloadPDF").style.top = "-15px";
				document.getElementById("form10Download").style.top  = "0px";
			}
			else{
				document.getElementById("downloadPDF").style.top  = "-415px";
				document.getElementById("form10Download").style.top  = "0px";
			}
		}
		else if(document.getElementById("claim6_id").checked){
			document.getElementById("downloadPDF").style.position  = "relative";
			document.getElementById("downloadPDF").style.left  = "0px";			
			document.getElementById("downloadPDF").style.display  = "block";
			document.getElementById("form12Download").style.position  = "relative";
			document.getElementById("form12Download").style.display  = "block";
			if(navigator.appName=="Netscape"){
				document.getElementById("downloadPDF").style.top = "-15px";
				document.getElementById("form10Download").style.top  = "0px";
			}
			else{
				document.getElementById("downloadPDF").style.top  = "-415px";
				document.getElementById("form10Download").style.top  = "0px";
			}
		}
		else if(document.getElementById("claim7_id").checked){
			document.getElementById("downloadPDF").style.position  = "relative";
			document.getElementById("downloadPDF").style.left  = "0px";			
			document.getElementById("downloadPDF").style.display  = "block";
			document.getElementById("form11Download").style.position  = "relative";
			document.getElementById("form11Download").style.display  = "block";
			if(navigator.appName=="Netscape"){
				document.getElementById("downloadPDF").style.top = "-15px";
				document.getElementById("form11Download").style.top  = "0px";
			}
			else{
				document.getElementById("downloadPDF").style.top  = "-415px";
				document.getElementById("form11Download").style.top  = "0px";
			}			
		}
		else {
			document.getElementById("question1").style.visibility  = "visible";
			document.getElementById("error").style.visibility  = "visible";
		}
	}
	function submitQ2(){		
		document.getElementById("question1").style.visibility  = "hidden";
		document.getElementById("question2").style.visibility  = "hidden";
		document.getElementById("question1").style.height  = "0px";
		document.getElementById("question2").style.height  = "0px";
		
		if(document.getElementById("provAB").checked){
			document.getElementById("downloadPDF").style.position  = "relative";
			if(navigator.appName=="Netscape"){
				document.getElementById("downloadPDF").style.top  = "-30px";
				document.getElementById("form2Download").style.top  = "0px";
			}
			else{
				document.getElementById("downloadPDF").style.top  = "-855px";
				document.getElementById("form2Download").style.left  = "0px";
			}
			document.getElementById("downloadPDF").style.left  = "0px";			
			document.getElementById("downloadPDF").style.display  = "block";
			document.getElementById("form2Download").style.position  = "relative";
			document.getElementById("form2Download").style.display  = "block";			
		}
		else if(document.getElementById("provBC").checked){
			document.getElementById("downloadPDF").style.position  = "relative";
			if(navigator.appName=="Netscape"){
				document.getElementById("downloadPDF").style.top  = "-30px";
				document.getElementById("form1Download").style.top  = "0px";
			}
			else{
				document.getElementById("downloadPDF").style.top  = "-855px";
				document.getElementById("form1Download").style.left  = "0px";
			}
			document.getElementById("downloadPDF").style.left  = "0px";			
			document.getElementById("downloadPDF").style.display  = "block";
			document.getElementById("form1Download").style.position  = "relative";
			document.getElementById("form1Download").style.display  = "block";			
		}
		else if(document.getElementById("provSK").checked){			
			document.getElementById("downloadPDF").style.position  = "relative";
			if(navigator.appName=="Netscape"){
				document.getElementById("downloadPDF").style.top  = "-30px";
				document.getElementById("form3Download").style.top  = "0px";
			}
			else{
				document.getElementById("downloadPDF").style.top  = "-855px";
				document.getElementById("form3Download").style.left  = "0px";
			}
			document.getElementById("downloadPDF").style.left  = "0px";			
			document.getElementById("downloadPDF").style.display  = "block";
			document.getElementById("form3Download").style.position  = "relative";
			document.getElementById("form3Download").style.display  = "block";			
		}
		else if(document.getElementById("provON").checked){
			document.getElementById("downloadPDF").style.position  = "relative";
			if(navigator.appName=="Netscape"){
				document.getElementById("downloadPDF").style.top  = "-30px";
				document.getElementById("form4Download").style.top  = "0px";
			}
			else{
				document.getElementById("downloadPDF").style.top   = "-855px";
				document.getElementById("form4Download").style.left  = "0px";
			}
			document.getElementById("downloadPDF").style.left  = "0px";			
			document.getElementById("downloadPDF").style.display  = "block";
			document.getElementById("form4Download").style.position  = "relative";
			document.getElementById("form4Download").style.display  = "block";			
		}
		else if(document.getElementById("provQC").checked){
			document.getElementById("downloadPDF").style.position  = "relative";
			if(navigator.appName=="Netscape"){
				document.getElementById("downloadPDF").style.top  = "-30px";
				document.getElementById("form5Download").style.top  = "0px";
			}
			else{
				document.getElementById("downloadPDF").style.top  = "-855px";
				document.getElementById("form5Download").style.left  = "0px";
			}
			document.getElementById("downloadPDF").style.left  = "0px";			
			document.getElementById("downloadPDF").style.display  = "block";
			document.getElementById("form5Download").style.position  = "relative";
			document.getElementById("form5Download").style.display  = "block";		
		}
		else{
			document.getElementById("downloadPDF").style.position  = "relative";
			if(navigator.appName=="Netscape"){
				document.getElementById("downloadPDF").style.top  = "-30px";
				document.getElementById("form6Download").style.top  = "0px";
			}
			else{
				document.getElementById("downloadPDF").style.top  = "-855px";
				document.getElementById("form6Download").style.left  = "0px";
			}
			document.getElementById("downloadPDF").style.left  = "0px";			
			document.getElementById("downloadPDF").style.display  = "block";
			document.getElementById("form6Download").style.position  = "relative";
			document.getElementById("form6Download").style.display  = "block";
		}		
	}
	
	function calculateClaimTotal()
	{
		var tourPaid = document.getElementById("tourPaid").value;
		var tourRefunded = document.getElementById("tourRefunded").value;	
		if(isNaN(tourPaid))
			tourPaid = 0;
			
		if(isNaN(tourRefunded))
			tourRefunded= 0;
			
		var tourClaimed = tourPaid - tourRefunded;
		if(tourClaimed < 0)
			tourClaimed = 0;
		
		if(document.getElementById('tourClaimedFr')!=null){
			var tourCents = tourClaimed%100;
			tourCents = (tourCents<10)?'0'+tourCents:tourCents;
			document.getElementById('tourClaimedFr').innerHTML=(tourClaimed + ',' + tourCents + '$');
		}
		if(document.getElementById('tourClaimed')!=null){
			document.getElementById('tourClaimed').innerHTML=('$' + tourClaimed.toFixed(2));
		}
		var airfarePaid = document.getElementById("airfarePaid").value;
		var airfareRefunded = document.getElementById("airfareRefunded").value;	
		if(isNaN(airfarePaid))
			airfarePaid = 0;
			
		if(isNaN(airfareRefunded))
			airfareRefunded= 0;
			
		var airfareClaimed = airfarePaid - airfareRefunded;
		if(airfareClaimed < 0)airfareClaimed = 0;
		
		if(document.getElementById('airfareClaimedFr')!=null){	
			var airfareCents = airfareClaimed%100;
			airfareCents = (airfareCents<10)?'0'+airfareCents:airfareCents;
			document.getElementById('airfareClaimedFr').innerHTML=(airfareClaimed + ',' + airfareCents + '$');
		}
		if(document.getElementById('airfareClaimed')!=null){
			document.getElementById('airfareClaimed').innerHTML=('$' + airfareClaimed.toFixed(2));
		}
		
		var otherPaid = document.getElementById("otherPaid").value;
		var otherRefunded = document.getElementById("otherRefunded").value;	
		if(isNaN(otherPaid))
			otherPaid = 0;
			
		if(isNaN(otherRefunded))
			otherRefunded= 0;
			
		var otherClaimed = otherPaid - otherRefunded;
		if(otherClaimed < 0)
			otherClaimed = 0;
		
		if(document.getElementById('otherClaimedFr')!=null){
			var otherCents = otherClaimed%100;
			otherCents = (otherCents<10)?'0'+otherCents:otherCents;
			document.getElementById("otherClaimedFr").innerHTML=(otherClaimed + ',' + otherCents + '$');
		}
		if(document.getElementById('otherClaimed')!=null){
			document.getElementById("otherClaimed").innerHTML=('$' + otherClaimed.toFixed(2));
		}
		
		var totalAmount = tourClaimed + airfareClaimed + otherClaimed;
		
		if(document.getElementById('totalAmountFr')!=null){
			var totalCents = totalAmount%100;
			totalCents = (totalCents<10)?'0'+totalCents:totalCents;
			document.getElementById("totalAmountFr").innerHTML=(totalAmount + ',' + totalCents + '$');
		}
		if(document.getElementById('totalAmount')!=null){
			document.getElementById("totalAmount").innerHTML=('$' + totalAmount.toFixed(2));
		}
	}


/***********************************************
* Cool DHTML tooltip script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

document.write('<div id="dhtmltooltip"></div>') //write out tooltip DIV

var offsetxpoint=-60 //Customize x offset of tooltip
var offsetypoint=20 //Customize y offset of tooltip
var ie=document.all
var ns6=document.getElementById && !document.all
var enabletip=false
if (ie||ns6)
var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function ddrivetip(thetext, thecolor, thewidth){
if (ns6||ie){
if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
tipobj.innerHTML=thetext
enabletip=true
return false
}
}

function positiontip(e){
if (enabletip){
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
//Find out how close the mouse is to the corner of the window
var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20

var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000

//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<tipobj.offsetWidth)
//move the horizontal position of the menu to the left by it's width
tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
else if (curX<leftedge)
tipobj.style.left="5px"
else
//position the horizontal position of the menu where the mouse is positioned
tipobj.style.left=curX+offsetxpoint+"px"

//same concept with the vertical position
if (bottomedge<tipobj.offsetHeight)
tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
else
tipobj.style.top=curY+offsetypoint+"px"
tipobj.style.visibility="visible"
}
}

function hideddrivetip(){
if (ns6||ie){
enabletip=false
tipobj.style.visibility="hidden"
tipobj.style.left="-1000px"
tipobj.style.backgroundColor=''
tipobj.style.width=''
}
}

document.onmousemove=positiontip
	
