// 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'>10AM</span> : <span class='finePrint'>N.C. House Government Committee</span><br /><span class='also'>11AM</span> : <span class='finePrint'>N.C. Senate session</span><br /><span class='also'>1PM</span> : <span class='finePrint'>N.C. House 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(2011,4,21)

<p class='redText'>Live Now: N.C. Senate Session</p>

<p>Live Now: N.C. House Session</p>
**/










var current="<div class='legLive'><p><span class='RepCon'>LIVE TODAY</span></p><p><span class='also'>9:30AM</span> : <span class='finePrint'><b>Capitol Coffee</b> (Guest: Tom Jensen, Public Policy Polling)</p><span class='launchLive'><a href='http://www.voterradio.com/player/index.php' target='popup' onclick='window.open(\"http://www.voterradio.com/player/index.php\", \"popup\", \"width=783,height=260\"); return false'>Listen LIVE</a></span></p><p class='explain'><a href='http://live365.com/play/ncvoter' target='_blank'>Mobile users: listen live here</a></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 <p><span class='also'>LIVE NOW</span> : N.C. House session<p>
countdown(2012,2,6)











/**
var current="<div class='legLive'><p><span class='RepCon'>LIVE TODAY</span></p><p><span class='boldOnly'>Capitol Coffee</span><br /><br /><span class='also'>8:30AM</span> : <span class='finePrint'>A live discussion of political news in North Carolina and nationally</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(2011,4,25)
**/


















