function showApla() {

ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false

winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20
winH = (ns4)? window.innerHeight : document.body.offsetHeight
x = winW-788
if (x<0) { x = 0}

	if (ns4) { 
	document.Apla.xpos = parseInt(document.Apla.left)
	document.Apla.ypos = parseInt(document.Apla.top)
	document.Apla.xpos = Math.round((x)/2)+455
	document.Apla.left = document.Apla.xpos
        document.Apla.top = document.Apla.ypos
	}

	if (ie4) { 
	Apla.style.xpos = parseInt(Apla.style.left)
	Apla.style.ypos = parseInt(Apla.style.top)
	Apla.style.xpos = Math.round((x)/2)+455
	Apla.style.left = Apla.style.xpos
        Apla.style.top = Apla.style.ypos
        }

	if (ns4) document.Apla.visibility = "show"
	else if (ie4) Apla.style.visibility = "visible"
}

function showBaner() {

ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false

winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20
winH = (ns4)? window.innerHeight : document.body.offsetHeight
x = winW-788
if (x<0) { x = 0}

	if (ns4) { 
	document.Baner.xpos = parseInt(document.Baner.left)
	document.Baner.ypos = parseInt(document.Baner.top)
	document.Baner.xpos = Math.round((x)/2)+20
	document.Baner.left = document.Baner.xpos
        document.Baner.top = document.Baner.ypos
	}

	if (ie4) { 
	Baner.style.xpos = parseInt(Baner.style.left)
	Baner.style.ypos = parseInt(Baner.style.top)
	Baner.style.xpos = Math.round((x)/2)+20
	Baner.style.left = Baner.style.xpos
        Baner.style.top = Baner.style.ypos
        }

	if (ns4) document.Baner.visibility = "show"
	else if (ie4) Baner.style.visibility = "visible"
}

