// Copyright 2000-2006, DataCom of Duluth
	
// Setup
Home_on=new Image(56,22);
Home_on.src="/images/mainMenu/Home_on.jpg";
Home_off=new Image(56,22);
Home_off.src="/images/mainMenu/Home_off.jpg";

News_on=new Image(56,22);
News_on.src="/images/mainMenu/News_on.jpg";
News_off=new Image(56,22);
News_off.src="/images/mainMenu/News_off.jpg";

AboutUs_on=new Image(68,22);
AboutUs_on.src="/images/mainMenu/AboutUs_on.jpg";
AboutUs_off=new Image(68,22);
AboutUs_off.src="/images/mainMenu/AboutUs_off.jpg";

Convening_on=new Image(84,22);
Convening_on.src="/images/mainMenu/Convening_on.jpg";
Convening_off=new Image(84,22);
Convening_off.src="/images/mainMenu/Convening_off.jpg";

Grants_on=new Image(60,22);
Grants_on.src="/images/mainMenu/Grants_on.jpg";
Grants_off=new Image(60,22);
Grants_off.src="/images/mainMenu/Grants_off.jpg";

KidsPlus_on=new Image(70,22);
KidsPlus_on.src="/images/mainMenu/KidsPlus_on.jpg";
KidsPlus_off=new Image(70,22);
KidsPlus_off.src="/images/mainMenu/KidsPlus_off.jpg";

BusinessFinance_on=new Image(113,22);
BusinessFinance_on.src="/images/mainMenu/BusinessFinance_on.jpg";
BusinessFinance_off=new Image(113,22);
BusinessFinance_off.src="/images/mainMenu/BusinessFinance_off.jpg";

RelatedLinks_on=new Image(104,22);
RelatedLinks_on.src="/images/mainMenu/RelatedLinks_on.jpg";
RelatedLinks_off=new Image(104,22);
RelatedLinks_off.src="/images/mainMenu/RelatedLinks_off.jpg";

Contact_on=new Image(84,22);
Contact_on.src="/images/mainMenu/ContactUs_on.jpg";
Contact_off=new Image(84,22);
Contact_off.src="/images/mainMenu/ContactUs_off.jpg";

AnnualReport_on=new Image(103,22);
AnnualReport_on.src="/images/mainMenu/AnnualReport_on.jpg";
AnnualReport_off=new Image(103,22);
AnnualReport_off.src="/images/mainMenu/AnnualReport_off.jpg";

SiteMap_on=new Image(65,22);
SiteMap_on.src="/images/mainMenu/SiteMap_on.jpg";
SiteMap_off=new Image(65,22);
SiteMap_off.src="/images/mainMenu/SiteMap_off.jpg";


//Set Cookie for Current Page
function scPage(cName) {
	document.cookie = "cPage" + "=" + cName+";path=/;";
}

//Gray Out Current Page
function grayOut(imgName) {
}

// Roll Over Buttons
function turnOn(imgName) {
	if(document.cookie.split("=")[1]!=document[imgName].name) {
		document[imgName].src=eval(imgName + "_on.src");
	}
}

function turnOff(imgName) {
	if(document.cookie.split("=")[1]!=document[imgName].name) {
		document[imgName].src=eval(imgName + "_off.src");
	}
}

//jump menu
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

//Open Files
function openFile(theFile) {
    window.open (theFile);
}

function openFileA(theFile, theWindow, theBar, theSize, theWidth, theHeight) {
    window.open (theFile, theWindow,"status=no,location=no,toolbars="+theBar+",menubar="+theBar+",directories=no,scrollbars=yes,resizable="+theSize+",width="+theWidth+",height="+theHeight);
}

// Write the Display File
function playMov(mFile)
  {
  newWindow=window.open (mFile,"newWindow","width=340,height=340,scrollbars=no,resizable=no");
  newWindow.document.open();
  newWindow.document.writeln("<html>");
  newWindow.document.writeln("<head>");
  newWindow.document.writeln("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">");
  newWindow.document.writeln("<!-- Copyright 2000-2008, DataCom\OTA, Inc. -->");
  newWindow.document.writeln("<title>Northland Foundation</title>");
  newWindow.document.writeln("<link rel=\"stylesheet\" type=\"text/css\" href=\"com.nof.c.type.css\">");
  newWindow.document.writeln("</head>");
  newWindow.document.writeln("<body>");
  newWindow.document.writeln("<EMBED SRC=\""+mFile+"\" WIDTH=320 HEIGHT=255 AUTOPLAY=true CONTROLLER=true LOOP=false PLUGINSPAGE=\"http://www.apple.com/quicktime/\">");
  newWindow.document.writeln("<p>&nbsp;</p>");
  newWindow.document.writeln("<center><a href=\"javascript:window.close()\"><font size=\"1\">CLOSE</font></a></center>");
  newWindow.document.writeln("</body>");
  newWindow.document.writeln("</html>");
  newWindow.document.close();
  }