if (document.images)  {
img1on = new Image();
img1on.src = "/images/navmain_title_os_close_on.gif";
img1off = new Image();
img1off.src = "/images/navmain_title_os_close.gif";

img2on = new Image();
img2on.src = "/images/navmain_title_os_open_on.gif";
img2off = new Image();
img2off.src = "/images/navmain_title_os_open.gif";

img3on = new Image();
img3on.src = "/images/navmain_title_ed_close_on.gif";
img3off = new Image();
img3off.src = "/images/navmain_title_ed_close.gif";

img4on = new Image();
img4on.src = "/images/navmain_title_ed_open_on.gif";
img4off = new Image();
img4off.src = "/images/navmain_title_ed_open.gif";

img5on = new Image();
img5on.src = "/images/navmain_title_en_close_on.gif";
img5off = new Image();
img5off.src = "/images/navmain_title_en_close.gif";

img6on = new Image();
img6on.src = "/images/navmain_title_en_open_on.gif";
img6off = new Image();
img6off.src = "/images/navmain_title_en_open.gif";

img7on = new Image();
img7on.src = "/images/navmain_title_ab_open_on.gif";
img7off = new Image();
img7off.src = "/images/navmain_title_ab_open.gif";

img8on = new Image();
img8on.src = "/images/home_login_on.gif";
img8off = new Image();
img8off.src = "/images/home_login.gif";

}

function imgSwap (imgName,imgFile)  {
        if (document.images)  {
                document.images[imgName].src = eval (imgFile + ".src");
        }
}


function openK12MyAccountPopup(url) {
		// window name not specified so user cannot open more than one window		
		var win = window.open(url,'K12MyAccountPopup',
			'width=800,height=600,resizable=1,scrollbars=1,toolbar=0,menubar=0,location=0');
		win.focus();
	}

function openReg(filename,width,height) {
	window.open(filename,'demowindow','width='+width+',height='+height+',resizable=1,scrollbars=1')
}


function writeThisYear(){
now=new Date();
return now.getFullYear();
}