function styleListTipData(referenceHeading, referenceData, codesHeading, codesData) {

	var finalValue = 
		"<html>" +
			"<head>" +
			"<meta http-equiv='Content-Type' content='text/html; charset=iso8859-1' />" +
			"</head>" +
			"<body>" +
				"<table width='300px'  border='0' cellspacing='0' cellpadding='3' class='reference'>" +
					"<thead>" +
						"<tr>" +
							"<th colspan='2'>" +
								referenceHeading+
							"</th>" +
						"</tr>" +
					"</thead>" +
					unescape(referenceData) +
				"</table>" +
				"<table width='300px'  border='0' cellspacing='0' cellpadding='3' class='reference'>" +
					"<thead>" +
						"<tr>" +
							"<th colspan='2'>" +
								codesHeading+
							"</th>" +
						"</tr>" +
					"</thead>" +
					unescape(codesData) +
				"</table>" +
			"</body>" +
		"</html>";
		
	return finalValue;
}

function styleFilterTipData(filterHeader, filterText) {
	var finalValue = "<html>" +
		"<head>" +
		"<meta http-equiv='Content-Type' content='text/html; charset=iso8859-1' />" +
		"</head>" +
		"<body>" +
			"<div id='filtertooltip'>" +
				filterHeader +
				"<br />" +
				"<br />" +
				filterText +
			"</div>" +
		"</body>" +
	"</html>";
	
	return finalValue;
}

function showHideProductMenu(){
	if(document.getElementById('nomura_products').style.display == 'none'){
		document.getElementById('nomura_products').style.display='inline';
	}else{
		document.getElementById('nomura_products').style.display='none';
	}
	
	if(document.getElementById('external_products').style.display == 'none'){
		document.getElementById('external_products').style.display='inline';
	}else{
		document.getElementById('external_products').style.display='none';
	}
}
