// JavaScript Document

jQuery(document).ready(function() {

	/* CODIGO FORMULARIOS*/
	_("aSentToFriend").href += "?cp="+ cp;
	$("a#aSentToFriend").fancybox({type:'iframe',scrolling:'no',width:363,height:290});
	$("a#ademoCenter").fancybox({type:'iframe',scrolling:'no',width:700,height:425});
	$("a#aPais").fancybox({type:'iframe',scrolling:'no',width:550,height:400});	

	$("a[rel=example_group]").fancybox({
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'titlePosition' 	: 'over',
		'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
		    return '<span id="fancybox-title-over">Image ' +  (currentIndex + 1) + ' / ' + currentArray.length + ' ' + title + '</span>';
		}
	});

});
