 function testLayer() {
  if (done && document.layers.testWidth.document.width < 200) {
    for (i=0; i<document.layers.length; i++) {
      document.layers[i].visibility = "hide";
    }
    document.location = document.location;
  }
}

function testLayerInit() {
  if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
    window.onresize = testLayer;
  }
}

testLayerInit();

var bV=parseInt(navigator.appVersion);
mac=(navigator.appVersion.indexOf("Mac") != -1) ? true : false;
NS4=(document.layers) ? true : false;
IE4=((document.all)&&(bV>=4))?true:false;
ver4 = (NS4 || IE4) ? true : false;
hasDOM = (document.getElementById && !IE4) ? true : false;

if (IE4 && !hasDOM) {
  layerDom = "document.all['";
  elemEnd = "']";
  idsDom = "document.all['";
  pLeft = "'].style.pixelLeft";
  pTop = "'].style.pixelTop";
  pHeightS = "'].style.pixelHeight";
  pWidth = "'].style.pixelWidth";
  pWidth2 = "'].style.pixelWidth";
  pWidth3 = (navigator.appVersion.indexOf("MSIE 4.0") != -1) ? "'].scrollWidth" : "'].offsetWidth";
  pHeight = "'].offsetHeight";
  pVis = "'].style.visibility";
  pBgColor = "'].style.backgroundColor";
  V = "visible";
  H = "hidden";
}

if (NS4 && !hasDOM) {
  layerDom = "document.layers['";
  elemEnd = "']";
  idsDom = "document.ids['";
  pLeft = "'].pageX";
  pTop = "'].pageY";
  pHeightS = "'].clip.Height";
  pWidth = "'].width";
  pWidth2 = "'].document.width";
  pWidth3 = "'].document.width";
  pHeight = "'].document.height";
  pVis = "'].visibility";
  pBgColor = "'].bgColor";
  V = "show";
  H = "hide";
}

if (hasDOM) {
  layerDom = "document.getElementById('";
  elemEnd = "')";
  idsDom = "document.getElementById('";
  pLeft = "').style.left";
  pTop = "').style.top";
  pHeightS = "').style.height";
  pWidth = "').style.width";
  pWidth2 = "').offsetWidth";
  pWidth3 = "').offsetWidth";
  pHeight = "').offsetHeight";
  pVis = "').style.visibility";
  pBgColor = "').style.backgroundColor";
  V = "visible";
  H = "hidden";
}
windowWidth = (IE4) ? "document.body.clientWidth" : "window.innerWidth";
initWindowWidth = null;
initWindowHeight = null;
mostHeight = 0;
putOff = new Array();
pO = 0;
objArray = new Array();
x = 0;

function layerPos(n) {
  this.n = n;
  this.l = "";
  this.t = "";
  this.w = "";
  this.v = "";
  this.h = "";
  this.menus = "";
  this.group = "";
  this.bgC = "";
  this.hiC = "";
  this.sub = "";
  objArray[x] = this;
  x++;
}

styleObj = new Array();
s = 0;

function styleObjects(n) {
  this.n = n;
  this.pdL = "";
  this.pdR = "";
  this.pdT = "";
  this.pdB = "";
  styleObj[s] = this;
  s++;
}

//----Layer Positioning Properties

subSpacer = (IE4 || hasDOM) ? 5 : 0;
subSpacer2 = (IE4 && mac) ? 5 : 0;

NSdif = (NS4) ? 15 : 0;

      MyellowBlank = new layerPos("yellowBlank");
      MyellowBlank.l = "427";
      MyellowBlank.t = "0";
      MyellowBlank.w = "getWindowWidth() - 430";
      MyellowBlank.v = "V";
      MyellowBlank.h = "52";
      MyellowBlank.bgC = "#f7f9de";     

      Mheadertext = new layerPos("headertext");
      Mheadertext.l = "getWindowWidth() - 161 - NSdif";
      Mheadertext.t = "0";
      Mheadertext.w = "161";
      Mheadertext.v = "V";
      Mheadertext.h = "52";

      MaboutScccBTNS = new layerPos("aboutScccBTNS");
      MaboutScccBTNS.t = "52";
      MaboutScccBTNS.l = subSpacer2;
      MaboutScccBTNS.w = "1";
      MaboutScccBTNS.v = "V";
      MaboutScccBTNS.h = "-1";
      MaboutScccBTNS.menus = ["breakingBTNS", "campusVisitBTNS", "factsBTNS", "institutionalBTNS", "lifelongBTNS", "missionBTNS","pMessageBTNS", "responseBTNS","tuitionBTNS", "virtourBTNS"];
      MaboutScccBTNS.bgC = "#FFFFFF";
      MaboutScccBTNS.hiC = "#e0f2db";

      Mpipe1 = new layerPos("pipe1");
      Mpipe1.t = "52";
      Mpipe1.l = "getRightNpad('aboutScccBTNS','pipe1')";
      Mpipe1.w = "1";
      Mpipe1.v = "V";
      Mpipe1.h = "-1";
      Mpipe1.bgC = "#FFFFFF";

      MacademicsBTNS = new layerPos("academicsBTNS");
      MacademicsBTNS.t = "52";
      MacademicsBTNS.l = "getRightNpad('pipe1','academicsBTNS')";
      MacademicsBTNS.w = "1";
      MacademicsBTNS.v = "V";
      MacademicsBTNS.h = "-1";
      MacademicsBTNS.menus = ["academicComputingBTNS", "academicDeptBTNS", "academicServicesBTNS", "collCatBTNS", "continuingEdBTNS", "courseCatBTNS", "finskedBTNS", "lrnctrBTNS", "mathlabBTNS", "progreqBTNS", "regisBTNS", "tutsrvBTNS"];
      MacademicsBTNS.bgC = "#FFFFFF";
      MacademicsBTNS.hiC = "#e0f2db";

      Mpipe2 = new layerPos("pipe2");
      Mpipe2.t = "52";
      Mpipe2.l = "getRightNpad('academicsBTNS','pipe2')";
      Mpipe2.w = "1";
      Mpipe2.v = "V";
      Mpipe2.h = "-1";
      Mpipe2.bgC = "#FFFFFF";

      MadmissionsBTNS = new layerPos("admissionsBTNS");
      MadmissionsBTNS.t = "52";
      MadmissionsBTNS.l = "getRightNpad('pipe2','admissionsBTNS')";
      MadmissionsBTNS.w = "1";
      MadmissionsBTNS.v = "V";
      MadmissionsBTNS.h = "-1";
      MadmissionsBTNS.menus = ["earlyAdBTNS", "eopBTNS", "freeAppBTNS",  "isaBTNS", "regis2BTNS", "specAdInfBTNS", "transferBTNS", "tAgreeBTNS"];
      MadmissionsBTNS.bgC = "#FFFFFF";
      MadmissionsBTNS.hiC = "#e0f2db";

      Mpipe3 = new layerPos("pipe3");
      Mpipe3.t = "52";
      Mpipe3.l = "getRightNpad('admissionsBTNS','pipe3')";
      Mpipe3.w = "1";
      Mpipe3.v = "V";
      Mpipe3.h = "-1";
      Mpipe3.bgC = "#FFFFFF";

      MalumniBTNS = new layerPos("alumniBTNS");
      MalumniBTNS.t = "52";
      MalumniBTNS.l = "getRightNpad('pipe3','alumniBTNS')";
      MalumniBTNS.w = "1";
      MalumniBTNS.v = "V";
      MalumniBTNS.h = "-1";
      MalumniBTNS.menus = ["alumMailBTNS", "alumLetterBTNS", "alumServBTNS", "classNotesBTNS", "distinguishedBTNS",  "merchandiseBTNS","alumHonorBTNS"];
      MalumniBTNS.bgC = "#FFFFFF";
      MalumniBTNS.hiC = "#e0f2db";

      Mpipe4 = new layerPos("pipe4");
      Mpipe4.t = "52";
      Mpipe4.l = "getRightNpad('alumniBTNS','pipe4')";
      Mpipe4.w = "1";
      Mpipe4.v = "V";
      Mpipe4.h = "-1";
      Mpipe4.bgC = "#FFFFFF";

      MfacultyBTNS = new layerPos("facultyBTNS");
      MfacultyBTNS.t = "52";
      MfacultyBTNS.l = "getRightNpad('pipe4','facultyBTNS')";
      MfacultyBTNS.w = "1";
      MfacultyBTNS.v = "V";
      MfacultyBTNS.h = "-1";
      MfacultyBTNS.menus = ["alphaListBTNS", "departListBTNS", "officeListBTNS", "searchBTNS"];
      MfacultyBTNS.bgC = "#FFFFFF";
      MfacultyBTNS.hiC = "#e0f2db";

      Mpipe5 = new layerPos("pipe5");
      Mpipe5.t = "52";
      Mpipe5.l = "getRightNpad('facultyBTNS','pipe5')";
      Mpipe5.w = "1";
      Mpipe5.v = "V";
      Mpipe5.h = "-1";
      Mpipe5.bgC = "#FFFFFF";

      MfinancialAidBTNS = new layerPos("financialAidBTNS");
      MfinancialAidBTNS.t = "52";
      MfinancialAidBTNS.l = "getRightNpad('pipe5','financialAidBTNS')";
      MfinancialAidBTNS.w = "1";
      MfinancialAidBTNS.v = "V";
      MfinancialAidBTNS.h = "-1";
      MfinancialAidBTNS.menus = ["campusAidBTNS", "edLoansBTNS", "fedGovGrantsBTNS", "finRightsBTNS", "finAidFormBTNS",  "freeScholarshipBTNS", "iScholarshipsBTNS", "NYSAwardsBTNS", "sapBTNS", "tuitionBookBTNS"];
      MfinancialAidBTNS.bgC = "#FFFFFF";
      MfinancialAidBTNS.hiC = "#e0f2db";

      Mfaq2BTNS = new layerPos("faq2BTNS");
      Mfaq2BTNS.t = "getBottom('aboutScccBTNS')";
      Mfaq2BTNS.l = subSpacer2;
      Mfaq2BTNS.w = "1";
      Mfaq2BTNS.v = "V";
      Mfaq2BTNS.h = "-1";
      Mfaq2BTNS.bgC = "#ffffff";
      Mfaq2BTNS.hiC = "#e0f2db";

      Mpipe7 = new layerPos("pipe7");
      Mpipe7.t = "getBottom('aboutScccBTNS')";
      Mpipe7.l = "getRightNpad('faq2BTNS','pipe7')";
      Mpipe7.w = "1";
      Mpipe7.v = "V";
      Mpipe7.h = "-1";
      Mpipe7.bgC = "#FFFFFF";

      MlibraryBTNS = new layerPos("libraryBTNS");
      MlibraryBTNS.t = "getBottom('aboutScccBTNS')";
      MlibraryBTNS.l = "getRightNpad('pipe7','libraryBTNS')";
      MlibraryBTNS.w = "1";
      MlibraryBTNS.v = "V";
      MlibraryBTNS.h = "-1";
      MlibraryBTNS.menus = ["aboutbegBTNS", "findbkBTNS", "findartclBTNS", "researchBTNS", "itcBTNS"];
      MlibraryBTNS.bgC = "#ffffff";
      MlibraryBTNS.hiC = "#e0f2db";

      Mpipe8 = new layerPos("pipe8");
      Mpipe8.t = "getBottom('aboutScccBTNS')";
      Mpipe8.l = "getRightNpad('libraryBTNS','pipe8')";
      Mpipe8.w = "1";
      Mpipe8.v = "V";
      Mpipe8.h = "-1";
      Mpipe8.bgC = "#FFFFFF";

      MnewsBTNS = new layerPos("newsBTNS");
      MnewsBTNS.t = "getBottom('aboutScccBTNS')";
      MnewsBTNS.l = "getRightNpad('pipe8','newsBTNS')";
      MnewsBTNS.w = "1";
      MnewsBTNS.v = "V";
      MnewsBTNS.h = "-1";
      MnewsBTNS.menus = ["regcalBTNS", "calendarBTNS", "hipaaBTNS", "NYSEquityBTNS", "fsjobsBTNS", "binnekillBTNS", "watchusgrowBTNS"];
      MnewsBTNS.bgC = "#ffffff";
      MnewsBTNS.hiC = "#e0f2db";

      Mpipe9 = new layerPos("pipe9");
      Mpipe9.t = "getBottom('aboutScccBTNS')";
      Mpipe9.l = "getRightNpad('newsBTNS','pipe9')";
      Mpipe9.w = "1";
      Mpipe9.v = "V";
      Mpipe9.h = "-1";
      Mpipe9.bgC = "#FFFFFF";

      MregistrarBTNS = new layerPos("registrarBTNS");
      MregistrarBTNS.t = "getBottom('aboutScccBTNS')";
      MregistrarBTNS.l = "getRightNpad('pipe9','registrarBTNS')";
      MregistrarBTNS.w = "1";
      MregistrarBTNS.v = "V";
      MregistrarBTNS.h = "-1";
      MregistrarBTNS.bgC = "#ffffff";
      MregistrarBTNS.hiC = "#e0f2db";

      Mpipe10 = new layerPos("pipe10");
      Mpipe10.t = "getBottom('aboutScccBTNS')";
      Mpipe10.l = "getRightNpad('registrarBTNS','pipe10')";
      Mpipe10.w = "1";
      Mpipe10.v = "V";
      Mpipe10.h = "-1";
      Mpipe10.bgC = "#FFFFFF";

      MsearchSiteBTNS = new layerPos("searchSiteBTNS");
      MsearchSiteBTNS.t = "getBottom('aboutScccBTNS')";
      MsearchSiteBTNS.l = "getRightNpad('pipe10','searchSiteBTNS')";
      MsearchSiteBTNS.w = "1";
      MsearchSiteBTNS.v = "V";
      MsearchSiteBTNS.h = "-1";
      MsearchSiteBTNS.bgC = "#ffffff";
      MsearchSiteBTNS.hiC = "#e0f2db";

      Mpipe11 = new layerPos("pipe11");
      Mpipe11.t = "getBottom('aboutScccBTNS')";
      Mpipe11.l = "getRightNpad('searchSiteBTNS','pipe11')";
      Mpipe11.w = "1";
      Mpipe11.v = "V";
      Mpipe11.h = "-1";
      Mpipe11.bgC = "#FFFFFF";

      MstudentLifeBTNS = new layerPos("studentLifeBTNS");
      MstudentLifeBTNS.t = "getBottom('aboutScccBTNS')";
      MstudentLifeBTNS.l = "getRightNpad('pipe11','studentLifeBTNS')";
      MstudentLifeBTNS.w = "1";
      MstudentLifeBTNS.v = "V";
      MstudentLifeBTNS.h = "-1";
      MstudentLifeBTNS.menus = ["adviseBTNS", "athleticsBTNS", "jobBTNS", "campusStoreBTNS", "careerBTNS", "eop2BTNS", "housingBTNS", "lrncBTNS", "libertyBTNS", "multiBTNS", "persCounselingBTNS", "serviceDisabledBTNS", "studActBTNS", "sgaBTNS", "transCounselingBTNS"];
      MstudentLifeBTNS.bgC = "#ffffff";
      MstudentLifeBTNS.hiC = "#e0f2db";

      Mpipe12 = new layerPos("pipe12");
      Mpipe12.t = "getBottom('aboutScccBTNS')";
      Mpipe12.l = "getRightNpad('studentLifeBTNS','pipe12')";
      Mpipe12.w = "1";
      Mpipe12.v = "V";
      Mpipe12.h = "-1";
      Mpipe12.bgC = "#FFFFFF";

      MhomeBTNS = new layerPos("homeBTNS");
      MhomeBTNS.t = "getBottom('aboutScccBTNS')";
      MhomeBTNS.l = "getRightNpad('pipe12','homeBTNS')";
      MhomeBTNS.w = "1";
      MhomeBTNS.v = "V";
      MhomeBTNS.h = "-1";
      MhomeBTNS.bgC = "#ffffff";
      MhomeBTNS.hiC = "#e0f2db";

      MbreakingBTNS = new layerPos("breakingBTNS");
      MbreakingBTNS.t = "getBottom('aboutScccBTNS')";
      MbreakingBTNS.l = "getLeft('aboutScccBTNS')";
      MbreakingBTNS.w = "getWindowWidth() / 3";
      MbreakingBTNS.v = "H";
      MbreakingBTNS.h = "-1";
      MbreakingBTNS.bgC = "#e0f2db";
      MbreakingBTNS.hiC = "#f7f9de";

      McampusVisitBTNS = new layerPos("campusVisitBTNS");
      McampusVisitBTNS.t = "getBottom('breakingBTNS') ";
      McampusVisitBTNS.l = "getLeft('aboutScccBTNS')";
      McampusVisitBTNS.w = "getWindowWidth() / 3";
      McampusVisitBTNS.v = "H";
      McampusVisitBTNS.h = "-1";
      McampusVisitBTNS.bgC = "#e0f2db";
      McampusVisitBTNS.hiC = "#f7f9de";

      MinstitutionalBTNS = new layerPos("institutionalBTNS");
      MinstitutionalBTNS.t = "getBottom('campusVisitBTNS') ";
      MinstitutionalBTNS.l = "getLeft('aboutScccBTNS')";
      MinstitutionalBTNS.w = "getWindowWidth() / 3";
      MinstitutionalBTNS.v = "H";
      MinstitutionalBTNS.h = "-1";
      MinstitutionalBTNS.bgC = "#e0f2db";
      MinstitutionalBTNS.hiC = "#f7f9de";

      MlifelongBTNS = new layerPos("lifelongBTNS");
      MlifelongBTNS.t = "getBottom('institutionalBTNS')";
      MlifelongBTNS.l = "getLeft('aboutScccBTNS')";
      MlifelongBTNS.w = "getWindowWidth() / 3";
      MlifelongBTNS.v = "H";
      MlifelongBTNS.h = "-1";
      MlifelongBTNS.bgC = "#e0f2db";
      MlifelongBTNS.hiC = "#f7f9de";

      MmissionBTNS = new layerPos("missionBTNS");
      MmissionBTNS.t = "getBottom('lifelongBTNS')";
      MmissionBTNS.l = "getLeft('aboutScccBTNS')";
      MmissionBTNS.w = "getWindowWidth() / 3";
      MmissionBTNS.v = "H";
      MmissionBTNS.h = "-1";
      MmissionBTNS.bgC = "#e0f2db";
      MmissionBTNS.hiC = "#f7f9de";
      
          
      MpMessageBTNS = new layerPos("pMessageBTNS");
      MpMessageBTNS.t = "getBottom('missionBTNS')";
      MpMessageBTNS.l = "getLeft('aboutScccBTNS')";
      MpMessageBTNS.w = "getWindowWidth() / 3";
      MpMessageBTNS.v = "H";
      MpMessageBTNS.h = "-1";
      MpMessageBTNS.bgC = "#e0f2db";
      MpMessageBTNS.hiC = "#f7f9de";

      MresponseBTNS = new layerPos("responseBTNS");
      MresponseBTNS.t = "getBottom('pMessageBTNS')";
      MresponseBTNS.l = "getLeft('aboutScccBTNS')";
      MresponseBTNS.w = "getWindowWidth() / 3";
      MresponseBTNS.v = "H";
      MresponseBTNS.h = "-1";
      MresponseBTNS.bgC = "#e0f2db";
      MresponseBTNS.hiC = "#f7f9de";

      MfactsBTNS = new layerPos("factsBTNS");
      MfactsBTNS.t = "getBottom('responseBTNS')";
      MfactsBTNS.l = "getLeft('aboutScccBTNS')";
      MfactsBTNS.w = "getWindowWidth() / 3";
      MfactsBTNS.v = "H";
      MfactsBTNS.h = "-1";
      MfactsBTNS.bgC = "#e0f2db";
      MfactsBTNS.hiC = "#f7f9de";

      MtuitionBTNS = new layerPos("tuitionBTNS");
      MtuitionBTNS.t = "getBottom('factsBTNS')";
      MtuitionBTNS.l = "getLeft('aboutScccBTNS')";
      MtuitionBTNS.w = "getWindowWidth() / 3";
      MtuitionBTNS.v = "H";
      MtuitionBTNS.h = "-1";
      MtuitionBTNS.bgC = "#e0f2db";
      MtuitionBTNS.hiC = "#f7f9de";
      
      MvirtourBTNS = new layerPos("virtourBTNS");
      MvirtourBTNS.t = "getBottom('tuitionBTNS')";
      MvirtourBTNS.l = "getLeft('aboutScccBTNS')";
      MvirtourBTNS.w = "getWindowWidth() / 3";
      MvirtourBTNS.v = "H";
      MvirtourBTNS.h = "-1";
      MvirtourBTNS.bgC = "#e0f2db";
      MvirtourBTNS.hiC = "#f7f9de";

      MacademicComputingBTNS = new layerPos("academicComputingBTNS");
      MacademicComputingBTNS.t = "getBottom('academicsBTNS')";
      MacademicComputingBTNS.l = "getLeft('academicsBTNS')";
      MacademicComputingBTNS.w = "getWindowWidth() / 3";
      MacademicComputingBTNS.v = "H";
      MacademicComputingBTNS.h = "-1";
      MacademicComputingBTNS.bgC = "#e0f2db";
      MacademicComputingBTNS.hiC = "#f7f9de";

      MacademicDeptBTNS = new layerPos("academicDeptBTNS");
      MacademicDeptBTNS.t = "getBottom('academicComputingBTNS')";
      MacademicDeptBTNS.l = "getLeft('academicsBTNS')";
      MacademicDeptBTNS.w = "getWindowWidth() / 3";
      MacademicDeptBTNS.v = "H";
      MacademicDeptBTNS.h = "-1";
      MacademicDeptBTNS.bgC = "#e0f2db";
      MacademicDeptBTNS.hiC = "#f7f9de";

      MacademicServicesBTNS = new layerPos("academicServicesBTNS");
      MacademicServicesBTNS.t = "getBottom('academicDeptBTNS')";
      MacademicServicesBTNS.l = "getLeft('academicsBTNS')";
      MacademicServicesBTNS.w = "getWindowWidth() / 3";
      MacademicServicesBTNS.v = "H";
      MacademicServicesBTNS.h = "-1";
      MacademicServicesBTNS.bgC = "#e0f2db";
      MacademicServicesBTNS.hiC = "#f7f9de";

      McollCatBTNS = new layerPos("collCatBTNS");
      McollCatBTNS.t = "getBottom('academicServicesBTNS')";
      McollCatBTNS.l = "getLeft('academicsBTNS')";
      McollCatBTNS.w = "getWindowWidth() / 3";
      McollCatBTNS.v = "H";
      McollCatBTNS.h = "-1";
      McollCatBTNS.bgC = "#e0f2db";
      McollCatBTNS.hiC = "#f7f9de";
      
      McontinuingEdBTNS = new layerPos("continuingEdBTNS");
      McontinuingEdBTNS.t = "getBottom('collCatBTNS')";
      McontinuingEdBTNS.l = "getLeft('academicsBTNS')";
      McontinuingEdBTNS.w = "getWindowWidth() / 3";
      McontinuingEdBTNS.v = "H";
      McontinuingEdBTNS.h = "-1";
      McontinuingEdBTNS.bgC = "#e0f2db";
      McontinuingEdBTNS.hiC = "#f7f9de";

      McourseCatBTNS = new layerPos("courseCatBTNS");
      McourseCatBTNS.t = "getBottom('continuingEdBTNS')";
      McourseCatBTNS.l = "getLeft('academicsBTNS')";
      McourseCatBTNS.w = "getWindowWidth() / 3";
      McourseCatBTNS.v = "H";
      McourseCatBTNS.h = "-1";
      McourseCatBTNS.bgC = "#e0f2db";
      McourseCatBTNS.hiC = "#f7f9de";
      
      MfinskedBTNS = new layerPos("finskedBTNS");
      MfinskedBTNS.t = "getBottom('courseCatBTNS')";
      MfinskedBTNS.l = "getLeft('academicsBTNS')";
      MfinskedBTNS.w = "getWindowWidth() / 3";
      MfinskedBTNS.v = "H";
      MfinskedBTNS.h = "-1";
      MfinskedBTNS.bgC = "#e0f2db";
      MfinskedBTNS.hiC = "#f7f9de";

      MlrnctrBTNS = new layerPos("lrnctrBTNS");
      MlrnctrBTNS.t = "getBottom('finskedBTNS')";
      MlrnctrBTNS.l = "getLeft('academicsBTNS')";
      MlrnctrBTNS.w = "getWindowWidth() / 3";
      MlrnctrBTNS.v = "H";
      MlrnctrBTNS.h = "-1";
      MlrnctrBTNS.bgC = "#e0f2db";
      MlrnctrBTNS.hiC = "#f7f9de";
            
      MmathlabBTNS = new layerPos("mathlabBTNS");
      MmathlabBTNS.t = "getBottom('lrnctrBTNS')";
      MmathlabBTNS.l = "getLeft('academicsBTNS')";
      MmathlabBTNS.w = "getWindowWidth() / 3";
      MmathlabBTNS.v = "H";
      MmathlabBTNS.h = "-1";
      MmathlabBTNS.bgC = "#e0f2db";
      MmathlabBTNS.hiC = "#f7f9de";
              
      MprogreqBTNS = new layerPos("progreqBTNS");
      MprogreqBTNS.t = "getBottom('mathlabBTNS')";
      MprogreqBTNS.l = "getLeft('academicsBTNS')";
      MprogreqBTNS.w = "getWindowWidth() / 3";
      MprogreqBTNS.v = "H";
      MprogreqBTNS.h = "-1";
      MprogreqBTNS.bgC = "#e0f2db";
      MprogreqBTNS.hiC = "#f7f9de";
            
      MregisBTNS = new layerPos("regisBTNS");
      MregisBTNS.t = "getBottom('progreqBTNS')";
      MregisBTNS.l = "getLeft('academicsBTNS')";
      MregisBTNS.w = "getWindowWidth() / 3";
      MregisBTNS.v = "H";
      MregisBTNS.h = "-1";
      MregisBTNS.bgC = "#e0f2db";
      MregisBTNS.hiC = "#f7f9de";

      MtutsrvBTNS = new layerPos("tutsrvBTNS");
      MtutsrvBTNS.t = "getBottom('regisBTNS')";
      MtutsrvBTNS.l = "getLeft('academicsBTNS')";
      MtutsrvBTNS.w = "getWindowWidth() / 3";
      MtutsrvBTNS.v = "H";
      MtutsrvBTNS.h = "-1";
      MtutsrvBTNS.bgC = "#e0f2db";
      MtutsrvBTNS.hiC = "#f7f9de";
      
      MearlyAdBTNS = new layerPos("earlyAdBTNS");
      MearlyAdBTNS.t = "getBottom('admissionsBTNS')";
      MearlyAdBTNS.l = "getLeft('admissionsBTNS')";
      MearlyAdBTNS.w = "getWindowWidth() / 3";
      MearlyAdBTNS.v = "H";
      MearlyAdBTNS.h = "-1";
      MearlyAdBTNS.bgC = "#e0f2db";
      MearlyAdBTNS.hiC = "#f7f9de";

      MeopBTNS = new layerPos("eopBTNS");
      MeopBTNS.t = "getBottom('earlyAdBTNS')";
      MeopBTNS.l = "getLeft('admissionsBTNS')";
      MeopBTNS.w = "getWindowWidth() / 3";
      MeopBTNS.v = "H";
      MeopBTNS.h = "-1";
      MeopBTNS.bgC = "#e0f2db";
      MeopBTNS.hiC = "#f7f9de";

      MfreeAppBTNS = new layerPos("freeAppBTNS");
      MfreeAppBTNS.t = "getBottom('eopBTNS')";
      MfreeAppBTNS.l = "getLeft('admissionsBTNS')";
      MfreeAppBTNS.w = "getWindowWidth() / 3";
      MfreeAppBTNS.v = "H";
      MfreeAppBTNS.h = "-1";
      MfreeAppBTNS.bgC = "#e0f2db";
      MfreeAppBTNS.hiC = "#f7f9de";

      MisaBTNS = new layerPos("isaBTNS");
      MisaBTNS.t = "getBottom('freeAppBTNS')";
      MisaBTNS.l = "getLeft('admissionsBTNS')";
      MisaBTNS.w = "getWindowWidth() / 3";
      MisaBTNS.v = "H";
      MisaBTNS.h = "-1";
      MisaBTNS.bgC = "#e0f2db";
      MisaBTNS.hiC = "#f7f9de";

      Mregis2BTNS = new layerPos("regis2BTNS");
      Mregis2BTNS.t = "getBottom('isaBTNS') ";
      Mregis2BTNS.l = "getLeft('admissionsBTNS')";
      Mregis2BTNS.w = "getWindowWidth() / 3";
      Mregis2BTNS.v = "H";
      Mregis2BTNS.h = "-1";
      Mregis2BTNS.bgC = "#e0f2db";
      Mregis2BTNS.hiC = "#f7f9de";

      MspecAdInfBTNS = new layerPos("specAdInfBTNS");
      MspecAdInfBTNS.t = "getBottom('regis2BTNS')";
      MspecAdInfBTNS.l = "getLeft('admissionsBTNS')";
      MspecAdInfBTNS.w = "getWindowWidth() / 3";
      MspecAdInfBTNS.v = "H";
      MspecAdInfBTNS.h = "-1";
      MspecAdInfBTNS.bgC = "#e0f2db";
      MspecAdInfBTNS.hiC = "#f7f9de";

      MtransferBTNS = new layerPos("transferBTNS");
      MtransferBTNS.t = "getBottom('specAdInfBTNS')";
      MtransferBTNS.l = "getLeft('admissionsBTNS')";
      MtransferBTNS.w = "getWindowWidth() / 3";
      MtransferBTNS.v = "H";
      MtransferBTNS.h = "-1";
      MtransferBTNS.bgC = "#e0f2db";
      MtransferBTNS.hiC = "#f7f9de";

      MtAgreeBTNS = new layerPos("tAgreeBTNS");
      MtAgreeBTNS.t = "getBottom('transferBTNS') ";
      MtAgreeBTNS.l = "getLeft('admissionsBTNS')";
      MtAgreeBTNS.w = "getWindowWidth() / 3";
      MtAgreeBTNS.v = "H";
      MtAgreeBTNS.h = "-1";
      MtAgreeBTNS.bgC = "#e0f2db";
      MtAgreeBTNS.hiC = "#f7f9de";

      MalumMailBTNS = new layerPos("alumMailBTNS");
      MalumMailBTNS.t = "getBottom('alumniBTNS')";
      MalumMailBTNS.l = "getLeft('alumniBTNS')";
      MalumMailBTNS.w = "getWindowWidth() / 3";
      MalumMailBTNS.v = "H";
      MalumMailBTNS.h = "-1";
      MalumMailBTNS.bgC = "#e0f2db";
      MalumMailBTNS.hiC = "#f7f9de";

      MalumLetterBTNS = new layerPos("alumLetterBTNS");
      MalumLetterBTNS.t = "getBottom('alumMailBTNS')";
      MalumLetterBTNS.l = "getLeft('alumniBTNS')";
      MalumLetterBTNS.w = "getWindowWidth() / 3";
      MalumLetterBTNS.v = "H";
      MalumLetterBTNS.h = "-1";
      MalumLetterBTNS.bgC = "#e0f2db";
      MalumLetterBTNS.hiC = "#f7f9de";

      MalumServBTNS = new layerPos("alumServBTNS");
      MalumServBTNS.t = "getBottom('alumLetterBTNS')";
      MalumServBTNS.l = "getLeft('alumniBTNS')";
      MalumServBTNS.w = "getWindowWidth() / 3";
      MalumServBTNS.v = "H";
      MalumServBTNS.h = "-1";
      MalumServBTNS.bgC = "#e0f2db";
      MalumServBTNS.hiC = "#f7f9de";

      MclassNotesBTNS = new layerPos("classNotesBTNS");
      MclassNotesBTNS.t = "getBottom('alumServBTNS')";
      MclassNotesBTNS.l = "getLeft('alumniBTNS')";
      MclassNotesBTNS.w = "getWindowWidth() / 3";
      MclassNotesBTNS.v = "H";
      MclassNotesBTNS.h = "-1";
      MclassNotesBTNS.bgC = "#e0f2db";
      MclassNotesBTNS.hiC = "#f7f9de";

      MdistinguishedBTNS = new layerPos("distinguishedBTNS");
      MdistinguishedBTNS.t = "getBottom('classNotesBTNS')";
      MdistinguishedBTNS.l = "getLeft('alumniBTNS')";
      MdistinguishedBTNS.w = "getWindowWidth() / 3";
      MdistinguishedBTNS.v = "H";
      MdistinguishedBTNS.h = "-1";
      MdistinguishedBTNS.bgC = "#e0f2db";
      MdistinguishedBTNS.hiC = "#f7f9de";

      MmerchandiseBTNS = new layerPos("merchandiseBTNS");
      MmerchandiseBTNS.t = "getBottom('distinguishedBTNS')";
      MmerchandiseBTNS.l = "getLeft('alumniBTNS')";
      MmerchandiseBTNS.w = "getWindowWidth() / 3";
      MmerchandiseBTNS.v = "H";
      MmerchandiseBTNS.h = "-1";
      MmerchandiseBTNS.bgC = "#e0f2db";
      MmerchandiseBTNS.hiC = "#f7f9de";

      MalumHonorBTNS = new layerPos("alumHonorBTNS");
      MalumHonorBTNS.t = "getBottom('merchandiseBTNS')";
      MalumHonorBTNS.l = "getLeft('alumniBTNS')";
      MalumHonorBTNS.w = "getWindowWidth() / 3";
      MalumHonorBTNS.v = "H";
      MalumHonorBTNS.h = "-1";
      MalumHonorBTNS.bgC = "#e0f2db";
      MalumHonorBTNS.hiC = "#f7f9de";

      MalphaListBTNS = new layerPos("alphaListBTNS");
      MalphaListBTNS.t = "getBottom('facultyBTNS')";
      MalphaListBTNS.l = "getLeft('facultyBTNS')";
      MalphaListBTNS.w = "getWindowWidth() / 3";
      MalphaListBTNS.v = "H";
      MalphaListBTNS.h = "-1";
      MalphaListBTNS.bgC = "#e0f2db";
      MalphaListBTNS.hiC = "#f7f9de";

      MdepartListBTNS = new layerPos("departListBTNS");
      MdepartListBTNS.t = "getBottom('alphaListBTNS')";
      MdepartListBTNS.l = "getLeft('facultyBTNS')";
      MdepartListBTNS.w = "getWindowWidth() / 3";
      MdepartListBTNS.v = "H";
      MdepartListBTNS.h = "-1";
      MdepartListBTNS.bgC = "#e0f2db";
      MdepartListBTNS.hiC = "#f7f9de";

      MofficeListBTNS = new layerPos("officeListBTNS");
      MofficeListBTNS.t = "getBottom('departListBTNS')";
      MofficeListBTNS.l = "getLeft('facultyBTNS')";
      MofficeListBTNS.w = "getWindowWidth() / 3";
      MofficeListBTNS.v = "H";
      MofficeListBTNS.h = "-1";
      MofficeListBTNS.bgC = "#e0f2db";
      MofficeListBTNS.hiC = "#f7f9de";

      MsearchBTNS = new layerPos("searchBTNS");
      MsearchBTNS.t = "getBottom('officeListBTNS')";
      MsearchBTNS.l = "getLeft('facultyBTNS')";
      MsearchBTNS.w = "getWindowWidth() / 3";
      MsearchBTNS.v = "H";
      MsearchBTNS.h = "-1";
      MsearchBTNS.bgC = "#e0f2db";
      MsearchBTNS.hiC = "#f7f9de";

      McampusAidBTNS = new layerPos("campusAidBTNS");
      McampusAidBTNS.t = "getBottom('financialAidBTNS')";
      McampusAidBTNS.l = "getLeft('financialAidBTNS')";
      McampusAidBTNS.w = "getWindowWidth() / 3";
      McampusAidBTNS.v = "H";
      McampusAidBTNS.h = "-1";
      McampusAidBTNS.bgC = "#e0f2db";
      McampusAidBTNS.hiC = "#f7f9de";

      MedLoansBTNS = new layerPos("edLoansBTNS");
      MedLoansBTNS.t = "getBottom('campusAidBTNS') ";
      MedLoansBTNS.l = "getLeft('financialAidBTNS')";
      MedLoansBTNS.w = "getWindowWidth() / 3";
      MedLoansBTNS.v = "H";
      MedLoansBTNS.h = "-1";
      MedLoansBTNS.bgC = "#e0f2db";
      MedLoansBTNS.hiC = "#f7f9de";

      MfedGovGrantsBTNS = new layerPos("fedGovGrantsBTNS");
      MfedGovGrantsBTNS.t = "getBottom('edLoansBTNS')";
      MfedGovGrantsBTNS.l = "getLeft('financialAidBTNS')";
      MfedGovGrantsBTNS.w = "getWindowWidth() / 3";
      MfedGovGrantsBTNS.v = "H";
      MfedGovGrantsBTNS.h = "-1";
      MfedGovGrantsBTNS.bgC = "#e0f2db";
      MfedGovGrantsBTNS.hiC = "#f7f9de";

      MfinRightsBTNS = new layerPos("finRightsBTNS");
      MfinRightsBTNS.t = "getBottom('fedGovGrantsBTNS') -1";
      MfinRightsBTNS.l = "getLeft('financialAidBTNS')";
      MfinRightsBTNS.w = "getWindowWidth() / 3";
      MfinRightsBTNS.v = "H";
      MfinRightsBTNS.h = "-1";
      MfinRightsBTNS.bgC = "#e0f2db";
      MfinRightsBTNS.hiC = "#f7f9de";

      MfinAidFormBTNS = new layerPos("finAidFormBTNS");
      MfinAidFormBTNS.t = "getBottom('finRightsBTNS')";
      MfinAidFormBTNS.l = "getLeft('financialAidBTNS')";
      MfinAidFormBTNS.w = "getWindowWidth() / 3";
      MfinAidFormBTNS.v = "H";
      MfinAidFormBTNS.h = "-1";
      MfinAidFormBTNS.bgC = "#e0f2db";
      MfinAidFormBTNS.hiC = "#f7f9de";

      MfreeScholarshipBTNS = new layerPos("freeScholarshipBTNS");
      MfreeScholarshipBTNS.t = "getBottom('finAidFormBTNS') ";
      MfreeScholarshipBTNS.l = "getLeft('financialAidBTNS')";
      MfreeScholarshipBTNS.w = "getWindowWidth() / 3";
      MfreeScholarshipBTNS.v = "H";
      MfreeScholarshipBTNS.h = "-1";
      MfreeScholarshipBTNS.bgC = "#e0f2db";
      MfreeScholarshipBTNS.hiC = "#f7f9de";

      MiScholarshipsBTNS = new layerPos("iScholarshipsBTNS");
      MiScholarshipsBTNS.t = "getBottom('freeScholarshipBTNS')";
      MiScholarshipsBTNS.l = "getLeft('financialAidBTNS')";
      MiScholarshipsBTNS.w = "getWindowWidth() / 3";
      MiScholarshipsBTNS.v = "H";
      MiScholarshipsBTNS.h = "-1";
      MiScholarshipsBTNS.bgC = "#e0f2db";
      MiScholarshipsBTNS.hiC = "#f7f9de";

      MNYSAwardsBTNS = new layerPos("NYSAwardsBTNS");
      MNYSAwardsBTNS.t = "getBottom('iScholarshipsBTNS')";
      MNYSAwardsBTNS.l = "getLeft('financialAidBTNS')";
      MNYSAwardsBTNS.w = "getWindowWidth() / 3";
      MNYSAwardsBTNS.v = "H";
      MNYSAwardsBTNS.h = "-1";
      MNYSAwardsBTNS.bgC = "#e0f2db";
      MNYSAwardsBTNS.hiC = "#f7f9de";

      MsapBTNS = new layerPos("sapBTNS");
      MsapBTNS.t = "getBottom('NYSAwardsBTNS')";
      MsapBTNS.l = "getLeft('financialAidBTNS')";
      MsapBTNS.w = "getWindowWidth() / 3";
      MsapBTNS.v = "H";
      MsapBTNS.h = "-1";
      MsapBTNS.bgC = "#e0f2db";
      MsapBTNS.hiC = "#f7f9de";

      MtuitionBookBTNS = new layerPos("tuitionBookBTNS");
      MtuitionBookBTNS.t = "getBottom('sapBTNS')";
      MtuitionBookBTNS.l = "getLeft('financialAidBTNS')";
      MtuitionBookBTNS.w = "getWindowWidth() / 3";
      MtuitionBookBTNS.v = "H";
      MtuitionBookBTNS.h = "-1";
      MtuitionBookBTNS.bgC = "#e0f2db";
      MtuitionBookBTNS.hiC = "#f7f9de";

      MaboutbegBTNS = new layerPos("aboutbegBTNS");
      MaboutbegBTNS.t = "getBottom('libraryBTNS')";
      MaboutbegBTNS.l = "getLeft('libraryBTNS')";
      MaboutbegBTNS.w = "getWindowWidth() / 3";
      MaboutbegBTNS.v = "H";
      MaboutbegBTNS.h = "-1";
      MaboutbegBTNS.bgC = "#e0f2db";
      MaboutbegBTNS.hiC = "#f7f9de";

      MfindbkBTNS = new layerPos("findbkBTNS");
      MfindbkBTNS.t = "getBottom('aboutbegBTNS')";
      MfindbkBTNS.l = "getLeft('libraryBTNS')";
      MfindbkBTNS.w = "getWindowWidth() / 3";
      MfindbkBTNS.v = "H";
      MfindbkBTNS.h = "-1";
      MfindbkBTNS.bgC = "#e0f2db";
      MfindbkBTNS.hiC = "#f7f9de";

      MfindartclBTNS = new layerPos("findartclBTNS");
      MfindartclBTNS.t = "getBottom('findbkBTNS')";
      MfindartclBTNS.l = "getLeft('libraryBTNS')";
      MfindartclBTNS.w = "getWindowWidth() / 3";
      MfindartclBTNS.v = "H";
      MfindartclBTNS.h = "-1";
      MfindartclBTNS.bgC = "#e0f2db";
      MfindartclBTNS.hiC = "#f7f9de";

      MresearchBTNS = new layerPos("researchBTNS");
      MresearchBTNS.t = "getBottom('findartclBTNS')";
      MresearchBTNS.l = "getLeft('libraryBTNS')";
      MresearchBTNS.w = "getWindowWidth() / 3";
      MresearchBTNS.v = "H";
      MresearchBTNS.h = "-1";
      MresearchBTNS.bgC = "#e0f2db";
      MresearchBTNS.hiC = "#f7f9de";

      MitcBTNS = new layerPos("itcBTNS");
      MitcBTNS.t = "getBottom('researchBTNS') ";
      MitcBTNS.l = "getLeft('libraryBTNS')";
      MitcBTNS.w = "getWindowWidth() / 3";
      MitcBTNS.v = "H";
      MitcBTNS.h = "-1";
      MitcBTNS.bgC = "#e0f2db";
      MitcBTNS.hiC = "#f7f9de";
      
      MregcalBTNS = new layerPos("regcalBTNS");
      MregcalBTNS.t = "getBottom('newsBTNS')";
      MregcalBTNS.l = "getLeft('newsBTNS')";
      MregcalBTNS.w = "getWindowWidth() / 3";
      MregcalBTNS.v = "H";
      MregcalBTNS.h = "-1";
      MregcalBTNS.bgC = "#e0f2db";
      MregcalBTNS.hiC = "#f7f9de";
      
      McalendarBTNS = new layerPos("calendarBTNS");
      McalendarBTNS.t = "getBottom('regcalBTNS')";
      McalendarBTNS.l = "getLeft('newsBTNS')";
      McalendarBTNS.w = "getWindowWidth() / 3";
      McalendarBTNS.v = "H";
      McalendarBTNS.h = "-1";
      McalendarBTNS.bgC = "#e0f2db";
      McalendarBTNS.hiC = "#f7f9de";

      MhipaaBTNS = new layerPos("hipaaBTNS");
      MhipaaBTNS.t = "getBottom('calendarBTNS')";
      MhipaaBTNS.l = "getLeft('newsBTNS')";
      MhipaaBTNS.w = "getWindowWidth() / 3";
      MhipaaBTNS.v = "H";
      MhipaaBTNS.h = "-1";
      MhipaaBTNS.bgC = "#e0f2db";
      MhipaaBTNS.hiC = "#f7f9de";

      MNYSEquityBTNS = new layerPos("NYSEquityBTNS");
      MNYSEquityBTNS.t = "getBottom('hipaaBTNS')";
      MNYSEquityBTNS.l = "getLeft('newsBTNS')";
      MNYSEquityBTNS.w = "getWindowWidth() / 3";
      MNYSEquityBTNS.v = "H";
      MNYSEquityBTNS.h = "-1";
      MNYSEquityBTNS.bgC = "#e0f2db";
      MNYSEquityBTNS.hiC = "#f7f9de";

      MfsjobsBTNS = new layerPos("fsjobsBTNS");
      MfsjobsBTNS.t = "getBottom('NYSEquityBTNS')";
      MfsjobsBTNS.l = "getLeft('newsBTNS')";
      MfsjobsBTNS.w = "getWindowWidth() / 3";
      MfsjobsBTNS.v = "H";
      MfsjobsBTNS.h = "-1";
      MfsjobsBTNS.bgC = "#e0f2db";
      MfsjobsBTNS.hiC = "#f7f9de";
      
      MbinnekillBTNS = new layerPos("binnekillBTNS");
      MbinnekillBTNS.t = "getBottom('fsjobsBTNS')";
      MbinnekillBTNS.l = "getLeft('newsBTNS')";
      MbinnekillBTNS.w = "getWindowWidth() / 3";
      MbinnekillBTNS.v = "H";
      MbinnekillBTNS.h = "-1";
      MbinnekillBTNS.bgC = "#e0f2db";
      MbinnekillBTNS.hiC = "#f7f9de";

      MwatchusgrowBTNS = new layerPos("watchusgrowBTNS");
      MwatchusgrowBTNS.t = "getBottom('binnekillBTNS')";
      MwatchusgrowBTNS.l = "getLeft('newsBTNS')";
      MwatchusgrowBTNS.w = "getWindowWidth() / 3";
      MwatchusgrowBTNS.v = "H";
      MwatchusgrowBTNS.h = "-1";
      MwatchusgrowBTNS.bgC = "#e0f2db";
      MwatchusgrowBTNS.hiC = "#f7f9de";

      MadviseBTNS = new layerPos("adviseBTNS");
      MadviseBTNS.t = "getBottom('studentLifeBTNS')";
      MadviseBTNS.l = "getLeft('studentLifeBTNS')";
      MadviseBTNS.w = "getWindowWidth() / 3";
      MadviseBTNS.v = "H";
      MadviseBTNS.h = "-1";
      MadviseBTNS.bgC = "#e0f2db";
      MadviseBTNS.hiC = "#f7f9de";

      MathleticsBTNS = new layerPos("athleticsBTNS");
      MathleticsBTNS.t = "getBottom('adviseBTNS')";
      MathleticsBTNS.l = "getLeft('studentLifeBTNS')";
      MathleticsBTNS.w = "getWindowWidth() / 3";
      MathleticsBTNS.v = "H";
      MathleticsBTNS.h = "-1";
      MathleticsBTNS.bgC = "#e0f2db";
      MathleticsBTNS.hiC = "#f7f9de";

      MjobBTNS = new layerPos("jobBTNS");
      MjobBTNS.t = "getBottom('athleticsBTNS')";
      MjobBTNS.l = "getLeft('studentLifeBTNS')";
      MjobBTNS.w = "getWindowWidth() / 3";
      MjobBTNS.v = "H";
      MjobBTNS.h = "-1";
      MjobBTNS.bgC = "#e0f2db";
      MjobBTNS.hiC = "#f7f9de";
      
      McampusStoreBTNS = new layerPos("campusStoreBTNS");
      McampusStoreBTNS.t = "getBottom('jobBTNS') ";
      McampusStoreBTNS.l = "getLeft('studentLifeBTNS')";
      McampusStoreBTNS.w = "getWindowWidth() / 3";
      McampusStoreBTNS.v = "H";
      McampusStoreBTNS.h = "-1";
      McampusStoreBTNS.bgC = "#e0f2db";
      McampusStoreBTNS.hiC = "#f7f9de";

      McareerBTNS = new layerPos("careerBTNS");
      McareerBTNS.t = "getBottom('campusStoreBTNS')";
      McareerBTNS.l = "getLeft('studentLifeBTNS')";
      McareerBTNS.w = "getWindowWidth() / 3";
      McareerBTNS.v = "H";
      McareerBTNS.h = "-1";
      McareerBTNS.bgC = "#e0f2db";
      McareerBTNS.hiC = "#f7f9de";

      Meop2BTNS = new layerPos("eop2BTNS");
      Meop2BTNS.t = "getBottom('careerBTNS')";
      Meop2BTNS.l = "getLeft('studentLifeBTNS')";
      Meop2BTNS.w = "getWindowWidth() / 3";
      Meop2BTNS.v = "H";
      Meop2BTNS.h = "-1";
      Meop2BTNS.bgC = "#e0f2db";
      Meop2BTNS.hiC = "#f7f9de";

      MhousingBTNS = new layerPos("housingBTNS");
      MhousingBTNS.t = "getBottom('eop2BTNS') ";
      MhousingBTNS.l = "getLeft('studentLifeBTNS')";
      MhousingBTNS.w = "getWindowWidth() / 3";
      MhousingBTNS.v = "H";
      MhousingBTNS.h = "-1";
      MhousingBTNS.bgC = "#e0f2db";
      MhousingBTNS.hiC = "#f7f9de";
     
      MlrncBTNS = new layerPos("lrncBTNS");
      MlrncBTNS.t = "getBottom('housingBTNS')";
      MlrncBTNS.l = "getLeft('studentLifeBTNS')";
      MlrncBTNS.w = "getWindowWidth() / 3";
      MlrncBTNS.v = "H";
      MlrncBTNS.h = "-1";
      MlrncBTNS.bgC = "#e0f2db";
      MlrncBTNS.hiC = "#f7f9de";
      
      MlibertyBTNS = new layerPos("libertyBTNS");
      MlibertyBTNS.t = "getBottom('lrncBTNS')";
      MlibertyBTNS.l = "getLeft('studentLifeBTNS')";
      MlibertyBTNS.w = "getWindowWidth() / 3";
      MlibertyBTNS.v = "H";
      MlibertyBTNS.h = "-1";
      MlibertyBTNS.bgC = "#e0f2db";
      MlibertyBTNS.hiC = "#f7f9de";

      MmultiBTNS = new layerPos("multiBTNS");
      MmultiBTNS.t = "getBottom('libertyBTNS') ";
      MmultiBTNS.l = "getLeft('studentLifeBTNS')";
      MmultiBTNS.w = "getWindowWidth() / 3";
      MmultiBTNS.v = "H";
      MmultiBTNS.h = "-1";
      MmultiBTNS.bgC = "#e0f2db";
      MmultiBTNS.hiC = "#f7f9de";

      MpersCounselingBTNS = new layerPos("persCounselingBTNS");
      MpersCounselingBTNS.t = "getBottom('multiBTNS')";
      MpersCounselingBTNS.l = "getLeft('studentLifeBTNS')";
      MpersCounselingBTNS.w = "getWindowWidth() / 3";
      MpersCounselingBTNS.v = "H";
      MpersCounselingBTNS.h = "-1";
      MpersCounselingBTNS.bgC = "#e0f2db";
      MpersCounselingBTNS.hiC = "#f7f9de";

      MserviceDisabledBTNS = new layerPos("serviceDisabledBTNS");
      MserviceDisabledBTNS.t = "getBottom('persCounselingBTNS') ";
      MserviceDisabledBTNS.l = "getLeft('studentLifeBTNS')";
      MserviceDisabledBTNS.w = "getWindowWidth() / 3";
      MserviceDisabledBTNS.v = "H";
      MserviceDisabledBTNS.h = "-1";
      MserviceDisabledBTNS.bgC = "#e0f2db";
      MserviceDisabledBTNS.hiC = "#f7f9de";

      MstudActBTNS = new layerPos("studActBTNS");
      MstudActBTNS.t = "getBottom('serviceDisabledBTNS')";
      MstudActBTNS.l = "getLeft('studentLifeBTNS')";
      MstudActBTNS.w = "getWindowWidth() / 3";
      MstudActBTNS.v = "H";
      MstudActBTNS.h = "-1";
      MstudActBTNS.bgC = "#e0f2db";
      MstudActBTNS.hiC = "#f7f9de";

      MsgaBTNS = new layerPos("sgaBTNS");
      MsgaBTNS.t = "getBottom('studActBTNS') ";
      MsgaBTNS.l = "getLeft('studentLifeBTNS')";
      MsgaBTNS.w = "getWindowWidth() / 3";
      MsgaBTNS.v = "H";
      MsgaBTNS.h = "-1";
      MsgaBTNS.bgC = "#e0f2db";
      MsgaBTNS.hiC = "#f7f9de"; 

      MtransCounselingBTNS = new layerPos("transCounselingBTNS");
      MtransCounselingBTNS.t = "getBottom('sgaBTNS')";
      MtransCounselingBTNS.l = "getLeft('studentLifeBTNS')";
      MtransCounselingBTNS.w = "getWindowWidth() / 3";
      MtransCounselingBTNS.v = "H";
      MtransCounselingBTNS.h = "-1";
      MtransCounselingBTNS.bgC = "#e0f2db";
      MtransCounselingBTNS.hiC = "#f7f9de";

//----End Layer Position Properties
  
function getBottom(what) {
  vPad = 0;
  if (navigator.appVersion.indexOf("MSIE 4") != -1 && mac) {
    classN = eval(layerDom+what+"'].className");
    if (eval("typeof "+classN) != "undefined") { 
      vPad = eval(classN+".pdB");
    }
  }
  refV = parseInt(eval(layerDom+what+pTop)) + parseInt(eval(layerDom+what+pHeight)) + vPad;
  return refV;
}

function getLowestBottom() {
  refV = 0;
  for (j=0;j<getLowestBottom.arguments.length;j++) {
    thisBottom = parseInt(eval(layerDom+getLowestBottom.arguments[j]+pTop)) + parseInt(eval(layerDom+getLowestBottom.arguments[j]+pHeight));
    refV = (thisBottom > refV) ? thisBottom : refV;
  }
  return refV;
}

function getGreatestHeight() {
  refV = 0;
  for (j=0;j<getGreatestHeight.arguments.length;j++) {
    thisHeight = parseInt(eval(layerDom+getGreatestHeight.arguments[j]+pHeight));
    refV = (thisHeight > refV) ? thisHeight : refV;
  }
  return refV;
}

function getRight(what) {
  refV = parseInt(eval(layerDom+what+pLeft)) + parseInt(eval(layerDom+what+pWidth3));
  return refV;
}

function getRightNpad(what,me) {
  hPad = 0;
  if (mac && navigator.appVersion.indexOf("MSIE 4.0") != -1) {
    classN = eval(layerDom+what+"'].className");
    if (eval("typeof "+classN) != "undefined") { 
      hPad = eval(classN+".pdR");
    }
    if (eval("typeof "+classN) != "undefined") { 
      hPad += eval(classN+".pdL");
    }
  }
  if (mac && navigator.appVersion.indexOf("MSIE 4.5") != -1) {
    classN = eval(layerDom+what+"'].className");
    if (eval("typeof "+classN) != "undefined") { 
      hPad = eval(classN+".pdR") + eval(classN+".pdL");
    }
  }
  refV = parseInt(eval(layerDom+what+pLeft)) + parseInt(eval(layerDom+what+pWidth3)) + hPad;
  return refV;
}

function getWidth(what) {
  refV = parseInt(eval(layerDom+what+pWidth2));
  return refV;
}
  
function getTop(what) {
  refV = parseInt(eval(layerDom+what+pTop));
  return refV;
}

function getLeft(what) {
  refV = parseInt(eval(layerDom+what+pLeft));
  return refV;
}

function getHeight(what) {
  refV = parseInt(eval(layerDom+what+pHeightS));
  return refV;
}

// getReacademicsderFromRight will only work when the referenced layer's left property is fixed

function getReacademicsderFromRight(what) {
  whatLeft = eval("M"+what+".l");
  whatWidth = parseInt(eval(idsDom+what+pWidth));
  theWindow = eval(windowWidth);
  refV = theWindow - whatLeft;
  refV = refV - whatWidth;
  return refV;
}

sWWidth = null;

function getWindowWidth() {
  refV = (IE4 && !hasDOM) ? document.body.clientWidth : parseInt(window.innerWidth);
  refV = (refV < 600) ? 600 : refV;
  sWWidth = refV;
  return refV;
}

function getDocumentHeight() {
  scrollH = (IE4) ? mostHeight : document.height; //DOM needs to be addressed here?
  clientH = (IE4 && !hasDOM) ? document.body.clientHeight : parseInt(window.innerHeight);
  refV = (clientH > scrollH) ? clientH : scrollH;
  return refV;
}

function getWindowHeight() {
  scrollOff = (mac) ? 0 : 5;
  refV = (IE4 && !hasDOM) ? document.body.clientHeight - scrollOff : parseInt(window.innerHeight);
  return refV;
}

function doWidths() {
  for (j=0;j<objArray.length;j++) {
    whatSetting = eval(objArray[j].w);
    if (whatSetting != -1) {
      eval(idsDom+objArray[j].n+pWidth+" = "+whatSetting);
    }
  }
}

function doStyles() {
  for (i=0;i<styleObj.length;i++) {
    if (NS4 && !hasDOM) {
      eval("document.classes."+styleObj[i].n+".all.paddingLeft = styleObj[i].pdL");
      eval("document.classes."+styleObj[i].n+".all.paddingRight = styleObj[i].pdR");
      eval("document.classes."+styleObj[i].n+".all.paddingBottom = styleObj[i].pdB");
      eval("document.classes."+styleObj[i].n+".all.paddingTop = styleObj[i].pdT");
    }
    if (IE4 && !hasDOM) {
      eval("document.styleSheets[0].addRule('."+styleObj[i].n+"','padding-left: "+styleObj[i].pdL+"px;')");
      eval("document.styleSheets[0].addRule('."+styleObj[i].n+"','padding-right: "+styleObj[i].pdR+"px;')");
      eval("document.styleSheets[0].addRule('."+styleObj[i].n+"','padding-bottom: "+styleObj[i].pdB+"px;')");
      eval("document.styleSheets[0].addRule('."+styleObj[i].n+"','padding-top: "+styleObj[i].pdT+"px;')");
    }
  }
}

elCount=0;
done = null;

function checkLoad() {
  //if (NS4 && elCount > 0 && !document.layers) { document.location = document.location };
  if (elCount < objArray.length) {
    if (NS4 && document.location.href.indexOf("#") != -1 && elCount == 4) { document.location = document.location; }
    testObj = eval(layerDom+objArray[elCount].n+elemEnd);
    if (typeof testObj != "undefined") {
      doIt(elCount);
      elCount = elCount + 1;
    }
  } else {
    clearInterval(blah);
    done = true;
    initEvents();

  }
}

function doIt(objI) {
    whatWidth = eval(objArray[objI].w);
    if (IE4 || hasDOM && whatWidth > 1) {
      eval(layerDom+objArray[objI].n+pWidth+" = "+whatWidth);
    } else if (IE4) {
      naturalWidth = eval(layerDom+objArray[objI].n+pWidth3);
      eval(layerDom+objArray[objI].n+pWidth+" = "+naturalWidth);
    }
    whatLeft = eval(objArray[objI].l);
    eval(layerDom+objArray[objI].n+pLeft+" = "+whatLeft);
    if (IE4 || hasDOM && eval(objArray[objI].bgC.length > 0)) {
      whatbgC = objArray[objI].bgC;
      eval(layerDom+objArray[objI].n+pBgColor+" = '"+whatbgC+"'");
    }
    whatHeight = eval(objArray[objI].h);
    if (whatHeight != -1) { 
      eval(layerDom+objArray[objI].n+pHeightS+" = "+whatHeight);
    } else if (IE4 && !hasDOM) {
      naturalHeight = eval(layerDom+objArray[objI].n+pHeight);
      eval(layerDom+objArray[objI].n+pHeightS+" = "+naturalHeight);
    }
    whatTop = eval(objArray[objI].t);
    eval(layerDom+objArray[objI].n+pTop+" = "+whatTop);
    whatVis = eval(objArray[objI].v);
    eval(layerDom+objArray[objI].n+pVis+" = '"+whatVis+"'");
}

if (NS4) { doWidths(); }
blah = setInterval("checkLoad()",1);

// functions for menus

lastOverButton = null;
lastMenu = new Array();
lastButton = null;
moveObj = null;
mouseLbM = null;
mouseRbM = null;
mouseTbM = null;
mouseBbM = null;
mouseLbS = null;
mouseRbS = null;
mouseTbS = null;
mouseBbS = null;
butT = null;
butB = null;
butL = null;
butR = null;
layerC = null;

function initEvents() {
  if (NS4 && !hasDOM) {
    layerC = setInterval("testLayer()",200);
    captureEvents(Event.MOUSEOVER);
    onmouseover = checkMouseOver;
    captureEvents(Event.MOUSEMOVE);
    onmousemove = checkMouseMove;
    captureEvents(Event.MOUSEUP);
    onmouseup = checkBTNClick;
  } else if (IE4 && !hasDOM) {
    document.onmousemove = checkMouseMove;
  } else if (hasDOM) {
    document.addEventListener('mousemove', checkMouseMove, true);
  }
}

function cancelEvents() {
  if (NS4 && !hasDOM) {
    releaseEvents(Event.MOUSEOVER);
    releaseEvents(Event.MOUSEUP);
    releaseEvents(Event.MOUSEMOVE);
    if (layerC) { clearInterval(layerC); }
  }
}

function checkBTNClick(e) {
  if (lastButton) {
    if (lastButton.indexOf("BTN") != -1) {
      goLink(lastButton);
    }
  }
}

function findParentDiv(what) {
  if (IE4 && !hasDOM) {
    elem = what.parentElement;
    while (elem.tagName != "DIV") {
      elem = elem.parentElement;
      if (elem.tagName == "BODY") {
        elemId = null;
        break;
      }
    }
  } else if (hasDOM) {
    elem = what.parentNode;
    while (elem.nodeName != "DIV") {
      elem = elem.parentNode;
      if (elem.nodeName == "#document") {
        elemId = null;
        break;
      }
    }
  }
  elemId = elem.id;
  return elemId;
}

saveBtnO = 0;
saveList = null;

function checkMouseOver(e) {
  what = null;
  if (IE4 && !hasDOM) {
    if (event.srcElement.tagName == "DIV") {
      what = event.srcElement.id;
    } else {
      what = findParentDiv(event.srcElement);
    }
  } else if (NS4 && !hasDOM) {
    what = e.target.name;
    if (!e.target.name || what == "undefined" || !what) { 
      what = null;
    }
  } else if (hasDOM) {
    if (e.nodeName == "DIV") {
      what = e.id;
    } else {
      what = findParentDiv(e);
    }
  }

  if (what && what != lastButton && what.indexOf("BTN") != -1) {
    if (saveBtnO == 0) {
      saveBtnO = 1;
      btnOver(what);
    } else {
      saveList = what;
    }
  }
}

function btnOver(what) {
  subs = eval("M"+what+".menus");
  if (subs.length > 0 && done) {
    setMoveBounds(what,subs[0],subs[subs.length-1]);
  }  
  setButtonBounds(what);
}

function btnOut(what) {
  btn = (what != "useLast") ? what : lastButton;
  bgC = eval("M"+btn+".bgC");
  eval(layerDom+btn+pBgColor+" = '"+bgC+"'");
  lastButton = null;
}

function resetNcheck(what,topSub,bottomSub,mY,mX) {
  mouseTbM = getTop(what);
  mouseBbM = getBottom(what);
  mouseLbM = getLeft(what);
  mouseRbM = getRight(what);
  mouseTbS = getTop(topSub);
  mouseBbS = getBottom(bottomSub);
  mouseLbS = getLeft(bottomSub);
  mouseRbS = getRight(bottomSub);
  whichBottom = (mX < mouseLbS) ? mouseBbM : mouseBbS;
  whichTop = (mX < mouseLbS) ? mouseTbM : mouseTbS;
  if (mY < whichTop || mY > whichBottom || mX < mouseLbM || mX > mouseRbS) {
    hideLastMenu();
    return false;
  } else {
    return true;
  }
}

function checkMouseMove(e) {
  //test = false;
  x = lastMenu.length;
  mY = (NS4 || hasDOM) ? e.pageY : event.clientY + document.body.scrollTop;
  mX = (NS4 || hasDOM) ? e.pageX : event.clientX + document.body.scrollLeft;
  if (lastMenu[x-1]) {
      whichRight = (mY < mouseBbM) ? mouseRbM : mouseRbS;
      if (mY < mouseTbM || mY > mouseBbS || mX < mouseLbS || mX > whichRight) {
        hideLastMenu();
    } 
  }
  if (lastButton) {
    if (lastButton.indexOf("BTN") != -1) {
      if (mY < butT || mY > butB || mX < butL || mX > butR) {
        btnOut(lastButton);
      }
    }
  } else if (saveList) {
    btnOver(saveList);
    saveList = null;
  }
}

function hideLastMenu() {
  x = lastMenu.length;
  if (lastMenu[x-1]) {
    subs = eval("M"+lastMenu[x-1]+".menus");
    if (subs.length > 0) {
      for (i=0;i<subs.length;i++) {
        eval(layerDom+subs[i]+pVis+" = '"+H+"'");
      }
    }
    lastMenu = lastMenu.slice(0,x-1);
  }
}

function setMoveBounds(what,topSub,bottomSub) {
  slot = 0;
  x = lastMenu.length;
  if (slot <= x) {
    for (j=x-1;j>slot-1;j--) {
      if (lastMenu[j] != what) { hideLastMenu(); }
    }
  }
  lastMenu[slot] = what;
  if (eval(layerDom+what+elemEnd)) {
    mouseTbM = getTop(what);
    mouseBbM = getBottom(what);
    mouseLbM = getLeft(what);
    mouseRbM = getRight(what);
    mouseTbS = getTop(topSub);
    mouseBbS = getBottom(bottomSub);
    mouseLbS = getLeft(bottomSub);
    mouseRbS = getRight(bottomSub);
  }
  subs = eval("M"+what+".menus");
  for (i=0;i<subs.length;i++) {
    eval(layerDom+subs[i]+pVis+" = '"+V+"'");
  }
}

function setButtonBounds(what) {
  if (lastButton && lastButton != what) { btnOut("useLast"); }
  if (eval(layerDom+what+elemEnd)) {
    butT = getTop(what);
    butB = getBottom(what);
    butL = getLeft(what);
    butR = getRight(what);
    bgC = eval("M"+what+".hiC");
    eval(layerDom+what+pBgColor+" = '"+bgC+"'");
    lastButton = what; 
  }
}

function goLink(what) {
  whatButton = eval(layerDom+what+elemEnd);
  if (!hasDOM) {
    linkObj = (IE4) ? whatButton.all.tags('a') : whatButton.document.links;
  } else if (hasDOM) {
    linkObj = whatButton.getElementsByTagName("A");
  }
  if (linkObj.length > 0) {
    theTarget = (linkObj[0].target == "_parent" || linkObj[0].target == "_top") ? "parent." : "";
    eval(theTarget+"document.location = linkObj[0].href");
  }
}

function vtopen() {
	iwindowWidth = eval(windowWidth);
	if (iwindowWidth>=700) {
		vtWindow = window.open('/virtour','VirtualTourWindows','top=0,left=0,width=700,height=460,toolbar=yes,menubar=yes,scrollbars=yes,resizable=yes,status=yes');
	} else {
		vtWindow = window.open('/virtour','VirtualTourWindows','top=0,left=0,width=630,height=350,toolbar=yes,menubar=yes,scrollbars=yes,resizable=yes,status=yes');
	}
}

function stockadeopen() {
    StockadeWindow = window.open('/stockadework.htm','StockadeWindow','menubar=no,scrollbars=yes,resizable=yes,status=yes,top=0,left=0,width=750,height=480');
}   
function stockadeclose() {
    window.close();
}
function DoThis(PicIndeInt) {
    if(PicIndeInt > PicArrayNum - 1) {
    	PicIndeInt = 0;
    }else if(PicIndeInt < 0) {
    	PicIndeInt = PicArrayNum - 1;
    }
    PicInde = PicIndeInt;
    if(NS4 && !hasDOM) {
    	eval('document.layers[\'content\'].document.frmstockade.txtInfo.value = PicNmArray[PicInde] + \'  \(\' + (PicInde+1) +  \' of \' + PicArrayNum + \'\)\' ');
    	eval('document.layers[\'content\'].document.imagesw.src = PicLgArray[PicInde]');
    }else if(IE4 && !hasDOM){
    	eval('document.frmstockade.txtInfo.value = PicNmArray[PicInde] + \'  \(\' + (PicInde+1) +  \' of \' + PicArrayNum + \'\)\' ');
    	eval('document.imagesw.src = PicLgArray[PicInde]');
    }else if(hasDOM) {
    	eval('document.getElementById(\'frmstockade\').txtInfo.value = PicNmArray[PicInde] + \'  \(\' + (PicInde+1) +  \' of \' + PicArrayNum + \'\)\' ');
    	eval('document.getElementById(\'imagesw\').src = PicLgArray[PicInde]');
    }
}
function CatalogOpen() {
    var tempImgSrc = "";
    var tempImgTle = "";
    CatalogWindow = window.open('about:blank','CatalogWindow','menubar=no,scrollbars=yes,resizable=no,status=no,top=4,left=10,width=220,height=500');
    if (CatalogWindow != null) {
    	CatalogWindow.document.write('<HTML><TITLE>Image Catalog<\/TITLE>');
    	CatalogWindow.document.write('<SCRIPT SRC=\"\/js\/PicDex.js\"><\/SCRIPT><BODY topmargin=\"0\" leftmargin=\"0\"><CENTER>');
    	CatalogWindow.document.write('<TABLE BORDER=\"0\" WIDTH=\"100\%\" cellpadding=\"0\" cellspacing=\"0\"><TR><TD><CENTER>');
    	for ( var curimg = 0; curimg < PicSmArray.length; curimg++) {
		tempImgSrc = PicSmArray[curimg];
                CatalogWindow.document.write('<TR><TD><CENTER><A HREF=\"javascript\:self.opener.DoThis\(' + curimg + '\)\"><IMG SRC=\"' + tempImgSrc + '\" ALT=\"Stockade Building Small Image\" BORDER=\"0\"></A><\/CENTER><\/TD><\/TR>');
    		tempImgTle = PicNmArray[curimg];
    		CatalogWindow.document.write('<TR><TD><CENTER>' + tempImgTle + '<\/CENTER><\/TD><\/TR>');
    	}
        CatalogWindow.document.write('<TR><TD><CENTER><BR><\/CENTER><\/TD><\/TR><TR><TD><CENTER><FORM><INPUT TYPE=\"BUTTON\" VALUE=\"Close Window\" OnClick=\"javascript\:window.close\(\)\;\"><\/FORM><\/TD><\/TR><\/TABLE><\/CENTER>');
    }	
}