
//styles checkboxes and radio buttons with the specified background color
// - netscape is excluded since it would style the button itself, not the background
function StyleTickElements(){
	try{
		if(navigator.userAgent.indexOf("Gecko")<0){
		var frm = document.forms[0];
		for(i=0;i<frm.elements.length;i++){
			if(frm.elements[i].type=="checkbox" || frm.elements[i].type=="radio"){
			
				frm.elements[i].style.backgroundColor="transparent";
			}
		}
		}
	}
	catch(e){
	;
	}
}
function StyleTickElementsQuiz(){
	try{
		if(navigator.userAgent.indexOf("Gecko")<0){
		var frm = document.forms[0];
		for(i=0;i<frm.elements.length;i++){
			if(frm.elements[i].type=="checkbox" || frm.elements[i].type=="radio"){
			
				frm.elements[i].style.backgroundColor="transparent";
			}
		}
		}
	}
	catch(e){
	;
	}
}

//' Pops up a new window at the upper left of screen
function popIt(page, widthVal, heightVal){ 
    var newWnd = window.open( page, 'popupWindow', 'status,resizable,scrollbars,width=' + widthVal + ',height=' + heightVal + ',left=' + screen.availLeft + ',top=' + screen.availTop + '', true ); 
    newWnd.focus(); 
}

//' Pops up a new window at the upper left of screen
function OpenDisclaimer(page){ 
    var newWnd = window.open( page, 'popupWindow', 'width=322,height=200', true ); 
    newWnd.focus(); 
}


