function checkValue(fname,fobj,fval){
  eval("document."+fname+"."+fobj+".value='"+fval+"'");
}
	
function setValue(fname,fobj,fval){
  var val = eval("document."+fname+"."+fobj+".value");
  if(val=="")	{ eval("document."+fname+"."+fobj+".value='"+fval+"'"); }
}

// second level of navigation
var secondlevel = new Array();
secondlevel[0] = new melem('http://www.bostonherald.com',       'Boston&nbsp;Herald',13,8);
secondlevel[1] = new melem('http://www.dailynewstribune.com',   'Daily&nbsp;News&nbsp;Tribune',36,20);
secondlevel[2] = new melem('http://www.metrowestdailynews.com', 'MetroWest&nbsp;Daily&nbsp;News',51,37);
secondlevel[3] = new melem('http://www.milforddailynews.com',   'Milford&nbsp;Daily&nbsp;News',186,172);
secondlevel[4] = new melem('http://www.dailynewstranscript.com','Daily&nbsp;News&nbsp;Transcript',297,290);
secondlevel[5] = new melem('http://www.townonline.com',         'Town&nbsp;Online',231,224);
secondlevel[6] = new melem('http://www.thedailyitemoflynn.com', 'The&nbsp;Daily&nbsp;Item',400,393);

var a1 = new Array();
a1[0] = new elem('http://pqasb.pqarchiver.com/bostonherald/',	   'Archives');
a1[1] = new elem('http://www.bostonherald.com/news.html',          'News&nbsp;&&nbsp;Opinion');
a1[2] = new elem('http://www.bostonherald.com/inside_track.html',  'Inside&nbsp;Track');
a1[3] = new elem('http://www.businesstoday.com/',                  'Business');
a1[4] = new elem('http://www.bostonherald.com/sports.html',        'Sports');
a1[5] = new elem('http://www.bostonherald.com/entertainment.html', 'The&nbsp;Edge');
a1[6] = new elem('http://www.communityclassifieds.com',            'Classifieds');
//a1[7] = new elem('http://www.beverlyhospital.com', 	   'Sponsored by <font color=#ffff99>Beverly Hospital</font>');

var a2 = new Array();
a2[0] = new elem('http://www.dailynewstribune.com/HiasysTools/Search/search.bg?mode=all','Archives');
a2[1] = new elem('http://www.dailynewstribune.com/news.html','News&nbsp;&&nbsp;Opinion');
a2[2] = new elem('http://www.dailynewstribune.com/sports.html','Sports');
a2[3] = new elem('http://www.dailynewstribune.com/arts_lifestyle.html','Arts&nbsp;&&nbsp;Lifestyle');
a2[4] = new elem('http://www.communityclassifieds.com',		   'Classifieds');

var a3 = new Array();
a3[0] = new elem('http://www.metrowestdailynews.com/HiasysTools/Search/search.bg?mode=all','Archives');
a3[1] = new elem('http://www.metrowestdailynews.com/news.html','News&nbsp;&&nbsp;Opinion');
a3[2] = new elem('http://www.metrowestdailynews.com/sports.html','Sports');
a3[3] = new elem('http://www.metrowestdailynews.com/arts_lifestyle.html','Arts&nbsp;&&nbsp;Lifestyle');
a3[4] = new elem('http://www.communityclassifieds.com',		   'Classifieds');

var a4 = new Array();
a4[0] = new elem('http://www.milforddailynews.com/HiasysTools/Search/search.bg?mode=all','Archives');
a4[1] = new elem('http://www.milforddailynews.com/news.html','News&nbsp;&&nbsp;Opinion');
a4[2] = new elem('http://www.milforddailynews.com/sports.html','Sports');
a4[3] = new elem('http://www.milforddailynews.com/arts_lifestyle.html','Arts&nbsp;&&nbsp;Lifestyle');
a4[4] = new elem('http://www.communityclassifieds.com',		   'Classifieds');

var a5 = new Array();
a5[0] = new elem('http://www.dailynewstranscript.com/HiasysTools/Search/search.bg?mode=all','Archives');
a5[1] = new elem('http://www.dailynewstranscript.com/news.html','News&nbsp;&&nbsp;Opinion');
a5[2] = new elem('http://www.dailynewstranscript.com/sports.html','Sports');
a5[3] = new elem('http://www.dailynewstranscript.com/arts_lifestyle.html','Arts&nbsp;&&nbsp;Lifestyle');
a5[4] = new elem('http://www.communityclassifieds.com',		   'Classifieds');

var a6 = new Array();
a6[0] = new elem('http://www.townonline.com','News&nbsp;&&nbsp;Opinion');
a6[1] = new elem('http://www.townonline.com/sports.html','Sports');
a6[2] = new elem('http://www.townonline.com/arts_lifestyle.html','Entertainment');
a6[3] = new elem('http://www.communityclassifieds.com',		   'Classifieds');
a6[4] = new elem('http://www.townonline.com/townsearch.html','Find your Local Town or Newspaper');

var a7 = new Array();
a7[0] = new elem('http://www.thedailyitemoflynn.com/news.html','News&nbsp;&&nbsp;Opinion');
a7[1] = new elem('http://www.thedailyitemoflynn.com/news/all_news.html','More&nbsp;Coverage');
a7[2] = new elem('http://www.thedailyitemoflynn.com/news/obituaries.html','Obituaries');
a7[3] = new elem('http://www.communityclassifieds.com','Classifieds');

