function cargarSWF(){
	var antilopez=$(".reproductor");
	var html="";
	html+='<object id="antilopez" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1025" height="469">'+
	'<param name="movie" value="http://www.antilopez.es/templates/themes/antilopez/antilopez.swf" />'+
	'<param name="quality" value="high" />'+
	'<param name="menu" value="false" />'+
	'<param name="wmode" value="transparent"></param>'+
	'<object type="application/x-shockwave-flash" quality="high" data="http://www.antilopez.es/templates/themes/antilopez/antilopez.swf" width="1025" height="469">'+
	'<param name="wmode" value="transparent" />'+
	'<param name="menu" value="false" />'+
	'<div>'+
	'<p class="noflash">Para ver este contenido es necesario el plugin de flash.</p>'+
	'<a href="http://www.adobe.com/go/getflashplayer">'+
	'<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />'+
	'</a>'+
	'</div>'+
	'</object>'+
	'</object>';
	antilopez.append(html);
}


function subir(id){
	$.scrollTo(0,800);
}

function no(){
	alert("No operativo!!!");
}

function move(destino){
	$.scrollTo(destino,800);
}

var anx=220;
var pa=[0,0];
var kp=[0,0];
var da=[0,0];
var inc=[0,0]

function scrollText(destino,direccion,limite){
	inc[destino-1]=0;

	if(direccion=="up" && kp[destino-1]==0) return;
	if(direccion=="down" && kp[destino-1]==limite-1) return;

	//Calculamos el incrementeo
	if(direccion=="down"){
		inc[destino-1]=pa[destino-1]+anx;
		kp[destino-1]++;
	}else{
		inc[destino-1]=pa[destino-1]-anx;
		kp[destino-1]--;
	}


	$("#content"+destino).scrollTo(inc[destino-1],800);
	pa[destino-1]=inc[destino-1];
}

function openLibro(id){
	switch(id){
		case 1:
			name="LBSAEx_TENDENCIAS.pdf";
		break;
		case 2:
			name="LBSAEx_RECOMENDACIONES.pdf";
		break;
		case 3:
			name="LBSAEx_BENCHMARKING.pdf";
		break;
		default:
			name="LBSAEx.pdf";
	}

	oF(u+"files/modules/downloads/"+name);
}
