$(document).ready(function(){
	var urllogo = document.location.href.split("?");
	imgbase = "http://www.sisib01.uchile.cl/js_uchile/167x55_cna_gris.jpg";
	imghover = "http://www.sisib01.uchile.cl/js_uchile/167x55_cna_color.jpg";
	//if(urllogo[1] == "jquery"){
		var tabla = $('div.wlp-bighorn-footer table').get(0);
		var celda = $('div.wlp-bighorn-footer table').eq(5);
		$(celda).attr('height', '55px');
	/* agregado por paillado */
		$(celda).attr('align', 'left');
		$('.bread').attr('align', 'left');
	/* agregado por paillado */
		$('tbody tr', celda).eq(1).attr('valign', 'top');	
		var c = $('div.wlp-bighorn-footer').css('position','relative');
		$(c).append('<div class="acreditacion"></div>');
		$('.acreditacion').css({'width':'126px', 'height':'55px', 'position':'absolute', 'bottom':'0px', 'right':'0px', 'backgroundImage':'url(' + imgbase + ')', 'backgroundRepeat':'no-repeat', 'backgroundPosition':'right bottom', 'cursor':'pointer'});
	
		
		
		$('.acreditacion').hover(
			function(){
				$(this).css('backgroundImage', 'url(' + imghover + ')');
			},
			function(){
				$(this).css('backgroundImage', 'url(' + imgbase + ')');	
			}	
		);
		
		$('.acreditacion').click(function(e){
			window.location.href = "http://www.uchile.cl/uchile.portal?_nfpb=true&_pageLabel=conUrl&url=9032";
		});
	//}
});