function bookmarksite(title, url){
  if (document.all)
  window.external.AddFavorite(url, title);
  else if (window.sidebar)
  window.sidebar.addPanel(title, url, "")
}

function printIt(getSlug){
    var getTitle = $('div.colA h1').html();
    $.post("print.php",{
        title: getTitle,
        content: $('div.colA div.txt').html(),
        siteName: 'Rumos na Rede',
        siteURL: 'http://www.rumosnarede.com.br',
        slug: getSlug
    },function(html){
        $('body *').css('display','none');
        $('body').css('background','transparent none');
        $('body').append('<div id="print"><!-- --></div>');
        $('#print').css('display','block');
        $('#print').html(html);
    });
}

$(document).ready(function(){
  $('div.multipleBoxes').click(function (e) {
    var index = $('div.multipleBoxes').index(this);
    var getBox = 'div.multipleBoxes:eq('+index+') div';
    if($(getBox).css('display') == 'none'){ 
      $(getBox).show('slow');
    } else {
      $(getBox).hide('slow');
    }
  });
});


/*
Auto center window script- Eric King (http://redrival.com/eak/index.shtml)
Permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}
// Fim do Auto Center Popup
