var max=7;
var thisBanner=1;
var banner=new MakeBannerArray(max);


function MakeBannerArray(n)
{
this.length=n;
for (var i=1; i<=n;i++)
{
this[i]="";
}
return this;
} 
// escape all apostophies' with a \ before example \'
// escape all slashes/ with a \ before example \/
// change the var max= above to be equal with the number of banners below.
banner[1]='<div id="hero" style="position:relative; width:940px; top:123px; height:210px; background-image:url(\/images\/hero1.jpg);"> <div id="herotext" style="position:absolute; width:450px; height:150px; text-align:center; vertical-align:middle;	margin:30px 0 0px 60px;"> <span class="bannertext">Build Your Strategic Advantage Through IT<\/span><br\/><!--<span class="learnmore"><a href="#">Learn More Now!<\/a><\/span>--><\/div><\/div>';

banner[2]='<div id="hero" style="position:relative; width:940px; top:123px; height:210px; background-image:url(\/images\/hero2.jpg);"> <div id="herotext" style="position:absolute; width:450px; height:150px; text-align:center; vertical-align:middle; margin:30px 0 0px 60px;"> <span class="bannertext">Combining People, Process, and Technology<\/span><br\/><!--<span class="learnmore"><a href="#">Learn More Now!<\/a><\/span>--><\/div><\/div>';

banner[3]='<div id="hero" style="position:relative; width:940px; top:123px; height:210px; background-image:url(\/images\/hero3.jpg);"> <div id="herotext" style="position:absolute; width:450px; height:150px; text-align:center; vertical-align:middle; margin:30px 0 0px 60px;"> <span class="bannertext">Creating Innovative IT Solutions for Today\'s Business Challenges<\/span><br\/><!--<span class="learnmore"><a href="#">Learn More Now!<\/a><\/span>--><\/div><\/div>';

banner[4]='<div id="hero" style="position:relative; width:940px; top:123px; height:210px; background-image:url(\/images\/hero4.jpg);"> <div id="herotext" style="position:absolute; width:450px; height:150px; text-align:center; vertical-align:middle; margin:30px 0 0px 60px;"> <span class="bannertext">Designing and Implementing the Right IT Solutions for Your Business<\/span><br\/><!--<span class="learnmore"><a href="#">Learn More Now!<\/a><\/span>--><\/div><\/div>';

banner[5]='<div id="hero" style="position:relative; width:940px; top:123px; height:210px; background-image:url(\/images\/hero5.jpg);"> <div id="herotext" style="position:absolute; width:450px; height:150px; text-align:center; vertical-align:middle; margin:30px 0 0px 60px;"> <span class="bannertext">Technology based business innovation<\/span><br\/><!--<span class="learnmore"><a href="#">Learn More Now!<\/a><\/span>--><\/div><\/div>';

banner[6]='<div id="hero" style="position:relative; width:940px; top:123px; height:210px; background-image:url(\/images\/hero6.jpg);"> <div id="herotext" style="position:absolute; width:450px; height:150px; text-align:center; vertical-align:middle; margin:30px 0 0px 60px;"> <span class="bannertext">Increase business potential with creative IT Solutions<\/span><br\/><!--<span class="learnmore"><a href="#">Learn More Now!<\/a><\/span>--><\/div><\/div>';

banner[7]='<div id="hero" style="position:relative; width:940px; top:123px; height:210px; background-image:url(\/images\/hero7.jpg);"> <div id="herotext" style="position:absolute; width:450px; height:150px; text-align:center; vertical-align:middle; margin:30px 0 0px 60px;"> <span class="bannertext">Improve service, reduce cost and manage risk with IT Solutions<\/span><br\/><!--<span class="learnmore"><a href="#">Learn More Now!<\/a><\/span>--><\/div><\/div>';

function rand(n)
      {
      rnum=Math.floor(n*Math.random())+1;
      return rnum;
      } 
	  
function setBanner()
      {
      thisBanner=rand(max);
      } 

// html code example to call this script
// <script type="text/javascript" language="JavaScript">
//		<!--
//		setBanner();
//		document.write (banner[thisBanner]);
//		// --></script> 
