// JavaScript Document
$(document).ready(function(){
						   
	$(document).pngFix();
	/*$.jqem.init();
    $.jqem.bind( function() {
        $($els).equalizeCols();
    });*/



	/*
	var o = $("#mainmenu ul ul li");
	if(o.length){
		o.hover(function(){
				$(this).addClass("mainmenuhover");
		},function(){
				$(this).removeClass("mainmenuhover");
		});
	}
	*/

});

/* De esta forma inicio las galerias que hay en el sitio */
$(function() {
	var oGallery = $('.lightbox a');
	if(oGallery.length){
		oGallery.lightBox();
	}
});

/* Esto es para que ambas columnas content y banner tenga la misma altura */
$(function() {
	var els = $("#content, #banner");
	if(els.length){
		els.equalizeCols();
	}
});

/* Esto es para cambiar el color del menu horizontal en el hover */
$(function() {
	var oMenu = $("#mainmenu ul a");
	var oTime = 500;
	if(oMenu.length){
		oMenu.hover(
			function()
			{
				$(this).animate({backgroundColor: "gapbluedark" }, oTime);
			},		
			function()
			{
				$(this).animate({backgroundColor: "gapblue" }, oTime);
			}
		);
		
	}
});
