window.onload = function(){
	if (navigator.userAgent.indexOf('MSIE')>=0){
		getTag = document.getElementsByTagName('noscript');
  		for(i = (getTag.length - 1) ; setTag = getTag[i] ; i--){
    			if(setTag.className == "activex")setTag.outerHTML = setTag.innerHTML; 
		}
	}
}
function updateMeA1(who, what, cat, freq,oth){
	new Ajax.PeriodicalUpdater(who, '/modules/connectors/A1Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get',frequency: freq});
}
function firstUpdateA1(who, what, cat, freq,oth){
	new Ajax.Updater(who, '/modules/connectors/A1Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get'});
}
function updateMeM(who, what, cat, freq,oth){
	new Ajax.PeriodicalUpdater(who, '/modules/connectors/MConnector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get',frequency: freq});
}
function firstUpdateM(who, what, cat, freq,oth){
	new Ajax.Updater(who, '/modules/connectors/MConnector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get'});
}
function updateMeE1(who, what, cat, freq,oth){
	new Ajax.PeriodicalUpdater(who, '/modules/connectors/E1Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get',frequency: freq});
}
function firstUpdateE1(who, what, cat, freq,oth){
	new Ajax.Updater(who, '/modules/connectors/E1Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get'});
}
function updateMeA2(who, what, cat, freq,oth){
	new Ajax.PeriodicalUpdater(who, '/modules/connectors/A2Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get',frequency: freq});
}
function firstUpdateA2(who, what, cat, freq,oth){
	new Ajax.Updater(who, '/modules/connectors/A2Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get'});
}
function updateMeC2(who, what, cat, freq,oth){
	new Ajax.PeriodicalUpdater(who, '/modules/connectors/C2Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get',frequency: freq});
}
function firstUpdateC2(who, what, cat, freq,oth){
	new Ajax.Updater(who, '/modules/connectors/C2Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get'});
}
function updateMeC1(who, what, cat, freq,oth){
	new Ajax.PeriodicalUpdater(who, '/modules/connectors/C1Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get',frequency: freq});
}
function firstUpdateC1(who, what, cat, freq,oth){
	new Ajax.Updater(who, '/modules/connectors/C1Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get'});
}
function updateMeA3(who, what, cat, freq,oth){
	new Ajax.PeriodicalUpdater(who, '/modules/connectors/A3Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get',frequency: freq});
}
function firstUpdateA3(who, what, cat, freq,oth){
	new Ajax.Updater(who, '/modules/connectors/A3Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get'});
}

function updateMeB1(who, what, cat, freq,oth){
	new Ajax.PeriodicalUpdater(who, '/modules/connectors/B1Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get',frequency: freq});
}
function firstUpdateB1(who, what, cat, freq,oth){
	new Ajax.Updater(who, '/modules/connectors/B1Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get'});
}

function updateMeB2(who, what, cat, freq,oth){
	new Ajax.PeriodicalUpdater(who, '/modules/connectors/B2Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get',frequency: freq});
}
function firstUpdateB2(who, what, cat, freq,oth){
	new Ajax.Updater(who, '/modules/connectors/B2Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get'});
}
function updateMeB3(who, what, cat, freq,oth){
	new Ajax.PeriodicalUpdater(who, '/modules/connectors/B3Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get',frequency: freq});
}
function firstUpdateB3(who, what, cat, freq,oth){
	new Ajax.Updater(who, '/modules/connectors/B3Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get'});
}
function updateMeD1(who, what, cat, freq,oth){
	new Ajax.PeriodicalUpdater(who, '/modules/connectors/D1Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get',frequency: freq});
}
function firstUpdateD1(who, what, cat, freq,oth){
	new Ajax.Updater(who, '/modules/connectors/D1Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get'});
}
function updateMeD2(who, what, cat, freq,oth){
	new Ajax.PeriodicalUpdater(who, '/modules/connectors/D2Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get',frequency: freq});
}
function firstUpdateD2(who, what, cat, freq,oth){
	new Ajax.Updater(who, '/modules/connectors/D2Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get'});
}
function updateMeD3(who, what, cat, freq,oth){
	new Ajax.PeriodicalUpdater(who, '/modules/connectors/D3Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get',frequency: freq});
}
function firstUpdateD3(who, what, cat, freq,oth){
	new Ajax.Updater(who, '/modules/connectors/D3Connector.php?id=' + cat + '&key=' + oth + '&type=' + what,   {method: 'get'});
}
function getParams() {
	imh = 0 + image1.height;
	deltah = imh - 400;
	y = 0;
	drekec = 0;
	dir = -1;
	scrolley();
}
function scrolley() {
	if (deltah > 0) {
		y += dir;
		if (y < -deltah || y > 0) dir *= -1;
		document.getElementById('lista').style.top = y + 'px';
		if (drekec == 0) setTimeout("scrolley();", 30);
	}
}
function resetY() {
	drekec = 1; 
	y = 0;
}