
$(document).ready(function() {

   var cookie = $.cookie("username");
   if (document.referrer.indexOf("landing.html")==-1 && !(cookie != "" && cookie != null))
       location.href = "landing.html";

});
