var auto; function getPrices(auto2){		auto = auto2;	existing = ($('existing').getValue() == 'yes');	if (!auto) {auto = 0}	new Ajax.Request('ajax/bookingPrices.php?auto=' + auto + '&existing=' + existing,{		parameters: 'area=' + $('area').getValue(),		onSuccess: processPrices	});	}function otherPrice(){			new Ajax.Request('ajax/bookingOtherPrice.php?',{		parameters: 'area=' + $('area').getValue() + '&length=' + $('otherLength').getValue(),		onSuccess: processOtherPrices	});	}function processPrices(transport){	data = transport.responseText;	new Ajax.Request('ajax/bookingName.php?auto=' + auto ,{		onSuccess: processName	});	$('priceList').update(data);}function processOtherPrices(transport){	data = transport.responseText;	$('otherPrice').update(data);}function processName(transport){	data = transport.responseText;	$('redName').update(data);}document.observe('dom:loaded', function(){	if($('bookingInfoButton'))	{		if($('bookingInfoLink'))		{			$('bookingInfoLink').observe('click', toggleBookingInfo).setStyle({cursor:'pointer'});		}		$('bookingInfoButton').observe('click', toggleBookingInfo).setStyle({cursor:'pointer'});		$('bookingInfo').addClassName('hidden').hide();	}});function popup(url, height, width) {	newwindow=window.open(url,'Terms','height=' + height + ',width=' + width);	if (window.focus) {newwindow.focus()}	return false;}function toggleBookingInfo(event){	$('bookingInfo').toggleClassName('hidden');	if ($('bookingInfo').hasClassName('hidden'))	{		$('bookingInfoButton').src = 'images/booking_info.gif';		new Effect.SlideUp($('bookingInfo'), {duration:1.0});			}	else	{		$('bookingInfoButton').src = 'images/booking_info_hide.jpg';		new Effect.SlideDown($('bookingInfo'), {duration:1.0});	}}