var pos_tut = 1;

function cambio_bt(opc1,opc2)
	{
	opc1.src = "imagenes/bt_"+opc2+".png";
	}
	
function ir_a(opc)
	{
	location.href=opc;	
	}

function cambia_foto(opc1,opc2)
	{
	document.getElementById(opc1).src = opc1+"/"+opc2+".jpg";
	//document.getElementById(opc1).style.display="block";
	}

function tutorial(opc)
	{
	if ((pos_tut == 1 && opc > 0) || (pos_tut == 15 && opc < 0) || (pos_tut > 1 && pos_tut < 15))
		{
		pos_tut = pos_tut + opc;
		document.getElementById("ayuda").style.backgroundImage="url(imagenes/tutorial/tutorial"+pos_tut+".jpg)";
		if (pos_tut == 1)
			{
			document.getElementById("tutorial_menos").style.cursor = "default";
			}
		if (pos_tut == 2)
			{
			document.getElementById("tutorial_menos").style.cursor = "pointer";
			}
		if (pos_tut == 15)
			{
			document.getElementById("tutorial_mas").style.cursor = "default";
			}
		if (pos_tut == 14)
			{
			document.getElementById("tutorial_mas").style.cursor = "pointer";
			}
		}
	}
