//Homepage Banner 1 Function
function banner1()
{
images = new Array(3);

images[0] = "<a href = 'http://www.nccs.gov/user-support/'><img src='http://www.nccs.gov/img/banner/banner_questions.jpg' alt='NCCS Support' name='bannerBorder' border='0' id='bannerBorder'></a>";

images[1] = "<a href = 'http://www.nccs.gov/user-support/access/'><img src='http://www.nccs.gov/img/banner/banner_accounts.jpg' alt='NCCS Accounts' name='bannerBorder' border='0' id='bannerBorder'></a>";

images[2] = "<a href = 'http://www.nccs.gov/2009/06/30/training-for-ultrascale-computing-qa-with-donald-frederick-of-the-national-center-for-computational-sciences/'><img src='http://www.nccs.gov/img/banner/banner-training-qa.gif' alt='Training for Ultrascale Computing' name='bannerBorder' border='0' id='bannerBorder'></a>";


index = Math.floor(Math.random() * images.length);

document.write(images[index]);


}

//Homepage Banner 2 Function
function banner2()
{
images = new Array(1);

images[0] = "<a href = 'http://www.nccs.gov/2010/02/25/olcf-nics-to-host-spring-hex-core-workshop-users-meeting/'><img src='http://www.nccs.gov/img/banner/6core-users-workshops.gif' alt='Spring Cray XT5 Hex-core Workshop and Users' Meeting' name='bannerBorder' border='0' id='bannerBorder'></a>";


index = Math.floor(Math.random() * images.length);

document.write(images[index]);

}

