var url = "/2011/0120/c6698a83347/page.htm"; if(url==null || url=="") { url = ""; location.replace(url); } else location.replace(url);