 $(document).ready(function() {
			$("a.portifolio_efeito").fancybox({
				'overlayShow'	: false,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'elastic',
                                'overlayOpacity': '0.5',
                                'overlayColor'  : '#336699'
			});

			$("#various1").fancybox({
				'titlePosition'		: 'inside',
				'transitionIn'		: 'none',
				'transitionOut'		: 'none'
			});
                        
                        $("#iframe_home").fancybox({
				'width'				: '80%',
				'height'			: '80%',
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});

		});
window.addEvent('domready', function() {
 
	/**
	 * Element with id 'demo-block' is the container and all h4-elements
	 * inside are fetched as tab headers. The following elements are their
	 * content.
	 */
	var tabs = new SimpleTabs('demo-block', {
		selector: 'h4'
	});
 
	/**
	 * 3rd tab as another tabbed UI inside
	 */
	new SimpleTabs('demo-block-inside', {
		selector: 'h6'
	});
 
	/**
	 * Anchors with # are not unobtrusive, its only for showing the addTab method
	 */
	new Element('a', {
		'href': '#',
		'text': 'Add another tab',
		'title': 'Adds a new customised tab to the end of the row.',
		'events': {
			'click': function() {
				var name = prompt('Please provide name for the tab') || 'No-Name';
				tabs.addTab(
					name, // text
					'Added Tab with name "' + name + '"', // title
					new Element('div', {'html': 'Content for tab <strong>"' + name +'"</strong>'}) // Element or URL
				);
				return false; // cancel the click
			}
		}
	}).inject(tabs.element, 'after');
 
});

