﻿// JScript File
function toggle_row(id) { 
	var tr = document.getElementById(id); 
	if (tr==null) { 
		return; 
	} 
	
	var bExpand = tr.style.display == ''; 
	tr.style.display = (bExpand ? 'none' : ''); 
}

function marketwatchdisclaimer()
{
	window.open('/marketwatchdisclaimer.aspx', 'marketwatchdisclaimer', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,width=530,height=200');
}

function ProcessDropdown(objControl)
{
	var x = document.getElementById(objControl.id);
	//alert(x.value);
	if (x != null && x.value != "")
		window.location = x.value;
}

function SubmitCPB(sURL)
{
	document.forms[0].action = sURL;
	document.forms[0].submit()
	return true;
}