 var bo_ns_id = 0;
  
  function startIeFix(){
    if(isIE()){
      document.write('<div id="bo_ns_id_' + bo_ns_id + '"><!-- ');
    }
  }
  
  function endIeFix(){
    if(isIE()){
      document.write('</div>');
      var theObject = document.getElementById("bo_ns_id_" + bo_ns_id++);
      var theCode = theObject.innerHTML;
      theCode = theCode.substring(4 ,9+theCode.indexOf("</object>"))
      document.write(theCode);
    }
  }
  
  function isIE(){
    // only for Win IE 6+
    // But not in Windows 98, Me, NT 4.0, 2000
    var strBrwsr= navigator.userAgent.toLowerCase();
    if(strBrwsr.indexOf("msie") > -1 && strBrwsr.indexOf("mac") < 0){
      if(parseInt(strBrwsr.charAt(strBrwsr.indexOf("msie")+5)) < 6){
        return false;
      }
      if(strBrwsr.indexOf("win98") > -1 ||
         strBrwsr.indexOf("win 9x 4.90") > -1 ||
         strBrwsr.indexOf("winnt4.0") > -1 ||
         strBrwsr.indexOf("windows nt 5.0") > -1)
      {
        return false;
      }
      return true;
    }else{
      return false;
    }
}



  // Rounded Corner Parameters
	$(function(){
        $("#orgBox, #tanBox1, #tanBox2").corner("round 8px");
        $('#mainMenu').wrap('<div id="mainMenuOuter"></div>');
        $("#mainMenu").corner("round 8px").parent().css('padding', '2px').corner("round 10px")
        $('#greenMenu').wrap('<div id="greenOuter"></div>');
        $("#greenMenu").corner("round 8px").parent().css('padding', '2px').corner("round 10px")
        $('#contactMenu').wrap('<div id="contactOuter"></div>');
        $("#contactMenu").corner("round 8px").parent().css('padding', '4px').corner("round 10px")
        $('#progMenu').wrap('<div id="progOuter"></div>');
        $("#progMenu").corner("round 8px").parent().css('padding', '2px').corner("round 10px")
        $('#hqMenu').wrap('<div id="progOuter"></div>');
        $("#hqMenu").corner("round 8px").parent().css('padding', '2px').corner("round 10px")
        });
		
	
/* 
  ================================================
  PVII Uberlink Script
  Copyright (c) 2006 Project Seven Development
  www.projectseven.com
  Version: 1.0.0
  ================================================
*/
function P7_Uberlink(cl,d){
	var i,ob,tA,h=document.location.href;
	if(document.getElementById){
	ob=(d)?document.getElementById(d):document;
	if(ob){
	tA=ob.getElementsByTagName('A');
	for(i=0;i<tA.length;i++){
	if(tA[i].href==h){
	tA[i].className=cl;
}}}}}




//Show Hide Divs Student Stories
function HideContent(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";
}
function ShowContent(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "block";
}
function ReverseContentDisplay(d) {
if(d.length < 1) { return; }
if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
else { document.getElementById(d).style.display = "none"; }
}
 