
if((typeof(railAdBg)!='undefined')&&(railAdBg))
{

// site specific custom background code.
jqN('body').css({'background-image':'url('+railAdBg+')','background-position':'center top'})
}
if((typeof(railAdBgColor)!='undefined')&&(railAdBgColor))
{
// site specific custom background color code.
jqN('body').css({'background-color':'#'+railAdBgColor.replace(/#/,'')});

}

if((typeof(railAdBgRepeat)!='undefined')&&(railAdBgRepeat))
{
// site specific custom background repeat code.
//document.getElementById(jqN('body').attr('id')).style.backgroundRepeat=railAdBgRepeat;
jqN('body').css({'background-repeat':railAdBgRepeat});

}
if((typeof(railAdBgClickthru)!='undefined')&&(railAdBgClickthru))
{
// site specific custom background click event code.
jqN('body').click(function (e) {
evt = e || window.event;
if (e.target) targ = e.target;
else if (e.srcElement) targ = e.srcElement;
if (targ.nodeType == 3) // Safari bug
targ = targ.parentNode;
if (targ.id == jqN('body').attr('id')) {
window.open(railAdBgClickthru);
}
});
jqN('#'+jqN('body').attr('id')).bind('mouseenter',function () {
//jqN(this).css('cursor','pointer');
});
jqN('#'+jqN('body').attr('id')).bind('mouseleave',function () {
//jqN(this).css('cursor','default');
});
}


