function gotoPage(pName){
	document.location.href = pName;
}
//-- main buttons -------------
function mOverBtn(divID){
	document.getElementById(divID).style.color = '#000';
}
function mOutBtn(divID){
	document.getElementById(divID).style.color = '#666666';
}
//-- side menu main button functions -------------
function mOverSMBtn(divID){
	document.getElementById(divID).style.color = '#000';
	document.getElementById(divID).style.backgroundColor = '#99CCFF';
}
function mOutSMBtn(divID){
	document.getElementById(divID).style.color = '#888888';
	document.getElementById(divID).style.backgroundColor = '#DDEEFF';
}
//-- side menu button functions -------------
function mOverSBtn(divID){
	document.getElementById(divID).style.backgroundColor = '#99CCFF';
}
function mOutSBtn(divID){
	document.getElementById(divID).style.backgroundColor = '#DDEEFF';
}
//-- drop down (city and county) selection functionality ------
function gotoCity(){
	selValue = document.navform1.selCity[document.navform1.selCity.selectedIndex].value
	if(selValue !=""){
		gotoPage(selValue)
	}
}
function gotoBorough(){
	selValue = document.navform4.selBorough[document.navform4.selBorough.selectedIndex].value
	if(selValue !=""){
		gotoPage(selValue)
	}
}
function gotoCounty(){
	selValue = document.navform2.selCounty[document.navform2.selCounty.selectedIndex].value
	if(selValue !=""){
		gotoPage("http://www.all-weddings.co.uk/"+selValue)
	}
}

