// Widget do twitter
$(function(){
	if ($("#twitter").length > 0) {
		if ($.screen.width > 1200) {
			$(".conteudo2, .apendice-conteudo").append("<div id=\"twitter\"></div>")
		}
	}
	
	$("body").append("<div class=\"icone-twitter\"><a href=\"http://www.twitter.com/marcocezario\" target=\"_blank\" title=\"Siga Dr. Marco Cezario no twitter\">Siga Dr. Marco Cezario no twitter</a></div>")
	
	if ($(document).find("#twitter").length == 1){
		new TWTR.Widget({ id:'twitter', version: 2, type: 'profile',rpp: 3, interval: 6000,  width: 220,  height: 290, theme: { shell: { background: '#bedeeb', color: '#fff'}, tweets: {  background: '#ebf6fb',  color: '#666666', links: '#0099cc'}}, features: {scrollbar: false, loop: false, live: false, hashtags: true,timestamp: true,avatars: false,	behavior: 'all'}}).render().setUser('marcocezario').start();
	}

})
