function fnRBCCatalogueBox ()
{
	document.writeln('<div id="ToACardBox"><table><tr><td><b>Are you interested in our Recognition Cards?</b></br>&nbsp;<br><span style=color:#808080;>You may include a package of 10 Recognition Cards with Envelopes in order to write a warm greeting or special message.</span></td><td><img src=img/thumb/10130.jpg border=0></td></tr>');
	document.writeln('<tr><td colspan="2"><a class="navlink_default" style=text-decoration:underline;font-size:8pt; href="add_to_basket.aspx?id=RBCCatalogue">Yes, Add to my Cart</a><img src=img/clearpixel.gif width=30 height=1 border=0>');
	document.writeln('<a class="navlink_default" style=text-decoration:underline;font-size:8pt; href="add_to_basket.aspx" onClick="document.cookie=\'RBCCatalogueCookie=False; path=/\'; document.getElementById(\'RBCCatalogueBox\').style.visibility=\'hidden\';">No Thank You</a><img src=img/clearpixel.gif width=30 height=1 border=0>');
	document.writeln('</td></tr></table></div>');
}

function fnToACardBox ()
{
	document.writeln('<div id="ToACardBox"><table><tr><td><b>Are you interested in our Recognition Cards?</b></br>&nbsp;<br><span style=color:#808080;>You may include a package of 10 Recognition Cards with Envelopes in order to write a warm greeting or special message.</span></td><td><img src=img/thumb/10130.jpg border=0></td></tr>');
	document.writeln('<tr><td colspan="2"><a class="navlink_default" style=text-decoration:underline;font-size:8pt; href="add_to_basket.aspx?id=ToACard">Yes, Add to my Cart</a><img src=img/clearpixel.gif width=30 height=1 border=0>');
	document.writeln('<a class="navlink_default" style=text-decoration:underline;font-size:8pt; href="add_to_basket.aspx" onClick="document.cookie=\'RBCCatalogueCookie=False; path=/\'; document.getElementById(\'RBCCatalogueBox\').style.visibility=\'hidden\';">No Thank You</a><img src=img/clearpixel.gif width=30 height=1 border=0>');
	document.writeln('</td></tr></table></div>');
}

function fnDividerLine1 ()
{
	document.writeln('<div id="DividerLine1"><table><tr><td><br><img src=img/c1c1c1.gif width=450 height=1></td></tr></table></div>');
}

document.writeln('<!-- Start Notice -->');
document.writeln('<STYLE TYPE="text/css">');
document.writeln('DIV.AddToBasketBox');
document.writeln('{');
document.writeln('background-color:White;');
document.writeln('color: #808080;');
document.writeln('BORDER-RIGHT: #808080 1px solid;');
document.writeln('PADDING-RIGHT: 20px;');
document.writeln('BORDER-TOP: #808080 1px solid;');
document.writeln('PADDING-LEFT: 20px;');
document.writeln('Z-INDEX: 1;');
document.writeln('FLOAT: none;');
document.writeln('VISIBILITY: hidden;');
document.writeln('PADDING-BOTTOM: 5px;');
document.writeln('MARGIN-LEFT: 150px;');
document.writeln('BORDER-LEFT: #808080 1px solid;');
document.writeln('PADDING-TOP: 15px;');
document.writeln('BORDER-BOTTOM: #808080 1px solid;');
document.writeln('POSITION: absolute;');
document.writeln('TOP: 235px;');
document.writeln('WIDTH: 500px;');
document.writeln('}');
document.writeln('</STYLE>');
document.writeln('<div class="AddToBasketBox" id="AddToBasketBox">');

var ToASection = 0;
var RBCCatSection = 0;

if ( document.cookie.indexOf("ToACardCookie=True") > -1)
{
	ToASection = 1
}

if ( document.cookie.indexOf("RBCCatalogueCookie=True") > -1)
{
	RBCCatSection = 1
}

ToASection = 0;

if ( ToASection || RBCCatSection )
{
	document.getElementById("AddToBasketBox").style.visibility="visible";
	if (RBCCatSection) { fnRBCCatalogueBox(); }
	if (ToASection && RBCCatSection) { fnDividerLine1(); }
	if (ToASection) { fnToACardBox(); }
	fnDividerLine1();
	document.writeln('<table width=100%><tr><td align=right><a class="navlink_default" style=text-decoration:underline;font-size:8pt; href="#" onClick="document.getElementById(\'AddToBasketBox\').style.visibility=\'hidden\';">Remind me later</a></td></tr></table>');
}
document.writeln('</div>');
