browserVer = 1;

ie4up = false;
ns4up = false;
ns6up = false;

function openwinNoScroll(file,wide,high,name) {
var winl = (screen.width - wide) / 2;
var wint = (screen.height - high) / 8;
window.open(file, name,"width="+ wide+",height="+high+",top="+wint+",left="+winl+", status=no,toolbar=no,menubar=no,location=no,scrollbars=0,resizable=no");
}

function openwin(file,wide,high,name) {
	var winl = (screen.width - wide) / 2;
	var wint = (screen.height - high) / 8;
	window.open(file, name,"width="+ wide+",height="+high+",top="+wint+",left="+winl+", status=no,toolbar=no,menubar=no,location=no,scrollbars=1,resizable=no");
}

function URLopen() {
	if  (document.show_form.showselect.length > 1 ){
	var tStr = document.show_form.showselect.value;
	tStr2=tStr.toLowerCase()
	var pos = tStr2.indexOf("javascript:");
	if (pos > -1){
		eval(tStr);
	}else{
		if (tStr.length >1 ){
			document.location.href = tStr;
		}	
	}	
	}
}


function getCheckedValue(form_name) {
	radioObj = 30;
	var radioLength = radioObj.length;
	if(radioLength == undefined) {
		if(radioObj.checked)
			return radioObj.value;
		else
			return "";
	}
	else {
		for(var i = 0; i < radioLength; i++) {
			if(radioObj[i].checked) {
				return radioObj[i].value;
			}
		}
	}
	return "";
}

function Idols(questionid,showid,channelinc){
	var optionid = getCheckedValue('form1');
	openwin(channelinc+'Question.asp?Id='+questionid+'',780,760,'pollResults');
}



function Page(form,WhatPage){	
	//eval('document.'+ form + '.CurrentPage.value') = WhatPage;	
	eval('document.'+ form + '.CurrentPage.value = ' + WhatPage);
	eval('document.'+ form + '.submit()');
}

