function getBrowserWidth() {
	if (top.window.innerWidth) {
		return top.window.innerWidth;
	} else if (top.document.documentElement && top.document.documentElement.clientWidth != 0) {
		return top.document.documentElement.clientWidth;
	} else if (top.document.body) {
		return top.document.body.clientWidth;
	}
	return 0;
}

var theWidth = getBrowserWidth();

var theWidth = getBrowserWidth();
if (theWidth<=800) {
	var notancho = 160;
	var notalto = 300;
} else {
	var notancho = 220;
	var notalto = 320;
}


afecnews = new AJScroller();
afecnews.name = 'afecnews';
afecnews.type = 0;
afecnews.width = notancho;
afecnews.height = notalto;
afecnews.spacing = 20;
afecnews.scrollspeed = 20;
afecnews.pausedelay = 6500;
afecnews.pausemouseover = false;
afecnews.add('<p style="font-family:Arial;font-size:8pt;"><b>Renove Plan in Castilla-La Mancha</b><br/>It was published in the Official Journal of Castilla-La Mancha the Order of 30/11/2011, the Department of Development, which are called the Renewal Plan aid equipment<br />domestic air conditioning Castilla-La Mancha 2011.<br /><a target="_top" href="http://www.afec.es/en/plan-renove-castilla-mancha.asp">Additional information</a></p><p>&nbsp;</p>', '', 'new1');
afecnews.add('<p style="font-family:Arial;font-size:8pt;"><b>Air Conditioning Renove Plan for Madrid</b><br/>The steps taken by AFEC with the Directorate General of Industry, Energy and Mines of Madrid, for more than 2 years, aimed at achieving an AC Renewal Plan for the said Community have come to fruition with the adoption by part of the Ministry of Economy and Finance of the Plan.<br /><a target="_top" href="http://www.afec.es/en/plan-renove-madrid.asp">Additional information</a></p><p>&nbsp;</p>', '', 'new1');
afecnews.add('<p style="font-family:Arial;font-size:8pt;"><b>Directives and Regulations</b><br/>Now available the Proposal on energy efficiency and repealing Directives 2004/8/EC and 2006/32/EC.<br /><a target="_blank" href="http://www.afec.es/en/directivas/pro_2011_172_en.pdf">Additional information</a></p><p>&nbsp;</p>', '', 'new1');
afecnews.add('<p style="font-family:Arial;font-size:8pt;"><b>Directives and Regulations</b><br/>Now available the COMMISSION DELEGATED REGULATION (EU) No 626/2011 of 4 May 2011 supplementing Directive 2010/30/EU of the European Parliament and of the Council with regard to energy labelling of air conditioners.<br /><a target="_blank" href="/en/directivas/reg_2011_626_en.pdf">Additional information</a></p><p>&nbsp;</p>', '', 'new1');
afecnews.add('<p style="font-family:Arial;font-size:8pt;"><b>Directives and Regulations</b><br/>Now available the DIRECTIVE of the European Parliament and of the Council on the restriction of the use of certain hazardous substances in electrical and electronic equipment (recast)<br /><a target="_blank" href="/en/directivas/dir_2011_65_en.pdf">Additional information</a></p><p>&nbsp;</p>', '', 'new1');
afecnews.add('<p style="font-family:Arial;font-size:8pt;"><b>Directives and Regulations</b><br/>Now available the REGULATION of the Commission implementing Directive 2009/125/EC of the European Parliament and of the Council with regard to ecodesign requirements for fans driven by motors with an electric input power between 125 W and 500 kW.<br /><a target="_top" href="/en/directivas/reg_2011_327_en.pdf">Additional information</a></p><p>&nbsp;</p>', '', 'new1');
afecnews.add('<p style="font-family:Arial;font-size:8pt;"><b>Air Conditioning Equipment Renewal Plan of Galicia (year 2010-2011)</b><br/>The Ministry of Economy and Industry through the Energy Institute of Galicia (INEGA) has launched the Renewal Plan Equipment Climate Campaign (2010-2011).<br /><a target="_top" href="http://www.afec.es/en/plan-renove-galicia.asp">Additional information</a></p><p>&nbsp;</p>', '', 'new1');
afecnews.add('<p style="font-family:Arial;font-size:8pt;"><b>Renove Plan in Castilla-La Mancha</b><br/>It was published in the Official Journal of Castilla-La Mancha the Order of 30/11/2011, the Department of Development, which are called the Renewal Plan aid equipment<br />domestic air conditioning Castilla-La Mancha 2011.<br /><a target="_top" href="http://www.afec.es/en/plan-renove-castilla-mancha.asp">Additional information</a></p><p>&nbsp;</p>', '', 'new1');
afecnews.add('<p style="font-family:Arial;font-size:8pt;"><b>Air Conditioning Renove Plan for Madrid</b><br/>The steps taken by AFEC with the Directorate General of Industry, Energy and Mines of Madrid, for more than 2 years, aimed at achieving an AC Renewal Plan for the said Community have come to fruition with the adoption by part of the Ministry of Economy and Finance of the Plan.<br /><a target="_top" href="http://www.afec.es/en/plan-renove-madrid.asp">Additional information</a></p><p>&nbsp;</p>', '', 'new1');
afecnews.add('<p style="font-family:Arial;font-size:8pt;"><b>Directives and Regulations</b><br/>Now available the Proposal on energy efficiency and repealing Directives 2004/8/EC and 2006/32/EC.<br /><a target="_blank" href="http://www.afec.es/en/directivas/pro_2011_172_en.pdf">Additional information</a></p><p>&nbsp;</p>', '', 'new1');
afecnews.add('<p style="font-family:Arial;font-size:8pt;"><b>Directives and Regulations</b><br/>Now available the COMMISSION DELEGATED REGULATION (EU) No 626/2011 of 4 May 2011 supplementing Directive 2010/30/EU of the European Parliament and of the Council with regard to energy labelling of air conditioners.<br /><a target="_blank" href="/en/directivas/reg_2011_626_en.pdf">Additional information</a></p><p>&nbsp;</p>', '', 'new1');
afecnews.add('<p style="font-family:Arial;font-size:8pt;"><b>Directives and Regulations</b><br/>Now available the DIRECTIVE of the European Parliament and of the Council on the restriction of the use of certain hazardous substances in electrical and electronic equipment (recast)<br /><a target="_blank" href="/en/directivas/dir_2011_65_en.pdf">Additional information</a></p><p>&nbsp;</p>', '', 'new1');
afecnews.add('<p style="font-family:Arial;font-size:8pt;"><b>Directives and Regulations</b><br/>Now available the REGULATION of the Commission implementing Directive 2009/125/EC of the European Parliament and of the Council with regard to ecodesign requirements for fans driven by motors with an electric input power between 125 W and 500 kW.<br /><a target="_top" href="/en/directivas/reg_2011_327_en.pdf">Additional information</a></p><p>&nbsp;</p>', '', 'new1');
afecnews.add('<p style="font-family:Arial;font-size:8pt;"><b>Air Conditioning Equipment Renewal Plan of Galicia (year 2010-2011)</b><br/>The Ministry of Economy and Industry through the Energy Institute of Galicia (INEGA) has launched the Renewal Plan Equipment Climate Campaign (2010-2011).<br /><a target="_top" href="http://www.afec.es/en/plan-renove-galicia.asp">Additional information</a></p><p>&nbsp;</p>', '', 'new1');



afecnews.display();
onload = function(){afecnews.load();afecnews.start();};
onresize = function(){afecnews.load();};

