/*
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/digitalartsid.jpg' border='1' width='180' height='120' alt='Digital Arts 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='digitalarts-lewiston-id-wedding-photographer.asp'>Digital Arts Photography</a></font></b><br>Lewiston ID - (208)791-3892<br><br>Idaho Photographer Mike McElhatton specializes in creative, artistic, and affordable wedding packages.  All packages include professionally processed prints, album, enlargements, and copyright-free CD.</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='digitalarts-lewiston-id-wedding-photographer.asp'>www.digitalartsphotography.com</a></b></td><td background='../images/bluebg.gif' height='45' width='200' align='left' class='borderbottomright' valign='center'><a href='digitalarts-lewiston-id-wedding-photographer.asp'><img src='../images/contact.gif' border='0' width='162' height='40' alt='Check Availability for Digital Arts 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/ericaroweid.jpg' border='1' width='122' height='120' alt='Erica Rowe 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='ericarowe-boise-id-wedding-photographer.asp'>Erica Rowe Photography</a></font></b><br>Boise ID<br><br>Affordable. Creative. Everlasting. Truly unique images that tell the story of YOUR day! Packages start at only $550 and can be tailored to fit your needs.<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='ericarowe-boise-id-wedding-photographer.asp'>www.ericaclicks.com</a></b></td><td background='../images/bluebg.gif' height='45' width='200' align='left' class='borderbottomright' valign='center'><a href='ericarowe-boise-id-wedding-photographer.asp'><img src='../images/contact.gif' border='0' width='162' height='40' alt='Check Availability for Erica Rowe Photography'></a></td></tr><tr><td colspan='6'><img src='../images/spacer.gif' height='5' width='500'></td></tr>"


//NATIONWIDE ADVERTISERS


var advertisers=new Array() //NATIONWIDE ADVERTISERS set







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++
}
}
}
