var TheAdcode = 'ad2055a'; 
var bN = navigator.appName; 
var bV = parseInt(navigator.appVersion); 
var base='http://www.burstnet.com/'; 
var Tv=''; 
var agt=navigator.userAgent.toLowerCase(); 
if (bV>=4) 
{ts=window.location.pathname+window.location.search; 
i=0; Tv=0; while (i< ts.length) 
{ Tv=Tv+ts.charCodeAt(i); i=i+1; } Tv="/"+Tv;} 
else {Tv=escape(window.location.pathname); 
if( Tv.charAt(0)!='/' ) Tv="/"+Tv; 
else if (Tv.charAt(1)=="/")Tv=""; 
if( Tv.charAt(Tv.length-1) == "/") 
Tv = Tv + "_";} 
if (bN=='Netscape'){ 
if ((bV>=4)&&(agt.indexOf("mac")==-1)){ document.write('<s'+'cript src="'+ 
base+'cgi-bin/ads/'+TheAdcode+'.cgi/RETURN-CODE/JS' 
+Tv+'">'); 
document.write('</'+'script>'); } 
else if (bV>=3) {document.write('<'+'a href="'+base+'ads/'+ 
TheAdcode+'-map.cgi'+Tv+'"target=_top>'); 
document.write('<img src="' + base + 'cgi-bin/ads/' + 
TheAdcode + '.cgi' + Tv + '" ismap width=468 height=60' + 
' border=0 alt="Click Here"></a>');} 
} 
if (bN=='Microsoft Internet Explorer') 
document.write('<ifr'+'ame id=BURST src="'+base+'cgi-bin/ads/'+ 
TheAdcode + '.cgi' + Tv + '/RETURN-CODE" width=468 height=60' + 
'marginwidth=0 marginheight=0 hspace=0 vspace=0 ' + 
'frameborder=0 scrolling=no></ifr'+'ame>'); 

function ShowBurstAd(adcode, width, height, sizes, intrusive, bgcolor, background) {
var bN = navigator.appName;
var bV = parseInt(navigator.appVersion);
var base='http://www.burstnet.com/';
var Tv=''; var Itr='';
var sz=''; var bkgd='';
var bgc='';
var vr='v=1.1J';
var agt=navigator.userAgent.toLowerCase();

if (sizes.length!=0) {sz='/sz='+sizes;} else {sz='';}
if (bgcolor.length!=0) {bgc='/zg' + bgcolor;} else {bgc='';}
if (background.length!=0) {bkgd='/bgi='+(escape(escape(background))).replace(/\//gi,'%252F');} else {bkgd='';}
                            
if (bV>=4) {
  ts=window.location.pathname+window.location.search;
  i=0; Tv=0; while (i< ts.length)
    { Tv=Tv+ts.charCodeAt(i); i=i+1; } Tv="/"+Tv;
} else {Tv=escape(window.location.pathname);
  if( Tv.charAt(0)!='/' ) Tv="/"+Tv;
    else if (Tv.charAt(1)=="/")
 Tv="";
  if( Tv.charAt(Tv.length-1) == "/")
   Tv = Tv + "_";
}

var fCode='<ifr'+'ame id="BURST" src="'+base+
 'cgi-bin/ads/'+adcode+'.cgi/NI/if/'+vr+bgc+sz+bkgd+
 Tv+'/RETURN-CODE" width="'+width+'" height="'+
 height+'"'+'marginwidth="0" marginheight="0"'+
 'hspace="0" vspace="0" frameborder="0" '+
 'scrolling="no">';
 var gCode = '<'+'a href="'+base+'ads/'+adcode+'-map.cgi/'+
 vr+sz+Tv+'" target=_top><im'+'g src="'+base+
 'cgi-bin/ads/'+adcode+'.cgi/'+vr+sz+Tv+
 '" border="0" alt="Click Here"></a>';
var fCodeEnd = '</ifr'+'ame>';

if ((adcode.charAt(0)=="a")&&(intrusive=="1")) {
 Itr='<di'+'v><scr'+'ipt src="'+base+'cgi-bin/ads/'+adcode+
 '.cgi/sz=0X0MN/'+vr+Tv+'/RETURN-CODE/JS/"></scr'+'ipt></d'+'iv>';
}

if (agt.indexOf("mac")==-1) {
  document.write(fCode+gCode+fCodeEnd+Itr);
} else {
  document.write(gCode);
}
}

