var promoMsg   = "";
var vLocation = getParam("location");
var eLocation = getParam2("elocation");

function getParam( name )
{
  name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
  var regexS = "[\\?&]"+name+"=([^&#]*)";
  var regex = new RegExp( regexS );
  var results = regex.exec( window.location.href );
  if( results == null )
    return "";
  else
    return results[1];
}
function getParam2( name )
{
  name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
  var regexS = "[\\?&]"+name+"=([^&#]*)";
  var regex = new RegExp( regexS );
  var results = regex.exec( window.location.href );
  if( results == null )
    return "";
  else
    return results[1];
}

if (vLocation == "b2c/retail-login.w")

{
		if (eLocation == "b2c/retail-checkout.w") {
				
 promoMsg+='<div style="background-color: #ffffff; font: 14px/20px Verdana, Arial, Helvetica, sans-serif; color:#c80000; padding: 10px 30px 5px 205px;"><strong>NOTE:</strong> If you have a promo code, please hit the browser back button and enter it in the promo code field at the bottom of the shopping bag page.</div>';}
}

document.write(promoMsg);
