
	var base = "";
	var defaultImg = "";
        if (document.images) {           
            img1on = new Image();   img1on.src = base + "images/nav_attractions2.gif"; 
            img2on = new Image();   img2on.src = base + "images/nav_walking2.gif";  
            img3on = new Image();   img3on.src = base + "images/nav_rates2.gif";
            img4on = new Image();   img4on.src = base + "images/nav_specials2.gif";
            img5on = new Image();   img5on.src = base + "images/nav_res2.gif"; 
            img6on = new Image();   img6on.src = base + "images/nav_dining2.gif"; 
            img7on = new Image();   img7on.src = base + "images/nav_weddings2.gif"; 
            img8on = new Image();   img8on.src = base + "images/nav_dir2.gif";
            img9on = new Image();   img9on.src = base + "images/nav_contact2.gif";
            img10on = new Image();   img10on.src = base + "images/nav_home2.gif"; 
            img11on = new Image();   img11on.src = base + "images/nav_nancy2.gif"; 
	    img12on = new Image();   img12on.src = base + "images/nav_accommodations2.gif"; 


			img1off = new Image();  img1off.src = base + "images/nav_attractions1.gif"; 
            img2off = new Image();  img2off.src = base + "images/nav_walking1.gif";
            img3off = new Image();  img3off.src = base + "images/nav_rates1.gif";
            img4off = new Image();  img4off.src = base + "images/nav_specials1.gif";
            img5off = new Image();  img5off.src = base + "images/nav_res1.gif"; 
            img6off = new Image();  img6off.src = base + "images/nav_dining1.gif"; 
            img7off = new Image();  img7off.src = base + "images/nav_weddings1.gif"; 
            img8off = new Image();  img8off.src = base + "images/nav_dir1.gif";
            img9off = new Image();  img9off.src = base + "images/nav_contact1.gif";
            img10off = new Image();  img10off.src = base + "images/nav_home1.gif"; 
            img11off = new Image();  img11off.src = base + "images/nav_nancy1.gif"; 
	    img12off = new Image();  img12off.src = base + "images/nav_accommodations1.gif"; 

        }
    function imgOn(imgName) {
			//alert (defaultImg);
			if (defaultImg !=''){imgOff(defaultImg);}
            if (document.images) {
                document[imgName].src = eval(imgName + "on.src");       
            }
    }
    function imgOff(imgName) {
            if (document.images) {
                document[imgName].src = eval(imgName + "off.src");  
            }
}

function Ahover(tableCellRef)
{
	tableCellRef.style.backgroundColor = 'lightyellow';
	//tableCellRef.style.className = 'navon';
	//alert('on');
}
function Ahoverout(tableCellRef)
{
	tableCellRef.style.backgroundColor = '#3366CC';
	//tableCellRef.style.className = 'navon';
	//alert('off');
}

function floppic(doc, src){

	doc.src="/images/" + src;

}

function openweather() {
    win3 = window.open("http://www.wunderground.com/cgi-bin/findweather/getForecast?query=Centerville%2C+MA", "weather", "");
}




