function verifyCompatibleBrowser(){
	this.ver=navigator.appVersion;
    this.dom = document.getElementById?1:0;
    this.ie5 = (this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; 
    this.ie4 = (document.all && !this.dom)?1:0; 
    this.ns5 = (this.dom && parseInt(this.ver) >= 5) ?1:0; 
    this.ns4 = (document.layers && !this.dom)?1:0; 
    return this 
} 
bw = new verifyCompatibleBrowser() 
 
function ConstructObject(obj,obj2){ 
    obj2=(!obj2) ? '':'document.'+obj2+'.' 
    
    this.objekt = bw.dom ? document.getElementById(obj):bw.ie4 ? document.all[obj]:bw.ns4 ? eval(obj2+'document.'+obj):0; 
    this.css = bw.dom ? document.getElementById(obj).style:bw.ie4 ? document.all[obj].style:bw.ns4 ? eval(obj2+'document.'+obj):0; 
    this.scrollHeight = bw.ns4 ? this.css.document.height:this.objekt.offsetHeight 
    this.clipHeight = bw.ns4 ? this.css.clip.height:this.objekt.offsetHeight 
    this.up = MoveAreaUp; this.down = MoveAreaDown; 
    this.MoveArea = MoveArea; this.x; this.y; 
    return this 
} 

var odpocet = 26;
function MoveArea(y){ 
	this.y = y; 
  this.css.top = this.y;
} 

var loop; 
function MoveAreaDown(move){ 
	if(this.y> - this.scrollHeight + objScDiv.clipHeight+6){ 
    this.MoveArea(this.y-move) 
    if(loop) setTimeout("objScDiv2.down("+move+")",odpocet) 
	} 
} 
function MoveAreaUp(move){ 
	if(this.y<0){ 
    this.MoveArea(this.y-move) 
    if(loop) setTimeout("objScDiv2.up("+move+")",odpocet) 
	} 
} 
 


function sc(value){ 
	if(scinit){ 
		loop=true; 
		if(value>0) objScDiv2.down(value) 
		else objScDiv2.up(value) 
	} 
} 
 
function scstop(){ 
    loop=false;
} 
var vscinit; 
function scinit(){ 
    objScDiv=new ConstructObject('ScDIV') 
    objScDiv2=new ConstructObject('ScDIV2','ScDIV') 
    objScDiv2.MoveArea(0) 
    objScDiv.css.visibility='visible' 
    vscinit=true;
} 
window.onload=scinit;

