(function(){

var gw_backgroundColor = '#f1f1f1';
var gw_textColor = '#666';
var gw_borderColor = '#a4a4a4';
var gw_width = '200px'.replace(/__/,'%');
var gw_fontFace = 'arial, helvetica, sans-serif';
var gw_fontSize = '11';
var gw_fontSizePlus = parseFloat(gw_fontSize) + 3;
var gw_fontSizeDoublePlus = parseFloat(gw_fontSize) + 6;
var love_groups = '0';

var css = '<style type="text/css">'+
'#gw_main { width: ' + gw_width + '; }'+
'#g_widget { color: ' + gw_textColor + '; border: 1px solid ' + gw_borderColor + '; padding: 1px; font: ' + gw_fontSize + 'px/' + gw_fontSizeDoublePlus + 'px ' + gw_fontFace + '; color: ' + gw_textColor + '; }'+
'#g_widget a { color: ' + gw_textColor + '; }'+
'	.clear { clear: both; }'+
'	#gw_header { border-top: 0; padding: 5px; border-bottom: 1px solid ' + gw_borderColor + '; }'+
'	#gw_site { text-decoration: none; font-size: ' + gw_fontSizePlus + 'px; font-weight: bold; }'+
'	#gw_site:hover { text-decoration: underline; }'+
'	#gw_logo img { float: right; margin: 0 0 0 10px; border: 0; }'+
'	#gw_content { }'+
'	.gw_section { background: ' + gw_backgroundColor + '; border-bottom: 1px solid ' + gw_borderColor + '; padding: 5px; overflow: hidden; }'+
'	.gw_section a { text-decoration: underline; }'+
'	.gw_section a:hover { text-decoration: none; }'+
'	.gw_section p { margin: 0 0 5px 0; padding: 0; }'+
'	.gw_picture_list, .gw_list { margin: 0 0 0 0px; padding: 0; }'+
'	.gw_list li { list-style: square; margin: 0 0 0 20px; }'+
'	.gw_picture_list li { background-repeat: no-repeat; padding: 0 0 0 20px; list-style: none; }'+
'	.gw_thumbs img { border: 1px solid ' + gw_borderColor + '; padding: 1px; }'+
'	#gw_footer { border-bottom: 0; padding: 5px; font-size: ' + gw_fontSizePlus + 'px; font-weight: bold; text-align: center; }'+
'	#gw_footer a { text-decoration: none; }'+
'	#gw_footer a:hover { text-decoration: underline; }'+
'	#gw_groups { border-top: 1px solid ' + gw_borderColor + '; background: #fff; padding: 1px 0 0 0; }'+
'	#gw_groups a { background: url(http://grou.ps/images/banner_love_groups_small.png) no-repeat; display: block; height: 23px; text-indent: -9999px; }'+
'	#gw_share { text-indent: -99999px; height: 11px; }'+
'	#gw_share a { width: 65px; height: 10px; display: block; float: right; border: 1px solid ' + gw_borderColor + '; background: url(http://grou.ps/images/add_this.png) no-repeat; border-bottom: 0; }'+
'</style>';

var html = '<div id="gw_main">';

html += '<div id="gw_share">'+
'		<a href="javascript:;" onclick="window.open(\'http://grou.ps/gw_prep.php?group_name=redesocial&width=200px&fontfam=arial,%20helvetica,%20sans-serif&fontsize=11&bkgcolor=f1f1f1&text_color=666&border_color=a4a4a4&gw_m_people=1&gw_m_people_amount=3&gw_m_blogs=0&gw_m_blogs_amount=3&gw_m_talks=0&gw_m_talks_amount=3&gw_m_photos=0&gw_m_photos_amount=3&gw_m_links=0&gw_m_links_amount=3&gw_m_wiki=0&gw_m_wiki_amount=3&gw_m_calendar=0&gw_m_calendar_amount=0&gw_m_groups=0&gw_m_groups_amount=0&gw_m_videos=0&gw_m_videos_amount=0&gw_m_files=0&gw_m_files_amount=0&gw_m_latest=1&gw_m_latest_amount=3&love_groups=0\',\'gw\',\'menubar=no,width=820,height=500,toolbar=no,scrollbars=yes\')">Get this on your blog</a>'+
'	</div>';

html += '<div id="g_widget">'+
'	<div id="gw_header" class="gw_section">'+
'		'+
'		<a href="http://www.redesocial.net" id="gw_site">Portal das Redes Sociais</a><br />'+
'		tudo que você procura sobre mídias sociais<br /><em>698 members and counting</em>'+
'		<div class="clear"></div>'+
'	</div>'+
'	<div id="gw_content">'+
'		<div class="gw_section" id="gw_latest_activities">'+
'			<p><strong>Latest Activities</strong></p>'+
'			<ul class=\"latest_activity\">		<div class=\"latest_activity_lists\"  >			<div class=\"latest_activity_lists_avatar\"><a href=\"http://www.redesocial.net/people/person/sbhvqxubjynuhkdba\" title=\"Matheus Cardoso da Silva\"><img src=\"http://silo.grou.ps.s3.amazonaws.com/avatars/21002287/80.png?208364686\" width=\"30\" height=\"30\" border=\"0\" alt=\"Matheus Cardoso da Silva\" style=\"\"  /></a></div><div class=\"latest_activity_lists_text\"> joined our group! <small>4 minutes ago</small></div></div>		<div class=\"latest_activity_lists\"  >			<div class=\"latest_activity_lists_avatar\"><a href=\"http://www.redesocial.net/people/person/lzpiumcvkvhaheaoi\" title=\"Jonatas Fróes\"><img src=\"http://silo.grou.ps.s3.amazonaws.com/avatars/20997565/80.png?1742892447\" width=\"30\" height=\"30\" border=\"0\" alt=\"Jonatas Fróes\" style=\"\"  /></a></div><div class=\"latest_activity_lists_text\"> joined our group! <small>29 minutes ago</small></div></div>		<div class=\"latest_activity_lists\"  ><div class=\"latest_activity_lists_avatar\">&nbsp;</div><div class=\"latest_activity_lists_text\">Someone commented on a <a href=\"http://www.redesocial.net/blogs/50368\">blog entry</a>. <small>2 days ago</small></div></div></ul>'+
'		</div>'+
'		<div class="gw_section" id="gw_m_people">'+
'			<p><strong>Members</strong></p>'+
'			<div class="gw_thumbs">'+
'				<img src=\"http://silo.grou.ps.s3.amazonaws.com/avatars/4760253/80.png?1079996185\" width=\"32\" height=\"32\" border=\"0\" alt=\"casaldesampa\" style=\"\"  /> <img src=\"http://silo.grou.ps.s3.amazonaws.com/avatars/5891848/80.png?952134354\" width=\"32\" height=\"32\" border=\"0\" alt=\"jack.milke\" style=\"\"  /> <img src=\"http://silo.grou.ps.s3.amazonaws.com/avatars/5830683/80.png?1725524082\" width=\"32\" height=\"32\" border=\"0\" alt=\"marlon\" style=\"\"  />  '+
'			</div>'+
'		</div>'+
'	</div>';
html +='	<div id="gw_footer" class="gw_section">'+
'		<a href="http://www.redesocial.net/join" target="_blank">Join Our Group</a>'+
'	</div>';
if(love_groups==1) {
html +='	<div id="gw_groups">'+
'		<a href="http://grou.ps">Powered by GROU.PS</a>'+
'	</div>';
}
html += '</div></div>';


document.write(css + html);})();

