var layers=0;			  //Cantidad de layers
var timerID = null;       //Variables para control del Timer
var timerRunning = false;
var V=100;                //Variable para la opacidad
var V2=0;
var imagennueva;
var Factor=10;
var sentido=-1;
var GLBWidthSlider=600;
function ShowImage(id,image){
	var foto=new Image();
	foto.src=image;
	window.document.getElementById(id).style.visibility="visible";
	window.document.getElementById(id).src=foto.src;
}

function Mostrar(id,imagen){
	var i=1;
	if(id != 'mismo'){
		while(i<=layers){
			hideObj('lay'+i);
			i=i+1;
		}
		showObj(id);
	}
	imagennueva=imagen;
	startTimer('Diluir()');
}

function showObj(id){
	if (document.all) {
		document.all[id].style.visibility = "visible";
	} 
	
	if(document.layers) { 
		document.layers[id].visibility = "show" ;
	} 
	
	if(document.getElementById) {
		document.getElementById(id).style.visibility='visible';
	}
}

function hideObj(id){
	if (document.all) {
		document.all[id].style.visibility = "hidden";
	} 
	if(document.layers) { 
		document.layers[id].visibility = "hide" ;
	} 
	if(document.getElementById) {
		document.getElementById(id).style.visibility='hidden';
	} 
}

function stopTimer()
{        //Para el reloj     
  if(timerRunning) 
  {                
  clearTimeout(timerID);
  timerRunning = false;
  }
} 

function startTimer(funcion)
{     // Para el reloj, si esta activo y lo arranca.    
  stopTimer();
  timerID=setTimeout(funcion,1);
  timerRunning = true;
}

function Diluir()
{
	if(V>0){
		V = V - Factor;
		window.document.getElementById('Imagen').style.filter = "alpha(opacity: " + V + ")";
		window.document.getElementById('Imagen').style.MozOpacity=V/100.0;
		timerID=setTimeout("Diluir()",1);
	}
	else{
		var foto=new Image();
		foto.src=imagennueva;
		window.document.getElementById('Imagen').src=foto.src;
		V2=0;
		timerID=setTimeout("Reaparecer()",1);
		V=100;
	}
}

function Reaparecer()
{
	if(V2>=100){
		V2=100;
	}
	else{
		V2=V2+Factor;
		window.document.getElementById('Imagen').style.filter = "alpha(opacity: " + V2 + ")";
		window.document.getElementById('Imagen').style.MozOpacity=V2/100.0;
		timerID=setTimeout("Reaparecer()",50);
	}
}

function menu_cumnple()
{
	//alert('cumpleaños');
	document.getElementById("tipoFiesta").innerHTML = "<font class='LetraStandarColoreada'>T&uacute; Cumplea&ntilde;os:</font>";
}

function menu_baby()
{
	//alert('baby shower');
	document.getElementById("tipoFiesta").innerHTML = "<font class='LetraStandarColoreada'>T&uacute; Baby Shower:</font>";
}

function menu_kinder()
{
	//alert('kinder');
	document.getElementById("tipoFiesta").innerHTML = "<font class='LetraStandarColoreada'>T&uacute; Fiesta de Kinder:</font>";
}

function menu_navidad()
{
	//alert('Navidad');
	document.getElementById("tipoFiesta").innerHTML = "<font class='LetraStandarColoreada'>T&uacute; Fiesta de Navidad:</font>";
}

function menu_sacramentos()
{
	//alert('sacramentos');
	document.getElementById("tipoFiesta").innerHTML = "<font class='LetraStandarColoreada'>T&uacute; Fiesta de Sacramento:</font>";
}

function texto_granizado()
{
	var str;
	str="Este es el texto del granizado<br>";
	str+="Aqui se pone la paja jeje<br>";
	var obj = document.getElementById("textoPrincipal");
	obj.innerHTML=str;
	ShowImage('dibumediano','images/palomitas.jpg');
}

function texto_pizza()
{
	var str;
	str="Este es el texto del pizza<br>";
	str+="Aqui se pone la paja jeje<br>";
	var obj = document.getElementById("textoPrincipal");
	obj.innerHTML=str;
	ShowImage('dibumediano','images/pizza.jpg');
}

function texto_palomitas()
{
	var str;
	str="Este es el texto de las palomitas<br>";
	str+="Aqui se pone la paja jeje<br>";
	var obj = document.getElementById("textoPrincipal");
	obj.innerHTML=str;
	ShowImage('dibumediano','images/palomitas.jpg');
}

function texto_papitas()
{
	var str;
	str="Este es el texto del papitas<br>";
	str+="Aqui se pone la paja jeje<br>";
	var obj = document.getElementById("textoPrincipal");
	obj.innerHTML=str;
	ShowImage('dibumediano','images/refresconiño.gif');
}

function texto_refresco()
{
	var str;
	str="Este es el texto del refresco<br>";
	str+="Aqui se pone la paja jeje<br>";
	var obj = document.getElementById("textoPrincipal");
	obj.innerHTML=str;
	ShowImage('dibumediano','images/refresconiño.gif');
}

function texto_hamburgesa()
{
	var str;
	str="Este es el texto del hamburgesa<br>";
	str+="Aqui se pone la paja jeje<br>";
	var obj = document.getElementById("textoPrincipal");
	obj.innerHTML=str;

	ShowImage('dibumediano','images/hamburguesa.jpg');
}
function texto_granizadoAdulto()
{
	var str;
	str="Este es el texto del granizado<br>";
	str+="Aqui se pone la paja jeje<br>";
	var obj = document.getElementById("textoPrincipal");
	obj.innerHTML=str;

	ShowImage('dibumediano','images/cafe.jpg');
}

function texto_cafe()
{
	var str;
	str="Este es el texto del cafe<br>";
	str+="Texto<br>";
	var obj = document.getElementById("textoPrincipal");
	obj.innerHTML=str;
	ShowImage('dibumediano','images/cafe.jpg');
}

function texto_bocadillos()
{
	var str;
	str="Texto bocadillos<br>";
	str+="Texto<br>";
	var obj = document.getElementById("textoPrincipal");
	obj.innerHTML=str;
	ShowImage('dibumediano','images/bocadillos.jpg');
}

function texto_refrescoAdulto()
{	var str;
	str="Texto refresco<br>";
	str+="Texto<br>";
	var obj = document.getElementById("textoPrincipal");
	obj.innerHTML=str;
	ShowImage('dibumediano','images/bocadillos.jpg');
}

function texto_pastel()
{	
	var str;
	str="Texto pollo<br>";
	str+="Texto<br>";
	var obj = document.getElementById("textoPrincipal");
	obj.innerHTML=str;
	ShowImage('dibumediano','images/lasana.jpg');
}

function texto_lasana()
{
	var str;
	str="Texto lasaña de pollo<br>";
	str+="Texto<br>";
	var obj = document.getElementById("textoPrincipal");
	obj.innerHTML=str;
	ShowImage('dibumediano','images/lasana.jpg');
}

var texto_menu_cumple='';
texto_menu_cumple+='<table border="0" cellpadding="0" cellspacing="0">';
	texto_menu_cumple+='<tr>';
		texto_menu_cumple+='<td>';
			texto_menu_cumple+='<center>';
				texto_menu_cumple+='<div style=" height:290px;">';
					texto_menu_cumple+='<table style="padding-left:10px" border="0" cellpadding="0" cellspacing="0">';
						texto_menu_cumple+='<tr>';
							texto_menu_cumple+='<td>';
								texto_menu_cumple+='<form>';
									texto_menu_cumple+='<table border="0" cellpadding="0" cellspacing="0">';
										texto_menu_cumple+='<tr>';
											texto_menu_cumple+='<td colspan="2" class="LetraStandarLadrillo" style="padding-bottom:10px">';
												texto_menu_cumple+='<b> Menu </b>';
											texto_menu_cumple+='</td>';
										texto_menu_cumple+='</tr>';
										texto_menu_cumple+='<tr>';
											texto_menu_cumple+='<td>';
												texto_menu_cumple+='<table border="0" cellpadding="0" cellspacing="0">';
													texto_menu_cumple+='<tr>';
														texto_menu_cumple+='<td></td>';
														texto_menu_cumple+='<td style=" padding-left: 5px;font-family: Arial, Helvetica, sans-serif;font-weight: bold;color:#43809D;" width="200px">';
															texto_menu_cumple+='<b> Niño </b>';
														texto_menu_cumple+='</td>';
													texto_menu_cumple+='</tr>';
													texto_menu_cumple+='<tr onclick="texto_granizado();">';
														texto_menu_cumple+='<td><input style="cursor:pointer"  id="mr1" name="srch" class="Wrm" type="radio" /></td>';
														texto_menu_cumple+='<td style="padding-top: 3px;" >';
															texto_menu_cumple+='<label style="cursor:pointer" class="LetraStandar" >Granizado</label>';
														texto_menu_cumple+='</td>';
													texto_menu_cumple+='</tr>';
													texto_menu_cumple+='<tr onclick="texto_palomitas();">';
														texto_menu_cumple+='<td>';
															texto_menu_cumple+='<input style="cursor:pointer" id="mr2" name="srch"  class="Wrm" type="radio" />';
														texto_menu_cumple+='</td>';
														texto_menu_cumple+='<td style="padding-top:3px">';
															texto_menu_cumple+='<label style="cursor:pointer" class="LetraStandar">Palomitas</label>';
														texto_menu_cumple+='</td>';
													texto_menu_cumple+='</tr>';
													texto_menu_cumple+='<tr onclick="texto_papitas();">';
														texto_menu_cumple+='<td>';
															texto_menu_cumple+='<input style="cursor:pointer" id="mr3" name="srch"  class="Wrm" type="radio" />';
														texto_menu_cumple+='</td>';
														texto_menu_cumple+='<td style="padding-top: 3px">';
															texto_menu_cumple+='<label style="cursor:pointer" class="LetraStandar" >Papitas</label>';
														texto_menu_cumple+='</td>';
													texto_menu_cumple+='</tr>';
													texto_menu_cumple+='<tr onclick="texto_refresco();">';
														texto_menu_cumple+='<td>';
															texto_menu_cumple+='<input style="cursor:pointer" id="mr4" name="srch"  class="Wrm" type="radio" />';
														texto_menu_cumple+='</td>';
														texto_menu_cumple+='<td style="padding-top: 3px">';
															texto_menu_cumple+='<label style="cursor:pointer" class="LetraStandar" >Refresco</label>';
														texto_menu_cumple+='</td>';
													texto_menu_cumple+='</tr>';
													texto_menu_cumple+='<tr id="Celda1" onclick="texto_hamburgesa();">';
														texto_menu_cumple+='<td>';
															texto_menu_cumple+='<input style="cursor:pointer" id="mr5" name="srch"  class="Wrm" type="radio"  />';
														texto_menu_cumple+='</td>';
														texto_menu_cumple+='<td style="padding-top: 3px">';
														texto_menu_cumple+='<select style="cursor:pointer">';
															texto_menu_cumple+='<option onclick="texto_hamburgesa();" >';
																texto_menu_cumple+='<label style="cursor:pointer" class="LetraStandar"> Hamburgesa</label>';
															texto_menu_cumple+='</option>';
															texto_menu_cumple+='<option onclick="texto_pizza();">';
																texto_menu_cumple+='<label style="cursor:pointer" class="LetraStandar" >Pizza</label>';
															texto_menu_cumple+='</option>';
														texto_menu_cumple+='</select>';
													texto_menu_cumple+='</tr>';
												texto_menu_cumple+='</table>';
											texto_menu_cumple+='</td>';
											texto_menu_cumple+='<td>';
												texto_menu_cumple+='<table border="0" cellpadding="0" cellspacing="0">';
													texto_menu_cumple+='<tr>';
														texto_menu_cumple+='<td></td>';
														texto_menu_cumple+='<td style=" padding-left:5px;font-family: Arial, Helvetica, sans-serif;font-weight: bold;color:#43809D;" width="200px"> Adulto</td>';
													texto_menu_cumple+='</tr>';
													texto_menu_cumple+='<tr onclick="texto_granizadoAdulto();">';
														texto_menu_cumple+='<td>';
															texto_menu_cumple+='<input style="cursor:pointer" id="mr6" name="srch" class="Wrm" type="radio" />';
														texto_menu_cumple+='</td>';
														texto_menu_cumple+='<td style="padding-top: 3px;">';
															texto_menu_cumple+='<label style="cursor:pointer" class="LetraStandar">Granizado</label>';
														texto_menu_cumple+='</td>';
													texto_menu_cumple+='</tr>';
													texto_menu_cumple+='<tr onclick="texto_cafe();">';
														texto_menu_cumple+='<td>';
															texto_menu_cumple+='<input style="cursor:pointer"  id="mr7" name="srch"  class="Wrm" type="radio" />';
														texto_menu_cumple+='</td>';
														texto_menu_cumple+='<td style="padding-top:3px">';
															texto_menu_cumple+='<label style="cursor:pointer" class="LetraStandar">Caf&eacute;, t&eacute;, leche </label>';
														texto_menu_cumple+='</td>';
													texto_menu_cumple+='</tr>';
													texto_menu_cumple+='<tr onclick="texto_bocadillos();">';
														texto_menu_cumple+='<td>';
															texto_menu_cumple+='<input style="cursor:pointer" id="mr8" name="srch"  class="Wrm" type="radio" />';
														texto_menu_cumple+='</td>';
														texto_menu_cumple+='<td style="padding-top: 3px">';
															texto_menu_cumple+='<label style="cursor:pointer" class="LetraStandar">Bocadillos</label>';
														texto_menu_cumple+='</td>';
													texto_menu_cumple+='</tr>';
													texto_menu_cumple+='<tr onclick="texto_refrescoAdulto();">';
														texto_menu_cumple+='<td>';
															texto_menu_cumple+='<input id="mr9" name="srch"  class="Wrm" type="radio"  />';
														texto_menu_cumple+='</td>';
														texto_menu_cumple+='<td style="padding-top: 3px"><label style="cursor:pointer" class="LetraStandar">Refresco</label></td>';
													texto_menu_cumple+='</tr>';
													texto_menu_cumple+='<tr id="Celda2" onclick="texto_pastel();">';
														texto_menu_cumple+='<td><input id="mr0" name="srch"  class="Wrm" type="radio"  /></td>';
														texto_menu_cumple+='<td style="padding-top: 3px">';
															texto_menu_cumple+='<select style="cursor:pointer">';
																texto_menu_cumple+='<option onclick="texto_pastel();"><label style="cursor:pointer" class="LetraStandar" >Pastel de pollo</label></option>';
																texto_menu_cumple+='<option onclick="texto_lasana();" ><label style="cursor:pointer" class="LetraStandar" >Lasaña de pollo</label></option>';
															texto_menu_cumple+='</select>';
														texto_menu_cumple+='</td>';
													texto_menu_cumple+='</tr>';
												texto_menu_cumple+='</table>';
											texto_menu_cumple+='</td>';
										texto_menu_cumple+='</tr>';
									texto_menu_cumple+='</table>';
								texto_menu_cumple+='</form>';
							texto_menu_cumple+='</td>';
						texto_menu_cumple+='</tr>';
						texto_menu_cumple+='<tr>';
							texto_menu_cumple+='<td>';
								texto_menu_cumple+='<table style=" padding-top:10px" border="0" cellpadding="0" cellspacing="0">';
									texto_menu_cumple+='<tr>';
										texto_menu_cumple+='<td>';
											texto_menu_cumple+='<table  border="0" cellpadding="0" cellspacing="0">';
												texto_menu_cumple+='<tr>';
													texto_menu_cumple+='<td style=" font-weight: bold;">';
														texto_menu_cumple+='<div id="textoTitulo" name="textoTitulo">Palomitas</div>';
													texto_menu_cumple+='</td>';
												texto_menu_cumple+='</tr>';
												texto_menu_cumple+='<tr>';
													texto_menu_cumple+='<td >';
														texto_menu_cumple+='<div id=producdirspanel>';
															texto_menu_cumple+='<div class=pformcontenttop>';
															texto_menu_cumple+='</div>';
															texto_menu_cumple+='<div class=pformcontent>';
																texto_menu_cumple+='<div id=cuadroMenor>';
																	texto_menu_cumple+='<div id=cuadroMenorSobre>&nbsp;</div>';
																		texto_menu_cumple+='<img  name="dibupeque" id="dibupeque" src="images/palomitas.gif" style="padding-left:5px; padding-top:5px"  width="55" height="55" />';
																	texto_menu_cumple+='</div>';
																	texto_menu_cumple+='<table>';
																		texto_menu_cumple+='<tr>';
																			texto_menu_cumple+='<td width="100"></td>';
																			texto_menu_cumple+='<td height="70">';
																				texto_menu_cumple+='<div id="textoPrincipal" name="textoPrincipal">';
																					texto_menu_cumple+='askfñlkasdfñkaafsdfasdfsñldkf{ñkasdfñlkaslñdkflña<br />';
																					texto_menu_cumple+='askfñlkasdfñkaafsdfasdfsñldkf{ñkasdfñlkaslñdkflña<br />';
																					texto_menu_cumple+='askfñlkasdfñkaafsdfasdfsñldkf{ñkasdfñlkaslñdkflña<br />';
																				texto_menu_cumple+='</div>';
																			texto_menu_cumple+='</td>';
																		texto_menu_cumple+='</tr>';
																texto_menu_cumple+='</table>';
															texto_menu_cumple+='</div>';
															texto_menu_cumple+='<div class=pformcontentbottom>';
															texto_menu_cumple+='</div>';
														texto_menu_cumple+='</div>';
													texto_menu_cumple+='</td>';
												texto_menu_cumple+='</tr>';
											texto_menu_cumple+='</table>';
										texto_menu_cumple+='</td>';
									texto_menu_cumple+='</tr>';
								texto_menu_cumple+='</table>';
							texto_menu_cumple+='</td>';
						texto_menu_cumple+='</tr>';
					texto_menu_cumple+='</table>';
				texto_menu_cumple+='</center>';
			texto_menu_cumple+='</div>';
		texto_menu_cumple+='</td>';
	texto_menu_cumple+='</tr>';
texto_menu_cumple+='</table>';

var texto_equipo_cumple='';
texto_equipo_cumple+='<table border="0" cellpadding="0" cellspacing="0">';
	texto_equipo_cumple+='<tr>';
		texto_equipo_cumple+='<td>';
			texto_equipo_cumple+='<center>';
				texto_equipo_cumple+='<div style=" height:290px;">';
					texto_equipo_cumple+='<table style="padding-left:10px" border="0" cellpadding="0" cellspacing="0">';
						texto_equipo_cumple+='<tr>';
							texto_equipo_cumple+='<td>';
								texto_equipo_cumple+='<form>';
									texto_equipo_cumple+='<table border="0" cellpadding="0" cellspacing="0">';
										texto_equipo_cumple+='<tr>';
											texto_equipo_cumple+='<td class="LetraStandarLadrillo" style="padding-bottom:10px">';
												texto_equipo_cumple+='<b> Equipo </b>';
											texto_equipo_cumple+='</td>';
										texto_equipo_cumple+='</tr>';
										texto_equipo_cumple+='<tr>';
											texto_equipo_cumple+='<td>';
												texto_equipo_cumple+='<table border="0" cellpadding="0" cellspacing="0">';
													texto_equipo_cumple+='<tr onclick="texto_granizado();">';
														texto_equipo_cumple+='<td><input style="cursor:pointer"  id="mr1" name="srch" class="Wrm" type="radio" /></td>';
														texto_equipo_cumple+='<td style="padding-top: 3px;" >';
															texto_equipo_cumple+='<label style="cursor:pointer" class="LetraStandar" >Granizado</label>';
														texto_equipo_cumple+='</td>';
													texto_equipo_cumple+='</tr>';
													texto_equipo_cumple+='<tr onclick="texto_palomitas();">';
														texto_equipo_cumple+='<td>';
															texto_equipo_cumple+='<input style="cursor:pointer" id="mr2" name="srch"  class="Wrm" type="radio" />';
														texto_equipo_cumple+='</td>';
														texto_equipo_cumple+='<td style="padding-top:3px">';
															texto_equipo_cumple+='<label style="cursor:pointer" class="LetraStandar">Palomitas</label>';
														texto_equipo_cumple+='</td>';
													texto_equipo_cumple+='</tr>';
													texto_equipo_cumple+='<tr onclick="texto_papitas();">';
														texto_equipo_cumple+='<td>';
															texto_equipo_cumple+='<input style="cursor:pointer" id="mr3" name="srch"  class="Wrm" type="radio" />';
														texto_equipo_cumple+='</td>';
														texto_equipo_cumple+='<td style="padding-top: 3px">';
															texto_equipo_cumple+='<label style="cursor:pointer" class="LetraStandar" >Papitas</label>';
														texto_equipo_cumple+='</td>';
													texto_equipo_cumple+='</tr>';
													texto_equipo_cumple+='<tr onclick="texto_refresco();">';
														texto_equipo_cumple+='<td>';
															texto_equipo_cumple+='<input style="cursor:pointer" id="mr4" name="srch"  class="Wrm" type="radio" />';
														texto_equipo_cumple+='</td>';
														texto_equipo_cumple+='<td style="padding-top: 3px">';
															texto_equipo_cumple+='<label style="cursor:pointer" class="LetraStandar" >Refresco</label>';
														texto_equipo_cumple+='</td>';
													texto_equipo_cumple+='</tr>';
													texto_equipo_cumple+='<tr id="Celda1" onclick="texto_hamburgesa();">';
														texto_equipo_cumple+='<td>';
															texto_equipo_cumple+='<input style="cursor:pointer" id="mr5" name="srch"  class="Wrm" type="radio"  />';
														texto_equipo_cumple+='</td>';
														texto_equipo_cumple+='<td style="padding-top: 3px">';
														texto_equipo_cumple+='<select style="cursor:pointer">';
															texto_equipo_cumple+='<option onclick="texto_hamburgesa();" >';
																texto_equipo_cumple+='<label style="cursor:pointer" class="LetraStandar"> Hamburgesa</label>';
															texto_equipo_cumple+='</option>';
															texto_equipo_cumple+='<option onclick="texto_pizza();">';
																texto_equipo_cumple+='<label style="cursor:pointer" class="LetraStandar" >Pizza</label>';
															texto_equipo_cumple+='</option>';
														texto_equipo_cumple+='</select>';
													texto_equipo_cumple+='</tr>';
												texto_equipo_cumple+='</table>';
											texto_equipo_cumple+='</td>';
										texto_equipo_cumple+='</tr>';
									texto_equipo_cumple+='</table>';
								texto_equipo_cumple+='</form>';
							texto_equipo_cumple+='</td>';
						texto_equipo_cumple+='</tr>';
						texto_equipo_cumple+='<tr>';
							texto_equipo_cumple+='<td>';
								texto_equipo_cumple+='<table style=" padding-top:10px" border="0" cellpadding="0" cellspacing="0">';
									texto_equipo_cumple+='<tr>';
										texto_equipo_cumple+='<td>';
											texto_equipo_cumple+='<table  border="0" cellpadding="0" cellspacing="0">';
												texto_equipo_cumple+='<tr>';
													texto_equipo_cumple+='<td style=" font-weight: bold;">';
														texto_equipo_cumple+='<div id="textoTitulo" name="textoTitulo">Palomitas</div>';
													texto_equipo_cumple+='</td>';
												texto_equipo_cumple+='</tr>';
												texto_equipo_cumple+='<tr>';
													texto_equipo_cumple+='<td >';
														texto_equipo_cumple+='<div id=producdirspanel>';
															texto_equipo_cumple+='<div class=pformcontenttop>';
															texto_equipo_cumple+='</div>';
															texto_equipo_cumple+='<div class=pformcontent>';
																texto_equipo_cumple+='<div id=cuadroMenor>';
																	texto_equipo_cumple+='<div id=cuadroMenorSobre>&nbsp;</div>';
																		texto_equipo_cumple+='<img  name="dibupeque" id="dibupeque" src="images/palomitas.gif" style="padding-left:5px; padding-top:5px"  width="55" height="55" />';
																	texto_equipo_cumple+='</div>';
																	texto_equipo_cumple+='<table>';
																		texto_equipo_cumple+='<tr>';
																			texto_equipo_cumple+='<td width="100"></td>';
																			texto_equipo_cumple+='<td height="70">';
																				texto_equipo_cumple+='<div id="textoPrincipal" name="textoPrincipal">';
																					texto_equipo_cumple+='askfñlkasdfñkaafsdfasdfsñldkf{ñkasdfñlkaslñdkflña<br />';
																					texto_equipo_cumple+='askfñlkasdfñkaafsdfasdfsñldkf{ñkasdfñlkaslñdkflña<br />';
																					texto_equipo_cumple+='askfñlkasdfñkaafsdfasdfsñldkf{ñkasdfñlkaslñdkflña<br />';
																				texto_equipo_cumple+='</div>';
																			texto_equipo_cumple+='</td>';
																		texto_equipo_cumple+='</tr>';
																texto_equipo_cumple+='</table>';
															texto_equipo_cumple+='</div>';
															texto_equipo_cumple+='<div class=pformcontentbottom>';
															texto_equipo_cumple+='</div>';
														texto_equipo_cumple+='</div>';
													texto_equipo_cumple+='</td>';
												texto_equipo_cumple+='</tr>';
											texto_equipo_cumple+='</table>';
										texto_equipo_cumple+='</td>';
									texto_equipo_cumple+='</tr>';
								texto_equipo_cumple+='</table>';
							texto_equipo_cumple+='</td>';
						texto_equipo_cumple+='</tr>';
					texto_equipo_cumple+='</table>';
				texto_equipo_cumple+='</center>';
			texto_equipo_cumple+='</div>';
		texto_equipo_cumple+='</td>';
	texto_equipo_cumple+='</tr>';
texto_equipo_cumple+='</table>';

var texto_adicionales_cumple='';
texto_adicionales_cumple+='<table border="0" cellpadding="0" cellspacing="0">';
	texto_adicionales_cumple+='<tr>';
		texto_adicionales_cumple+='<td>';
			texto_adicionales_cumple+='<center>';
				texto_adicionales_cumple+='<div style=" height:290px;">';
					texto_adicionales_cumple+='<table style="padding-left:10px" border="0" cellpadding="0" cellspacing="0">';
						texto_adicionales_cumple+='<tr>';
							texto_adicionales_cumple+='<td>';
								texto_adicionales_cumple+='<form>';
									texto_adicionales_cumple+='<table border="0" cellpadding="0" cellspacing="0">';
										texto_adicionales_cumple+='<tr>';
											texto_adicionales_cumple+='<td class="LetraStandarLadrillo" style="padding-bottom:10px">';
												texto_adicionales_cumple+='<b> Adicionales </b>';
											texto_adicionales_cumple+='</td>';
										texto_menu_cumple+='</tr>';
										texto_adicionales_cumple+='<tr>';
											texto_adicionales_cumple+='<td>';
												texto_adicionales_cumple+='<table border="0" cellpadding="0" cellspacing="0">';
													texto_adicionales_cumple+='<tr onclick="texto_granizado();">';
														texto_adicionales_cumple+='<td><input style="cursor:pointer"  id="mr1" name="srch" class="Wrm" type="radio" /></td>';
														texto_adicionales_cumple+='<td style="padding-top: 3px;" >';
															texto_adicionales_cumple+='<label style="cursor:pointer" class="LetraStandar" >Granizado</label>';
														texto_adicionales_cumple+='</td>';
													texto_adicionales_cumple+='</tr>';
													texto_adicionales_cumple+='<tr onclick="texto_palomitas();">';
														texto_adicionales_cumple+='<td>';
															texto_adicionales_cumple+='<input style="cursor:pointer" id="mr2" name="srch"  class="Wrm" type="radio" />';
														texto_adicionales_cumple+='</td>';
														texto_adicionales_cumple+='<td style="padding-top:3px">';
															texto_adicionales_cumple+='<label style="cursor:pointer" class="LetraStandar">Palomitas</label>';
														texto_adicionales_cumple+='</td>';
													texto_adicionales_cumple+='</tr>';
													texto_adicionales_cumple+='<tr onclick="texto_papitas();">';
														texto_adicionales_cumple+='<td>';
															texto_adicionales_cumple+='<input style="cursor:pointer" id="mr3" name="srch"  class="Wrm" type="radio" />';
														texto_adicionales_cumple+='</td>';
														texto_adicionales_cumple+='<td style="padding-top: 3px">';
															texto_adicionales_cumple+='<label style="cursor:pointer" class="LetraStandar" >Papitas</label>';
														texto_adicionales_cumple+='</td>';
													texto_adicionales_cumple+='</tr>';
													texto_adicionales_cumple+='<tr onclick="texto_refresco();">';
														texto_adicionales_cumple+='<td>';
															texto_adicionales_cumple+='<input style="cursor:pointer" id="mr4" name="srch"  class="Wrm" type="radio" />';
														texto_adicionales_cumple+='</td>';
														texto_adicionales_cumple+='<td style="padding-top: 3px">';
															texto_adicionales_cumple+='<label style="cursor:pointer" class="LetraStandar" >Refresco</label>';
														texto_adicionales_cumple+='</td>';
													texto_adicionales_cumple+='</tr>';
													texto_adicionales_cumple+='<tr id="Celda1" onclick="texto_hamburgesa();">';
														texto_adicionales_cumple+='<td>';
															texto_adicionales_cumple+='<input style="cursor:pointer" id="mr5" name="srch"  class="Wrm" type="radio"  />';
														texto_adicionales_cumple+='</td>';
														texto_adicionales_cumple+='<td style="padding-top: 3px">';
														texto_adicionales_cumple+='<select style="cursor:pointer">';
															texto_adicionales_cumple+='<option onclick="texto_hamburgesa();" >';
																texto_adicionales_cumple+='<label style="cursor:pointer" class="LetraStandar"> Hamburgesa</label>';
															texto_adicionales_cumple+='</option>';
															texto_adicionales_cumple+='<option onclick="texto_pizza();">';
																texto_adicionales_cumple+='<label style="cursor:pointer" class="LetraStandar" >Pizza</label>';
															texto_adicionales_cumple+='</option>';
														texto_adicionales_cumple+='</select>';
													texto_adicionales_cumple+='</tr>';
												texto_adicionales_cumple+='</table>';
											texto_adicionales_cumple+='</td>';
										texto_adicionales_cumple+='</tr>';
									texto_adicionales_cumple+='</table>';
								texto_adicionales_cumple+='</form>';
							texto_adicionales_cumple+='</td>';
						texto_adicionales_cumple+='</tr>';
						texto_adicionales_cumple+='<tr>';
							texto_adicionales_cumple+='<td>';
								texto_adicionales_cumple+='<table style=" padding-top:10px" border="0" cellpadding="0" cellspacing="0">';
									texto_adicionales_cumple+='<tr>';
										texto_adicionales_cumple+='<td>';
											texto_adicionales_cumple+='<table  border="0" cellpadding="0" cellspacing="0">';
												texto_adicionales_cumple+='<tr>';
													texto_adicionales_cumple+='<td style=" font-weight: bold;">';
														texto_adicionales_cumple+='<div id="textoTitulo" name="textoTitulo">Palomitas</div>';
													texto_adicionales_cumple+='</td>';
												texto_adicionales_cumple+='</tr>';
												texto_adicionales_cumple+='<tr>';
													texto_adicionales_cumple+='<td >';
														texto_adicionales_cumple+='<div id=producdirspanel>';
															texto_adicionales_cumple+='<div class=pformcontenttop>';
															texto_adicionales_cumple+='</div>';
															texto_adicionales_cumple+='<div class=pformcontent>';
																texto_adicionales_cumple+='<div id=cuadroMenor>';
																	texto_adicionales_cumple+='<div id=cuadroMenorSobre>&nbsp;</div>';
																		texto_adicionales_cumple+='<img  name="dibupeque" id="dibupeque" src="images/palomitas.gif" style="padding-left:5px; padding-top:5px"  width="55" height="55" />';
																	texto_adicionales_cumple+='</div>';
																	texto_adicionales_cumple+='<table>';
																		texto_adicionales_cumple+='<tr>';
																			texto_adicionales_cumple+='<td width="100"></td>';
																			texto_adicionales_cumple+='<td height="70">';
																				texto_adicionales_cumple+='<div id="textoPrincipal" name="textoPrincipal">';
																					texto_adicionales_cumple+='askfñlkasdfñkaafsdfasdfsñldkf{ñkasdfñlkaslñdkflña<br />';
																					texto_adicionales_cumple+='askfñlkasdfñkaafsdfasdfsñldkf{ñkasdfñlkaslñdkflña<br />';
																					texto_adicionales_cumple+='askfñlkasdfñkaafsdfasdfsñldkf{ñkasdfñlkaslñdkflña<br />';
																				texto_adicionales_cumple+='</div>';
																			texto_adicionales_cumple+='</td>';
																		texto_adicionales_cumple+='</tr>';
																texto_adicionales_cumple+='</table>';
															texto_adicionales_cumple+='</div>';
															texto_adicionales_cumple+='<div class=pformcontentbottom>';
															texto_adicionales_cumple+='</div>';
														texto_adicionales_cumple+='</div>';
													texto_adicionales_cumple+='</td>';
												texto_adicionales_cumple+='</tr>';
											texto_adicionales_cumple+='</table>';
										texto_adicionales_cumple+='</td>';
									texto_adicionales_cumple+='</tr>';
								texto_adicionales_cumple+='</table>';
							texto_adicionales_cumple+='</td>';
						texto_adicionales_cumple+='</tr>';
					texto_adicionales_cumple+='</table>';
				texto_adicionales_cumple+='</center>';
			texto_adicionales_cumple+='</div>';
		texto_adicionales_cumple+='</td>';
	texto_adicionales_cumple+='</tr>';
texto_adicionales_cumple+='</table>';
		
function LoadHTMLProductos(text){
	var Stringhtml = new Incrustor()
	Stringhtml.Reset();
	
	switch(text){
		case "Menu":
			Stringhtml.Concat(texto_menu_cumple);
			break;			
		case "Equipo":
			Stringhtml.Concat(texto_equipo_cumple);
			break;
		case "Adicionales":
			Stringhtml.Concat(texto_adicionales_cumple);
			break;
	}
	return Stringhtml.GetValue();
}

function CargarVentana(ventana){
	mostrarLento('angelimageGrande','images/productos/angel2.png');
	//document.getElementById("angelimageGrande").src='images/productos/angel2.png';
	switch(ventana){
		case "te":
			document.getElementById("Ventana").innerHTML="<div  style=\"z-index:2000;margin: 0 auto; position: relative; \"><iframe src=\"../infoproductos.php?id=te\" frameborder=\"0\" scrolling=\"no\" allowtransparency=\"no\" style=\" border:0;z-index:2000 \" width=\"100%\" height=\"264px\"></iframe></div>";
			break;
		case "cumpleanos":
			document.getElementById("Ventana").innerHTML="<div  style=\"z-index:2000;margin: 0 auto; position: relative; \"><iframe src=\"../infoproductos.php?id=cumpleanos\" frameborder=\"0\" scrolling=\"no\" allowtransparency=\"no\" style=\" border:0;z-index:2000 \" width=\"100%\" height=\"264px\"></iframe></div>";
			break;
		case "sacramento":
			document.getElementById("Ventana").innerHTML="<div  style=\"z-index:2000;margin: 0 auto; position: relative; \"><iframe src=\"../infoproductos.php?id=sacramento\" frameborder=\"0\" scrolling=\"no\" allowtransparency=\"no\" style=\" border:0;z-index:2000 \" width=\"100%\" height=\"264px\"></iframe></div>";
			break;
		case "navidad":
			document.getElementById("Ventana").innerHTML="<div  style=\"z-index:2000;margin: 0 auto; position: relative; \"><iframe src=\"../infoproductos.php?id=navidad\" frameborder=\"0\" scrolling=\"no\" allowtransparency=\"no\" style=\" border:0;z-index:2000 \" width=\"100%\" height=\"264px\"></iframe></div>";
			break;
		case "kinder":
			document.getElementById("Ventana").innerHTML="<div  style=\"z-index:2000;margin: 0 auto; position: relative; \"><iframe src=\"../infoproductos.php?id=kinder\" frameborder=\"0\" scrolling=\"no\" allowtransparency=\"no\" style=\" border:0;z-index:2000 \" width=\"100%\" height=\"264px\"></iframe></div>";
			break;
		case "boda":
			document.getElementById("Ventana").innerHTML="<div  style=\"z-index:2000;margin: 0 auto; position: relative; \"><iframe src=\"../infoproductos.php?id=boda\" frameborder=\"0\" scrolling=\"no\" allowtransparency=\"no\" style=\" border:0;z-index:2000 \" width=\"100%\" height=\"264px\"></iframe></div>";
			break;
	}
}

var vfactor=100;
var timerIDAs=null;
function mostrarLento(objeto,imagen2){
	vfactor=100;
	window.document.getElementById(objeto).style.filter = "alpha(opacity: " + vfactor + ")";
	window.document.getElementById(objeto).style.MozOpacity=vfactor/100.0;
	window.document.getElementById(objeto).style.opacity=vfactor/100.0;
	timerIDAs=setTimeout("opacarLento('"+objeto+"','"+imagen2+"')",1);
}
function opacarLento(objeto,imagen2){
	if(vfactor==10){
		clearTimeout(timerIDAs);
		window.document.getElementById(objeto).src=imagen2;
		timerIDAs=setTimeout("reaparecerLento('"+objeto+"','"+imagen2+"')",1);
	}
	else{
		vfactor=vfactor-2;
		window.document.getElementById(objeto).style.filter = "alpha(opacity: " + vfactor + ")";
		window.document.getElementById(objeto).style.MozOpacity=vfactor/100.0;
		window.document.getElementById(objeto).style.opacity=vfactor/100.0;
		timerIDAs=setTimeout("opacarLento('"+objeto+"','"+imagen2+"')",1);
	}
}
function reaparecerLento(objeto,imagen2){
	if(vfactor==100){
		clearTimeout(timerIDAs);
		window.document.getElementById(objeto).style.filter = "alpha(opacity: " + vfactor + ")";
		window.document.getElementById(objeto).style.MozOpacity=vfactor/100.0;
		window.document.getElementById(objeto).style.opacity=vfactor/100.0;
	}
	else{
		vfactor=vfactor+2;
		window.document.getElementById(objeto).style.filter = "alpha(opacity: " + vfactor + ")";
		window.document.getElementById(objeto).style.MozOpacity=vfactor/100.0;
		window.document.getElementById(objeto).style.opacity=vfactor/100.0;
		timerIDAs=setTimeout("reaparecerLento('"+objeto+"','"+imagen2+"')",1);
	}
}
var primera=true;
function CargarProductos(){
	var textoP="";
	var i=0;
	if(primera){
		document.getElementById("angelimageGrande").src='images/productos/angel.png';
		primera=false;
	}
	else{
		mostrarLento('angelimageGrande','images/productos/angel.png');
	}
	
	textoP+='<div id="container" style="z-index:2000 ">';
	textoP+='<div id="container" style="z-index:2000 ">';
		textoP+='<table cellpadding="0" cellspacing="0" style="width:100%;">';
			textoP+='<tr valign="top">';
				textoP+='<td width="7px" style=" padding-left:7px; height:120px" ></td>';
				textoP+='<td width="100%" style=" height:120px;">';
					textoP+='<table width="100%" cellpadding="0" cellspacing="0" style=" height:120px; ">';
						textoP+='<tr valign="top">';
							textoP+='<td align="left" style="padding:0 4px 0 0px; vertical-align:middle "><img style="cursor:pointer " onmousedown="this.src=\'/images/slideshow/rigthTAPDown.png\';mantenermoverIzquierda();"  src="images/slideshow/rigthTap.png" onmouseup="this.src=\'/images/slideshow/rigthTAP.png\';pararMover();" onclick="moverIzquierda();" /></td>';
							textoP+='<td align="center" width="100%" id="container">';
								textoP+='<div id="slidecontent" style="overflow:hidden;width:350px; ">';
								textoP+='<table id="slidder" cellpadding="0" cellspacing="0">';
								textoP+='<tr>';
									textoP+='<td align=\"center\" height=\"22px\"><div id=\"babyshower\" style=\"display:none;color:#FFFFFF\">Babyshower</div></td>';
									textoP+='<td align=\"center\" height=\"22px\"><div id=\"teoficina\" style=\"display:none;color:#FFFFFF\">Te&nbsp;Oficina</div></td>';
									textoP+='<td align=\"center\" height=\"22px\"><div id=\"cumpleanos\" style=\"display:none;color:#FFFFFF\">Cumplea&ntilde;os</div></td>';
									textoP+='<td align=\"center\" height=\"22px\"><div id=\"fiestaalegria\" style=\"display:none;color:#FFFFFF\">Fiesta&nbsp;Alegr&iacute;a</div></td>';
									textoP+='<td align=\"center\" height=\"22px\"><div id=\"graduacion\" style=\"display:none;color:#FFFFFF\">Graduaci&oacute;n</div></td>';
									textoP+='<td align=\"center\" height=\"22px\"><div id=\"dianino\" style=\"display:none;color:#FFFFFF\">Dia&nbsp;del&nbsp;ni&ntilde;o</div></td>';
									textoP+='<td align=\"center\" height=\"22px\"><div id=\"diamadre\" style=\"display:none;color:#FFFFFF\">Dia&nbsp;Madre</div></td>';
									textoP+='<td align=\"center\" height=\"22px\"><div id=\"diapadre\" style=\"display:none;color:#FFFFFF\">Dia&nbsp;Padre</div></td>';
									textoP+='<td align=\"center\" height=\"22px\"><div id=\"fiesta15dias\" style=\"display:none;color:#FFFFFF\">Fiesta&nbsp;15&nbsp;d&iacute;as</div></td>';
									textoP+='<td align=\"center\" height=\"22px\"><div id=\"navidad\" style=\"display:none;color:#FFFFFF\">Navidad</div></td>';
									textoP+='<td align=\"center\" height=\"22px\"><div id=\"navidadempresa\" style=\"display:none;color:#FFFFFF\">Navidad&nbsp;Empresa</div></td>';
									textoP+='<td align=\"center\" height=\"22px\"><div id=\"primeracomunion\" style=\"display:none;color:#FFFFFF\">Primera&nbsp;Comuni&oacute;n</div></td>';
									textoP+='<td align=\"center\" height=\"22px\"><div id=\"bautizo\" style=\"display:none;color:#FFFFFF\">Bautizo</div></td>';
									textoP+='<td align=\"center\" height=\"22px\"><div id=\"boda\" style=\"display:none;color:#FFFFFF\">Boda</div></td>';
								textoP+='</tr>';
								textoP+='<tr>';
									textoP+='<td class=\"sinBordeSlide\"><img id="slide0" src="images/productos/productos/babyshower.png" style="cursor:pointer; border:0 " onclick="CargarVentana(\'te\')" onmousemove="Brillar(this);document.getElementById(\'babyshower\').style.display=\'\';" onmouseout="document.getElementById(\'babyshower\').style.display=\'none\';Opacar(this);" /></td>';
									textoP+='<td class=\"sinBordeSlide\"><img id="slide1" src="images/productos/productos/teoficina.png" style="cursor:pointer; border:0 " onclick="CargarVentana(\'te\')" onmousemove="Brillar(this);document.getElementById(\'teoficina\').style.display=\'\';" onmouseout="document.getElementById(\'teoficina\').style.display=\'none\';Opacar(this);" /></td>';
									textoP+='<td class=\"sinBordeSlide\"><img id="slide2" src="images/productos/productos/cumpleanos.png" style="cursor:pointer; border:0 " onclick="CargarVentana(\'cumpleanos\')" onmousemove="Brillar(this);document.getElementById(\'cumpleanos\').style.display=\'\';" onmouseout="document.getElementById(\'cumpleanos\').style.display=\'none\';Opacar(this);" /></td>';
									textoP+='<td class=\"sinBordeSlide\"><img id="slide3" src="images/productos/productos/fiestaalegria.png" style="cursor:pointer; border:0 " onclick="CargarVentana(\'kinder\')" onmousemove="Brillar(this);document.getElementById(\'fiestaalegria\').style.display=\'\';" onmouseout="document.getElementById(\'fiestaalegria\').style.display=\'none\';Opacar(this);" /></td>';
									textoP+='<td class=\"sinBordeSlide\"><img id="slide4" src="images/productos/productos/graduacion.png" style="cursor:pointer; border:0 " onclick="CargarVentana(\'kinder\')" onmousemove="Brillar(this);document.getElementById(\'graduacion\').style.display=\'\';" onmouseout="document.getElementById(\'graduacion\').style.display=\'none\';Opacar(this);" /></td>';
									textoP+='<td class=\"sinBordeSlide\"><img id="slide5" src="images/productos/productos/dianino.png" style="cursor:pointer; border:0 " onclick="CargarVentana(\'kinder\')" onmousemove="Brillar(this);document.getElementById(\'dianino\').style.display=\'\';" onmouseout="document.getElementById(\'dianino\').style.display=\'none\';Opacar(this);" /></td>';
									textoP+='<td class=\"sinBordeSlide\"><img id="slide6" src="images/productos/productos/diamadre.png" style="cursor:pointer; border:0 " onclick="CargarVentana(\'kinder\')" onmousemove="Brillar(this);document.getElementById(\'diamadre\').style.display=\'\';" onmouseout="document.getElementById(\'diamadre\').style.display=\'none\';Opacar(this);" /></td>';
									textoP+='<td class=\"sinBordeSlide\"><img id="slide7" src="images/productos/productos/diapadre.png" style="cursor:pointer; border:0 " onclick="CargarVentana(\'kinder\')" onmousemove="Brillar(this);document.getElementById(\'diapadre\').style.display=\'\';" onmouseout="document.getElementById(\'diapadre\').style.display=\'none\';Opacar(this);" /></td>';
									textoP+='<td class=\"sinBordeSlide\"><img id="slide8" src="images/productos/productos/fiesta15dias.png" style="cursor:pointer; border:0 " onclick="CargarVentana(\'kinder\')" onmousemove="Brillar(this);document.getElementById(\'fiesta15dias\').style.display=\'\';" onmouseout="document.getElementById(\'fiesta15dias\').style.display=\'none\';Opacar(this);" /></td>';
									textoP+='<td class=\"sinBordeSlide\"><img id="slide9" src="images/productos/productos/navidad.png" style="cursor:pointer; border:0 " onclick="CargarVentana(\'navidad\')" onmousemove="Brillar(this);document.getElementById(\'navidad\').style.display=\'\';" onmouseout="document.getElementById(\'navidad\').style.display=\'none\';Opacar(this);" /></td>';
									textoP+='<td class=\"sinBordeSlide\"><img id="slide10" src="images/productos/productos/navidadempresa.png" style="cursor:pointer; border:0 " onclick="CargarVentana(\'navidad\')" onmousemove="Brillar(this);document.getElementById(\'navidadempresa\').style.display=\'\';" onmouseout="document.getElementById(\'navidadempresa\').style.display=\'none\';Opacar(this);" /></td>';
									textoP+='<td class=\"sinBordeSlide\"><img id="slide11" src="images/productos/productos/primeracomunion.png" style="cursor:pointer; border:0 " onclick="CargarVentana(\'sacramento\')" onmousemove="Brillar(this);document.getElementById(\'primeracomunion\').style.display=\'\';" onmouseout="document.getElementById(\'primeracomunion\').style.display=\'none\';Opacar(this);" /></td>';
									textoP+='<td class=\"sinBordeSlide\"><img id="slide12" src="images/productos/productos/bautizo.png" style="cursor:pointer; border:0 " onclick="CargarVentana(\'sacramento\')" onmousemove="Brillar(this);document.getElementById(\'bautizo\').style.display=\'\';" onmouseout="document.getElementById(\'bautizo\').style.display=\'none\';Opacar(this);" /></td>';
									textoP+='<td class=\"sinBordeSlide\"><img id="slide13" src="images/productos/productos/boda.png" style="cursor:pointer; border:0 " onclick="CargarVentana(\'boda\')" onmousemove="Brillar(this);document.getElementById(\'boda\').style.display=\'\';" onmouseout="document.getElementById(\'boda\').style.display=\'none\';Opacar(this);" /></td>';
								textoP+='</tr>';
								textoP+='</table>';
								textoP+='</div>';
							textoP+='</td>';
							textoP+='<td align="right" style="padding:0 0 0 4px;vertical-align:middle "><img style="cursor:pointer " onmousedown="this.src=\'/images/slideshow/leftTAPDown.png\';mantenermoverDerecha();" onmouseup="this.src=\'/images/slideshow/leftTAP.png\';pararMover();" src="images/slideshow/leftTap.png" onclick="moverDerecha();" /></td>';
						textoP+='</tr>';
						textoP+='<tr valign="top">';
							textoP+='<td align="center" colspan="3" style=" padding:8px 0px 8px 0px " >';
								textoP+='<div style="position:absolute " ><img class="drag" id="dragObjBar" src="images/slideshow/cuadro.png" style="cursor:pointer; border:0;left:23px; padding:1px 0 0 0" /></div>';
								textoP+='<table cellpadding="0" cellspacing="0" width="'+GLBWidthSlider+'px"  id="scrollSlidder">';
									textoP+='<tr valign="top">';
										textoP+='<td width="13px" style=" padding-left:13px; background-image:url(images/slideshow/leftA.png); background-repeat:no-repeat; height:18px" ></td>';
										textoP+='<td width="100%" style=" background-image:url(images/slideshow/middleA.png); background-repeat:repeat-x; height:18px;">';
											textoP+='<table align="center" cellpadding="0" cellspacing="0" width="100%">';
												textoP+='<tr valign="top">';
													textoP+='<td align="center" style="color:#FFFFFF; padding:2px 0 0 0; font-weight:bold;cursor:pointer;" onclick="moverA(this,event);document.getElementById(\'slidecontent\').scrollLeft=200;">T&eacute;</td>';
													textoP+='<td align="center" style="color:#FFFFFF; padding:2px 0 0 0; font-weight:bold;cursor:pointer;" onclick="moverA(this,event);document.getElementById(\'slidecontent\').scrollLeft=400;">Cumplea&ntilde;os</td>';
													textoP+='<td align="center" style="color:#FFFFFF; padding:2px 0 0 0; font-weight:bold;cursor:pointer;" onclick="moverA(this,event);document.getElementById(\'slidecontent\').scrollLeft=600;">Kinder</td>';
													textoP+='<td align="center" style="color:#FFFFFF; padding:2px 0 0 0; font-weight:bold;cursor:pointer;" onclick="moverA(this,event);document.getElementById(\'slidecontent\').scrollLeft=800;">Navidad</td>';
													textoP+='<td align="center" style="color:#FFFFFF; padding:2px 0 0 0; font-weight:bold;cursor:pointer;" onclick="moverA(this,event);document.getElementById(\'slidecontent\').scrollLeft=1000;">Sacramentos</td>';
													textoP+='<td align="center" style="color:#FFFFFF; padding:2px 0 0 0; font-weight:bold;cursor:pointer;" onclick="moverA(this,event);document.getElementById(\'slidecontent\').scrollLeft=1200;">Boda</td>';
												textoP+='</tr>';
											textoP+='</table>';
										textoP+='</td>';
										textoP+='<td width="13px" style=" padding-right:13px;background-image:url(images/slideshow/rightA.png);background-repeat:no-repeat; height:18px"></td>	';	
									textoP+='</tr>';
								textoP+='</table>';
							textoP+='</td>';
						textoP+='</tr>';
					textoP+='</table>';
					
				textoP+='</td>';
				textoP+='<td width="7px" style=" padding-right:7px; height:120px"></td>		';
			textoP+='</tr>';
			
		textoP+='</table>';
		textoP+='</div>';
	document.getElementById("Ventana").innerHTML=textoP;
	modificarAncho();
	InitDragDrop();
	for(i=0;i<14;i++){
		Opacar(document.getElementById("slide"+i));
	}
}
<!--
var _startX = 0;			// mouse starting positions
var _startY = 0;
var _offsetX = 0;			// current element offset
var _offsetY = 0;
var _dragElement;			// needs to be passed from OnMouseDown to OnMouseMove
var _oldZIndex = 0;			// we temporarily increase the z-index during drag

function InitDragDrop()
{
	document.onmousedown = OnMouseDown;
	document.onmouseup = OnMouseUp;
}

function OnMouseDown(e)
{
	// IE is retarded and doesn't pass the event object
	if (e == null) 
		e = window.event; 
	
	// IE uses srcElement, others use target
	var target = e.target != null ? e.target : e.srcElement;

	// for IE, left click == 1
	// for Firefox, left click == 0
	if ((e.button == 1 && window.event != null || 
		e.button == 0) && 
		target.className == 'drag')
	{
		// grab the mouse position
		_startX = e.clientX;
		_startY = e.clientY;
		
		// grab the clicked element's position
		_offsetX = ExtractNumber(target.style.left);
		_offsetY = ExtractNumber(target.style.top);
		
		// bring the clicked element to the front while it is being dragged
		_oldZIndex = target.style.zIndex;
		target.style.zIndex = 10000;
		
		// we need to access the element in OnMouseMove
		_dragElement = target;

		// tell our code to start moving the element with the mouse
		document.onmousemove = OnMouseMove;
		
		// cancel out any text selections
		document.body.focus();
		
		// prevent text selection in IE
		document.onselectstart = function () { return false; };
		// prevent IE from trying to drag an image
		target.ondragstart = function() { return false; };
		
		// prevent text selection (except IE)
		return false;
	}
}


function ExtractNumber(value)
{
	var n = parseInt(value);
	
	return n == null || isNaN(n) ? 0 : n;
}

function OnMouseMove(e)
{
	if (e == null) 
		var e = window.event;
	var curpos=(_offsetX + e.clientX - _startX+100);
	var curposReal=(_offsetX + e.clientX - _startX);
	if(curpos<(getW(document.getElementById("container"))-245) && curpos>123){
	_dragElement.style.left = curposReal + 'px';
	}
	var objeto=document.getElementById("slidecontent");
			
	var wida=(getW(document.getElementById("container"))-220)/6;
	
	if(curposReal>20 && curposReal<wida){
		objeto.scrollLeft=0;
	}
	if(curposReal>wida && curposReal<wida*2){
		objeto.scrollLeft=200;
	}
	if(curposReal>wida*2 && curposReal<wida*3){
		objeto.scrollLeft=400;
	}
	if(curposReal>wida*3 && curposReal<wida*4){
		objeto.scrollLeft=600;
	}
	if(curposReal>wida*4 && curposReal<wida*5){
		objeto.scrollLeft=800;
	}
	if(curposReal>wida*5 && curposReal<wida*6){
		objeto.scrollLeft=1000;
	}
}


function moverLimite(variableLimit){
	var objeto=document.getElementById("slidecontent");
	var variAt=objeto.scrollLeft;
	if(variAt>variableLimit){
		objeto.scrollLeft=objeto.scrollLeft-20;
	}
	if(variAt<variableLimit){
		objeto.scrollLeft=objeto.scrollLeft+20;
	}
	if(variAt==variableLimit){
		clearTimeout(timer);
	}
	else{
		timer=setTimeout("moverLimite("+variableLimit+");",100);
	}
}
function OnMouseUp(e)
{
	if (_dragElement != null)
	{
		_dragElement.style.zIndex = _oldZIndex;

		// we're done with these events until the next OnMouseDown
		document.onmousemove = null;
		document.onselectstart = null;
		_dragElement.ondragstart = null;

		// this is how we know we're not dragging
		_dragElement = null;
	}
}
