function toggle_pc_tabs(e)
{
	if ($('btn_tab_all').checked)
		$('tab_all').show();
	else
		$('tab_all').hide();
	
	if ($('btn_tab_type').checked)
		$('tab_type').show();
	else
		$('tab_type').hide();
	
	if ($('btn_tab_events').checked)
		$('tab_events').show();
	else
		$('tab_events').hide();
}

//booking drivers
function toggle_passenger_form()
{
	$('add_passenger_form').toggle();
}
//booking tos
function toggle_tos()
{
	$('tos').toggle();
}


//driver club menu
function toggle_submenu(e)
{
	Event.findElement(e, 'ul').down('div').toggle();
}

//gift certificate delivery
function show_alt_form(e)
{
	$('alt_form').show();
}

function hide_alt_form(e)
{
	$('alt_form').hide();
}

// booking payment
function show_auth_form(e)
{
	$('auth_form').show();
}

function hide_auth_form(e)
{
	$('auth_form').hide();
}
//
