// MyComputer AdServer Banner Code
// Copyright (C) 1999-2001 by MyComputer.com.  All rights reserved.

function mc_escape (s) {
    var ch
    s = escape(s)
    while ((ch = s.indexOf('+')) > 0) s = s.substr(0, ch) + '%2B' + s.substr(ch+1, s.length)
    while ((ch = s.indexOf('/')) > 0) s = s.substr(0, ch) + '%2F' + s.substr(ch+1, s.length)
    return s
}

var mc_t=new Date;var mc_n1=Math.floor(mc_t.getTime()/10800000)%10
var mc_n2=mc_t.getTime()%10000000000000;var mc_s=mc_n1+'jss'+mc_n2
var adrunner_server='stats.superstats.com'
var code=''
function mc_makecode(){
    var appname = navigator.appName
    if (navigator.userAgent.indexOf('Opera') != -1) appname = 'Opera'
    var appversion = parseInt(navigator.appVersion.substr(navigator.appVersion.indexOf('MSIE ')+5))
    if (appversion > 3) appversion = parseFloat(navigator.appVersion.substr(navigator.appVersion.indexOf('MSIE ')+5))

    var p = bw = bh = s = c = v = k = ep = cpu = vb = sp = ''
    var j = '1.0'
    var g = window.location.href
    var o = navigator.platform
    var t = new Date
    var h = history.length;
    var sl = (document.styleSheets ? document.styleSheets.length : '')
    var dy = 0;
    var t_display = t.getDate() + '/' + t.getMonth() + '/' + ((dy=((t.getYear())<1900)?(dy+1900):dy)) + ' '
                  + t.getHours() + ':' + t.getMinutes() + ':' + t.getSeconds() + ' '
                  + t.getDay() + ' ' + t.getTimezoneOffset()

    var r = (mc_r ? mc_r : (mc_noerror ? 'NULL' : 'External Frame Referrer'))

    document.cookie = 'ssAllowCookie=true'
    var myCookie = ' ' + document.cookie + ';'
    k = (myCookie.indexOf(' ssAllowCookie=') >= 0 ? 'Y' : 'N')

    if (appname == 'Microsoft Internet Explorer') {
        document.writeln('<script language="VBScript">')
        document.writeln('  if (ScriptEngineMajorVersion = 0) then')
        document.writeln('    vb = "1.0"')
        document.writeln('  else');
        document.writeln('    vb = ScriptEngineMajorVersion & "." & ScriptEngineMinorVersion')
        document.writeln('  end if');
        document.write('</'); document.writeln('script>')

        p = sp = ''
        cpu = navigator.cpuClass
        if (appversion < 4) r = ''
        if (appversion >= 3) v = 'P'
        if (appversion >= 4) {
            s = screen.width + 'x' + screen.height
            c = screen.colorDepth
            j = '1.2'
            v = (navigator.javaEnabled() ? 'Y' : 'N')
        }
        if (appversion >= 5) {
            bh = document.documentElement.offsetHeight
            bw = document.documentElement.offsetWidth
            j = '1.3'
        }
    }

    if (! g) g = ''
    if (! r) r = ''
    if (! o) o = ''
    if (! h) h = ''
    if (! sl) sl = ''
    if (! t_display) t_display = ''

    if (! pageName) pageName = ''
    if (! server) server = ''
    if (! channel) channel = ''
    if (! prop1) prop1 = ''
    if (! prop2) prop2 = ''
    if (! prop3) prop3 = ''
    if (! prop4) prop4 = ''
    if (! prop5) prop5 = ''
    if (! prop6) prop6 = ''
    if (! prop7) prop7 = ''
    if (! prop8) prop8 = ''
    if (! prop9) prop9 = ''
    if (! prop10) prop10 = ''
    if (! prop11) prop11 = ''
    if (! prop12) prop12 = ''
    if (! prop13) prop13 = ''
    if (! prop14) prop14 = ''
    if (! prop15) prop15 = ''
    if (! prop16) prop16 = ''
    if (! prop17) prop17 = ''
    if (! prop18) prop18 = ''
    if (! prop19) prop19 = ''
    if (! prop20) prop20 = ''
    if (! pageType) pageType = ''
    if (! pageValue) pageValue = ''
    if (! product) product = ''

    code = '<table border=0 cellspacing=0 cellpadding=0><tr><td>'

         + '<iframe src="http://' + adrunner_server + '/b/ss/sccstats/0/20f/' + mc_s + '?'
			+ '[AQB]'
         + 'r=' + mc_escape(r)
         + '&s=' + escape(s)
         + '&c=' + escape(c)
         + '&o=' + escape(o)
         + '&cpu=' + cpu
         + '&vb=' + vb
         + '&j=' + j
         + '&v=' + v
         + '&k=' + k
         + '&h=' + h
         + '&sl=' + sl
         + '&sp=' + mc_escape(sp)
         + '&bh=' + bh
         + '&bw=' + bw
         + '&t=' + mc_escape(t_display)
         + '&pageName=' + mc_escape(pageName)
         + '&server=' + mc_escape(server)
         + '&pageType=' + mc_escape(pageType)
         + '&pageValue=' + mc_escape(pageValue)
         + '&product=' + mc_escape(product)
         + '&box=www6.mycomputer.com'
         + '&ch=' + mc_escape(channel)
         + '&c1=' + mc_escape(prop1)
         + '&c2=' + mc_escape(prop2)
         + '&c3=' + mc_escape(prop3)
         + '&c4=' + mc_escape(prop4)
         + '&c5=' + mc_escape(prop5)
         + '&c6=' + mc_escape(prop6)
         + '&c7=' + mc_escape(prop7)
         + '&c8=' + mc_escape(prop8)
         + '&c9=' + mc_escape(prop9)
         + '&c10=' + mc_escape(prop10)
         + '&c11=' + mc_escape(prop11)
         + '&c12=' + mc_escape(prop12)
         + '&c13=' + mc_escape(prop13)
         + '&c14=' + mc_escape(prop14)
         + '&c15=' + mc_escape(prop15)
         + '&c16=' + mc_escape(prop16)
         + '&c17=' + mc_escape(prop17)
         + '&c18=' + mc_escape(prop18)
         + '&c19=' + mc_escape(prop19)
         + '&c20=' + mc_escape(prop20)
         + '&a=' + mc_escape(appname + ' ' + appversion)
         + '&g=' + mc_escape(g)
         + '&p=' + mc_escape(p)
         + '&ep=' + ep
         + '[AQE]'
         + '" width=468 height=60 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></iframe>'
         + '<br>'
         + '<a href="http://www.superstats.com" target="_top">'
         + '<img src="http://a1676.g.akamai.net/7/1676/619/od0001/media-mc-adrunner.mycomputer.com/banners/bars/ss.gif" alt="" width=468 height=15 border=0></a>'
         + '</td></tr></table>'
    return true
}

var visitorSampling,vS=visitorSampling,vSp=1;
if (vS) {
	var vSt=new Date,vStm=vSt.getTime(),vSc=' '+document.cookie+';'
	if((vSpo=vSc.indexOf(" ssvSp="))>=0){vSp=parseInt(vSc.substring(vSpo+7))}
	else{if(vS>1.0){if(vStm%100000>=vS*1000)vSp=0}else{if(vStm%(100/vS)!=1)vSp=0}document.cookie="ssvSp="+vSp}
}
if (vSp) {
	var pageName; var server; var channel; var pageType; var pageValue; var product
	var prop1, prop2, prop3, prop4, prop5, prop6, prop7, prop8, prop9, prop10, prop11, prop12, prop13, prop14, prop15, prop16, prop17, prop18, prop19, prop20
		var mc_noerror = false
	var mc_r = ''

if (navigator.userAgent.indexOf('Mac') >= 0 && navigator.userAgent.indexOf('MSIE 4') >= 0) {
    mc_r = document.referrer
} else {
    window.oldonerror = window.onerror
    window.onerror = mc_makecode
    mc_r = parent.document.referrer
    window.onerror = window.oldonerror
}

	mc_noerror = true
		mc_makecode()
}
