<!--
var SourceValue = "AAA"

function CookieSource()
{
	var allcookies = document.cookie;
	var pos = allcookies.indexOf("Source=");
	if (pos != -1)
	{
		var start = pos + 7;
		var end = allcookies.indexOf(";",start);
		if (end == -1) end = allcookies.length;
		SourceValue = allcookies.substring(start,end);
		SourceValue = unescape(SourceValue);
	}
}

function showHelp(questionLabel, helpText)
{
  var newWindow;
  var queryString;
	CookieSource();
	if (SourceValue == "INC")
	{
  	queryString = 'HelpDetail.asp?Label=' + escape(questionLabel) +	'&HelpText=' + escape(helpText);
  	newWindow =	window.open(queryString,"helpWindow","left=100,top=100,width=500,height=500,scrollbars=auto");
	  newWindow.focus();
	}
	else if(SourceValue == "Reuters")
	{
		queryString = 'ReutersGuide.asp?Label=' + escape(questionLabel) +	'&HelpText=' + escape(helpText);
  	newWindow =	window.open(queryString,"helpWindow","left=100,top=100,width=600,height=400,scrollbars=auto");
	  newWindow.focus();
	}
	else
	{
		queryString = 'OrcHelpDetail.asp?Label=' + escape(questionLabel) +	'&HelpText=' + escape(helpText);
  	newWindow =	window.open(queryString,"helpWindow","left=200,top=100,width=500,height=500,scrollbars=auto");
	  newWindow.focus();
	}
}


function customAlert(sdescription)
{
  var newWindow;
  var queryString;

  queryString = 'message.asp?Description=' + escape(sdescription) 

  newWindow =
window.open(queryString,"messageWindow","width=500,height=300,scrollbars=auto");
  newWindow.focus();
}

//-->
