function loadContent(file,id,divId) {
		$("#"+divId+"").fadeOut('fast',loadContent);
		$("#"+divId+"").fadeIn("fast");
			function loadContent() {
				$("#"+divId+"").load(""+file+"?id="+id+"");
			}
}

// Credits: Robert Penners easing equations (http://www.robertpenner.com/easing/).
jQuery.easing['BounceEaseOut'] = function(p, t, b, c, d) {
	if ((t/=d) < (1/2.75)) {
		return c*(7.5625*t*t) + b;
	} else if (t < (2/2.75)) {
		return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
	} else if (t < (2.5/2.75)) {
		return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
	} else {
		return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
	}
};

jQuery(document).ready(function() {
    jQuery('#slide_videos').jcarousel({
        easing: 'BounceEaseOut',
        scroll: 3,
		vertical: true,
        animation: 1000
    });
});


jQuery(document).ready(function() {
    jQuery('#envivo').jcarousel({
        easing: 'BounceEaseOut',
        animation: 1000,
		scroll: 1,
		auto:4
    });
});


function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=800,height=600,left = 192,top = 144');");
}


addthis_pub             = 'sbsCorporate'; 
addthis_logo            = 'http://lasmegadivas.com/images/las_divas_logo_addthis.png';
addthis_logo_background = 'http://lasmegadivas.com/images/back.gif';
addthis_language     = 'es';
addthis_logo_color      = 'FFFFFF';
addthis_brand           = 'Las Mega Divas';
addthis_options         = 'favorites, email, digg, delicious, myspace, facebook, google, live, more';
