var Qsecc = 0;
var AntPos = 0;
$(document).ready(function() {
	function Acomoda(){
		$("#LineaT_Secc0").css("width", GetWidth()+"px");
		$("#LineaT_Secc0").css("height", GetHeight()+"px");
		$("#LineaT_Bottom_Barra_Negra").css("width", (GetWidth() - 350)+"px");
		
		$("#LineaT_Secc1").css('height',GetHeight()+'px');
		
		if(Qsecc == 0){
			$("#LineaT_Secc1").css('left',GetWidth()+'px');
		}else{
			$("#LineaT_Secc0").css('left',-GetWidth()+'px');
			$("#LineaT_Bottom_Barra_Negra").css("left", GetWidth()+"px");
			var posdrag = $('#LineaT_Bottom_LineaT_Scroll_Drag').css('left').split('px');
			var por = posdrag[0] / 720;
			$('#LineaT_Secc1').css('left',(-(9216 * por))+((GetWidth() - 1024) * 0.5)+'px');
		}
	}
	Acomoda();
	$(window).resize(function(){
		Acomoda();
	});
/*INICIO*********************************************************************************************/
	if($.browser.msie && $.browser.version < 9){
		$('#LineaT_Secc0').css("display", 'none');	
		setTimeout(function(){$('#LineaT_Secc0').css("display", '');}, 500);		
	}else{
		$('#LineaT_Secc0').css("opacity", '0');
		$('#LineaT_Secc0').animate({'opacity': '1'}, 1000, 'swing');
	}
	setInterval("MoveObjetos()",10);
	$('#LineaT_Bottom_Inicio_Flecha .B').css("opacity", '0');	
/****************************************************************************************************/
/*IR A LINEA DE TIEMPO*******************************************************************************/
	$("#LineaT_Bottom_Inicio_Flecha").click(function() {
		if($('#LineaT_Bottom_Inicio').css("left") != '-325px'){
			var posdrag = $('#LineaT_Bottom_LineaT_Scroll_Drag').css('left').split('px');
			var por = $("#LineaT_Bottom_LineaT_Scroll_Bar").slider("value") / 720;
			$('#LineaT_Bottom_Inicio').animate({"left": '-325px'}, 500, 'swing');
			$('#LineaT_Bottom_Barra_Negra').animate({"left": GetWidth()+'px'}, 500, 'swing');
			$("#LineaT_Secc0").animate({"left": -GetWidth()+'px'}, 500, 'swing');
			$("#LineaT_Secc1").animate({"left": (-(9216 * por))+((GetWidth() - 1024) * 0.5)+'px'}, 500, 'swing');
			if($.browser.msie && $.browser.version < 9){
				$('#LineaT_Bottom_Inicio_Flecha .B').css("opacity", '');
			}else{
				$('#LineaT_Bottom_Inicio_Flecha .B').css("opacity", '1');
			}			
			Qsecc = 1;
		}else{
			AntPos = $("#LineaT_Bottom_LineaT_Scroll_Bar").slider("value");
			var posdrag = 0;
			var q = Math.floor(((AntPos*1) + 80) / 80);
			var q2 = Math.floor(((posdrag*1) + 80) / 80);
			if(q > q2){
				q3 = q - q2;
			}else{
				q3 = q2 - q;				
			}
			$("#LineaT_Bottom_LineaT_Scroll_Bar").slider("value",0);
			var time = (700 + (300 * q3));
			setTimeout(function(){
				$('#LineaT_Bottom_Inicio').animate({"left": '0px'}, 500, 'swing');
				$('#LineaT_Bottom_Barra_Negra').animate({"left": '350px'}, 500, 'swing');
				$("#LineaT_Secc0").animate({"left": '0px'}, 500, 'swing');
				$("#LineaT_Secc1").animate({"left": GetWidth()+'px'}, 500, 'swing');
				$('#LineaT_Bottom_Inicio_Flecha .B').css("opacity", '0');
				Qsecc = 0;
			}, time);
		}
	});
/****************************************************************************************************/
/*SCROLL*********************************************************************************************/
	$("#LineaT_Bottom_LineaT_Scroll_Bar").slider({
		min: 0,
		max: 720,
		slide: function( event, ui ) {
			var posdrag = ui.value;
			var por = ui.value / 720;
			//$('#trace').html(posdrag);
			$('#LineaT_Bottom_LineaT_Scroll_Drag').css('left',posdrag+'px');
			$('#LineaT_Secc1').css('left',(-(9216 * por))+((GetWidth() - 1024) * 0.5)+'px');
			//MoveObjetos(ui.value);
		},
		change: function(e, ui) {
			var posdrag = ui.value;
			var por = ui.value / 720;
			var q = Math.floor(((AntPos*1) + 80) / 80);
			var q2 = Math.floor(((posdrag*1) + 80) / 80);
			if(q > q2){
				q3 = q - q2;
			}else{
				q3 = q2 - q;				
			}
			$("#LineaT_Bottom_LineaT_Scroll_Drag").animate({"left": posdrag+'px'}, (700 + (300 * q3)), 'swing');
			$("#LineaT_Secc1").animate({"left": (-(9216 * por))+((GetWidth() - 1024) * 0.5)+'px'}, (700 + (300 * q3)), 'swing');
			//MoveObjetos(ui.value);
		}

	});
/****************************************************************************************************/
/*NEXT AÑO*******************************************************************************************/
	$("#LineaT_Bottom_Flecha_Der").click(function() {
		var posdrag = $('#LineaT_Bottom_LineaT_Scroll_Drag').css('left').split('px');
		var q = Math.floor(((posdrag[0]*1) + 80) / 80);
		AntPos = posdrag[0];
		$("#LineaT_Bottom_LineaT_Scroll_Bar").slider("value",(q * 80));
	});
/****************************************************************************************************/
/*PREV AÑO*******************************************************************************************/
	$("#LineaT_Bottom_Flecha_Izq").click(function() {
		var posdrag = $('#LineaT_Bottom_LineaT_Scroll_Drag').css('left').split('px');
		var q = Math.floor(((posdrag[0]*1) + 80) / 80);
		var q2 = String(((posdrag[0]*1) + 80) / 80);
		var q3 = q2.split('.');		
		AntPos = posdrag[0];
		if(q3.length > 1){
			$("#LineaT_Bottom_LineaT_Scroll_Bar").slider("value",((q-1) * 80));
		}else{
			$("#LineaT_Bottom_LineaT_Scroll_Bar").slider("value",((q-1) * 80)-80);
		}
	});
/****************************************************************************************************/
/*AÑOS**********************************************************************************************/
	$(".LineaT_Bottom_LineaT_A").click(function() {
		var num = this.id.split('LineaT_Bottom_LineaT_Anio');
		var pos = $('#LineaT_Bottom_LineaT_Scroll_Drag').css('left').split('px');
		var pos2 = Math.floor(((pos[0]*1) + 80) / 80);
		if(num[1] != pos2){
			AntPos = pos[0];
			$("#LineaT_Bottom_LineaT_Scroll_Bar").slider("value",(num[1] * 80) - 80);
		}
	});
/****************************************************************************************************/
/*MOVER MOUSE****************************************************************************************/	
/*$("#LineaT_Secc1_1").mousemove(function(e){
	var xDist = e.pageX - (GetWidth() * 0.5);
	var yDist = e.pageY - (GetHeight() * 0.5);
	
	$("#LineaT_Secc1_1_Anio").css("margin-left",  (0 - (2 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_1_Titulo").css("margin-left",  (0 + (10 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_1_Fotos").css("margin-left",  (0 + (5 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_1_Desc").css("margin-left",  (0 - (15 * (xDist / ((GetWidth() * 0.5)))))+"px");
	
	//$("#LineaT_Secc1_1_Titulo").css("margin-top",  (0 + (5 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_1_Fotos").css("margin-top",  (0 - (4 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_1_Desc").css("margin-top",  (0 - (6 * (yDist / ((GetHeight() * 0.5)))))+"px");
});
$("#LineaT_Secc1_2").mousemove(function(e){
	var xDist = e.pageX - (GetWidth() * 0.5);
	var yDist = e.pageY - (GetHeight() * 0.5);
	
	$("#LineaT_Secc1_2_Anio").css("margin-left",  (0 + (2 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_2_Titulo").css("margin-left",  (0 - (10 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_2_Fotos").css("margin-left",  (0 + (5 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_2_Desc").css("margin-left",  (0 - (15 * (xDist / ((GetWidth() * 0.5)))))+"px");
	
	//$("#LineaT_Secc1_2_Titulo").css("margin-top",  (0 + (5 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_2_Fotos").css("margin-top",  (0 - (4 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_2_Desc").css("margin-top",  (0 - (6 * (yDist / ((GetHeight() * 0.5)))))+"px");
});
$("#LineaT_Secc1_3").mousemove(function(e){
	var xDist = e.pageX - (GetWidth() * 0.5);
	var yDist = e.pageY - (GetHeight() * 0.5);
	
	$("#LineaT_Secc1_3_Anio").css("margin-left",  (0 - (2 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_3_Titulo").css("margin-left",  (0 + (10 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_3_Fotos").css("margin-left",  (0 - (5 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_3_Desc").css("margin-left",  (0 + (15 * (xDist / ((GetWidth() * 0.5)))))+"px");
	
	//$("#LineaT_Secc1_3_Titulo").css("margin-top",  (0 + (5 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_3_Fotos").css("margin-top",  (0 - (4 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_3_Desc").css("margin-top",  (0 - (6 * (yDist / ((GetHeight() * 0.5)))))+"px");
});
$("#LineaT_Secc1_4").mousemove(function(e){
	var xDist = e.pageX - (GetWidth() * 0.5);
	var yDist = e.pageY - (GetHeight() * 0.5);
	
	$("#LineaT_Secc1_4_Anio").css("margin-left",  (0 + (2 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_4_Titulo").css("margin-left",  (0 - (10 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_4_Fotos").css("margin-left",  (0 + (5 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_4_Desc").css("margin-left",  (0 - (15 * (xDist / ((GetWidth() * 0.5)))))+"px");
	
	//$("#LineaT_Secc1_4_Titulo").css("margin-top",  (0 + (5 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_4_Fotos").css("margin-top",  (0 - (4 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_4_Desc").css("margin-top",  (0 - (6 * (yDist / ((GetHeight() * 0.5)))))+"px");
});
$("#LineaT_Secc1_5").mousemove(function(e){
	var xDist = e.pageX - (GetWidth() * 0.5);
	var yDist = e.pageY - (GetHeight() * 0.5);
	
	$("#LineaT_Secc1_5_Anio").css("margin-left",  (0 - (2 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_5_Titulo").css("margin-left",  (0 + (10 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_5_Fotos").css("margin-left",  (0 - (5 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_5_Desc").css("margin-left",  (0 + (15 * (xDist / ((GetWidth() * 0.5)))))+"px");
	
	//$("#LineaT_Secc1_5_Titulo").css("margin-top",  (0 + (5 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_5_Fotos").css("margin-top",  (0 - (4 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_5_Desc").css("margin-top",  (0 - (6 * (yDist / ((GetHeight() * 0.5)))))+"px");
});
$("#LineaT_Secc1_6").mousemove(function(e){
	var xDist = e.pageX - (GetWidth() * 0.5);
	var yDist = e.pageY - (GetHeight() * 0.5);
	
	$("#LineaT_Secc1_6_Anio").css("margin-left",  (0 + (2 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_6_Titulo").css("margin-left",  (0 - (10 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_6_Fotos").css("margin-left",  (0 + (5 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_6_Desc").css("margin-left",  (0 - (15 * (xDist / ((GetWidth() * 0.5)))))+"px");
	
	//$("#LineaT_Secc1_6_Titulo").css("margin-top",  (0 + (5 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_6_Fotos").css("margin-top",  (0 - (4 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_6_Desc").css("margin-top",  (0 - (6 * (yDist / ((GetHeight() * 0.5)))))+"px");
});
$("#LineaT_Secc1_7").mousemove(function(e){
	var xDist = e.pageX - (GetWidth() * 0.5);
	var yDist = e.pageY - (GetHeight() * 0.5);
	
	$("#LineaT_Secc1_7_Anio").css("margin-left",  (0 - (2 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_7_Titulo").css("margin-left",  (0 + (10 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_7_Fotos").css("margin-left",  (0 - (5 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_7_Desc").css("margin-left",  (0 + (15 * (xDist / ((GetWidth() * 0.5)))))+"px");
	
	//$("#LineaT_Secc1_7_Titulo").css("margin-top",  (0 + (5 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_7_Fotos").css("margin-top",  (0 - (4 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_7_Desc").css("margin-top",  (0 - (6 * (yDist / ((GetHeight() * 0.5)))))+"px");
});
$("#LineaT_Secc1_8").mousemove(function(e){
	var xDist = e.pageX - (GetWidth() * 0.5);
	var yDist = e.pageY - (GetHeight() * 0.5);
	
	$("#LineaT_Secc1_8_Anio").css("margin-left",  (0 + (2 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_8_Titulo").css("margin-left",  (0 - (10 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_8_Fotos").css("margin-left",  (0 + (5 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_8_Desc").css("margin-left",  (0 - (15 * (xDist / ((GetWidth() * 0.5)))))+"px");
	
	//$("#LineaT_Secc1_8_Titulo").css("margin-top",  (0 + (5 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_8_Fotos").css("margin-top",  (0 - (4 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_8_Desc").css("margin-top",  (0 - (6 * (yDist / ((GetHeight() * 0.5)))))+"px");
});
$("#LineaT_Secc1_9").mousemove(function(e){
	var xDist = e.pageX - (GetWidth() * 0.5);
	var yDist = e.pageY - (GetHeight() * 0.5);
	
	$("#LineaT_Secc1_9_Anio").css("margin-left",  (0 - (2 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_9_Titulo").css("margin-left",  (0 + (10 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_9_Fotos").css("margin-left",  (0 - (5 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_9_Desc").css("margin-left",  (0 + (15 * (xDist / ((GetWidth() * 0.5)))))+"px");
	
	//$("#LineaT_Secc1_9_Titulo").css("margin-top",  (0 + (5 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_9_Fotos").css("margin-top",  (0 - (4 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_9_Desc").css("margin-top",  (0 - (6 * (yDist / ((GetHeight() * 0.5)))))+"px");
});
$("#LineaT_Secc1_10").mousemove(function(e){
	var xDist = e.pageX - (GetWidth() * 0.5);
	var yDist = e.pageY - (GetHeight() * 0.5);
	
	$("#LineaT_Secc1_10_Anio").css("margin-left",  (0 + (2 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_10_Titulo").css("margin-left",  (0 - (10 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_10_Fotos").css("margin-left",  (0 + (5 * (xDist / ((GetWidth() * 0.5)))))+"px");
	$("#LineaT_Secc1_10_Desc").css("margin-left",  (0 - (15 * (xDist / ((GetWidth() * 0.5)))))+"px");
	
	//$("#LineaT_Secc1_10_Titulo").css("margin-top",  (0 + (5 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_10_Fotos").css("margin-top",  (0 - (4 * (yDist / ((GetHeight() * 0.5)))))+"px");
	//$("#LineaT_Secc1_10_Desc").css("margin-top",  (0 - (6 * (yDist / ((GetHeight() * 0.5)))))+"px");
});*/
/****************************************************************************************************/
/*CAMBIO IMAGENES************************************************************************************/
	if($.browser.msie && $.browser.version < 9){
		$('#LineaT_Secc1_4_Fotos2').css("display", 'none');	
		$('#LineaT_Secc1_6_Fotos2').css("display", 'none');	
		$('#LineaT_Secc1_7_Fotos2').css("display", 'none');	
		$('#LineaT_Secc1_8_Fotos2').css("display", 'none');	
		$('#LineaT_Secc1_9_Fotos2').css("display", 'none');	
	}else{
		$('#LineaT_Secc1_4_Fotos2').css("opacity", '0');
		$('#LineaT_Secc1_6_Fotos2').css("opacity", '0');
		$('#LineaT_Secc1_7_Fotos2').css("opacity", '0');
		$('#LineaT_Secc1_8_Fotos2').css("opacity", '0');
		$('#LineaT_Secc1_9_Fotos2').css("opacity", '0');
	}
	
	function CambiaF(n){
		if(n == 2){
			nn = 1;
		}else{
			nn = 2;	
		}
		if($.browser.msie && $.browser.version < 9){
			$('#LineaT_Secc1_4_Fotos'+n).css("display", '');	
			$('#LineaT_Secc1_4_Fotos'+nn).css("display", 'none');
			$('#LineaT_Secc1_6_Fotos'+n).css("display", '');	
			$('#LineaT_Secc1_6_Fotos'+nn).css("display", 'none');
			$('#LineaT_Secc1_7_Fotos'+n).css("display", '');	
			$('#LineaT_Secc1_7_Fotos'+nn).css("display", 'none');
			$('#LineaT_Secc1_8_Fotos'+n).css("display", '');	
			$('#LineaT_Secc1_8_Fotos'+nn).css("display", 'none');
			$('#LineaT_Secc1_9_Fotos'+n).css("display", '');	
			$('#LineaT_Secc1_9_Fotos'+nn).css("display", 'none');
		}else{
			$('#LineaT_Secc1_4_Fotos'+n).animate({'opacity': '1'}, 800, 'swing');
			$('#LineaT_Secc1_4_Fotos'+nn).animate({'opacity': '0'}, 800, 'swing');
			$('#LineaT_Secc1_6_Fotos'+n).animate({'opacity': '1'}, 800, 'swing');
			$('#LineaT_Secc1_6_Fotos'+nn).animate({'opacity': '0'}, 800, 'swing');
			$('#LineaT_Secc1_7_Fotos'+n).animate({'opacity': '1'}, 800, 'swing');
			$('#LineaT_Secc1_7_Fotos'+nn).animate({'opacity': '0'}, 800, 'swing');
			$('#LineaT_Secc1_8_Fotos'+n).animate({'opacity': '1'}, 800, 'swing');
			$('#LineaT_Secc1_8_Fotos'+nn).animate({'opacity': '0'}, 800, 'swing');
			$('#LineaT_Secc1_9_Fotos'+n).animate({'opacity': '1'}, 800, 'swing');
			$('#LineaT_Secc1_9_Fotos'+nn).animate({'opacity': '0'}, 800, 'swing');
		}
		if(n == 2){
			n = 1;
		}else{
			n = 2;	
		}
		setTimeout(function(){CambiaF(n);}, 5000);
	}
	setTimeout(function(){CambiaF(2);}, 5000);
/****************************************************************************************************/
});
function MoveObjetos(){
	var possecc = $('#LineaT_Secc1').css('left').split('px');
	var posdrag = $('#LineaT_Bottom_LineaT_Scroll_Drag').css('left').split('px');
	//$('#trace').html(((posdrag[0] * -1)));
	$("#LineaT_Secc1_1_Anio").css("left", (300 + (posdrag[0] * -4))+"px");
	$("#LineaT_Secc1_1_Titulo").css("left", (300 + (posdrag[0] * -3))+"px");
	$("#LineaT_Secc1_1_Fotos").css("left", ((posdrag[0] * -4))+"px");
	$("#LineaT_Secc1_1_Desc").css("left", (300 + (posdrag[0] * -5))+"px");
	
	var por1 = 80 / 720; 
	var por11 = 1 - ((possecc[0] * 1) / ((-(9216 * por1))+((GetWidth() - 1024) * 0.5)));
	$("#LineaT_Secc1_2_Anio").css("left", (0 + (400 * por11))+"px");
	$("#LineaT_Secc1_2_Titulo").css("left", (0 + (100 * por11))+"px");
	$("#LineaT_Secc1_2_Fotos").css("left", (0 + (500 * por11))+"px");
	//$("#LineaT_Secc1_2_Desc").css("left", (0 + (800 * por11))+"px");

	var por2 = 160 / 720; 
	var por22 = 1 - ((possecc[0] * 1)/ ((-(9216 * por2))+((GetWidth() - 1024) * 0.5)));
	$("#LineaT_Secc1_3_Anio").css("left", (0 + (800 * por22))+"px");
	$("#LineaT_Secc1_3_Titulo").css("left", (0 + (500 * por22))+"px");
	$("#LineaT_Secc1_3_Fotos").css("left", (0 + (900 * por22))+"px");
	//$("#LineaT_Secc1_3_Desc").css("left", (0 + (800 * por22))+"px");
	
	var por3 = 240 / 720; 
	var por33 = 1 - ((possecc[0] * 1) / ((-(9216 * por3))+((GetWidth() - 1024) * 0.5)));
	$("#LineaT_Secc1_4_Anio").css("left", (0 + (900 * por33))+"px");
	$("#LineaT_Secc1_4_Titulo").css("left", (0 + (600 * por33))+"px");
	$("#LineaT_Secc1_4_Fotos").css("left", (0 + (1000 * por33))+"px");
	//$("#LineaT_Secc1_4_Desc").css("left", (0 + (800 * por33))+"px");
	
	var por4 = 320 / 720; 
	var por44 = 1 - ((possecc[0] * 1) / ((-(9216 * por4))+((GetWidth() - 1024) * 0.5)));
	$("#LineaT_Secc1_5_Anio").css("left", (0 + (1100 * por44))+"px");
	$("#LineaT_Secc1_5_Titulo").css("left", (0 + (800 * por44))+"px");
	$("#LineaT_Secc1_5_Fotos").css("left", (0 + (1200 * por44))+"px");
	//$("#LineaT_Secc1_5_Desc").css("left", (0 + (800 * por44))+"px");
	
	var por5 = 400 / 720; 
	var por55 = 1 - ((possecc[0] * 1) / ((-(9216 * por5))+((GetWidth() - 1024) * 0.5)));
	$("#LineaT_Secc1_6_Anio").css("left", (0 + (1500 * por55))+"px");
	$("#LineaT_Secc1_6_Titulo").css("left", (0 + (1200 * por55))+"px");
	$("#LineaT_Secc1_6_Fotos").css("left", (0 + (1600 * por55))+"px");
	//$("#LineaT_Secc1_6_Desc").css("left", (0 + (800 * por55))+"px");
	
	var por6 = 480 / 720; 
	var por66 = 1 - ((possecc[0] * 1) / ((-(9216 * por6))+((GetWidth() - 1024) * 0.5)));
	$("#LineaT_Secc1_7_Anio").css("left", (0 + (1900 * por66))+"px");
	$("#LineaT_Secc1_7_Titulo").css("left", (0 + (1600 * por66))+"px");
	$("#LineaT_Secc1_7_Fotos").css("left", (0 + (2000 * por66))+"px");
	//$("#LineaT_Secc1_7_Desc").css("left", (0 + (800 * por66))+"px");

	var por7 = 560 / 720; 
	var por77 = 1 - ((possecc[0] * 1) / ((-(9216 * por7))+((GetWidth() - 1024) * 0.5)));
	$("#LineaT_Secc1_8_Anio").css("left", (0 + (2300 * por77))+"px");
	$("#LineaT_Secc1_8_Titulo").css("left", (0 + (2000 * por77))+"px");
	$("#LineaT_Secc1_8_Fotos").css("left", (0 + (2400 * por77))+"px");
	//$("#LineaT_Secc1_8_Desc").css("left", (0 + (800 * por77))+"px");

	var por8 = 640 / 720; 
	var por88 = 1 - ((possecc[0] * 1) / ((-(9216 * por8))+((GetWidth() - 1024) * 0.5)));
	$("#LineaT_Secc1_9_Anio").css("left", (0 + (2700 * por88))+"px");
	$("#LineaT_Secc1_9_Titulo").css("left", (0 + (2400 * por88))+"px");
	$("#LineaT_Secc1_9_Fotos").css("left", (0 + (2800 * por88))+"px");
	//$("#LineaT_Secc1_9_Desc").css("left", (0 + (800 * por88))+"px");

	var por9 = 720 / 720; 
	var por99 = 1 - ((possecc[0] * 1) / ((-(9216 * por9))+((GetWidth() - 1024) * 0.5)));
	$("#LineaT_Secc1_10_Anio").css("left", (0 + (3100 * por99))+"px");
	$("#LineaT_Secc1_10_Titulo").css("left", (0 + (2800 * por99))+"px");
	$("#LineaT_Secc1_10_Fotos").css("left", (0 + (3200 * por99))+"px");
	//$("#LineaT_Secc1_10_Desc").css("left", (0 + (800 * por99))+"px");
}
