(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=m_four&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=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=1&gw_m_files_amount=3&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.community.m-four.com" id="gw_site">Xchange</a><br />'+
'		connecting public sector marketing and communications professionals<br /><em>21 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">'+
'				<img src=\"http://silo.grou.ps.s3.amazonaws.com/avatars/1223497/80.png?1593679619\" width=\"32\" height=\"32\" border=\"0\" alt=\"PaulW\" style=\"\"  /> <img src=\"http://silo.grou.ps.s3.amazonaws.com/avatars/1231767/80.png?613211920\" width=\"32\" height=\"32\" border=\"0\" alt=\"m-four\" style=\"\"  /> <img src=\"http://silo.grou.ps.s3.amazonaws.com/avatars/2298583/80.png?853957496\" width=\"32\" height=\"32\" border=\"0\" alt=\"Stuart Baldwin\" style=\"\"  /> <img src=\"http://silo.grou.ps.s3.amazonaws.com/avatars/1246067/80.png?1613677948\" width=\"32\" height=\"32\" border=\"0\" alt=\"FUBAR\" style=\"\"  />  '+
'			</div>'+
'		</div>'+
'		<div class="gw_section" id="gw_m_files">'+
'			<p><strong>Latest Files</strong></p>'+
'			<ul class="gw_list"></ul>'+
'		</div>'+
'	</div>';
html +='	<div id="gw_footer" class="gw_section">'+
'		<a href="http://www.community.m-four.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);})();

