Ads.txt
Ad Exchange
Type
Publisher ID
Certification ID
}
<!--
-->
<script language="javascript">
loc = document.url;
begin_target = loc.indexof("target=");
end_target = loc.length;
target = loc.substring(begin_target + 7
end_target);
target = target.replace(":80"
"");
target = target.replace('$sm$'
'');
end_site = target.indexof('/'
10);
site = target.substring(0
end_site);
if(end_site == -1)
{
end_site = target.indexof('%2f'
16);
}
site = target.substring(0
end_site);
while( (site.indexof('%3a')) != -1)
{
site = site.replace('%3a'
':');
}
while( (site.indexof('%2f')) != -1)
{
site = site.replace('%2f'
'/');
while( (site.indexof('%2e')) != -1)
{
site = site.replace('%2e'
'.');
}
document.location.href = site + "/imd_wasweb/jsp/login/corporate.jsp?dest=" + target;
</script>