// Google Analytics Added 12.29.10 - RG
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-20472595-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
  
// End Google Analytics Added 12.29.10

// custom movie player
var x = 1;
function toggle(){
	var npr = document.getElementById('npr-widget');
	if (x == 1) {
		npr.style.display = 'block';
		x = 0;
		npr.innerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="24" height="20"><param name="movie" value="js/singlemp3player.swf?showDownload=false&amp;file=publications/NPR.mp3&amp;autoStart=true&amp;backColor=244878&amp;frontColor=ffffff&amp;repeatPlay=no&amp;songVolume=50"><param name="wmode" value="transparent"><embed wmode="transparent" src="js/singlemp3player.swf?showDownload=false&amp;file=publications/NPR.mp3&amp;autoStart=true&amp;backColor=244878&amp;frontColor=ffffff&amp;repeatPlay=no&amp;songVolume=50" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width="24" height="20"></object>';
	} else {
		npr.style.display = 'none';
		x = 1;
		npr.innerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="24" height="20"><param name="movie" value="js/singlemp3player.swf?showDownload=false&amp;file=publications/NPR.mp3&amp;autoStart=false&amp;backColor=244878&amp;frontColor=ffffff&amp;repeatPlay=no&amp;songVolume=50"><param name="wmode" value="transparent"><embed wmode="transparent" src="js/singlemp3player.swf?showDownload=false&amp;file=publications/NPR.mp3&amp;autoStart=false&amp;backColor=244878&amp;frontColor=ffffff&amp;repeatPlay=no&amp;songVolume=50" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width="24" height="20"></object>';
	}
}

// Contact Form submit/reset button image rollover script

var submitRolls = new Object();
var resetRolls = new Object();
function submitroll(src, oversrc, name)
{
this.src=src;
this.oversrc=oversrc;
this.name=name;
this.alt="Submit";
this.write=submitroll_write;
}

function resetroll(src, oversrc, name)
{
this.src=src;
this.oversrc=oversrc;
this.name=name;
this.alt="Reset";
this.write=resetroll_write;
}

function submitroll_write()
{
var thisform = 'document.forms[' + (document.forms.length - 1) + ']';
submitRolls[this.name] = new Object();
submitRolls[this.name].over = new Image();
submitRolls[this.name].over.src = this.oversrc;
submitRolls[this.name].out = new Image();
submitRolls[this.name].out.src = this.src;

document.write
	(
	'<A onMouseOver="if (document.images)document.images[\'' + this.name + "'].src=submitRolls['" + this.name + '\'].over.src"' + 
	' onMouseOut="if (document.images)document.images[\'' + this.name + "'].src=submitRolls['" + this.name + '\'].out.src"' + 
	' HREF="javascript:'
	);

if (this.sendfield)
	{
	if (! this.sendvalue)
		this.sendvalue = 1;
	document.write(thisform, ".elements['", this.sendfield, "'].value='", this.sendvalue, "';");
	}

document.write(thisform + '.submit();void(0);"');
if (this.msg)document.write(' onClick="return confirm(\'' , this.msg, '\')"');
document.write('>');

document.write('<IMG SRC="' + this.src + '" ALT="' + this.alt + '" BORDER=0 NAME="' + this.name + '"');
if (this.height)document.write(' HEIGHT=' + this.height);
if (this.width)document.write(' WIDTH='  + this.width);
if (this.otheratts)document.write(' ' + this.otheratts);
document.write('></A>');
if (this.sendfield)
	{
	document.write('<INPUT TYPE=HIDDEN NAME="' + this.sendfield + '">');
	document.forms[document.forms.length - 1].elements[this.sendfield].value='';
	}
}

function resetroll_write()
{
var thisform = 'document.forms[' + (document.forms.length - 1) + ']';
resetRolls[this.name] = new Object();
resetRolls[this.name].over = new Image();
resetRolls[this.name].over.src = this.oversrc;
resetRolls[this.name].out = new Image();
resetRolls[this.name].out.src = this.src;

document.write
	(
	'<A onMouseOver="if (document.images)document.images[\'' + this.name + "'].src=resetRolls['" + this.name + '\'].over.src"' + 
	' onMouseOut="if (document.images)document.images[\'' + this.name + "'].src=resetRolls['" + this.name + '\'].out.src"' + 
	' HREF="javascript:'
	);

if (this.sendfield)
	{
	if (! this.sendvalue)
		this.sendvalue = 1;
	document.write(thisform, ".elements['", this.sendfield, "'].value='", this.sendvalue, "';");
	}

document.write(thisform + '.reset();void(0);"');
if (this.msg)document.write(' onClick="return confirm(\'' , this.msg, '\')"');
document.write('>');

document.write('<IMG SRC="' + this.src + '" ALT="' + this.alt + '" BORDER=0 NAME="' + this.name + '"');
if (this.height)document.write(' HEIGHT=' + this.height);
if (this.width)document.write(' WIDTH='  + this.width);
if (this.otheratts)document.write(' ' + this.otheratts);
document.write('></A>');
if (this.sendfield)
	{
	document.write('<INPUT TYPE=HIDDEN NAME="' + this.sendfield + '">');
	document.forms[document.forms.length - 1].elements[this.sendfield].value='';
	}
}

// End Contact Form submit/reset button image rollover script
