// JavaScript Document

function SetStatus(str)
{
	if(window.status) window.status = str;
	else if(self.status) self.status = str;
	return true;
}
function Validate_SearchBox(frm)
{
	return true;
}

function poll_validate(frm)
{
	opt = null;
	for (i = 0; i < frm.answer_id.length; i++) {
		if (frm.answer_id[i].checked) opt = i;
	}
	if (opt == null) { alert("Please select an answer before submitting your vote."); return false; }
}

function DoRedirect(l)
{
	var msg=window.confirm('You are about to open a new window to the following site.\n\n' + l.href + '\n\nDo you wish to proceed?'); 
	if(msg) return true;
	return false;
}
/*

function DoOnLoad()
{
	theObjects = document.getElementsByTagName("object"); 
	for (var i = 0; i < theObjects.length; i++) theObjects[i].outerHTML = theObjects[i].outerHTML;
}


window.onload = DoOnLoad;
*/