var divIMGBanner = "";
function roluj() {
	unit = "px";
	moveTime = 30;
	showTime = 5000;
	heightBox = 110;
	diva = document.getElementById( "akciaa" );
	divb = document.getElementById( "akciab" );
	divc = document.getElementById( "akciac" );
	ya = heightBox;
	if( diva && divb ) roluja();
}
function moveV( elm ) {
	if( elm.style.display != "" ) elm.style.display = "";
	ya --;
	elm.style.top = "" + ya + unit;
}
function roluja() {
	if( divc ) divc.style.display = "none"; else divb.style.display = "none";
	if( ya > 0 ) {
		moveV( diva );
		setTimeout( "roluja()", moveTime );
	} else {
		ya = heightBox;
		setTimeout( "rolujb()", showTime );
	}
}
function rolujb() {
	diva.style.display = "none";
	if( ya > 0 ) {
		moveV( divb );
		setTimeout( "rolujb()", moveTime );
	} else {
		ya = heightBox;
		if( divc ) setTimeout( "rolujc()", showTime ); else setTimeout( "roluja()", showTime );
	}
}
function rolujc() {
	divb.style.display = "none";
	if( ya > 0 ) {
		moveV( divc );
		setTimeout( "rolujc()", moveTime );
	} else {
		ya = heightBox;
		setTimeout( "roluja()", showTime );
	}
}
function showIMGBanner(){
	divIMGBanner = document.getElementById("div-imgBanner");
	if( divIMGBanner ){
		divIMGBanner.style.display = "block";
		setTimeout( "hideIMGBanner()", 6000 )
	}
}

function hideIMGBanner(){
	if( divIMGBanner ) divIMGBanner.style.display = "none";
}

