(function(){

var gw_backgroundColor = '#f1f1f1';
var gw_textColor = '#666';
var gw_borderColor = '#a4a4a4';
var gw_width = '165px'.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=gofriendly&width=165px&fontfam=arial,%20helvetica,%20sans-serif&fontsize=11&bkgcolor=f1f1f1&text_color=666&border_color=a4a4a4&gw_m_people=1&gw_m_people_amount=8&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=1&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=0&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.gofriendly.com" id="gw_site">Gofriendly</a><br />'+
'		<br /><em>151 members and counting</em>'+
'		<div class="clear"></div>'+
'	</div>'+
'	<div id="gw_content">'+
'		<div class="gw_section" id="gw_m_people">'+
'			<p><strong>Members</strong></p>'+
'			<div class="gw_thumbs">'+
'				<a href=\"http://www.gofriendly.com/people/person/hrkgqrixxwfewusgx\" title=\"agusta.surodjo\"><img src=\"http://silo.grou.ps.s3.amazonaws.com/avatars/15854017/80.png?969264123\" width=\"32\" height=\"32\" border=\"0\" alt=\"agusta.surodjo\" style=\"\"  /></a> <a href=\"http://www.gofriendly.com/people/person/qjejejtcftdsqywle\" title=\"Reyhan\"><img src=\"http://silo.grou.ps.s3.amazonaws.com/avatars/16368346/80.png?171236106\" width=\"32\" height=\"32\" border=\"0\" alt=\"Reyhan\" style=\"\"  /></a> <a href=\"http://www.gofriendly.com/people/person/jkdufexfboktbmwva\" title=\"Kyla Keana\"><img src=\"http://silo.grou.ps.s3.amazonaws.com/avatars/11772508/80.png?1677559712\" width=\"32\" height=\"32\" border=\"0\" alt=\"Kyla Keana\" style=\"\"  /></a> <a href=\"http://www.gofriendly.com/people/person/gdhveutoyomaqfrys\" title=\"rayjuta05\"><img src=\"http://silo.grou.ps.s3.amazonaws.com/avatars/16979251/80.png?1724637987\" width=\"32\" height=\"32\" border=\"0\" alt=\"rayjuta05\" style=\"\"  /></a> <a href=\"http://www.gofriendly.com/people/person/qbuupmfxymbtcrhgl\" title=\"isye.april\"><img src=\"http://silo.grou.ps.s3.amazonaws.com/avatars/14055460/80.png?341168140\" width=\"32\" height=\"32\" border=\"0\" alt=\"isye.april\" style=\"\"  /></a> <a href=\"http://www.gofriendly.com/people/person/ufsmvylqnrcocgmqd\" title=\"lotharhuske\"><img src=\"http://silo.grou.ps.s3.amazonaws.com/avatars/18989410/80.png?83782613\" width=\"32\" height=\"32\" border=\"0\" alt=\"lotharhuske\" style=\"\"  /></a> <a href=\"http://www.gofriendly.com/people/person/tvpffukcppylshmxv\" title=\"dear_deoy\"><img src=\"http://silo.grou.ps.s3.amazonaws.com/avatars/11022400/80.png?929854257\" width=\"32\" height=\"32\" border=\"0\" alt=\"dear_deoy\" style=\"\"  /></a> <a href=\"http://www.gofriendly.com/people/person/egmzqarpgwqqbdays\" title=\"Rizka Utama N.\"><img src=\"http://silo.grou.ps.s3.amazonaws.com/avatars/11946334/80.png?1750979830\" width=\"32\" height=\"32\" border=\"0\" alt=\"Rizka Utama N.\" style=\"\"  /></a>  '+
'			</div>'+
'		</div>'+
'		<div class="gw_section" id="gw_m_events">'+
'			<p><strong>Upcoming Events</strong></p>'+
'			<ul class="gw_list">'+
'				<li><a href=\"http://www.gofriendly.com/calendar/event/271372\">Halal Bi Halal SMP2 \'76</a></li> '+
'			</ul>'+
'		</div>'+
'	</div>';
html +='	<div id="gw_footer" class="gw_section">'+
'		<a href="http://www.gofriendly.com/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);})();

