/*
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/dancingmountainphotographyn.jpg' border='1' width='87' height='120' alt='Dancing Mountain 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='dancing_mt_nm_wedding_photographer.asp'>Dancing Mountain Photography</a></font></b><br>4905 Sundance Court NE, Rio Rancho NM - (505)-453-3361 / (505)-771-2887<br><br>Dancing Mountain Photography, Provides Artistic and Traditional Wedding Photography for you and your family with a comfortable aproach to photograph one of the most important days of your lives. We strive for your complete satisfaction knowing our reputation is on the line.</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='dancing_mt_nm_wedding_photographer.asp'>www.DancingMountain.com</a></b></td><td background='../images/bluebg.gif' height='45' width='200' align='left' class='borderbottomright' valign='center'><a href='dancing_mt_nm_wedding_photographer.asp'><img src='../images/contact.gif' border='0' width='162' height='40' alt='Contact Dancing Mountain 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/blombergtx2.jpg' border='1' width='180' height='120' alt='Greg Blomberg Inc'></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='../texas/blomberg-dallas-tx-wedding-photographer.asp'>Greg Blomberg Inc</a></font></b><br>Serving New Mexico & Worldwide - (214)549-0001<br><br>Greg Blomberg&rsquo;s award winning wedding and lifestyle photography has been highly sought after over the past 20 years. Greg&rsquo;s unique and contemporary approach, in combination with his comfortable style, creates images that truly capture the emotional essence of his exclusive clientele.</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='../texas/blomberg-dallas-tx-wedding-photographer.asp'>www.gregblomberg.com</a></b></td><td background='../images/bluebg.gif' height='45' width='200' align='left' class='borderbottomright' valign='center'><a href='../texas/blomberg-dallas-tx-wedding-photographer.asp'><img src='../images/contact.gif' border='0' width='162' height='40' alt='Check Availability for Greg Blomberg Inc'></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++
}
}
}