0

Let's say I have a banner on my site that randomly rotates between images that depict the month of January. Is it possible to have 10 images randomly rotate the entire month, then to have a new 10 images rotate randomly for the following month? I also need each image to link to its link.

I was thinking an If/Then statement might work, but I have no clue... and frankly, I'm not a very good coder.

IF MONTH=January, then show this

<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/snowman.png"
myimages[2]="https://dl.dropboxusercontent.com/u/newyears.png"
myimages[3]="https://dl.dropboxusercontent.com/u/mlk.png"
myimages[4]="https://dl.dropboxusercontent.com/u/january.png"
myimages[5]="https://dl.dropboxusercontent.com/u/winter.png"
myimages[6]="https://dl.dropboxusercontent.com/u/sled.png"
myimages[7]="https://dl.dropboxusercontent.com/u/fireworks.png"
myimages[8]="https://dl.dropboxusercontent.com/u/celebration.png"
myimages[9]="https://dl.dropboxusercontent.com/u/jan2.png"
myimages[10]="https://dl.dropboxusercontent.com/u/jan3.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://mysite.com/snowparty" 
imagelinks[2]="http://mysite.com/sledrentals" 
imagelinks[3]="http://mysite.com/civilrights" 
imagelinks[4]="http://mysite.com/januarycalendar" 
imagelinks[5]="http://mysite.com/schoolsched" 
imagelinks[6]="http://mysite.com/sledrentals" 
imagelinks[7]="http://mysite.com/fireworks" 
imagelinks[8]="http://mysite.com/wine" 
imagelinks[9]="http://mysite.com/januarycalendar" 
imagelinks[10]="http://mysite.com/januarycalendar2" 





var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>



IF MONTH=February, then show this

<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/valentines.png"
myimages[2]="https://dl.dropboxusercontent.com/u/presidents.png"
myimages[3]="https://dl.dropboxusercontent.com/u/groundhog.png"
myimages[4]="https://dl.dropboxusercontent.com/u/february.png"
myimages[5]="https://dl.dropboxusercontent.com/u/lincoln.png"
myimages[6]="https://dl.dropboxusercontent.com/u/washington.png"
myimages[7]="https://dl.dropboxusercontent.com/u/spring.png"
myimages[8]="https://dl.dropboxusercontent.com/u/blackhistory.png"
myimages[9]="https://dl.dropboxusercontent.com/u/feb2.png"
myimages[10]="https://dl.dropboxusercontent.com/u/feb3.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://mysite.com/hearts" 
imagelinks[2]="http://mysite.com/prez" 
imagelinks[3]="http://mysite.com/billmurray" 
imagelinks[4]="http://mysite.com/febcalendar" 
imagelinks[5]="http://mysite.com/tallmen" 
imagelinks[6]="http://mysite.com/president1" 
imagelinks[7]="http://mysite.com/equinox" 
imagelinks[8]="http://mysite.com/africa" 
imagelinks[9]="http://mysite.com/febcalendar" 
imagelinks[10]="http://mysite.com/febcalendar2" 





var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
2
Contributors
5
Replies
41
Views
3 Years
Discussion Span
Last Post by mattster
0

Maybe this might help. I have a code that displays a different phrase based on the day of the week. What I'd need is for it to display a different random image array formula every month instead. Is this even possible?

<font style="font-weight:bold; color:#990000; font-size:22px"><script type="text/javascript"> 
    <!--      
    Date.prototype.getWeek = function() {
        var onejan = new Date(this.getFullYear(),0,1);
        return Math.ceil((((this - onejan) / 86400000) + onejan.getDay()+1)/7);
    } 

    var weekNumber = (new Date()).getWeek();

    // Array of day names
    var dayNames = new Array(
    "It's Sunday, start the week off strong!",
    "Mondays are tough, but work through it!",
     "It's Tuesday, time to step it up!",
     "It's Wednesday. Halfway through, so work twice as hard!",
     "Thursday's here, keep up the great work!",
     "It's Friday, right? You must want it bad!",
    "It's Saturday. Finish this week STRONG!");
    var now = new Date();
    document.write (dayNames[now.getDay()]);

     // -->
</script></font><br><br><br><br>
0

I believe I'm extremely close to figuring this out by myself. If anyone would like to chime in, please do so. I am no pro; just trying to put random pieces of a puzzle together from stuff I find through google. Thanks.

<div id = "div1" style = "display:none">January</div>
<div id = "div2" style="display:none">February</div>
<div id = "div3" style="display:none">March</div>
<div id = "div4" style = "display:none">April</div>
<div id = "div5" style="display:none">May</div>
<div id = "div6" style="display:none">June</div>
<div id = "div7" style = "display:none">July</div>
<div id = "div8" style="display:none">August</div>
<div id = "div9" style="display:none">September</div>
<div id = "div10" style = "display:none">October</div>
<div id = "div11" style="display:none">November</div>
<div id = "div12" style="display:none">December</div>

<script type = "text/javascript">


var startEventDate = new Date("January 1, 2014"); // time is optional 
var endEventDate = new Date ("February 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div1").style.display = "block"}

var startEventDate = new Date("February 1, 2014"); // time is optional 
var endEventDate = new Date ("March 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div2").style.display = "block"}

var startEventDate = new Date("March 1, 2014"); // time is optional 
var endEventDate = new Date ("April 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div3").style.display = "block"}

var startEventDate = new Date("April 1, 2014"); // time is optional 
var endEventDate = new Date ("May 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div4").style.display = "block"}

var startEventDate = new Date("May 1, 2014"); // time is optional 
var endEventDate = new Date ("June 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div5").style.display = "block"}

var startEventDate = new Date("June 1, 2014"); // time is optional 
var endEventDate = new Date ("July 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div6").style.display = "block"}

var startEventDate = new Date("July 1, 2014"); // time is optional 
var endEventDate = new Date ("August 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div7").style.display = "block"}

var startEventDate = new Date("August 1, 2014"); // time is optional 
var endEventDate = new Date ("September 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div8").style.display = "block"}

var startEventDate = new Date("September 1, 2014"); // time is optional 
var endEventDate = new Date ("October 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div9").style.display = "block"}

var startEventDate = new Date("October 1, 2014"); // time is optional 
var endEventDate = new Date ("November 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div10").style.display = "block"}

var startEventDate = new Date("November 1, 2014"); // time is optional 
var endEventDate = new Date ("December 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div11").style.display = "block"}

var startEventDate = new Date("December 1, 2014"); // time is optional 
var endEventDate = new Date ("January 1, 2015");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div12").style.display = "block"}




</script>
0

That seemed to had did the trick! Here's what I've come up with for anyone who might ever need this or for anyone who would like to clean it up for me a bit.

<div id = "div1" style = "display:none">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div2" style = "display:none">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div3" style = "display:none">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div4" style = "display:none">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div5" style = "display:none">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div6" style = "display:none">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div7" style = "display:none">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div8" style = "display:none">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div9" style = "display:none">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div10" style = "display:none">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div11" style = "display:none">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div12" style = "display:none">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>

















<script type = "text/javascript">


var startEventDate = new Date("January 1, 2014"); // time is optional 
var endEventDate = new Date ("February 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div1").style.display = "block"}

var startEventDate = new Date("February 1, 2014"); // time is optional 
var endEventDate = new Date ("March 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div2").style.display = "block"}

var startEventDate = new Date("March 1, 2014"); // time is optional 
var endEventDate = new Date ("April 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div3").style.display = "block"}

var startEventDate = new Date("April 1, 2014"); // time is optional 
var endEventDate = new Date ("May 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div4").style.display = "block"}

var startEventDate = new Date("May 1, 2014"); // time is optional 
var endEventDate = new Date ("June 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div5").style.display = "block"}

var startEventDate = new Date("June 1, 2014"); // time is optional 
var endEventDate = new Date ("July 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div6").style.display = "block"}

var startEventDate = new Date("July 1, 2014"); // time is optional 
var endEventDate = new Date ("August 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div7").style.display = "block"}

var startEventDate = new Date("August 1, 2014"); // time is optional 
var endEventDate = new Date ("September 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div8").style.display = "block"}

var startEventDate = new Date("September 1, 2014"); // time is optional 
var endEventDate = new Date ("October 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div9").style.display = "block"}

var startEventDate = new Date("October 1, 2014"); // time is optional 
var endEventDate = new Date ("November 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div10").style.display = "block"}

var startEventDate = new Date("November 1, 2014"); // time is optional 
var endEventDate = new Date ("December 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div11").style.display = "block"}

var startEventDate = new Date("December 1, 2014"); // time is optional 
var endEventDate = new Date ("January 1, 2015");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div12").style.display = "block"}




</script>
0

I guess I also needed to state an option for the blank state.

<div id = "div1" style = "display:none;">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div2" style = "display:none;">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div3" style = "display:none;">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div4" style = "display:none;">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div5" style = "display:none;">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div6" style = "display:none;">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div7" style = "display:none;">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div8" style = "display:none;">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div9" style = "display:none;">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div10" style = "display:none;">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div11" style = "display:none;">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>






<div id = "div12" style = "display:none;">
<center><script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish

myimages[1]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default18%20-%20private%20sessions.png"
myimages[2]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default1%20-%20Def%20Skills%20Clinic.png"
myimages[3]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default4%20-%20open%20gym.png"
myimages[4]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default12%20-%20media.png"
myimages[5]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default7%20-%20combines.png"
myimages[6]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default21%20-%20free%20throws.png"
myimages[7]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default10%20-%20store.png"
myimages[8]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default6%20-%2021days.png"
myimages[9]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default13%20-%20rosters.png"
myimages[10]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default2%20-%20cal%20sync.png"
myimages[11]="https://dl.dropboxusercontent.com/u/5739741/OMAR/images/default19%20-%20awards.png"


//specify corresponding links below
var imagelinks=new Array()

imagelinks[1]="http://bookeo.com/50allstars?category=211LFU3TR14431C7D5F1&initialview=oneOffEvents" 
imagelinks[2]="http://bookeo.com/50allstars?type=2119U69N413C41D1441E" 
imagelinks[3]="http://bookeo.com/50allstars?category=211UPY7TC13FF8F78C00&initialview=oneOffEvents" 
imagelinks[4]="http://www.50allstars.com/p/media.html" 
imagelinks[5]="http://bookeo.com/50allstars?type=2117JHM7A14137B466D8" 
imagelinks[6]="http://www.50allstars.com/p/donate.html" 
imagelinks[7]="http://www.50allstars.com/p/shop.html" 
imagelinks[8]="http://www.50allstars.com/p/challenge.html" 
imagelinks[9]="http://www.50allstars.com/2014/08/teams.html" 
imagelinks[10]="http://www.50allstars.com/p/calendar-sync.html" 
imagelinks[11]="http://bookeo.com/50allstars" 


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" style="border:4px #660000 solid;"></a>')
}
random_imglink()
//-->
</script></center>
</div>





<div id = "space" style = "display:none;">
</div>











<script type = "text/javascript">


var today = new Date();
var endofseason = new Date("January 1, 2014");
if (today >= endofseason) {document.getElementById("space").style.display = "block"} 

var startEventDate = new Date("January 1, 2014"); // time is optional 
var endEventDate = new Date ("February 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div1").style.display = "block"}

var startEventDate = new Date("February 1, 2014"); // time is optional 
var endEventDate = new Date ("March 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div2").style.display = "block"}

var startEventDate = new Date("March 1, 2014"); // time is optional 
var endEventDate = new Date ("April 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div3").style.display = "block"}

var startEventDate = new Date("April 1, 2014"); // time is optional 
var endEventDate = new Date ("May 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div4").style.display = "block"}

var startEventDate = new Date("May 1, 2014"); // time is optional 
var endEventDate = new Date ("June 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div5").style.display = "block"}

var startEventDate = new Date("June 1, 2014"); // time is optional 
var endEventDate = new Date ("July 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div6").style.display = "block"}

var startEventDate = new Date("July 1, 2014"); // time is optional 
var endEventDate = new Date ("August 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div7").style.display = "block"}

var startEventDate = new Date("August 1, 2014"); // time is optional 
var endEventDate = new Date ("September 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div8").style.display = "block"}

var startEventDate = new Date("September 1, 2014"); // time is optional 
var endEventDate = new Date ("October 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div9").style.display = "block"}

var startEventDate = new Date("October 1, 2014"); // time is optional 
var endEventDate = new Date ("November 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div10").style.display = "block"}

var startEventDate = new Date("November 1, 2014"); // time is optional 
var endEventDate = new Date ("December 1, 2014");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div11").style.display = "block"}

var startEventDate = new Date("December 1, 2014"); // time is optional 
var endEventDate = new Date ("January 1, 2015");
if ((today >= startEventDate)  && (today <=endEventDate)) {document.getElementById("div12").style.display = "block"}




</script>
0

Have a look at this: http://www.javascriptkit.com/script/script2/jsslide.shtml

Get it up and running, and then change the following lines:

//configure the paths of the images, plus corresponding target links
var currentMonth = (new Date).getMonth() + 1;
if(currentMonth == 10){
    slideshowimages('http://upload.wikimedia.org/wikipedia/commons/thumb/a/ab/Logo-ubuntu_cof-orange-hex.svg/100px-Logo-ubuntu_cof-orange-hex.svg.png', 'http://www.how2code.co.uk/wp-content/themes/twentytwelve_child/images/Python_logo_100x100.jpg')
    slideshowlinks("http://food.epicurious.com/run/recipe/view?id=13285","http://food.epicurious.com/run/recipe/view?id=10092")
}else if(currentMonth == 11){
    slideshowimages('http://www.javascriptkit.com/script/script2/photo1.jpg', 'http://www.javascriptkit.com/script/script2/photo2.jpg')
    slideshowlinks("http://food.epicurious.com/run/recipe/view?id=13285","http://food.epicurious.com/run/recipe/view?id=10092")
}

It's hardly a perfect script, but does what you need. The same method can be used with far more complex plugins, just change the list of images depending on what the month is (although it's more complicated in big sliders).

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.