function ucountr () { 
    document.write(Math.round(Math.random()*200001)); 
}
function showMore(sID, iDir) {
var cMore = sID + 'M';
var cLess = sID + 'L';
  if (iDir) {
    document.getElementById(cMore).className="sho";
    document.getElementById(cLess).className="hid";
  }
  else {
    document.getElementById(cMore).className="hid";
    document.getElementById(cLess).className="sho";
  }
return false;
}

function jump(selectLoc) {
  var loc = selectLoc.options[selectLoc.selectedIndex].value;
  var loc = selectLoc.value;
  if (loc == "") { return false; }
  location.href = loc;
return false;
}

function jumpVal() {
  var loc 
  var navRoot = document.getElementById("qjump");
  loc = navRoot[navRoot.selectedIndex].value;
  if (loc == "") { return false; }
  location.href = loc;
return false;
}

function ckopen() {
var retVal
  retVal = window.confirm("You are about to leave the Council site\nPress OK to leave or Cancel to remain here.");
  if ( retVal ) { return true; }
  return false;
}

function openwin(theURL,winName,feats) { //v2.0
  var features = "";
  if (feats == 1) { features = "scrollbars=yes,width=700,height=400,resizable=yes,menubar=no,toolbar=no,"; }
  if (feats == 2) { features = "scrollbars=yes,width=400,height=600,menubar=no,toolbar=no,resizable=yes"; }
  if (feats == 3) { features = "scrollbars=yes,width=600,height=450,menubar=no,toolbar=no,resizable=yes"; }
  if (feats == 5) { features = "scrollbars=yes,width=483,height=400,menubar=no,toolbar=no,resizable=yes"; }
  if (feats == 4) { features = "scrollbars=yes,menubar=no,toolbar=no,resizable=yes"; }
  window.open(theURL,winName,features);
  return false;
}

var request = false;
function createRequest() {
  try {
    request = new XMLHttpRequest();
  } catch (trymicrosoft) {
    try {
      request = new ActiveXObject("Msxml2.XMLHTTP");
    } catch (othermicrosoft) {
      try {
        request = new ActiveXObject("Microsoft.XMLHTTP");
      } catch (failed) {
        request = false;
      }  
    }
  }
  if (!request)
    alert("Error initializing XMLHttpRequest!");
}

function mForm(form) {
var sDat = "";
var fCom = form.commnt.value;
var fName = form.uname.value;
var fEmal = form.emal.value;
var fPone = form.pone.value;
  if (fCom.length < 2) { document.getElementById("prom").style.color = "red"; return false; }
  if (fName.length > 1) { sDat = "&Name=" + escape(fName); }
  if (fEmal.length > 1) { sDat =  sDat + "&Email=" + escape(fEmal); }
  if (fPone.length > 1) { sDat = sDat + "&Phone=" + escape(fPone); }
  fCom = fCom.substr(0, 2048);
  createRequest()
  request.open("POST", "/cgi-bin/m11lFm.cgi", true);
  request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); 
  request.onreadystatechange = updatePage;
  request.send("Comments=" + escape(fCom) + sDat);
return false;
}

function goSearch() {
var search = document.getElementById("search").value;
  var url = "/cgi-bin/cSearch.cgi?search=" + escape(search) + "&reqFrom=" + location.href + "&" + new Date().getTime();
  createRequest();
  request.open("GET", url, true);
  request.onreadystatechange = updatePage;
  request.send(null);
  //if (search == "") { alert("enter Something"); return false; }
}

function updatePage() {
  if (request.readyState == 4) {
    if (request.status == 200) {
      document.getElementById("bod").innerHTML = request.responseText;
    } else
      alert("status is " + request.status);
  }
}

function brkfrm() {
    if (window != top) { document.writeln('<a href="'+location.href+'" target="_top">No Frames</a><br />'); }
}

function mlst(wich) {
	return "mailto:" + wich;
}

function scramOff (who, fname, doma, domb) {
var mall;
    mall = 'mailto:' + fname + ' <' + who + '@' + domb + '.' + doma + '>';
    window.location=mall;
}

function scram (who, fname, doma, domb, how) {
    if (how) {
    document.writeln('<a href="javascript:scramOff(\''+who+'\', \''+fname+'\', \''+doma+'\', \''+domb+'\')">'+fname+'</a>');
    }
    else {
    document.writeln('<a href="javascript:scramOff(\''+who+'\', \''+fname+'\', \''+doma+'\', \''+domb+'\')">'+fname+' at '+who+'@'+domb+'.'+doma+'</a>');
    }
}

//startList = function() {
//	if (document.all&&document.getElementById) {
//		navRoot = document.getElementById("nav");
//		for (i=0; i<navRoot.childNodes.length; i++) {
//			node = navRoot.childNodes[i];
//			if (node.nodeName=="LI") {
//				node.onmouseover=function() {
//					this.className+=" over";
//				}
//				node.onmouseout=function() {
//					this.className=this.className.replace(" over", "");
//				}
//			}
//		}
//	}
//}
//window.onload=startList;

// function updateMods(doc) {
// var msg; 
// var slectd;
// slectd = doc.value;
// if (slectd == "cler") { msg="Select a topic from the list above for quick information."; }
// else if (slectd == "cubs") { msg="This is stuff you might be interested in if Cub Scouting is your thing"; }
// else if (slectd == "boys") { msg="This is stuff you might be interested in if Boy Scouting is your thing"; }
// else if (slectd == "vent") { msg="This is stuff you might be interested in if Venturing is your thing"; }
// else if (slectd == "scamp") { msg="This is a test<br />It is only a test.<br /><a href=\"crm.htm\"><img src=CRMestablished1954_s.jpg width=150 height=152 /><br />Here ends the test.</a>"; }
// else if (slectd == "wth") { msg="I don&rsquo;t know what this is for, I just wanted to see if it would work."; }
// document.getElementById("modStuff").innerHTML = msg;
// }

function newMenu() {
document.write("<option value=\"/index.htm\">&nbsp; Home Page</option> \
<option class=\"section\" value=\"/about_us.htm\"> About Us</option> \
<option value=\"/contact.htm\"> &nbsp; Contact Us</option> \
<option value=\"/council_leadership.htm\"> &nbsp; Council Leadership</option> \
<option value=\"/example.htm\"> &nbsp; Setting the Example</option> \
<option value=\"/faq.htm\"> &nbsp; Frequently Asked Questions</option> \
<option value=\"/financial.htm\"> &nbsp; Financial Support</option> \
<option value=\"/negasupport.htm\"> &nbsp; Financial Support in NE GA</option> \
<option value=\"/local_successes.htm\"> &nbsp; Local Successes</option> \
<option value=\"/twofunds.htm\"> &nbsp; Fund Raising</option> \
<option value=\"/relorgs.htm\"> &nbsp; Religious Scouter Orgs</option> \
");
document.write("<option class=\"section\" value=\"/districts.htm\">District Resources</option> \
<option value=\"/apalachee.htm\"> &nbsp; Apalachee</option> \
<option value=\"/chattahoochee.htm\"> &nbsp; Chattahoochee</option> \
<option value=\"/cherokee.htm\"> &nbsp; Cherokee</option> \
<option value=\"/currahee.htm\"> &nbsp; Currahee</option> \
<option value=\"/etowah.htm\"> &nbsp; Etowah</option> \
<option value=\"/mountain.htm\"> &nbsp; Mountain</option> \
<option value=\"/sweetwater.htm\"> &nbsp; Sweetwater</option> \
<option value=\"http://www.nega-ev.org/\"> &nbsp; Venturing &amp; Exploring</option> \
");
document.write("<option class=\"section\" value=\"/programs.htm\">Programs</option> \
<option value=\"/cub_scouting.htm\"> &nbsp; Cub Scouting</option> \
<option value=\"/boy_scouting.htm\"> &nbsp; Boy Scouting</option> \
<option value=\"/venturing.htm\"> &nbsp; Venturing</option> \
<option value=\"/eagle.htm\"> &nbsp; Life &amp; Eagle Scouts</option> \
<option value=\"http://www.nega-highadventure.org\"> &nbsp; High Adventure</option> \
<option value=\"http://www.nega-ev.org/\"> &nbsp; Exploring</option> \
<option value=\"http://www.nega-lfl.org\"> &nbsp; In-School Programs</option> \
");
document.write("<option class=\"section\" value=\"/properties.htm\">Properties</option> \
<option value=\"/camp_rainey_mountain2.htm\"> &nbsp; Camp Rainey Mountain</option> \
<option value=\"/scoutland.htm\"> &nbsp; Scoutland</option> \
<option value=\"/camp_rotary.htm\"> &nbsp; Camp Rotary</option> \
<option value=\"/jefferson_service_center.htm\"> &nbsp; Jefferson Service Center</option> \
<option value=\"/lawrenceville_service_center.htm\"> &nbsp; Lawrenceville Service Center</option> \
");
document.write("<option class=\"section\" value=\"/resources.htm\">Resources</option> \
<option value=\"/advancement.htm\"> &nbsp; Advancement</option> \
<option value=\"/calendars_new.htm\"> &nbsp; Calendars Page</option> \
<option value=\"/vcalendar/index.php\"> &nbsp; Calendar of Events</option> \
<option value=\"/commissioners.htm\"> &nbsp; Commissioners</option> \
<option value=\"/commissioners2.htm\"> &nbsp; Commissioner Servic</option> \
<option value=\"/commTrain.htm\"> &nbsp; Commissioner Training</option> \
<option value=\"/forms_flyers.htm\"> &nbsp; Forms &amp; Flyers</option> \
<option value=\"http://www.nega-highadventure.org\"> &nbsp; High Adventure</option> \
<option value=\"/intscouting.htm\"> &nbsp; International Scouting</option> \
<option value=\"/eagle.htm\"> &nbsp; Life &amp; Eagle</option> \
<option value=\"/nylt.htm\"> &nbsp; Youth Leader Training</option> \
<option value=\"http://www.mowogo.org\"> &nbsp; Order of the Arrow</option> \
<option value=\"/properties.htm\"> &nbsp; Properties</option> \
<option value=\"/riskNsafety.htm\"> &nbsp; Risk &amp; Safety</option> \
<option value=\"/service_centers.htm\"> &nbsp; Service Centers</option> \
<option value=\"/training.htm\"> &nbsp; Training</option> \
<option value=\"/cgi-bin/trainCal.cgi\"> &nbsp; Training Calendar</option> \
");
document.write("<option class=\"section\" value=\"/forms_flyers.htm\">Forms &amp; Flyers</option> \
<option value=\"/national_forms.htm\"> &nbsp; National Forms</option> \
<option value=\"/council_forms_new.htm#council\"> &nbsp; Council Forms &amp; Flyers</option> \
<option value=\"/council_forms_new.htm#hiadventure\"> &nbsp; High Adventure Forms &amp; Flyers</option> \
<option value=\"/council_forms_new.htm\"> &nbsp; District Forms &amp; Flyers</option> \
<option value=\"/council_forms_new.htm#summercamp\"> &nbsp; Camp Forms &amp; Flyers</option> \
<option value=\"/council_forms_new.htm#venturing\"> &nbsp; Venturing Forms &amp; Flyers</option> \
<option value=\"/council_forms_new.htm#mowogo\"> &nbsp; Mowogo Forms &amp; Flyers</option> \
<option value=\"/council_forms_new.htm#other\"> &nbsp; Other Forms &amp; Flyers</option> \
<option value=\"http://www.nega-theflyer.com/ target='_new'\"> &nbsp; Council News Letter</option> \
");
//document.write("<option class=\"section\" value=\"http://www.mowogo.org\" \"target='_new'\">Order of the Arrow</option> \ ");
document.write("<option class=\"section\" value=\"/webinfo.htm\">Web Info</option> \
<option value=\"/sitemap.htm\"> &nbsp; Site Map</option> \
<option value=\"/changelog.htm\"> &nbsp; Change Log</option> \
<option value=\"/privacy.htm\"> &nbsp; Privacy Policy</option> \
<option value=\"/dannyV.htm\"> &nbsp; Daniels Page</option> \
");
 } 

function addMenu() {
document.write("<ul id=\"nav\"> \
  <li> \
     <div><a href=\"/about_us.htm\">About Us</a></div> \
     <ul> \
<li><a href=\"/contact.htm\">Contact Us</a></li> \
<li><a href=\"/council_leadership.htm\">Council Leadership</a></li> \
<li><a href=\"/example.htm\">Setting the Example</a></li> \
<li><a href=\"/faq.htm\">Frequently Asked Questions</a></li> \
<li><a href=\"/financial.htm\">Financial Support</a></li> \
<li><a href=\"/negasupport.htm\">Financial Support in NE GA</a></li> \
<li><a href=\"/local_successes.htm\">Local Successes</a></li> \
<li><a href=\"/twofunds.htm\">Fund Raising</a></li> \
<li><a href=\"/relorgs.htm\">Religious Scouter Organizations</a></li> \
     </ul> \
  </li> \
  <li> \
    <div><a href=\"/districts.htm\">District Resources</a></div> \
    <ul> \
       <li><a href=\"/apalachee.htm\">Apalachee</a></li> \
       <li><a href=\"/chattahoochee.htm\">Chattahoochee</a></li> \
       <li><a href=\"/cherokee.htm\">Cherokee</a></li> \
       <li><a href=\"/currahee.htm\">Currahee</a></li> \
       <li><a href=\"/etowah.htm\">Etowah</a></li> \
       <li><a href=\"/mountain.htm\">Mountain</a></li> \
       <li><a href=\"/sweetwater.htm\">Sweetwater</a></li> \
       <li><a href=\"http://www.nega-ev.org/\">Venturing &amp; Exploring</a></li> \
    </ul> \
  </li> \
  <li> \
    <div><a href=\"/programs.htm\">Programs</a></div> \
    <ul> \
      <li><a href=\"/cub_scouting.htm\">Cub Scouting</a></li> \
      <li><a href=\"/boy_scouting.htm\">Boy Scouting</a></li> \
      <li><a href=\"/venturing.htm\">Venturing</a></li> \
      <li><a href=\"/eagle.htm\">Life &amp; Eagle Scouts</a></li> \
      <li><a href=\"http://www.nega-highadventure.org\">High Adventure</a></li> \
      <li><a href=\"http://www.nega-ev.org/\">Exploring</a></li> \
      <li><a href=\"http://www.nega-lfl.org\">In-School Programs</a></li> \
    </ul>  \
  </li>");

document.write(" <li> \
    <div><a href=\"/properties.htm\">Properties</a></div> \
    <ul> \
      <li><a href=\"/camp_rainey_mountain2.htm\">Camp Rainey Mountain</a></li> \
      <li><a href=\"/scoutland.htm\">Scoutland</a></li> \
      <li><a href=\"/camp_rotary.htm\">Camp Rotary</a></li> \
      <li><a href=\"/jefferson_service_center.htm\">Jefferson Service Center</a></li> \
      <li><a href=\"/lawrenceville_service_center.htm\">Lawrenceville Service Center</a></li> \
    </ul> \
  </li> \
  <li> \
  <div><a href=\"/resources.htm\">Resources</a></div> \
    <ul> \
      <li><a href=\"/advancement.htm\">Advancement</a></li> \
      <li><a href=\"/calendars_new.htm\">Calendars</a></li> \
      <li><a href=\"/commissioners.htm\">Commisssioners</a></li> \
      <li><a href=\"/forms_flyers.htm\">Forms &amp; Flyers</a></li> \
      <li><a href=\"http://www.nega-highadventure.org\">High Adventure</a></li> \
      <li><a href=\"/intscouting.htm\">International Scouting</a></li> \
      <li><a href=\"/eagle.htm\">Life &amp; Eagle</a></li> \
      <li><a href=\"http://www.mowogo.org\">Order of the Arrow</a></li> \
      <li><a href=\"/properties.htm\">Properties</a></li> \
      <li><a href=\"/riskNsafety.htm\">Risk &amp; Safety</a></li> \
      <li><a href=\"/service_centers.htm\">Service Centers</a></li> \
      <li><a href=\"/training.htm\">Training</a></li> \
    </ul> \
  </li> \
  <li> \
    <div><a href=\"/forms_flyers.htm\">Forms &amp; Flyers</a></div> \
    <ul> \
      <li><a href=\"/national_forms.htm\">National Forms</a></li> \
      <li><a href=\"/council_forms_new.htm#council\">Council Forms &amp; Flyers</a></li> \
      <li><a href=\"/council_forms_new.htm#hiadventure\">High Adventure Forms &amp; Flyers</a></li> \
      <li><a href=\"/council_forms_new.htm\">District  Forms &amp; Flyers</a></li> \
      <li><a href=\"/council_forms_new.htm#summercamp\">Camp Forms &amp; Flyers</a></li> \
      <li><a href=\"/council_forms_new.htm#venturing\">Venturing Forms &amp; Flyers</a></li> \
      <li><a href=\"/council_forms_new.htm#mowogo\">Mowogo Forms &amp; Flyers</a></li> \
      <li><a href=\"/council_forms_new.htm#other\">Other Forms &amp; Flyers</a></li> \
      <!--li><a href=\"http://www.nega-theflyer.com/ target='_new'\">Council News Letter</a></li--> \
    </ul> \
  </li> \
  <li> \
    <div><a href=\"http://www.mowogo.org\" \"target='_new'\">Order of the Arrow</a></div> \
  </li> \
  <li id=\"last\"> \
    <div><a href=\"/webinfo.htm\">Web Info</a></div> \
    <ul> \
      <li><a href=\"/sitemap.htm\">Site Map</a></li> \
      <li><a href=\"/changelog.htm\">Change Log</a></li> \
      <li><a href=\"/privacy.htm\">Privacy Policy</a></li> \
 </ul>");
 } 

 startList = function() {
  if (document.all&&document.getElementById) {
    navRoot = document.getElementById("nav");
    for (i=0; i<navRoot.childNodes.length; i++) {
        node = navRoot.childNodes[i];
        if (node.nodeName=="LI") {
            node.onmouseover=function() {
                this.className+="over";
            }
            node.onmouseout=function() {
  	    	this.className=this.className.replace("over", "");
   	    }
   	}
    }
  }
}
window.onload=startList;

