function submitQuickLink() {
      var selectedValue = document.quickForm.quicklinks.value;
      if (selectedValue != "") {
            window.location=selectedValue;
      }
}


/* Idea by:  Nic Wolfe (Nic@TimelapseProductions.com)
Web URL:  http://fineline.xs.mw */
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=501,height=361,left = 325.5,top = 251.5');");
}


/* Idea by:  Nic Wolfe (Nic@TimelapseProductions.com)
Web URL:  http://fineline.xs.mw */
function popUpLg(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=357,height=502,left = 325.5,top = 251.5');");
}


function navbarContext() {
beg = self.location.pathname.indexOf("/")
end = self.location.pathname.indexOf("/",beg+1)
if (end != -1)
	folder = self.location.pathname.slice(beg+1,end)
else if (self.location.pathname == "/index.htm")
	folder = "home"

document.getElementById("b"+folder).style.backgroundColor =  "#00537b"


/* background image related to context */
if (-1!=self.location.pathname.indexOf("curriculum"))
	document.getElementById("bgimage").src="./bgimage-curriculum.jpg"
else if (-1!=self.location.pathname.indexOf("certification"))
	document.getElementById("bgimage").src="./bgimage-certification.jpg"
else if (-1!=self.location.pathname.indexOf("blended_learning"))
	document.getElementById("bgimage").src="./bgimage-blended-learning.jpg"

}

