// Easing equation, borrowed from jQuery easing plugin
// http://gsgd.co.uk/sandbox/jquery/easing/
jQuery.easing.easeOutQuart = function (x, t, b, c, d) {
	return -c * ((t=t/d-1)*t*t*t - 1) + b;
};

$(document).ready(function() {
	
	$("a[rel='videos']").colorbox({
		width:"700px", height:"450px", iframe:true, slideshow:false
	});



	fixCss();
	
	//$('[rel*=lightbox]').lightBox(); // Select all links that contains lightbox in the attribute rel
	
	
});


function fixCss(){
	
	if ($.browser.mozilla){
		fixMozilla();
	}
	
	if ($.browser.msie){
		fixIE();
	}
	
	var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
	
	if (is_chrome){
		fixChrome();
	}
	
	finFix();
}


function fixMozilla(){
	
}
function fixIE(){
	
	
	if ($.browser.version == '6.0'){
		alert('Su nevegador es viejo y no podra visualizar correctamente el sitio, actualize a internet explorer 7, 8 u otro navegador como Firefox, Chrome, etc');
	}
	
			
	if ($.browser.version == '7.0'){
		
		if (objExiste("#contenedorBanners")){
			
		}
		if (objExiste("div.flechaDerecha")){
			
		}
		if (objExiste("li.primerElemento")){
			
		}
		
		if (objExiste("#captcha")){
				
		}	
	}
	
	if ($.browser.version == '8.0'){
		
	}
	



	
}

function fixChrome(){
	
}

function finFix(){

	

}





