//Random iframe content- © Dynamic Drive (www.dynamicdrive.com)

var ie=document.all&&navigator.userAgent.indexOf("Opera")==-1
var dom=document.getElementById&&navigator.userAgent.indexOf("Opera")==-1

//Specify IFRAME display attributes
var iframeprops='width=190 height=550 marginwidth="0" marginheight="0" hspace="0" vspace="10" frameborder="0" scrolling="no"'

//Specify random URLs to display inside iframe
var randomcontent=new Array()
randomcontent[0]= "testi/guaranty2.html"
randomcontent[1]= "testi/jacobus1.html"
randomcontent[2]= "testi/briggs1.html"
randomcontent[3]= "testi/guaranty1.html"
randomcontent[4]= "testi/js1.html"
randomcontent[5]= "testi/muhs1.html"
randomcontent[6]= "testi/reinhart1.html"
randomcontent[7]= "testi/dsha1.html"
randomcontent[8]= "testi/carroll_college.html"
randomcontent[9]= "testi/g_k.html"


//No need to edit after here
if (ie||dom)
document.write('<iframe id="dynstuff" src="" '+iframeprops+'></iframe>')

function random_iframe(){
if (ie||dom){
var iframeobj=document.getElementById? document.getElementById("dynstuff") : document.all.dynstuff
iframeobj.src=randomcontent[Math.floor(Math.random()*randomcontent.length)]
}
}

window.onload=random_iframe