function goTo(goPage)
{
	window.location = goPage;
}

function goTox(goPage)
{
	return false;
}

function imgOver(img)
{
	img.src = 'french_property_insurance_images/' + img.name + '_over.gif'; img.style.cursor = 'hand'; img.style.cursor = 'pointer';
}	
function imgOut(img)
{
	img.src = 'french_property_insurance_images/' + img.name + '.gif'; img.style.cursor = 'default'; img.style.cursor = 'default';
}

function winopen(win)
{
	window.open(win,'window','top=10,left=10,height=450,width=500,scrollbars=yes');
}

function footer() { 
(document.getElementById('footer').innerHTML) = (document.getElementById('header').innerHTML);
}


function addError(ErrorString, NewError) {
			var tmp = ''
	
			if(ErrorString.length==0)
			{
				ErrorString = 'The following information is required for the call back: '
			}
			tmp = ErrorString + '\n' + '  ** ' + NewError
			
			return tmp
		}



function validateForm(frm){
		var tmpErr = ''
		with (document.forms[0])
		{

				if(frm['FirstName'].value.length == 0)
				{
					tmpErr = addError(tmpErr, "Please enter your first name")
				}
				
				if(frm['LastName'].value.length == 0)
				{
					tmpErr = addError(tmpErr, "Please enter your last name")
				}
				
				
				if(frm['Telephone'].value.length == 0)
				{
					tmpErr = addError(tmpErr, "Please enter a home number")
				}	
						
		}

		if(tmpErr != '')
		{
			alert(tmpErr)
			return false
		}else{
			return true
		}
	}