//This piece of code is here for Recent Blog to rotate the links
onload = start;

var ar = new Array();
ar[0] = "<a href='http://www.rightwingnews.com/' target='_blank'>Right Wing News</a><br/><a href='http://intellectualconservative.com/ICblog/' target='_blank'>Intellectual Conservative</a>";
ar[1] = "<a href='http://campaignspot.nationalreview.com/' target='_blank'>National Review Online</a><br/><a href='http://hughhewitt.townhall.com/blog' target='_blank'>Hugh Hewitt</a>";
ar[2] = "<a href='http://chat.anncoulter.com/phpBB2/' target='_blank'>Ann Coulter</a><br/><a href='http://forums.hannity.com/' target='_blank'>Sean Hannity</a>"
ar[3] = "<a href='http://www.reagan.com/forum/home.cfm' target='_blank'>Michael Reagan</a>";
var num = 1;

function start() {
  setInterval("update()", 5000);
}

function update() {
  display("rotated_links", ar[num]);
  num++;
  if (num == ar.length) num = 0;
}

function display(id, str) {
	if(document.getElementById("rotated_links")){
		document.getElementById("rotated_links").innerHTML = str;
	}
}

