// JavaScript Document






/**
var current="<div class='legLive'><p><span class='RepCon'>LIVE TODAY</span></p><p><span class='boldOnly'>N.C. Legislative Sessions</span><br /><br /><span class='also'>11 a.m.</span> : <span class='finePrint'>Hear gavel-to-gavel coverage of today's session in the N.C. Senate.</span><br /><span class='also'>1 p.m.</span> : <span class='finePrint'>Hear gavel-to-gavel coverage of today's session in the N.C. House.</span></p><span class='launchLive'><a href='http://www.voterradio.com/player/index.html' target='popup' onclick='window.open(\"http://www.voterradio.com/player/index.html\", \"popup\", \"width=700,height=185\"); return false'>Listen LIVE</a></span></p></div>"
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

function countdown(yr,m,d){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var futurestring=montharray[m-1]+" "+d+", "+yr
var difference=(Math.round((Date.parse(futurestring)-Date.parse(todaystring))/(24*60*60*1000))*1)

if (difference==0)
document.write(current)
else (difference!=0)
document.write("")
}
//enter the count down date using the format year/month/day
countdown(2009,8,6)
**/








/**
var current="<div class='legLive'><p><span class='RepCon'>LIVE TODAY</span></p><p><span class='boldOnly'>N.C. Legislative Sessions</span><br /><br /><span class='also'>3 p.m.</span> : <span class='finePrint'>Hear gavel-to-gavel coverage of today's session in the N.C. House, followed immediately by a delayed live broadcast of the N.C. Senate's daily session, in its entirety.</span></p><span class='launchLive'><a href='http://www.voterradio.com/player/index.html' target='popup' onclick='window.open(\"http://www.voterradio.com/player/index.html\", \"popup\", \"width=700,height=185\"); return false'>Listen LIVE</a></span></p></div>"
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

function countdown(yr,m,d){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var futurestring=montharray[m-1]+" "+d+", "+yr
var difference=(Math.round((Date.parse(futurestring)-Date.parse(todaystring))/(24*60*60*1000))*1)

if (difference==0)
document.write(current)
else (difference!=0)
document.write("")
}
//enter the count down date using the format year/month/day
countdown(2009,8,5)

**/




var current="<div class='legLive'><p><span class='RepCon'>LIVE TODAY</span></p><p><span class='boldOnly'>N.C. Legislative Sessions</span><br /><br /><span class='also'>12:05AM</span> : <span class='finePrint'>Hear gavel-to-gavel coverage of today's session in the N.C. Senate, followed immediately by live coverage of the N.C. House daily session.</span></p><span class='launchLive'><a href='http://www.voterradio.com/player/index.html' target='popup' onclick='window.open(\"http://www.voterradio.com/player/index.html\", \"popup\", \"width=700,height=185\"); return false'>Listen LIVE</a></span></p></div>"
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

function countdown(yr,m,d){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var futurestring=montharray[m-1]+" "+d+", "+yr
var difference=(Math.round((Date.parse(futurestring)-Date.parse(todaystring))/(24*60*60*1000))*1)

if (difference==0)
document.write(current)
else (difference!=0)
document.write("")
}
//enter the count down date using the format year/month/day
countdown(2010,7,09)















