
// window popping script for the org chart
function winPopOrg(URL)
{
	orgWin = window.open(
	URL,
	"orgchart",
	"screenX=10,screenY=10,left=10,top=10,toolbar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=442,height=275");
	orgWin.focus();
}

function toParent(URL) {

window.opener.location.href = URL;
window.opener.focus();
}

function launchPodcasts(formY) {
	var num = eval("document." + formY + ".menudo.selectedIndex");
	var infostring = eval("document." + formY + ".menudo.options[num].value");
	if (infostring == "blank") {
		alert("Choose a podcast first from the pulldown menu, then click the link to view!") ;
		return;
	}
	this.window.location.href = infostring;
}

// functions for video

function seriesVideo(formX) {
	var num = eval("document." + formX + ".menudo.selectedIndex");
	var infostring = eval("document." + formX + ".menudo.options[num].value");
	if (infostring == "blank") {
		alert("Choose a clip first from the pulldown menu, then click your player to view!") ;
		return;
	}
	var vplayWin = window.open('/scripts/video/vidplayer.html?movie=' + infostring,'vplay','width=700,height=515,status=yes');
}

var videoIcon = "<img src=\"\/thewire\/img\/template\/video_icon.gif\" alt=\"VIDEO\" title=\"VIDEO\" width=\"47\" height=\"13\" border=\"0\" \/>";