function flashCabezal(skipIntro) {
	var flashvars = {
		sk: skipIntro
	}; 
	swfobject.embedSWF('flash/cabezal.swf', 'cabezal', '665', '270', '6', null, flashvars, { wmode:"transparent"}); 
}
function flashPlayer(idLista,startStop) {
	var flashvars = {
		idLista: idLista,
		startStop:startStop
	}; 
	swfobject.embedSWF('modulos/jukebox/flash/jukebox.swf', 'web_set', '295', '71', '6', null, flashvars, { wmode:"transparent"}); 
}
function empty(mixed_var) {
    var key;
    if (mixed_var === "" || mixed_var === 0 || mixed_var === "0" || mixed_var === null || mixed_var === false || mixed_var === undefined) {
        return true;
	}
    if (typeof mixed_var == 'object') {
        for (key in mixed_var) {
            return false;
        }
        return true;
    }
    return false;
}
function fixPng() {
	$(function() {
		if($.browser.msie && ($.browser.version.substr(0,1) < 7)){
			$("#logo").ifixpng();
			$(".grupo_links .contenedor_ul ul li.alt").ifixpng();
			$("#by_solcre img").ifixpng();	
			$("#noticias div ul li .noticia_ampliar a").ifixpng();	
		}
	});
}
function movimientoFondo() {
	$(function() {
		setInterval(function() { moverFondo("#cabezal_bottom",1,34770); },100);
		/*
		$("#cabezal_bottom").animate({ 
			backgroundPosition: -34770
		}, 378993 );
		*/
	});	
}
function moverFondo(selector, desp, maxValue) {
	var x = parseInt(String($(selector).css("backgroundPosition").split(" ",1)).replace("px",""));
	x = x + desp;
	if (x > maxValue) {	
		x = 0;
	}
	$(selector).css("backgroundPosition",x+"px 0%");
}