<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="beautycenter.ro" title_url="http://www.beautycenter.ro" directory_title="beautycenter.ro - descopera-ti frumusetea!" description="beautycenter.ro - Informatii despre saloane de frumusete, promotii, servicii, coafuri, calculator nutritional, articole, stiri si comunicate de presa din domeniul frumusetii" author="beautycenter.ro" author_email="office@beautycenter.ro" author_affiliation="beautycenter.ro" author_location="Bucharest, Romania" screenshot="http://images.beautycenter.ro/google/screenshot.jpg" thumbnail="http://images.beautycenter.ro/google/thumbnail.jpg" scaling="true" scrolling="true" render_inline="optional">
<Locale lang="ro" country="ro"/>
</ModulePrefs>
<UserPref name="num_entries" display_name="Numar de stiri:" default_value="5"/>
<Content type="html">
<![CDATA[
	<style typee="text/css">
	#content_div { font-size: 80%; margin: 0px;}
	h3 {
		font-family: Arial;
		font-size: 12px;
		color: #20A8E0;
		margin-bottom: 0px;
	}
	a:link, a:visited, a:active, a:hover {
		font-family: Arial;
		font-size: 11px;
		color: #20A8E0;
	}
	a.title:link, a.title:visited {
		font-family: Arial;
		font-size: 14px;
		font-weight: bold;
		color: #EE4C90;
		text-decoration: none;
	}
	a.title:hover, a.title:active {
		font-family: Arial;
		font-size: 14px;
		font-weight: bold;
		color: #EE4C90;
		text-decoration: underline;
	}
	li {
		font-family: Arial;
		font-size: 11px;
		clear: both;
		border-bottom: 1px solid #eeeeee;
		margin-bottom: 3px;
	}
	</style>

	<div id="content_div"></div>
	
	<script type="text/javascript">
		var prefs = new _IG_Prefs(__MODULE_ID__);
		var entries = prefs.getInt("num_entries");
		if (entries > 100) {
			alert("Nu puteti afisa mai mult de 100 de stiri."); entries = 100;
		}

		_IG_FetchFeedAsJSON(
			"http://www.beautycenter.ro/rss/igoogle",
			function(feed) {  
				if (feed == null){  return; }
				
				var html = "";
				
				html += "<div><a href=\"http://www.beautycenter.ro\" target=\"_blank\"><img src=\"http://images.beautycenter.ro/google/logo.jpg\" style=\"border-style: none\"></a></div>";
				html += "<br/><ul style=\"margin: 0; padding: 0; list-style-type: none; margin-left: 15px;\">";
				
				if (feed.Entry) {
					for (var i = 0; i < feed.Entry.length && i <= entries; i++) {
						html += "<li>" + feed.Entry[i].Summary + "</li>";
					}
				}
				
				html += "</ul>";
				
				_gel("content_div").innerHTML = html;
			},
			entries,
			true
		)
	</script>
]]>
</Content>
</Module>