
var VrstvaRef="null";
var StylVrstvyRef="null";
var StylPrep="null";
var ViditelV="null";
var CelkCas=10;
var AktCas=0;
var pxPrep="null";
var SirkaClipPrep="null";
var VyskaClipPrep="null";

function inicializacia2(){
	if (navigator.appName == "Netscape") {
	nav = true;
	StylVrstvyRef="layer.";
	VrstvaRef="document.layers";
	StylPrep="";
	ViditelV="show";
	pxPrep="";
	SirkaClipPrep=".clip.right";
	VyskaClipPrep=".clip.bottom";
	txt = ".document";
	}
	else{     
	nav = false;
	StylVrstvyRef="layer.style.";
	VrstvaRef="document.all";
	StylPrep=".style";
	ViditelV="visible";
	pxPrep="px";
	SirkaClipPrep=".posWidth";
	VyskaClipPrep=".posHeight";
	txt = "";
	} 
}

function ukazLayer(layerName){
	eval(VrstvaRef+'["'+layerName+'"]'+StylPrep+'.visibility="visible"');
}

function schovajLayer(layerName){
	eval(VrstvaRef+'["'+layerName+'"]'+StylPrep+'.visibility="hidden"');
}

function zobrazStatus(txt) {
	status=txt;
}

document.onmouseover = Myscez;
document.onmouseout = Mysprec;

function Myscez() {
	if( window.event.srcElement.tagName=='A' ) {
	window.event.srcElement.className="zvyraz";
	}	
}

function Mysprec() {
	if( window.event.srcElement.tagName=='A' ) {
	window.event.srcElement.className="norm";
	}	
}

function zistiVerziu() {
	appname= navigator.appName;
	appversion = navigator.appVersion;
	majorver = appversion.substring(0, 1); 
	if ( (appname == "Netscape") && ( majorver > 3 ) ) return 1;
	if ( (appname == "Microsoft Internet Explorer") && (majorver >= 4) ) return 1;
	return 0;
}

function vymen(num, imgname) {
	if (zistiVerziu()) {
	document[imgname].src = img[num].src;
	}
}


