switch (cur_cat_id)
{
case "":
	//alert('True');
	//document.getElementById('CatTitle').style.display = 'none';
	break;
case "23": case "29": case	 "67":

	boxWidth = 600;
	if( window.innerHeight && window.scrollMaxY ) { // Firefox 
		boxHeight = window.innerHeight + window.scrollMaxY - 391;
		boxX = Math.round(window.innerWidth / 2);
	}
	else if( document.body.scrollHeight > document.body.offsetHeight ) // all but Explorer Mac
	{
		boxX = Math.round(document.body.scrollWidth/2);
		boxHeight = document.body.scrollHeight - 219;
	}
	else // works in Explorer 6 Strict, Mozilla (not FF) and Safari
	{ 
		boxX = Math.round(document.body.offsetWidth / 2);
		boxHeight = document.body.offsetHeight + document.body.offsetTop - 219;
	}
	//alert(boxX);
	//boxX = boxX - Math.round(boxWidth / 2);
	//alert(boxX);

	if ( document.cookie.indexOf("MSBoxCookie=False") == -1)
	{
		document.writeln('<!-- Start Notice -->');
		document.writeln('<STYLE TYPE="text/css">');
		document.writeln('DIV.MSBox');
		document.writeln('{');
		document.writeln('background-color:White;');
		document.writeln('color: #002888;');
		document.writeln('text-align:center;');
		document.writeln('BORDER: #a52a2a 4px solid;');
		document.writeln('PADDING: 20px 15px;');
		document.writeln('Z-INDEX: 1;');
		document.writeln('FLOAT: none;');
		document.writeln('VISIBILITY: hidden;');
		//document.writeln('MARGIN-LEFT: ' + boxX + 'px;');
		document.writeln('MARGIN-LEFT: 100px;');

		document.writeln('POSITION: absolute;');
		document.writeln('TOP: 370px;');
		document.writeln('WIDTH: ' + boxWidth + 'px;');
		document.writeln('}');

		document.writeln('DIV.InventoryMsg');
		document.writeln('{');
		document.writeln('font-family: Verdana, Arial, Times Roman');
		document.writeln('font-size: 12pt;');
		document.writeln('color: #ff0000;');
		document.writeln('}');

		document.writeln('DIV.navlink_default');
		document.writeln('font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;');
		document.writeln('font-size: 10pt;');
		document.writeln('color: #a52a2a;');
		document.writeln('margin: 0px;');
		document.writeln('padding: 0px;');
		document.writeln('text-decoration: none;');
		document.writeln('vertical-align: top;');
		document.writeln('}');
		document.writeln('</STYLE>');

		document.writeln('<div class="MSBox" id="MSBox">');
		document.writeln('<div id="InventoryMsg"><table><tr><td class="InventoryText"><b>Mortgage Specialist Spring Campaign Promotional Sale</b><br>February 1 to February 29, 2012<br><br>RBC is once again sponsoring a 50% discount to a maximum of $250 on items in the RBC Mortgage Specialist Merchandise Section. The discount will be applied upon checkout. RBC reserves the right to end the sale at any time.</td></tr>');
		document.writeln('	<tr><td align="right"><a class="navlink_default" style="text-decoration:underline;font-size:8pt;color:#a52a2a;" href="#" onClick="document.cookie=\'MSBoxCookie=False; path=/\'; document.getElementById(\'MSBox\').style.visibility=\'hidden\';">Thanks</a></td></tr></table></div>');
		document.writeln('</div>');

		function fnShowMSBox ( btn )
		{
			if ( document.cookie.indexOf("MSBoxCookie=False") == -1)
			{
				document.getElementById("MSBox").style.visibility="visible";
			}
		}

		fnShowMSBox('True');
	}

	break;
default:
}
