//1) Specify content(s) to display and rotate
//   You can specify multiple "sets", each displayed in diff. areas of your page

var content=new Array() //set 1

content[0]='<a href="http://www.decorahsports.com/ads/Vikingrealtors/index-realty.htm" target= "_blank"><img src="images/banners/viking-realty.gif" border=1></a>'
content[1]='<a href="http://www.aperfecthouse.com" target= "_blank"><img src="images/banners/aperfecthouse.gif" border=1></a>'
content[2]='<a href="http://www.davekelly.com" target= "_blank"><img src="images/banners/davekelly.gif" border=1></a>'
content[3]='<a href="http://www.decorahbank.com" target= "_blank"><img src="images/banners/decorahbank.gif" border=1></a>'
content[4]='<a href="http://www.arendsmoving.com" target= "_blank"><img src="images/banners/arends.jpg" border=1></a>'
content[5]='<a href="http://www.troutruntrail.com" target= "_blank"><img src="images/banners/troutruntrail.gif" border=1></a>'
content[6]='<a href="http://www.rubaiyatrestaurant.com" target= "_blank"><img src="images/banners/rubaiyat.gif" border=1></a>'
content[7]='<a href="http://www.ajpetersburg.com" target= "_blank"><img src="images/banners/ajpetersburg.gif" border=1></a>'
content[8]='<a href="http://www.decorahnews.com/ads/klocke/index.htm" target= "_blank"><img src="images/banners/klocke.gif" border=1></a>'


function randomorder(targetarray, spacing){

var randomorder=new Array()
var the_one
var z=0
for (i=0;i<targetarray.length;i++)
randomorder[i]=i

while (z<targetarray.length){
the_one=Math.floor(Math.random()*targetarray.length)
if (targetarray[the_one]!="_selected!"){
document.write(targetarray[the_one]+spacing)
targetarray[the_one]="_selected!"
z++
}
}
}
