Single Ad . Double Ad with spacer.gif (recomended) . Double Ad without spacer.gif . NewCity Ad


To setup this code do the following:


The code:

<!-- Begin Rich Media Ad Detector . Copyright 2000 DesertNet  -->
<!-- Developed for NewCity and Dispatch Automated Publishing Solutions -->
<!-- http://www.newcity.com/ . http://www.dispatch.net/ -->

<script language="JavaScript">
<!-- Begin Hiding
var bName = navigator.appName;
var bVer = parseInt(navigator.appVersion);
var page = "www.newcityshop.com/index.html/";
var position1 = "@Top,TopRight!Top?x";
var position2 = "@Top,TopRight!TopRight?x";
var date = Date.parse(new Date());

document.writeln('<table border="0" cellpadding="0" cellspacing="0" width="600">');
document.writeln('<tr>');
document.writeln('<td valign=top align=left width=600 bgcolor="#999999" colspan=5><img src="../images/spacer.gif" width="600" height="4" alt=""></td>');
document.writeln('</tr>');
document.writeln('<tr>');
document.writeln('<td valign=top align=left width=4 bgcolor="#999999"><img src="../images/spacer.gif" width="4" height="1" alt=""></td>');

if (bName == "Microsoft Internet Explorer" && bVer >= 3) {
    document.writeln('<td valign=top align=left width=468><iframe src="http://ads.newcity.com/RealMedia/ads/adstream_sx.ads/' + page + date + position1 + '" width=468 height=60 border=0 frameborder=0 scrolling=no noresize=noresize marginwidth=0 marginheight=0></iframe></td>');
    document.writeln('<td valign=top align=left width=4 bgcolor="#999999"><img src="../images/spacer.gif" width="4" height="1" alt=""></td>');
    document.writeln('<td valign=top align=left width=120><iframe src="http://ads.newcity.com/RealMedia/ads/adstream_sx.ads/' + page + date + position2 + '" width=120 height=60 border=0 frameborder=0 scrolling=no noresize=noresize marginwidth=0 marginheight=0></iframe></td>');
} else if (bName == "Netscape" && bVer >= 4) {
    document.writeln('<td valign=top align=left width=468><ilayer src="http://ads.newcity.com/RealMedia/ads/adstream_sx.ads/' + page + date + position1 + '"></ilayer></td>');
    document.writeln('<td valign=top align=left width=4 bgcolor="#999999"><img src="../images/spacer.gif" width="4" height="1" alt=""></td>');
    document.writeln('<td valign=top align=left width=120><ilayer src="http://ads.newcity.com/RealMedia/ads/adstream_sx.ads/' + page + date + position2 + '"></ilayer></td>');
} else {
    document.writeln('<td valign=top align=left width=468><a href="http://ads.newcity.com/RealMedia/ads/click_nx.ads/' + page + date + position1 + '"><img src="http://ads.newcity.com/RealMedia/ads/adstream_nx.ads/' + page + date + position1 + '" border=0 width=468 height=60 alt="Advertisement"></a></td>');
    document.writeln('<td valign=top align=left width=4 bgcolor="#999999"><img src="../images/spacer.gif" width="4" height="1" alt=""></td>');
    document.writeln('<td valign=top align=left width=120><a href="http://ads.newcity.com/RealMedia/ads/click_nx.ads/' + page + date + position2 + '"><img src="http://ads.newcity.com/RealMedia/ads/adstream_nx.ads/' + page + date + position2 + '" border=0 width=120 height=60 alt="Advertisement"></a></td>');
}

document.writeln('<td valign=top align=left width=4 bgcolor="#999999"><img src="../images/spacer.gif" width="4" height="1" alt=""></td>');
document.writeln('</tr>');
document.writeln('<tr>');
document.writeln('<td valign=top align=left width=600 bgcolor="#999999" colspan=5><img src="../images/spacer.gif" width="600" height="4" alt=""></td>');
document.writeln('</tr>');
document.writeln('</table>');
// End Hiding -->
</script>

<noscript>
<!-- Note: include page and banner positions on the noscript version -->
<table border="0" cellpadding="0" cellspacing="0" width="600">
<tr>
<td valign=top align=left width=600 bgcolor="#999999" colspan=5><img src="../images/spacer.gif" width="600" height="4" alt=""></td>
</tr>
<tr>
<td valign=top align=left width=4 bgcolor="#999999"><img src="../images/spacer.gif" width="4" height="1" alt=""></td>
<td valign=top align=left width=468><a href="http://ads.newcity.com/RealMedia/ads/click_nx.ads/www.newcityshop.com/index.html@Top,TopRight!Top?x"><img src="http://ads.newcity.com/RealMedia/ads/adstream_nx.ads/www.newcityshop.com/index.html@Top,TopRight!Top?x" border=0 width=468 height=60 alt="Advertisement"></a></td>
<td valign=top align=left width=4 bgcolor="#999999"><img src="../images/spacer.gif" width="4" height="1" alt=""></td>
<td valign=top align=left width=120><a href="http://ads.newcity.com/RealMedia/ads/click_nx.ads/www.newcityshop.com/index.html@Top,TopRight!TopRight?x"><img src="http://ads.newcity.com/RealMedia/ads/adstream_nx.ads/www.newcityshop.com/index.html@Top,TopRight!TopRight?x" border=0 width=120 height=60 alt="Advertisement"></a></td>
<td valign=top align=left width=4 bgcolor="#999999"><img src="../images/spacer.gif" width="4" height="1" alt=""></td>
</tr>
<tr>
<td valign=top align=left width=600 bgcolor="#999999" colspan=5><img src="../images/spacer.gif" width="600" height="4" alt=""></td>
</tr>
</table>
</noscript>

<!-- End Rich Media Ad Detector -->