window.onError=null; CSStopExecution = false; CSAct = new Object; CSInit = new Array; 
function start() { if (navigator.appName == 'Netscape') { self.status='vaclaveks.cz :: Vladimír Václavek';zlobidloNetscape()} else {self.status='vaclaveks.cz :: Vladimír Václavek'; } }
function oknos(nazev,kam,sir,wis,lis) { window.open(nazev+".html#"+kam,nazev,"top=1,left=37,width="+sir+",height="+wis+",buttons=no,scrollbars="+lis+",location=no,menubar=no,resizable=no,status=yes,directories=no,toolbar=no,copyhistory=no"); }
function zlobidloNetscape() {	if (typeof(skipPage) != "undefined") { if (skipPage) return; }
	idxArray = new Array; for (var i = 0; i < CSInit.length; i++)	idxArray[i] = i; CSAction2(CSInit, idxArray);}
function CSAction(array) {return CSAction2(CSAct, array);}
function CSAction2(fct, array) { 
	var result;
	for (var i=0;i<array.length;i++) {
		if(CSStopExecution) return false; 
		var actArray = fct[array[i]];
		if(actArray == null) return false; 
		var tempArray = new Array;
		for(var j=1;j<actArray.length;j++) {
			if((actArray[j] != null) && (typeof(actArray[j]) == "object") && (actArray[j].length == 2)) {
				if(actArray[j][0] == "VAR") {
					tempArray[j] = CSStateArray[actArray[j][1]];
				} else {
					if(actArray[j][0] == "ACT") {
						tempArray[j] = CSAction(new Array(new String(actArray[j][1])));
					}
				else
					tempArray[j] = actArray[j];
				}
			}
			else
				tempArray[j] = actArray[j];
		}			
		result = actArray[0](tempArray);
	}
	return result;
}

function CSFixFct() {var d = document; var w = window;
	if (d.cs.csFix.w != w.innerWidth || d.cs.csFix.h != w.innerHeight) {d.location = d.location; }}

function CSNSFix(action) { 
	var d = document; var w = window;
	if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
	if (typeof d.cs == 'undefined') { 
	d.cs = new Object;
	d.cs.csFix = new Object; 
	} else if (CSIsFrame (w) == true) CSFixFct();
	d.cs.csFix.w = w.innerWidth;
	d.cs.csFix.h = w.innerHeight; 
	window.onresize = CSFixFct;}}

function CSIsFrame (window) {
	var rootWindow = window.parent;
	if (rootWindow == 'undefined') return false;
	for (i = 0; i < rootWindow.frames.length; i++)
	if (window == rootWindow.frames[i]) return true;
	return false;}

CSInit[CSInit.length] = new Array(CSNSFix);

var dhtml = false;
if ((navigator.userAgent.substring(0,9) == "Mozilla/3") || (navigator.userAgent.substring(0,9) == "Mozilla/4")) dhtml = true;
function DhtmlOnOver() {var fajt = window.event.srcElement;if (fajt.tagName == 'A') {fajt.style.textDecoration='underline';window.status=' ';}}
function DhtmlOnOut() {var fajt = window.event.srcElement;if  (fajt.tagName == 'A') {fajt.style.textDecoration='none';;window.status=' ';}}
if (dhtml) {document.onmouseover = DhtmlOnOver;document.onmouseout = DhtmlOnOut;}

function nepisne() {
secondWindow=window.open('f.cenek/solo_nepisne.mov','video','width=322,height=255,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=1,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=0,toolbar=0,z-lock=0,screenX=0,screeny=0,left=10,top=10');
}
function solopro() {
secondWindow=window.open('f.cenek/solo_pro.mov','video','width=322,height=255,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=1,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=0,toolbar=0,z-lock=0,screenX=0,screeny=0,left=10,top=10');
}
function proglas() {
secondWindow=window.open('f.cenek/proglas.mov','video','width=322,height=255,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=1,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=0,toolbar=0,z-lock=0,screenX=0,screeny=0,left=10,top=10');
}
function pozor() {
secondWindow=window.open('pozor.html','pozor','width=460,height=85,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=1,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0,z-lock=0,screenX=0,screeny=0,left=40,top=70');
}
