function flags() 
{
	$(document).ready(function() {
		$("#langs a").fadeTo("fast", 0.4);
		$("#langs a").hover(
			function() { 
				$(this).fadeTo("fast", 1)
			}, 
			function() {
				$(this).fadeTo("normal", 0.4)
			}
		);
	});
}

function Galeria() 
{
	$(document).ready(function() {
		$(".galeria_foto a").fadeTo("fast", 0.8);
		$(".galeria_foto a").hover(
			function() { 
				$(this).fadeTo("fast", 1)
			}, 
			function() {
				$(this).fadeTo("normal", 0.8)
			}
		);
	});
}


function Pop(url, s, w) 
	{
window.open(url,'Otep', 'menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no, resizable=no,fullscreen=no,channelmode=no,width='+s+',height='+w+',left=200,top=100');
	}
	
var intBit = 0;
function flashText()
	{
   var coll = document.getElementsByTagName('SPAN');
   for (var i = 0; i < coll.length; i++)    {
       if (coll[i].className == 'flashtext')        {
           if(intBit==0) {
               coll[i].style.color = coll[i].getAttribute('color2');
               coll[i].style.backgroundColor = coll[i].getAttribute('backcolor2');
           } else {
               coll[i].style.backgroundColor = coll[i].getAttribute('backcolor1');
               coll[i].style.color = coll[i].getAttribute('color1');
           }
      }
   }

   if (intBit == 0)
       intBit = 1;
   else
       intBit = 0;

   window.setTimeout('flashText()', 300) 
	}
