<!--

Qual = 0;

function CarregaNoAr()

	{

	document.getElementById('mostraNoAr').innerHTML = "Iniciando o player";

	ajax_loadContent('mostraNoAr','Letreiro.php');

	setTimeout('CarregaNoAr2();', 1200000);

	}

	

function CarregaNoAr2()

	{

	ajax_loadContent('mostraNoAr','Letreiro.php');

	setTimeout('CarregaNoAr2();', 1200000);

	}

	

function CarregaNoAr3()

	{

	ajax_loadContent('mostraNoAr','Letreiro.php');

	setTimeout('CarregaNoAr();', 1200000);

	}

	

function StopNoAr()

	{

	document.getElementById('mostraNoAr').innerHTML = "O player foi pausado";

	setTimeout('StopNoAr();', 1200000);

	}	

	

function PlayClick(){

	document.getElementById('mostraNoAr').innerHTML = "Iniciando o player";

    ajax_loadContent('PlayerPlace','PlayerAutoPlay.php');

	setTimeout('CarregarNoAr2();', 1200000);

	}

	

function StopClick(){

	document.getElementById('PlayerPlace').innerHTML = '';

	document.getElementById('mostraNoAr').innerHTML = "O player foi pausado";

	setTimeout('CarregarNoAr2();', 1200000);

	}

	

function UpVolumeClick(){

    if (document.WMPlay.Volume <= -300) {

        document.WMPlay.Volume = document.WMPlay.Volume + 300;

		}

	}

	

function DownVolumeClick(){

    if (document.WMPlay.Volume >= -8000) {

        document.WMPlay.Volume = document.WMPlay.Volume - 300;

		}

	}

function Player(n) {

	if (n == 1) {

		StopClick();

		window.open('http://radiopinel.com/aovivo.asx','player','width=375,height=315,status=no,menubar=no');

		return false;

	}

	if (n == 2) {

		StopClick();

		window.open('http://radiopinel.com/aovivo.asx','player','width=375,height=315,status=no,menubar=no');

		return false;

	}

	if (n == 3) {

		StopClick();

		window.open('http://radiopinel.com/aovivo.asx','player','width=375,height=315,status=no,menubar=no');

		return false;

	}

	if (n == 4) {

		StopClick();

		window.open('http://www.radiopinel.com/paginas/parceiro_player.php','player','width=505,height=410,status=no,menubar=no');

		return false;

	}

}



function PER()

	{

	window.open('http://www.radiopinel.com/pedidos.php', 'PER','width=280,height=300,status=no,menubar=no');

	return false;

	}

//-->

