<!--

function bookmark() {
if ( navigator.appName != 'Microsoft Internet Explorer' )
{ window.sidebar.addPanel(document.title,document.location.href,""); }
else { window.external.AddFavorite(document.location.href,document.title); } } 

function setbtn()
{
	
//if( document.formr.form_arrival_location.selectedIndex == 1 )  
// document.formr.form_arrival_destination.selectedIndex = 2;
//else if( document.formr.form_arrival_location.selectedIndex == 2 )
// document.formr.form_arrival_destination.selectedIndex = 1;

 if( document.formr.form_arrival_location.selectedIndex ==  0 || document.formr.form_arrival_destination.selectedIndex ==  0 || 
	document.formr.form_arrival_location.selectedIndex > 0 &&  document.formr.form_arrival_destination.selectedIndex > 0 && document.formr.form_arrival_location.selectedIndex ==  document.formr.form_arrival_destination.selectedIndex )
 {
  document.formr.form_arrival_destination.selectedIndex = 0;
  document.formr.book_btn.disabled = true;
  return;
 }


document.formr.book_btn.disabled = false; 
var actionform = '';
var from = document.formr.form_arrival_location.selectedIndex;
var to = document.formr.form_arrival_destination.selectedIndex;

document.formr.code.value = "CV";

if( from ==  1 && to == 2 )
actionform = 'https://secure.airports-shuttle.com/rome/res_civ_cty_eng'; 
else if( from ==  1 && to == 3 )
actionform = 'https://secure.airports-shuttle.com/rome/res_civ_fre_eng'; 
else if( from ==  2 && to == 1 )
actionform = 'https://secure.airports-shuttle.com/rome/res_civ_apt_eng'; 
else if( from ==  2 && to == 3 )
{
actionform = 'https://secure.airports-shuttle.com/rome/res_civ_apt_eng'; 
document.formr.code.value = "RM";
}
else if( from ==  3 && to == 1 )
actionform = 'https://secure.airports-shuttle.com/rome/res_civ_fre_eng'; 
else if( from ==  3 && to == 2 )
{
actionform = 'https://secure.airports-shuttle.com/rome/res_civ_cty_eng'; 
document.formr.code.value = "RM";
}

if( document.formr.onewayreturn[0].checked )
actionform = actionform + '.php';
else
actionform = actionform + '1.php';
document.formr.action=actionform;
//	formr.action='https://secure.airports-shuttle.com/rome/res_rome_apt_eng.php'; 

}

-->
