  function displayWindow(url, width, height) {
    var Win = window.open(url,
	                  "displayWindow",
                          'width=' + width + ',height=' + height + 
                          ',resizable=0,scrollbars=yes,menubar=no,status=no');
  }

////////////////////////////////////////////////////////////////

  hovercolor   = "#333399";	// color name/code
  bgcolor      = "#333399";	// color name/code
  background   = "";		// picture url
  menu_border  = 1;		// IE only
  border_color = "#666666";	// IE only
  menu_width   = 125;           // width of menu in pixels
  tab_begin_y = 45;
  if (navigator.userAgent.indexOf("MSIE") != -1) {
    tab_begin_y = 38;
  }
  tab_begin_x = 230;
  tab_height   = 24;
  tab_width    = 65;
  tab_indent   = 8;

      ////////////////////////////////

  var timer;

  No3 = (parseInt(navigator.appVersion) > 3) ? 1 : 0;
  layer = (document.all && No3) ? "document.all['L'+menu].style" : (document.layers && No3) ? "document.layers['L'+menu]" : 0;
  Layer = new Array();

////////////////////////////////////////////////////////////////

/*	Create Your layers below by typing:
	 Layer[incrementing number] = new LayerSpecs(Left Position, Top Position, Width, List of Links Seperated by Commas)
	 If a layer has a sublayer, add onMouseOver="Show(Layer Number to Open, Current Layer, Any Layers Opened before the current layer (seperated by commas)
*/

Layer[1] = new LayerSpecs(tab_begin_x+0*tab_width+2*tab_indent,tab_begin_y+0*tab_height,menu_width,
           '<a class="drop" href="/current/">Current Students</a> ',
	   '<a class="drop" href="/prospective/">Prospective Students</a> '
	);

Layer[2] = new LayerSpecs(tab_begin_x+1*tab_width+2*tab_indent,tab_begin_y+0*tab_height,menu_width,
	   '<a class="drop" href="/admissions/#freshman">Incoming Freshmen</a> ',
	   '<a class="drop" href="/admissions/#transfer">Undergrad. Transfers</a> ',
	   '<a class="drop" href="/admissions/#graduate">Graduate Students</a> ',
	   '<a class="drop" href="/advising/internal_transfer.html">Current COE Students</a> '
	);

Layer[3] = new LayerSpecs(tab_begin_x+2*tab_width+2*tab_indent,tab_begin_y+0*tab_height,menu_width,
	   '<a class="drop" href="/advising/degrees/list.html">BS, MS, PhD Degrees</a> ',
	   '<a class="drop" href="/advising/degrees/certificates.html">Certificates</a> ',
	   '<a class="drop" href="/advising/degrees/descriptions.html">Descriptions</a> '
	);	

Layer[4] = new LayerSpecs(tab_begin_x+3*tab_width+2*tab_indent,tab_begin_y+0*tab_height,menu_width,
	   '<a class="drop" href="http://registrar.wisc.edu/students/fees_tuition/">Tuition Costs</a> ',
	   '<a class="drop" href="/money/scholarships/">Scholarships</a> ',
	   '<a class="drop" href="/money/competitions.html">Competitions</a> ',
	   '<a class="drop" href="/money/fellowships.html">Fellowships</a> ',
	   '<a class="drop" href="/money/loans.html">Loans</a> ',
	   '<a class="drop" href="/money/employment.html">Employment</a> '
	);	

Layer[5] = new LayerSpecs(tab_begin_x+4*tab_width+2*tab_indent,tab_begin_y+0*tab_height,menu_width,
	   '<a class="drop" href="/housing/#university">University Sponsored</a> ',
	   '<a class="drop" href="/housing/#offcampus">Off-campus</a> ',
	   '<a class="drop" href="/housing/#health">Health</a> '
	);

Layer[6] = new LayerSpecs(tab_begin_x+5*tab_width+2*tab_indent,tab_begin_y+0*tab_height,menu_width,
	   '<a class="drop" href="/madison/tours.html">Engineering and Campus Tours</a> ',
	   '<a class="drop" href="http://www.engr.wisc.edu/lists/index.html#buildings">Buildings, Driving Directions, and Maps</a> ',
	   '<a class="drop" href="http://www.uc.wisc.edu/slideshow/slideshow.html">Campus Slide Show</a> '
	);

Layer[7] = new LayerSpecs(tab_begin_x+6*tab_width+2*tab_indent,tab_begin_y+0*tab_height,menu_width,
	   '<a class="drop" href="/people/#academic">Academic Affairs</a> ',
           '<a class="drop" href="/people/#counseling">Counselor</a> ',
	   '<a class="drop" href="/people/#diversity">Diversity Affairs</a> ',
	   '<a class="drop" href="/people/#international">Internat. Eng.</a> ',
	   '<a class="drop" href="/people/#pre">Engineering General Resources (EGR)</a> ',
	   '<a class="drop" href="/people/#slc">Student Leadership</a> ',
	   '<a class="drop" href="/people/#transfer">Transfer Services</a> '
	);

Layer[8] = new LayerSpecs(tab_begin_x+0*tab_width+1*tab_indent,tab_begin_y+1*tab_height,menu_width,
	   '<a class="drop" href="/classes/before.html">Before a Class</a> ',
	   '<a class="drop" href="/classes/during.html">During a Class</a> ',
	   '<a class="drop" href="/classes/after.html">After a Class</a> ',
	   '<a class="drop" href="/advising/off_campus.html">Off-Campus Study</a> '
	);

Layer[9] = new LayerSpecs(tab_begin_x+1*tab_width+1*tab_indent,tab_begin_y+1*tab_height,menu_width,
	   ' '
	);

Layer[10] = new LayerSpecs(tab_begin_x+2*tab_width+1*tab_indent,tab_begin_y+1*tab_height,menu_width,
	   '<a class="drop" href="/advising/">Engineering General Resources (EGR)</a> ',
	   '<a class="drop" href="/advising/depts/">Upperclassmen</a> ',
	   '<a class="drop" href="/advising/off_campus.html">Off-Campus Study</a> '
	);

Layer[11] = new LayerSpecs(tab_begin_x+3*tab_width+1*tab_indent,tab_begin_y+1*tab_height,menu_width,
	   '<a class="drop" href="/advising/degrees/list.html">Graduate Research </a> ',
	   '<a class="drop" href="/research/research.html">Undergraduate Engineering Research</a> ',
	   '<a class="drop" href="http://www.provost.wisc.edu/undergradresearch/">Undergraduate Research, UW-Madison</a> ',
	   '<a class="drop" href="/leadershape/">LeaderShape</a> ',
	   '<a class="drop" href="/money/competitions.html">Competitions</a> ',
	   '<a class="drop" href="/research/organizations.html">Organizations</a> ',
	   '<a class="drop" href="/research/teamprojects.html">Team Projects</a> '
	);

Layer[12] = new LayerSpecs(tab_begin_x+4*tab_width+1*tab_indent,tab_begin_y+1*tab_height,menu_width,
	   '<a class="drop" href="/research/organizations.html">Engr. Organizations</a> ',
	   '<a class="drop" href="http://www.cae.wisc.edu/~polygon/">Polygon</a> ',
	   '<a class="drop" href="http://slc.engr.wisc.edu/">SLC</a> ',
	   '<a class="drop" href="http://soo.studentorg.wisc.edu/">All UW-Madison Groups</a> '
	);

Layer[13] = new LayerSpecs(tab_begin_x+5*tab_width+1*tab_indent,tab_begin_y+1*tab_height,menu_width,
	   '<a class="drop" href="/graduation/#regulations">Graduation Regulations</a> ',
	   '<a class="drop" href="/graduation/#job">Finding a Job</a> ',
	   '<a class="drop" href="/graduation/#admin">Commencement</a> '
	);	

Layer[14] = new LayerSpecs(tab_begin_x+6*tab_width+1*tab_indent,tab_begin_y+1*tab_height,menu_width,
	   '<a class="drop" href="/forms/">Forms</a> ',
	   '<a class="drop" href="/faq/">FAQs</a> ',
	   '<a class="drop" href="/regulations/">Regulations</a> ',
	   '<a class="drop" href="/pubs.html">Publications</a> '
	);

Layer[15] = new LayerSpecs(tab_begin_x+0*tab_width+0*tab_indent,tab_begin_y+2*tab_height,menu_width,
	   '<a class="drop" href="/advising/">Advising</a> ',
	   '<a class="drop" href="/classes/tutoring/">Tutoring</a> '
	);

Layer[16] = new LayerSpecs(tab_begin_x+1*tab_width+0*tab_indent,tab_begin_y+2*tab_height,menu_width,
	   '<a class="drop" href="/transfer/oncampus.html">On-Campus Transfers</a> ',
	   '<a class="drop" href="/transfer/offcampus.html">Off-Campus Transfers</a> ',
	   '<a class="drop" href="/transfer/offcampus.html#international">International Transfers</a> ',
	   '<a class="drop" href="/transfer/returning.html">Returning Adults</a> ',
	   '<a class="drop" href="/transfer/reentry.html">Re-entries</a> '
	);

Layer[17] = new LayerSpecs(tab_begin_x+2*tab_width+0*tab_indent,tab_begin_y+2*tab_height,menu_width,
	   '<a class="drop" href="/diversity/">About</a> ',
	   '<a class="drop" href="/diversity/esp/">ESP</a> ',
	   '<a class="drop" href="/diversity/gers/">GERS</a> ',
	   '<a class="drop" href="/diversity/opps/">OPPS',
	   '<a class="drop" href="/diversity/prep/">PREP',
	   '<a class="drop" href="/diversity/sure/">SURE/REU',
	   '<a class="drop" href="/classes/tutoring/index.html">Tutoring'
	);

Layer[18] = new LayerSpecs(tab_begin_x+3*tab_width+0*tab_indent,tab_begin_y+2*tab_height,menu_width,
	   ' '
	);

Layer[19] = new LayerSpecs(tab_begin_x+4*tab_width+0*tab_indent,tab_begin_y+2*tab_height,menu_width,
	   ' '
	);

Layer[20] = new LayerSpecs(tab_begin_x+5*tab_width+0*tab_indent,tab_begin_y+2*tab_height,menu_width,
	   '<a class="drop" href="https://ecs.engr.wisc.edu/">Co-op Positions</a> ',
	   '<a class="drop" href="https://ecs.engr.wisc.edu/">Internships</a> ',
	   '<a class="drop" href="https://ecs.engr.wisc.edu/">Permanent Positions</a> '
	);

Layer[21] = new LayerSpecs(tab_begin_x+6*tab_width+0*tab_indent,tab_begin_y+2*tab_height,menu_width,
	   '<a class="drop" href="http://wendt.library.wisc.edu/about_us/">About Us</a> ',
	   '<a class="drop" href="http://wendt.library.wisc.edu/help_with_research/">Help with Research</a> ',
	   '<a class="drop" href="http://wendt.library.wisc.edu/about_us/contact_us">Contact Us</a> ',
	   '<a class="drop" href="http://wendt.library.wisc.edu/help_with_research/patents/">Patents and Trademarks</a> ',
	   '<a class="drop" href="http://wendt.library.wisc.edu/borrowing_and_ordering/course_reserves/">Course Reserves</a> ',
	   '<a class="drop" href="http://wendtcs.engr.wisc.edu/wts/">TechSearch</a> '
	);

spec_menu_y = 275;
spec_menu_width = 89;
//spec_menu_x = Math.round(this.innerWidth/2+170/2-3*spec_menu_width);
spec_menu_x = 175;

Layer[22] = new LayerSpecs(spec_menu_x+0*spec_menu_width,spec_menu_y,menu_width,
	   '<a class="drop" href="http://registrar.wisc.edu/students/fees_tuition/">Tuition Costs</a> ',
	   '<a class="drop" href="/money/scholarships/">Scholarships</a> ',
	   '<a class="drop" href="/money/competitions.html">Competitions</a> ',
	   '<a class="drop" href="/money/fellowships.html">Fellowships</a> ',
	   '<a class="drop" href="/money/loans.html">Loans</a> ',
	   '<a class="drop" href="/money/employment.html">Employment</a> '
);

Layer[23] = new LayerSpecs(spec_menu_x+1*spec_menu_width,spec_menu_y,menu_width,
	   '<a class="drop" href="/housing/#university">University Sponsored</a> ',
	   '<a class="drop" href="/housing/#offcampus">Off-campus</a> ',
	   '<a class="drop" href="/housing/#health">Health</a> '
);

Layer[24] = new LayerSpecs(spec_menu_x+2*spec_menu_width,spec_menu_y,menu_width,
	   '<a class="drop" href="/advising/">Engineering General Resources (EGR)</a> ',
	   '<a class="drop" href="/advising/depts/">Upperclassmen</a> ',
	   '<a class="drop" href="/advising/off_campus.html">Off-Campus Study</a> '
);

Layer[25] = new LayerSpecs(spec_menu_x+3*spec_menu_width,spec_menu_y,menu_width,
	'<a class="drop" href="/classes/before.html">Before a Class</a> ',
	'<a class="drop" href="/classes/during.html">During a Class</a> ',
	'<a class="drop" href="/classes/after.html">After a Class</a> ',
	'<a class="drop" href="/advising/off_campus.html">Off-campus Study</a> '
);

Layer[26] = new LayerSpecs(spec_menu_x+4*spec_menu_width,spec_menu_y,menu_width,
	   '<a class="drop" href="/advising/degrees/list.html">Graduate Research </a> ',
	   '<a class="drop" href="/research/research.html">Undergraduate Engineering Research</a> ',
	   '<a class="drop" href="http://www.provost.wisc.edu/undergradresearch/">Undergraduate Research, UW-Madison</a> ',
	   '<a class="drop" href="/leadershape/">LeaderShape</a> ',
	   '<a class="drop" href="/money/competitions.html">Competitions</a> ',
	   '<a class="drop" href="/research/organizations.html">Organizations</a> ',
	   '<a class="drop" href="/research/teamprojects.html">Team Projects</a> ',
	   '<a class="drop" href="http://ysa.engr.wisc.edu/">Mentor Young Scientists</a> '
);

Layer[27] = new LayerSpecs(spec_menu_x+5*spec_menu_width,spec_menu_y,menu_width,
	'<a class="drop" href="/graduation/#regulations">Graduation Regulations</a> ',
	'<a class="drop" href="/graduation/#job">Finding a Job</a> ',
	'<a class="drop" href="/graduation/#admin">Commencement</a> '
);

Layer[28] = new LayerSpecs(spec_menu_x+0*spec_menu_width,spec_menu_y,menu_width,
	'<a class="drop" href="/prospective/isitforyou.html">Is it for you?</a> ',
	'<a class="drop" href="/advising/degrees/descriptions.html">Career Choices</a> ',
	'<a class="drop" href="http://www.engr.wisc.edu/interegr">Introduction to Engineering</a> '
);

Layer[29] = new LayerSpecs(spec_menu_x+1*spec_menu_width,spec_menu_y,menu_width,
	'<a class="drop" href="http://www.engr.wisc.edu/interegr">Introduction to Engineering</a> ',
	'<a class="drop" href="/prospective/uwengr.html">Engineering at Wisconsin</a> ',
	'<a class="drop" href="http://www.engr.wisc.edu/server/welcome/ataglance/index.html">COE at a Glance</a> ',
	'<a class="drop" href="/prospective/accreditation.html">Accreditation</a> ',
	'<a class="drop" href="/prospective/soar.html">SOAR</a> ',
	'<a class="drop" href="/prospective/newstudent.html">As a new student</a> ',
	'<a class="drop" href="http://www.engr.wisc.edu/news/ar/">Annual Report</a> ',
	'<a class="drop" href="/counseling/">Counseling</a> ',
	'<a class="drop" href="/classes/tutoring/">Tutoring</a> ',
	'<a class="drop" href="/housing/">Housing and Health</a> '
);

Layer[30] = new LayerSpecs(spec_menu_x+2*spec_menu_width,spec_menu_y,menu_width,
	'<a class="drop" href="/admissions/">Admissions</a> ',
	'<a class="drop" href="/prospective/placement.html">Placement Tests</a> ',
	'<a class="drop" href="/faq/ap.html">Advanced Placement</a> ',
	'<a class="drop" href="/prospective/ibe.html">IBE</a> ',
	'<a class="drop" href="/money/">Finances</a> ',
	'<a class="drop" href="/advising/">Advising</a> ',
	'<a class="drop" href="/madison/">Visit Madison</a> ',
	'<a class="drop" href="http://www.engr.wisc.edu/lists/maps/">Campus Maps</a> '
);


Layer[31] = new LayerSpecs(spec_menu_x+3*spec_menu_width,spec_menu_y,menu_width,
	'<a class="drop" href="http://www.engr.wisc.edu/interegr">Introduction to Engineering</a> ',
	'<a class="drop" href="http://www.wisc.edu/pubs/ug/">Undergraduate Catalog</a> ',
	'<a class="drop" href="/diversity/">Diversity Affairs</a> ',
	'<a class="drop" href="/money/scholarships/">Scholarships</a> ',
	'<a class="drop" href="/advising/degrees/certificates.html">Certificate Programs</a> ',
	'<a class="drop" href="/classes/honors.html">Honors Programs</a> ',
	'<a class="drop" href="https://ecs.engr.wisc.edu/">Co-op/Intern Programs</a> '
);

Layer[32] = new LayerSpecs(spec_menu_x+4*spec_menu_width,spec_menu_y,menu_width,
	'<a class="drop" href="http://www.engr.wisc.edu/lists/maps/">Maps</a> ',
	'<a class="drop" href="/research/organizations.html">Student Organizations</a> ',
	'<a class="drop" href="/madison/">Attractions</a> ',
	'<a class="drop" href="/money/competitions.html">Student Competitions</a> ',
	'<a class="drop" href="/housing/health.html">Health &amp; Fitness</a> '
);


////////////////////////////////////////////////////////////////

  if (document.all) { 
    if (!background) { 
      background=bgcolor; 
    } else { 
      background = "url("+background+")"; 
    } 
  }

  j = (Layer[0]) ? 0:1;

  for (i=j; i<Layer.length; i++) {
    if (document.all && No3) { 
      document.write("<span onMouseOver='clearTimeout(timer)' onMouseOut='Hide("+i+")' id='L"+i+"' STYLE='position:absolute; visibility:hidden; background:"+background+"; top:"+Layer[i].top+"; left:"+Layer[i].left+";'><table STYLE='border:solid "+menu_border+" "+border_color+"'>"+Layer[i].info+"</table></span>"); 
    } else if (document.layers && No3) { 
      document.write("<layer onMouseOver='clearTimeout(timer)' onMouseOut='Hide("+i+")' id='L"+i+"' position=absolute visibility=hidden bgcolor='"+bgcolor+"' background='"+background+"' top="+Layer[i].top+" left="+Layer[i].left+">"+Layer[i].info+"</layer>"); 
    }
  }

//  if (document.all) { 
//    document.all["menubar"].style.visibility = "visible"; 
//  } else if (document.layers) { 
//    document.layers["menubar"].visibility = "visible"; 
//  }

////////////////////////////////////////////////////////////////

  function Show() { 
    if (layer) {
      if (timer) clearTimeout(timer);
      for (menu=0; menu<Layer.length; menu++) { 
        if (Layer[menu]) { 
          eval(layer).visibility = "hidden"; 
        } 
      }
      for (i=0; i<arguments.length; i++) { 
        menu=arguments[i]; 
        eval(layer).visibility = "visible"; 
      }
    } 
  }

  function Hide() { 
    timer = setTimeout("Show()", 150); 
  }

  function LayerSpecs(Left,Top,Width) { 
    if (No3) {
      if (document.all) { 
        Top+=7; 
        Left+=2; 
        Width-=6; 
      }
      this.left  = Left;
      this.top   = Top;
      this.info  = "";
      T=0;
      for (i=3; i<arguments.length; i++) {
        if (document.all) { 
          this.info += "<tr><td width="+Width+" onMouseOver='this.bgColor=\""+hovercolor+"\"' onMouseOut='this.bgColor=\"\"'>"+arguments[i]+"</td></tr>"; 
        } else { 
          this.info += "<layer onMouseOver='this.bgColor=\""+hovercolor+"\"' onMouseOut='this.bgColor=\""+bgcolor+"\"' width="+Width+" position=relative top="+T+">&nbsp;"+arguments[i]+"</layer>"; 
        }
	T+=20;
      }
    } 
  }

