// width_ticker e height_ticker definite nel chiamante sulla base del canale
// vengono usati quei valori per la dimensione della finestra
// lasciati come parametri per compatibilità
var
  ticker_popup_w=0;  

function popup_ticker(viewer,page,scrollbars,resizable,width,height)
{
	ticker_popup_w = window.open(page,viewer,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+scrollbars+',resizable='+resizable+',copyhistory=0,width='+width_ticker+',height='+height_ticker+',left=200,top=100');
	ticker_popup_w.focus();
	return false;
}


function closepopup_ticker()
{
	if (ticker_popup_w!=0)
	{
		ticker_popup_w.close();
	}
	ticker_popup_w=0;
	return false;
}

window.onfocus=function() {
closepopup_ticker();
};

