function header() {
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="776" height="286" />\n');
    document.write('<param name="movie" value="header1.swf" />\n');
    document.write('<param name="quality" value="high" />\n');
	document.write('<param name="menu" value="false" />\n');
	document.write('<embed src="header1.swf" width="779" height="286" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false" />\n');
    document.write('</embed>\n');
	document.write('</object>\n');
}
function gallery() {
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="499" height="400" />\n');
    document.write('<param name="movie" value="gallery.swf" />\n');
    document.write('<param name="quality" value="high" />\n');
	document.write('<param name="menu" value="false" />\n');
	document.write('<embed src="gallery.swf" width="499" height="400" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false" />\n');
    document.write('</embed>\n');
	document.write('</object>\n');
}
function checkContact() {
	if (document.form1.name.value == "") {
		alert("Please enter your name")
		document.form1.name.focus()
		return;}
		valid = /^[^@]+@[^@]+.[a-z]{2,}$/i;
		stremail = document.form1.email.value;
	if (stremail.search(valid) == -1) {
		alert("Please enter a valid email address")
		document.form1.email.focus()
		return;}
	if (document.form1.date.value == "") {
		alert("Please enter the date you're looking to hire")
		document.form1.date.focus()
		return;}
	if (document.form1.pickup.value == "" || document.form1.pickup.value == 'Enter full address') {
		alert("Please enter the full address of your pickup point")
		document.form1.pickup.select()
		return;}
	if (document.form1.pickuptime.value == "" || document.form1.pickuptime.value == 'hh:mm') {
		alert("Please enter the time you wish to be picked up")
		document.form1.pickuptime.select()
		return;}
	if (document.form1.destination.value == "" || document.form1.destination.value == 'Enter full address') {
		alert("Please enter the full address of your destination")
		document.form1.destination.select()
		return;}
	if (document.form1.destinationtime.value == "" || document.form1.destinationtime.value == 'hh:mm') {
		alert("Please enter the time you wish to arrive at your destination")
		document.form1.destinationtime.select()
		return;
	}
	document.form1.submit();
}
function clickclear(thisfield, defaulttext) {
	if (thisfield.value == defaulttext) {
		thisfield.value = "";
	}
}
function clickrecall(thisfield, defaulttext) {
	if (thisfield.value == "") {
		thisfield.value = defaulttext;
	}
}