	
//iniciando a framework quando a página abrir totalmente

jQuery(document).ready(function() {
	
	//jQuery("#featured").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 6000, true); 
	
	jQuery('#ads-fix').floatingbanner();
	
	
	jQuery('.rotativo').cycle({ 
    fx:     'fade', 
    speed:   600, 
    timeout: 10000, 
    next:   '.rotativo', 
    pause:   1 
	});
	
});


//Adiciona um link no texto quando ele é copiado
//http://bavotasan.com/tutorials/add-a-copyright-notice-to-copied-text/
//function addLink() {
//	var body_element = document.getElementsByTagName('body')[0];
//	var selection;
//	selection = window.getSelection();
//	//alert(host);
//	var pagelink = "<br /><br /> Read more: <a href='"+document.location.href+"'>"+document.location.href+"</a><br />Copyright &copy; "+window.location.host; // You can change this if you want
//	var copytext = selection + pagelink;
//	var newdiv = document.createElement('div');
//	newdiv.style.position='absolute';
//	newdiv.style.left='-99999px';
//	body_element.appendChild(newdiv);
//	newdiv.innerHTML = copytext;
//	selection.selectAllChildren(newdiv);
//	window.setTimeout(function() {
//		body_element.removeChild(newdiv);
//	},0);
//}
//document.oncopy = addLink;

