function doRedirect(where)
{
	window.location.href = where;
}
/************************************
 *		Delete Function for CMS		*
 ************************************/
function confirmDelete(what, Name, where)
{

	var answer = confirm ("Are you Sure you want to delete " + Name + " \rPlease note, all click throughs from this article will become unavailable")
	if (answer)
	{
		doRedirect('CMS_Delete.asp?Seq='+what+'&redirect='+where);
	}
}
function SubmitPoll()
{
	tmpPollBox	= document.frmPoll["pollValue"];
	tmpPollSeq	= document.frmPoll["seq"];
	tmpFrame	= document.getElementById("pollFrame");

	tmpValue = "";
	ansFlag = false;
			
	for (j = 0; j < tmpPollBox.length; j++)
	{
		if (tmpPollBox[j].checked == true)
		{
			tmpValue = tmpPollBox[j].value;
			ansFlag = true;
		}
	}

	if (ansFlag == true)
	{
		tmpFrame.src = "processPoll.asp?pollSeq="+tmpPollSeq.value+"&answer="+tmpValue;
	}
	else
	{
		alert("Please select an answer before submitting");
	}
}
 