var doc=document.location.href; if (doc.match(/^http/i)!=null) { document.write(''); }