function imagePopup(src,x,y,h) {
	var w=x+16;
	image=window.open('','_blank','width='+w+',height='+y+',top=100,left=100,noresize,scrollbars=yes');
	image.document.write("<html>\n<head>\n<title>ABACO GROUP</title>\n</head>");
	image.document.write("<body style=\"margin:0px;\">\n");
	image.document.write("<a href=\"#\" onclick=\"window.close()\" title=\"Kliknutím okno zavøete\">");
	image.document.write("<img src=\""+src+"\" width=\""+x+"\" height=\""+h+"\" border=\"0\">");
	image.document.write("</a>");
	image.document.write("</body>\n</html>\n");
	return true;
}

d=document;l=(d.layers)?1:0;op=navigator.userAgent.toLowerCase().indexOf('opera')!=-1;ie=(d.all)?1:0;
function gE(e,f){if(l){f=(f)?f:self;var V=f.document.layers;if(V[e])return V[e];for(var W=0;W<V.length;)t=gE(e,V[W++]);return t;}if(d.all)return d.all[e];return d.getElementById(e);}

function Show(item) {
	item.className="tiltMenu";
}

function Hide(item) {
	item.className="tiltMenu hide";
}

function SubShow(item) {
	item.className="subTiltMenu show";
}

function SubHide(item) {
	item.className="subTiltMenu hide";
}

function init() {
	for(var i=1;i<=6;i++)
		{eval("m"+i+"=gE('menu"+i+"')")};
	for(var j=1;j<=6;j++)
		{eval("sm"+j+"=gE('subMenu"+j+"')")};
	newsTicker.init(document.getElementById("ticker"));
}

addEvent(window, "load", init);

