/***********************************************
* Sliding Menu Bar Script- © Dynamic Drive (www.dynamicdrive.com)
* Visit http://www.dynamicdrive.com/ for full source code http://www.dynamicdrive.com/dynamicindex1/slideinmenu.htm
* This notice must stay intact for use
***********************************************/
var slidemenu_width='228px' //specify width of menu (in pixels)
var slidemenu_reveal='8px' //specify amount that menu should protrude initially
var slidemenu_top='88px'   //specify vertical offset of menu on page
var ns4=document.layers?1:0
var ie4=document.all
var ns6=document.getElementById&&!document.all?1:0
if (ie4||ns6)
document.write('<div id="slidemenubar2" style="left:'+((parseInt(slidemenu_width)-parseInt(slidemenu_reveal))*-1)+'px; top:'+slidemenu_top+'; width:'+slidemenu_width+'" onMouseover="pull()" onMouseout="draw()">')
else if (ns4){
document.write('<style>\n#slidemenubar{\nwidth:'+slidemenu_width+';}\n<\/style>\n')
document.write('<layer id="slidemenubar" left=0 top='+slidemenu_top+' width='+slidemenu_width+' onMouseover="pull()" onMouseout="draw()" visibility=hide>')
}
var sitems=new Array()
///////////Edit below/////////////////////////////////
//siteitems[x]=["Item Text", "Optional URL associated with text"]
sitems[0]=["<big><font face='Trebuchet MS' color='#003399'>Premium Reports -</font></big>", ""]
sitems[1]=["<font color='#003399'>* Recent Posts: *</font>", ""]
sitems[2]=["Posts Since Last Visit", "reports.php?action=lastvisit"]
sitems[3]=["Sweeps Contests & General Posts - Last 24 Hours", "reports.php?action=today"]
sitems[4]=["New Sweepstakes Posts - Last 24 Hours", "reports.php?action=sweepspast24hrs"]
sitems[5]=["New Contests Posts - Last 24 Hours", "reports.php?action=contestspast24hrs"]
sitems[6]=["New Periodic Sweeps & Contests Posts - Last 24 Hours", "reports.php?action=periodicspast24hrs"]
sitems[7]=["New General Posts - Last 24 Hours", "reports.php?action=nonsweeps24hrs"]
sitems[8]=["<font color='#003399'>* By Close Date: *</font>", ""]
sitems[9]=["Web Sweepstakes By Close Date", "reports.php?action=websbyclose"]
sitems[10]=["Web Contests By Close Date", "reports.php?action=webcbyclose"]
sitems[11]=["Snail Mail Sweepstakes & Contests By Close Date", "reports.php?action=snailmailbyclose"]
sitems[12]=["Phone & SMS Sweepstakes & Contests By Close Date", "reports.php?action=phonebyclose"]
sitems[13]=["<font color='#003399'>* Open Sesame Reports (open all 'web entry pages' sweeps and contests in new windows): *</font>", ""]
sitems[14]=["Marked entered. Daily or unlimited entry", "reports.php?action=webenteredDUentryopen"]
sitems[15]=["<font color='#003399'>* Closing within 10 Days: *</font>", ""]
sitems[16]=["All Sweepstakes Closing Within 10 Days", "reports.php?action=allsweeps10days"]
sitems[17]=["All Contests Closing Within 10 Days", "reports.php?action=allcontests10days"]
sitems[18]=["<font color='#003399'>* Instant Win: *</font>", ""]
sitems[19]=["Instant Win Sweepstakes or Contests", "reports.php?action=instantwinbyclose"]
sitems[20]=["<font color='#003399'>* Daily Entry: *</font>", ""]
sitems[21]=["Enter Daily Sweepstakes or Contests", "reports.php?action=dailybyclose"]
sitems[22]=["<font color='#003399'>* 1 Entry per Household: *</font>", ""]
sitems[23]=["1 Entry per Household Sweepstakes or Contests", "reports.php?action=housebyclose"]
sitems[24]=["<font color='#003399'>* Age Group: *</font>", ""]
sitems[25]=["18+ Sweepstakes or Contests", "reports.php?action=age18byclose"]
sitems[26]=["21+ Sweepstakes or Contests", "reports.php?action=age21byclose"]
sitems[27]=["13+ Sweepstakes or Contests", "reports.php?action=age13byclose"]
sitems[28]=["All other Age Sweepstakes or Contests", "reports.php?action=ageothersbyclose"]
sitems[29]=["<font color='#003399'>* Close on a Specific Date: *</font>", ""]
sitems[30]=["Sweepstakes & Contests Closing on a Specific Date", "sweepsclose.php"]
sitems[31]=["<font color='#003399'>* Added in the Last Week: *</font>", ""]
sitems[32]=["All Sweepstakes - Latest to Oldest Order", "reportss.php?action=sweekr"]
sitems[33]=["All Contests - Latest to Oldest Order", "reportss.php?action=cweekr"]
sitems[34]=["<font color='#003399'>* By Prize Pool: *</font>", ""]
sitems[35]=["All Sweepstakes & Contests by Prize Pool", "reports.php?action=allbyvalue"]
sitems[36]=["Web Sweepstakes & Contests by Prize Pool", "reports.php?action=webbyvalue"]
sitems[37]=["Snail Mail Sweepstakes & Contests by Prize Pool", "reports.php?action=snailmailbyvalue"]
sitems[38]=["Phone & SMS Sweepstakes & Contests by Prize Pool", "reports.php?action=phonebyvalue"]
//sitems[36]=["<font color='#003399'>* By Popularity/Views Lowest to  Highest: *</font>", ""]
//sitems[37]=["Web Sweepstakes & Contests by Views", "reports.php?action=webbyviews"]
//sitems[38]=["Snail Mail Sweepstakes & Contests by Views", "reports.php?action=snailmailbyviews"]
//sitems[39]=["Phone & SMS Sweepstakes & Contests by Views", "reports.php?action=phonebyviews"]
//sitems[40]=["<font color='#003399'>* By Popularity/Views Highest to  Lowest: *</font>", ""]
//sitems[41]=["Web Sweepstakes & Contests by Views", "reports.php?action=webbyviewsd"]
//sitems[42]=["Snail Mail Sweepstakes & Contests by Views", "reports.php?action=snailmailbyviewsd"]
//sitems[43]=["Phone & SMS Sweepstakes & Contests by Views", "reports.php?action=phonebyviewsd"]
sitems[39]=["<font color='#003399'>* Expired Sweepstakes and Contests: *</font>", ""]
sitems[40]=["Expired - Web Comps By Close Date", "reports.php?action=expwebbyclose"]
sitems[41]=["Expired - Snail Mail By Close Date", "reports.php?action=expsnailmailbyclose"]
sitems[42]=["Expired - Phone & SMS Comps By Close Date", "reports.php?action=expphonebyclose"]

//If you want the links to load in another frame/window, specify name of target (ie: target="_new")
var target=""
/////////////////////////////////////////////////////////
if (ie4||ns4||ns6){
for (i=0;i<sitems.length;i++){
if (sitems[i][1])
document.write('<a href="'+sitems[i][1]+'" target="'+target+'">')
document.write(sitems[i][0])
if (sitems[i][1])
document.write('</a>')
document.write('<br>\n')
}
}
function regenerate(){
window.location.reload()
}
function regenerate2(){
if (ns4){
document.slidemenubar.left=((parseInt(slidemenu_width)-parseInt(slidemenu_reveal))*-1)
document.slidemenubar.visibility="show"
setTimeout("window.onresize=regenerate",400)
}
}
window.onload=regenerate2
rightboundary=0
leftboundary=(parseInt(slidemenu_width)-parseInt(slidemenu_reveal))*-1
if (ie4||ns6){
document.write('</div>')
themenu=(ns6)? document.getElementById("slidemenubar2").style : document.all.slidemenubar2.style
}
else if (ns4){
document.write('</layer>')
themenu=document.layers.slidemenubar
}
function pull(){
if (window.drawit)
clearInterval(drawit)
pullit=setInterval("pullengine()",10)
}
function draw(){
clearInterval(pullit)
drawit=setInterval("drawengine()",10)
}
function pullengine(){
if ((ie4||ns6)&&parseInt(themenu.left)<rightboundary)
themenu.left=parseInt(themenu.left)+10+"px"
else if(ns4&&themenu.left<rightboundary)
themenu.left+=10
else if (window.pullit){
themenu.left=0
clearInterval(pullit)
}
}
function drawengine(){
if ((ie4||ns6)&&parseInt(themenu.left)>leftboundary)
themenu.left=parseInt(themenu.left)-10+"px"
else if(ns4&&themenu.left>leftboundary)
themenu.left-=10
else if (window.drawit){
themenu.left=leftboundary
clearInterval(drawit)
}
}