var imgs = new Array();
var links = new Array();
 

links[0] = 'http://www.welladvantage.com/Integrated-Wellness-Platform.aspx';
imgs[0] = 'http://www.chra.com/ads/welladvbanner.jpg';

links[1] = 'http://www.transamericaaffinity.com/';
imgs[1] = 'http://www.chra.com/ads/transamericaad.jpg';

links[2] = 'http://www.smbcinc.com';
imgs[2] = 'http://www.chra.com/ads/smbcad.jpg';

links[3] = 'http://psafinancial.com/TeamProfiles/JaniaStout.html';
imgs[3] = 'http://www.chra.com/ads/PSAbannerad.jpg';

links[4] = 'http://www.umbc.edu/isd';
imgs[4] = 'http://www.chra.com/ads/UMBC.jpg';

links[5] = 'http://baltimore.bizjournals.com/baltimore/';
imgs[5] = 'http://www.chra.com/ads/adBBJ.jpg';

links[6] = 'http://www.fivel.net';
imgs[6] = 'http://www.chra.com/ads/adFiveL.gif';

links[7] = 'http://www.towerfcu.org';
imgs[7] = 'http://www.chra.com/ads/TowerAd.jpg';

links[8] = 'http://www.mcdaniel.edu/graduate';
imgs[8] = 'http://www.chra.com/ads/McDanielCollege.jpg';

links[9] = 'http://www.humana.com';
imgs[9] = 'http://www.chra.com/ads/Humana.gif';

links[10] = 'http://www.scandh.com';
imgs[10] = 'http://www.chra.com/ads/SC&H.jpg';

links[11] = 'http://www.pbcu.com';
imgs[11] = 'http://www.chra.com/ads/PointBreeze.jpg';

links[12] = 'http://www.right.com/people/';
imgs[12] = 'http://www.chra.com/ads/RightManagement.jpg';

links[13] = 'http://grad.towson.edu/program/master/hurd-hrdg-ms/?utm_source=Chesapeake%2BHuman%2BResource%2BAssociation%2B&utm_medium=Banner&utm_term=human%2Bresources%2Bprogram%2C%2Bhuman%2Bresources%2Bprograms%2C%2Bmasters%2Bin%2Bhuman%2Bresources%2C%2Bhuman%2Bresource%2Buniversities%2C%2Bhuman%2Bresources%2Bdegree%2C%2Bhuman%2Bresources%2Bmasters%2C%2Bhuman%2Bresources%2Bprograms%2Bgraduate%2C%2Bhuman%2Bresources%2Bmaster%2C%2Bhuman%2Bresources%2Bgraduate%2Bschools%2C%2Bhuman%2Bresources%2Bdevelopment%2Bmasters&utm_content=Banner%2B1&utm_campaign=HUMAN%2BRESOURCE%2BDEVELOPMENT%2B%28M.S.%29%2B-%2BPROFESSIONAL';
imgs[13] = 'http://www.chra.com/ads/towsonuniv.gif';

var last_rand_no = 0;
var rand_no = 0;
var thisimg;

function navigate(){
  window.location = thisimg;
}

function rotate() {

   while(rand_no == last_rand_no){
      rand_no = Math.floor((links.length - 0)*Math.random()) + 0;
   }

   last_rand_no = rand_no;
   document.rotator.src = imgs[rand_no];
   thisimg = links[rand_no];
   //setTimeout("rotate();",5000);

}
rotate();
//setTimeout("rotate();",5000);

