解码结果:
var msie = (navigator.appName == 'Microsoft Internet Explorer')
var nscp = (navigator.appName == 'Netscape')// ***** public vars have been defined *****// API: <SCRIPT LANGUAGE="JavaScript">nowDate(1, "  ", 2, "'", 3, '"')</SCRIPT>
// <SCRIPT LANGUAGE="JavaScript">upDate(1, "  ", 2, "'", 3, '"')</SCRIPT>var emonths = new Array(12)
emonths[0] = 'January'
emonths[1] = 'February'
emonths[2] = 'March'
emonths[3] = 'April'
emonths[4] = 'May'
emonths[5] = 'June'
emonths[6] = 'July'
emonths[7] = 'August'
emonths[8] = 'September'
emonths[9] = 'October'
emonths[10] = 'November'
emonths[11] = 'December'var nmonths = new Array(12)
nmonths[0] = '01'
nmonths[1] = '02'
nmonths[2] = '03'
nmonths[3] = '04'
nmonths[4] = '05'
nmonths[5] = '06'
nmonths[6] = '07'
nmonths[7] = '08'
nmonths[8] = '09'
nmonths[9] = '10'
nmonths[10] = '11'
nmonths[11] = '12'var time = new Date()
var emon = emonths[time.getMonth()]
var nmon = nmonths[time.getMonth()]
var date = time.getDate()
var year = time.getYear()var upDateStr = document.lastModified
var UPDmon = upDateStr.substring(0, 2)
var UPDmonE = emonths[UPDmon - 1]
var UPDday = upDateStr.substring(3, 5)
var UPDyear = upDateStr.substring(6, 10)// ***** private vars have been defined *****function nowDate(DateStr)
{ if ((msie) && (year < 2000))
{ year = '19' + year
}
if (nscp)
{ year = 1900 + year
} if (date < 10)
{ date = '0' + date
} DateStr = DateStr.replace('  ', '&nbsp;&nbsp;');
DateStr = DateStr.replace('yy', year);
DateStr = DateStr.replace('mm', nmon);
DateStr = DateStr.replace('dd', date);
DateStr = DateStr.replace('me', emon);
document.write(DateStr)
}function upDate(DateStr)
{ DateStr = DateStr.replace('  ', '&nbsp;&nbsp;');
DateStr = DateStr.replace('yy', UPDyear);
DateStr = DateStr.replace('mm', UPDmon);
DateStr = DateStr.replace('dd', UPDday);
DateStr = DateStr.replace('me', UPDmonE);
document.write(DateStr)
}// API: onMouseOver="show('layr00')" onMouseOut="hide('layr00')"function getObj(obj)
{ if (nscp)
{ compLayr = document.layers[obj]
}
else
{ compLayr = eval('document.all.' + obj + '.style')
}
return compLayr
}function show(layr)
{ obj = getObj(layr)
obj.visibility = 'visible'
}function hide(layr)
{ obj = getObj(layr)
obj.visibility = 'hidden'
}// API: onMouseOver="sMsg('Text'); return true" onMouseOut="sMsg(''); return true"
// onMouseOver="iMsg('0eml'); return true" onMouseOut="sMsg(''); return true"function sMsg(msgStr)
{ window.status = msgStr
}function iMsg(id)
{ obj = eval('msg' + id)
sMsg(obj)
}// API: onLoad="setINI(100, 0, 50, 10)"
// STYLE="filter:alpha(opacity=50)" onMouseOver="high(this)" onMouseOut="low(this)"var def_hiOpac = 100
var def_loOpac = 0
var def_delay = 50
var def_step = 10// ***** private vars have been defined *****function setINI(hiOpac, loOpac, delay, step)
{ def_hiOpac = hiOpac
def_loOpac = loOpac
def_delay = delay
def_step = step
}function high(which)
{ theObject = which
highlighting = setInterval('highlight(theObject)', def_delay)
}function low(which)
{ clearInterval(highlighting)
which.filters.alpha.opacity = def_loOpac
}function highlight(cur)
{ if (cur.filters.alpha.opacity < def_hiOpac)
{ cur.filters.alpha.opacity += def_step
}
else
{ if (window.highlighting)
{ clearInterval(highlighting)
}
}
}