function activate(i){
	MM_swapImage('news1','','/i/news1.gif',1);
	//MM_swapImage('news2','','/i/news2.gif',1);
	//MM_swapImage('news3','','/i/news3.gif',1);
	MM_swapImage('news'+i,'','/i/news'+i+'a.gif',1);
	var el=new Array();
	el[1]=MM_findObj("ns"+1);
	//el[2]=MM_findObj("ns"+2);
	//el[3]=MM_findObj("ns"+3);
	
	el[1].style.display='none';
	//el[2].style.display='none';
	//el[3].style.display='none';
	el[i].style.display='block';
	return false;	
}


var aVis="1";
function VisibleLayer(layernum){

	if (aVis!=0)
	{
		document.getElementById("prog_body"+aVis).style.display ='none';
	 	eval("document.prog"+ aVis).src="/i/prog"+aVis+".gif";
	}
	aVis=layernum;
	document.getElementById("prog_body"+aVis).style.display ='block';
	eval("document.prog"+ aVis).src="/i/prog"+aVis+"a.gif";

}


var player_w;
function player(){
	if(player_w && !player_w.closed) player_w.close();
	player_w = window.open("/window_player.htm","", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=500,height=400");
}


function onair_DoFSCommand(command, args){
	if (command == "open") {
		player();
	}
}
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub onair_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call onair_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}
