/* Image Rotators */   
function home_img() {var home_rnd = new Array ("/images/0611/home/01.jpg", "/images/0611/home/02.jpg","/images/0611/home/03.jpg", "/images/0611/home/04.jpg","/images/0611/home/05.jpg", "/images/0611/home/06.jpg","/images/0611/home/07.jpg","/images/0611/home/08.jpg","/images/0611/home/09.jpg","/images/0611/home/10.jpg","/images/0611/home/11.jpg","/images/0611/home/12.jpg","/images/0611/home/13.jpg","/images/0611/home/14.jpg","/images/0611/home/15.jpg","/images/0611/home/16.jpg","/images/0611/home/17.jpg","/images/0611/home/18.jpg","/images/0611/home/19.jpg","/images/0611/home/20.jpg");var i = Math.round((home_rnd.length-1)*Math.random());document.write('<img border="0" width="550" height="250" alt="Lipscomb University" src="' + home_rnd[i] + '">');};
function dept_img(){var dept_rnd = new Array ("/images/0611/dept/1.jpg", "/images/0611/dept/2.jpg","/images/0611/dept/3.jpg", "/images/0611/dept/4.jpg","/images/0611/dept/5.jpg","/images/0611/dept/6.jpg","/images/0611/dept/7.jpg","/images/0611/dept/8.jpg","/images/0611/dept/9.jpg","/images/0611/dept/10.jpg", "/images/0611/dept/11.jpg", "/images/0611/dept/12.jpg","/images/0611/dept/13.jpg", "/images/0611/dept/14.jpg","/images/0611/dept/15.jpg", "/images/0611/dept/16.jpg","/images/0611/dept/17.jpg","/images/0611/dept/18.jpg","/images/0611/dept/19.jpg","/images/0611/dept/20.jpg", "/images/0611/dept/21.jpg", "/images/0611/dept/22.jpg","/images/0611/dept/23.jpg", "/images/0611/dept/24.jpg","/images/0611/dept/25.jpg", "/images/0611/dept/26.jpg","/images/0611/dept/27.jpg");var i = Math.round((dept_rnd.length-1)*Math.random());document.write('<img border="0" width="550" height="250" alt="Lipscomb University" src="' + dept_rnd[i] + '">');};
function smdept_img() {var smdept_rnd = new Array ("/images/0611/smdept/1.jpg", "/images/0611/smdept/2.jpg","/images/0611/smdept/3.jpg", "/images/0611/smdept/4.jpg","/images/0611/smdept/5.jpg", "/images/0611/smdept/6.jpg","/images/0611/smdept/7.jpg","/images/0611/smdept/8.jpg","/images/0611/smdept/9.jpg");var i = Math.round((smdept_rnd.length-1)*Math.random());document.write('<img border="0" width="185" height="200" alt="Lipscomb University" src="' + smdept_rnd[i] + '">');};
function cob_img() {var cob_rnd = new Array ("/images/0611/cob/1.jpg", "/images/0611/cob/2.jpg","/images/0611/cob/3.jpg", "/images/0611/cob/4.jpg","/images/0611/cob/5.jpg", "/images/0611/cob/6.jpg","/images/0611/cob/7.jpg");var i = Math.round((cob_rnd.length-1)*Math.random());document.write('<img border="0" width="550" height="250" alt="Lipscomb University College of Business" src="' + cob_rnd[i] + '">');};
function icm_img() {var icm_rnd = new Array ("/images/0611/icm/1.jpg", "/images/0611/icm/2.jpg","/images/0611/icm/3.jpg", "/images/0611/icm/4.jpg","/images/0611/icm/5.jpg");var i = Math.round((icm_rnd.length-1)*Math.random());document.write('<img border="0" width="550" height="250" alt="Lipscomb University Institute for Conflict Management" src="' + icm_rnd[i] + '">');};
function healthcare_img() {var healthcare_rnd = new Array ("/images/0611/icm/healthcare/1.jpg", "/images/0611/icm/healthcare/2.jpg","/images/0611/icm/healthcare/3.jpg", "/images/0611/icm/healthcare/4.jpg","/images/0611/icm/healthcare/5.jpg");var i = Math.round((healthcare_rnd.length-1)*Math.random());document.write('<img border="0" width="550" height="250" alt="Lipscomb University Institute for Conflict Management" src="' + healthcare_rnd[i] + '">');};
function ah_img() {var ah_rnd = new Array ("/images/0611/ah/1.jpg", "/images/0611/ah/2.jpg","/images/0611/ah/3.jpg", "/images/0611/ah/4.jpg","/images/0611/ah/5.jpg", "/images/0611/ah/6.jpg","/images/0611/ah/7.jpg");var i = Math.round((ah_rnd.length-1)*Math.random());document.write('<img border="0" width="550" height="250" alt="Lipscomb University College of Arts and Sciences" src="' + ah_rnd[i] + '">');};
function cbm_img() {var cbm_rnd = new Array ("/images/0611/cbm/1.jpg", "/images/0611/cbm/2.jpg","/images/0611/cbm/3.jpg", "/images/0611/cbm/4.jpg","/images/0611/cbm/5.jpg", "/images/0611/cbm/6.jpg","/images/0611/cbm/7.jpg","/images/0611/cbm/8.jpg","/images/0611/cbm/9.jpg","/images/0611/cbm/10.jpg","/images/0611/cbm/11.jpg","/images/0611/cbm/12.jpg","/images/0611/cbm/13.jpg");var i = Math.round((cbm_rnd.length-1)*Math.random());document.write('<img border="0" width="550" height="250" alt="Lipscomb University College of Bible and Ministry" src="' + cbm_rnd[i] + '">');};
function eps_img() {var eps_rnd = new Array ("/images/0611/eps/1.jpg", "/images/0611/eps/2.jpg","/images/0611/eps/3.jpg", "/images/0611/eps/4.jpg","/images/0611/eps/5.jpg", "/images/0611/eps/6.jpg","/images/0611/eps/7.jpg");var i = Math.round((eps_rnd.length-1)*Math.random());document.write('<img border="0" width="550" height="250" alt="Lipscomb University College of Education" src="' + eps_rnd[i] + '">');};
function nas_img() {var nas_rnd = new Array ("/images/0611/nas/1.jpg", "/images/0611/nas/2.jpg","/images/0611/nas/3.jpg", "/images/0611/nas/4.jpg","/images/0611/nas/5.jpg", "/images/0611/nas/6.jpg","/images/0611/nas/7.jpg","/images/0611/nas/8.jpg", "/images/0611/nas/9.jpg");var i = Math.round((nas_rnd.length-1)*Math.random());document.write('<img border="0" width="550" height="250" alt="Lipscomb University Raymond B. Jones College of Engineering" src="' + nas_rnd[i] + '">');};
function cop_img() {var cop_rnd = new Array ("/images/0611/cop/1.jpg", "/images/0611/cop/2.jpg","/images/0611/cop/3.jpg", "/images/0611/cop/4.jpg","/images/0611/cop/5.jpg", "/images/0611/cop/6.jpg","/images/0611/cop/7.jpg","/images/0611/cop/8.jpg", "/images/0611/cop/9.jpg","/images/0611/cop/10.jpg", "/images/0611/cop/11.jpg", "/images/0611/cop/12.jpg","/images/0611/cop/13.jpg","/images/0611/cop/14.jpg", "/images/0611/cop/15.jpg","/images/0611/cop/16.jpg", "/images/0611/cop/17.jpg");var i = Math.round((cop_rnd.length-1)*Math.random());document.write('<img border="0" width="550" height="250" alt="Lipscomb University College of Pharmacy" src="' + cop_rnd[i] + '">');};
function gs_img() {var gs_rnd = new Array ("/images/0611/gs/1.jpg", "/images/0611/gs/2.jpg","/images/0611/gs/3.jpg", "/images/0611/gs/4.jpg","/images/0611/gs/5.jpg", "/images/0611/gs/6.jpg","/images/0611/gs/7.jpg","/images/0611/gs/8.jpg", "/images/0611/gs/9.jpg","/images/0611/gs/10.jpg");var i = Math.round((gs_rnd.length-1)*Math.random());document.write('<img border="0" width="550" height="250" alt="Lipscomb University Office of Graduate Studies" src="' + gs_rnd[i] + '">');};
/* Navigation Scripts */
function nav1a(){return("<a href='http://www.lipscomb.edu/page.asp?SID=4&Page=3169'>About Us</a><br><a href='http://www.lipscomb.edu/page.asp?SID=4&Page=197'>Directions to Campus</a><br><a href='http://president.lipscomb.edu/'>Office of the President</a><br><a href='http://offices.lipscomb.edu/'>Office Directory</a><br><a href='http://www.lipscomb.edu/directorysearch.asp'>Telephone Directory</a><br><a href='http://venues.lipscomb.edu/'>Venues</a><br><a href='http://news.lipscomb.edu/page.asp?SID=14&Page=3285'>Calendar of Events</a><br><a href='http://news.lipscomb.edu/'>News</a><br><a href='http://hr.lipscomb.edu'>Employment Opportunities</a><br><a href='http://dlcs.lipscomb.edu'>Campus School</a>")}
function nav2a(){return("<a href='http://academics.lipscomb.edu/'>Academic Overview</a><br><a href='http://academics.lipscomb.edu/page.asp?SID=12&Page=1340'>Colleges &amp; Institutes</a><br><a href='http://academics.lipscomb.edu/page.asp?SID=12&Page=3217'>Programs &amp; Majors</a><br><a href='http://gradstudies.lipscomb.edu'>Graduate Studies</a><br><a href='http://summerprograms.lipscomb.edu'>Summer &amp; Wintermester</a><br><a href='http://registrar.lipscomb.edu/page.asp?SID=55&page=5274'>Graduation</a><br><a href='http://library.lipscomb.edu/'>Libraries</a><br><a href='http://registrar.lipscomb.edu/'>Registrar &amp; Transcripts</a><br><a href='http://academics.lipscomb.edu/page.asp?SID=12&Page=414'>Academic Calendar</a><br><a href='http://catalog.lipscomb.edu/'>Catalogs</a>")}
function nav3a(){return("<a href='http://www.golipscomb.com/'>Undergraduate</a><br><a href='http://gradstudies.lipscomb.edu/'>Graduate Studies</a><br><a href='http://adultdegree.lipscomb.edu/'>Adult Degree Programs</a><br><a href='http://international.lipscomb.edu/'>International Students</a><br><a href='http://financialaid.lipscomb.edu/'>Financial Aid</a>")}
function nav4a(){return("<a href='http://alumni.lipscomb.edu/'>Alumni Association</a><br><a href='http://alumni.lipscomb.edu/'>Alumni Events</a><br><a href='http://www.abenity.com/networkcard'>Alumni Network Card</a><br><a href='http://development.lipscomb.edu/'>Development</a><br><a href='http://give.lipscomb.edu/'>Give Today!</a><br><a href='http://associates.lipscomb.edu/'>Associated Women for Lipscomb</a>")}
function nav5a(){return("<a href='http://www.lipscombsports.com/'>Men's Sports</a><br><a href='http://www.lipscombsports.com/'>Women's Sports</a><br><a href='http://www.lipscombsports.com/directory/'>Athletic Directory</a><br><a href='http://www.lipscombsports.com/asun/'>A-Sun Conference</a><br><a href='http://www.lipscombsports.com/battle/'>Battle of the Boulevard</a><br><a href='http://www.lipscombsports.com/facilities/'>Facilities</a><br><a href='http://www.lipscombsports.com/camps/'>Camps</a><br><a href='http://www.lipscombsports.com/tickets/'>Tickets</a>")}
function nav6a(){return("<a href='http://campuslife.lipscomb.edu/'>Campus Life Home</a><br><a href='http://campuslife.lipscomb.edu/page.asp?SID=41&Page=4610'>Student Services</a><br><a href='http://campuslife.lipscomb.edu/page.asp?SID=41&Page=2973'>Student Handbook</a><br><a href='http://campuslife.lipscomb.edu/page.asp?SID=41&Page=3202'>Chapel</a><br><a href='http://campuslife.lipscomb.edu/page.asp?SID=41&Page=3242'>Student Activities</a><br><a href='http://campuslife.lipscomb.edu/page.asp?SID=41&Page=3231'>Singarama</a><br><a href='http://campuslife.lipscomb.edu/page.asp?SID=41&Page=2122'>Advance</a><br><a href='http://socialclubs.lipscomb.edu/'>Social Clubs</a><br><a href='http://campuslife.lipscomb.edu/page.asp?SID=41&Page=212'>Residence Life</a>")}
function backToTop(){var x1=x2=x3=0,y1=y2=y3=0;if(document.documentElement){x1=document.documentElement.scrollLeft||0;y1=document.documentElement.scrollTop||0}
if(document.body){x2=document.body.scrollLeft||0;y2=document.body.scrollTop||0}
x3=window.scrollX||0;y3=window.scrollY||0;var x=Math.max(x1,Math.max(x2,x3)),y=Math.max(y1,Math.max(y2,y3));window.scrollTo(Math.floor(x/2),Math.floor(y/2));if(x>0||y>0){window.setTimeout("backToTop()",25)}}
function formDate(){var o=new Date
var l=o.getDate()
var i=o.getMonth()+1
var I=o.getFullYear()
document.write(document.getElementById('todaysdate').innerHTML=i+"/"+l+"/"+I)}
function formPostDate(){var i=new Date
i.setDate(i.getDate()+21)
var o=i.getDate()
var I=i.getMonth()+1
var l=i.getFullYear()
document.write(document.getElementById('futuredate').innerHTML=I+"/"+o+"/"+l)}
function addEvent(elm, evType, fn, useCapture)
{
if(elm.addEventListener)
  {
  elm.addEventListener(evType, fn, useCapture);
  return true;
  }
else if (elm.attachEvent)
  {
  var r = elm.attachEvent('on' + evType, fn);
  return r;
  }
else
  {
  elm['on' + evType] = fn;
  }
}

// removes the square border that IE
// insists on adding to checkboxes and radio
function removeCheckBoxBorders()
{
var el = document.getElementsByTagName("input");
for (i=0;i<el.length;i++)
  {
  var type = el[i].getAttribute("type");
  if((type=="checkbox")||(type=="radio"))
    {
   el[i].style.border = "none";
   el[i].style.background = "none";
    }
  }
}

addEvent(window, 'load', removeCheckBoxBorders, false);
