// JavaScript Document





function fnBitrateHighlight()

{

	var myImages = document.images;

	var myImagesCount = myImages.length;



	for (var i=0; i<myImagesCount; i++)

	{

		if (myImages[i].className == "kbps128" || myImages[i].className == "kbps48")

		{



			myImages[i].onmouseover = function ()

			{

				var re = /\g.gif/

				var path = String(this.src)

				path = path.replace(re, "w.gif")

				this.src = path

			}



			myImages[i].onmouseout = function ()

			{

				var re = /w\.gif$/

				var path = String(this.src)

				path = path.replace(re, "g.gif")

				this.src = path

			}

		}

	}

}





function fnOnResize()

{

	window.onresize = function()

	{

		fnPosLogo()

	}

}



function fnPosLogo(firstRun)

{

	var iIconWidth = document.getElementById('radioicon').offsetWidth

	var iIconLeft = document.getElementById('radioicon').offsetLeft

	var iLogoWidth = 97; // visual width of logo wthout url



	document.getElementById('radiologo').style.left = (iIconLeft) + ( (iIconWidth/2) - (iLogoWidth/2) - 10) + "px";

}

