/*
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/aspengroveco.jpg' border='1' width='140' height='120' alt='Aspen Grove Photography'></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='../colorado/aspengrove-boulder-co-wedding-photographer.asp'>Aspen Grove Photography</a></font></b><br>Boulder CO - (303)619-2958<br><br>Boulder, Colorado wedding photographer offers top notch, photojournalistic style photography. Uses natural lighting and natural settings whenever possible. We tailor each photo shoot for your specific wants & desires to provide a flexible, fun and relaxed experience for all.  Available for travel.</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='../colorado/aspengrove-boulder-co-wedding-photographer.asp'>www.AspenGrovePhoto.com</a></b></td><td background='../images/bluebg.gif' height='45' width='200' align='left' class='borderbottomright' valign='center'><a href='../colorado/aspengrove-boulder-co-wedding-photographer.asp'><img src='../images/contact.gif' border='0' width='162' height='40' alt='Check Availability for Aspen Grove Photography'></a></td></tr><tr><td colspan='6'><img src='../images/spacer.gif' height='5' width='500'></td></tr>"

diffcontent[1]="<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/photoraco.jpg' border='1' width='87' height='120' alt='Photora Images'></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='../colorado/photora-denver-co-wedding-photographer.asp'>Photora Images</a></font></b><br>4046 Osceola, Denver CO - (720)810-5911 / (303)921-9511<br><br>The way we see it, your wedding photos are the most important investment you can make on your wedding day. After the flowers have wilted, after the food has been eaten, and after the dress has been hung in the closet never to be worn again, your photos are the ONE thing that will last!</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='../colorado/photora-denver-co-wedding-photographer.asp'>www.photoraimages.com</a></b></td><td background='../images/bluebg.gif' height='45' width='200' align='left' class='borderbottomright' valign='center'><a href='../colorado/photora-denver-co-wedding-photographer.asp'><img src='../images/contact.gif' border='0' width='162' height='40' alt='Check Availability for Photora Images'></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++
}
}
}