function start()
{
	new Ajax.Updater('content', 'ajax.php?start', { method: 'get', evalscripts: 'true' });
}

function vote(c, l)
{
	new Ajax.Updater('content', 'ajax.php?c=' + c + '&l=' + l, { method: 'get', evalscripts: 'true' });
}

function shade(t)
{
	fotos = $$('img.foto');
	id = t.id.replace('f', '');
	if (id == 0 )
	{
    fotos[1].setOpacity(0.3);
    fotos[0].setOpacity(1);
	}
	else
		{
      fotos[0].setOpacity(0.3);
      fotos[1].setOpacity(1);
		}
}

function unshade()
{
	fotos = $$('img.foto');
  fotos[0].setOpacity(1);
  fotos[1].setOpacity(1);
}

