/*
Random-Order content script
By JavaScript Kit (http://www.javascriptkit.com)
This notice must stay intact for use
*/

//1) Specify content(s) to display and rotate
//   You can specify multiple "sets", each displayed in diff. areas of your page

var diffcontent=new Array() //vendor set

diffcontent[0]="<tr><td width='5' rowspan='2' height='120'><img src='../images/spacer.gif' border='0' height='120' width='5'></td><td background='../images/bluebg.gif' width='220' rowspan='2' height='120' align='center' class='borderbottomtopleft'><img src='../vendorphotos/isphotosd.jpg' border='1' width='86' height='120' alt='IS Photo ~ Images By Shauna'></td><td background='../images/bluebg.gif' width='16' rowspan='2' height='120' valign='top' class='borderbottomtop'><img src='../images/spacer.gif' border='0' height='16' width='16'></td><td colspan='2' background='../images/bluebg.gif' width='475' height='75' class='bordertopright' valign='top'><font size='4' face='arial' color='#003399'><b><a href='isphoto-yankton-sd-wedding-photographer.asp'>IS Photo ~ Images By Shauna</a></font></b><br>317 Broadway Avenue Suite 14, Yankton SD - (605)665-2977 / (605)940-9040<br><br>IS Photo is portrait studio that takes pride in our images that capture your day in a beautiful style you will treasure for generations.<br><br></td><td width='5' rowspan='2' height='120'><img src='../images/spacer.gif' border='0' height='10' width='5'></td></tr><tr><td background='../images/bluebg.gif' height='45' width='320' class='borderbottom' valign='center'><b>SITE:&nbsp;&nbsp;<a href='isphoto-yankton-sd-wedding-photographer.asp'>www.isphoto.org</a></b></td><td background='../images/bluebg.gif' height='45' width='200' align='left' class='borderbottomright' valign='center'><a href='isphoto-yankton-sd-wedding-photographer.asp'><img src='../images/contact.gif' border='0' width='162' height='40' alt='Check Availability for IS Photo ~ Images By Shauna'></a></td></tr><tr><td colspan='6'><img src='../images/spacer.gif' height='5' width='500'></td></tr>"






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++
}
}
}
