noerrorsfound
New Member
- Messages
- 1,736
- Reaction score
- 1
- Points
- 0
This x10Advanced ad code is valid XHTML 1.0 Transitional, XHTML 1.0 Strict, and XHTML 1.1:
Couldn't you just use this to replace the current one? It is still perfectly fine in non-XHTML pages.
Code:
<script type="text/javascript">
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write ("http://x10hosting.com/advert/adjs.php?n=" + phpAds_random);
document.write ("&what=zone:3&target=_blank");
document.write ("&exclude=" + document.phpAds_used);
if (document.referrer)
document.write ("&referer=" + escape(document.referrer));
document.write ("'><" + "/script>");
//-->
</script><noscript><div><a href="http://x10hosting.com/advert/adclick.php?n=a915c788"><img src="http://x10hosting.com/advert/adview.php?what=zone:3&n=a915c788" alt="" style="border:0" /></a></div></noscript>