/*
Random Image Link Script- By JavaScript Kit(http://www.javascriptkit.com) 
Over 200+ free JavaScripts here!
Updated: 00/04/25
*/

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish
myimages[1]="http://www.hpcnet.org/upload/sdsmt/images/project11.jpg"
myimages[2]="http://www.hpcnet.org/upload/sdsmt/images/project125.jpg"

//specify corresponding links below
var imagelinks=new Array()
// Salaries greater than cost
imagelinks[1]="http://sdmines.sdsmt.edu/roi"
imagelinks[2]="http://125.sdsmt.edu"

//specify alt text
var imagealt=new Array()

imagealt[1]="The&nbsp;School&nbsp;of&nbsp;Mines&nbsp;may&nbsp;be&nbsp;the&nbsp;only&nbsp;university&nbsp;in&nbsp;the&nbsp;nation&nbsp;where&nbsp;starting&nbsp;salaries&nbsp;average&nbsp;more&nbsp;than&nbsp;total&nbsp;costs&nbsp;&nbsp;Read&nbsp;more."
imagealt[2]="The&nbsp;School&nbsp;of&nbsp;Mines&nbsp;celebrates&nbsp;125&nbsp;years&nbsp;of&nbsp;educating&nbsp;the&nbsp;leaders&nbsp;of&nbsp;tomorrow&nbsp;&nbsp;Read&nbsp;more."

var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=0 width="361" height="258" align="right" hspace="3" alt=' + imagealt[ry] + '></a>')
}
random_imglink()
