/* ======================================================= * AV Bros. Javascript Lib for AVBROS.COM 2003 * ======================================================= */ function NS4FixProc() { if (document.nsfix.fix.w != window.innerWidth || document.nsfix.fix.h != window.innerHeight) { document.location = document.location; } } function NS4Fix() { if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) { if (typeof document.nsfix == 'undefined') { document.nsfix = new Object; document.nsfix.fix = new Object; } document.nsfix.fix.w = window.innerWidth; document.nsfix.fix.h = window.innerHeight; window.onresize = NS4FixProc; } } function UseFilters(item){ if (navigator.platform!="Win32") return 0; if (document.getElementById && document.getElementById(item).filters) return 1; if (document.all && document.all[item].filters) return 1; return 0; } function _avNSFindLayer(item,startlayer) { var cur = startlayer ? startlayer.document : document; var elem = cur[item]; if (!elem) { for (var i=0;i100) {opar[item]=100; vstop=1;} if (opar[item]<0) {opar[item]=0; vstop=1;} _avGetItemStyle(item).filter="alpha(opacity="+opar[item]+")"; _avShowLayer(item); if (!vstop) setTimeout("fadelayer('"+item+"',0)",30); } //scrolling var fastScrolling=0; function _gotop() { if (fastScrolling!=0) scrollTo(0,0); else{ var ts=0; if (document.layers) ts=window.pageYOffset; else if (document.body.scrollTop) ts=document.body.scrollTop; else ts=window.pageYOffset; if (ts>0){ var nv=(ts-5)*0.2; if (nv<1) nv=1; scrollBy(0,-nv); setTimeout("_gotop()",20); } } }