var msg = '';
CountyLink = new Array();
CountyName = new Array();
var counties=0;
CountyName[counties]='Litchfield';CountyLink[counties++]='index_lc.html';
CountyName[counties]='Hartford';CountyLink[counties++]='index_hc.html';
CountyName[counties]='Tolland';CountyLink[counties++]='index_tc.html';
CountyName[counties]='Windham';CountyLink[counties++]='index_wc.html';
CountyName[counties]='Fairfield';CountyLink[counties++]='index_fc.html';
CountyName[counties]='New Haven';CountyLink[counties++]='index_nhc.html';
CountyName[counties]='Middlesex';CountyLink[counties++]='index_mc.html';
CountyName[counties]='New London';CountyLink[counties++]='index_nlc.html';
var counties=CountyLink.length;
function new_menu(){
var title = document.location.href;
var Dot = title.lastIndexOf('.');
var LastSlash = title.lastIndexOf('/');
var Temp = title.substr(LastSlash+1,Dot);
	msg+='<p>';
	for(x=0;x<counties;x++){
		if (Temp == CountyLink[x]) {
			msg+= '&#8226; '+CountyName[x]+' ';
			}
			else {
				msg+= '&#8226; <a href="'+CountyLink[x]+'">'+CountyName[x]+'</a> ';
			}
	}//end for loop
	msg+= '&#8226;<br>Help us grow! Let Restaurants know you saw them on this site!</p>'
document.write(msg);
}//end new_menu()

function submitit(){
var count=0;
if (document.form1.fm_name.value == ''){
	alert("Please enter your Name");
	count=1;
	}
if (document.form1.phonenum.value == ''){
	alert("Please enter your Phone Number");
	count=1;
	}
if (document.form1.email.value == ''){
	alert("Please enter your Email Address");
	count=1;
	}
if (count == 0){
	document.form1.submit();
	}
}//end submitit;