==o.w||l!==o.h){n.trigger(j,[o.w=m,o.h=l])}});g()},e[b])}})(jQuery,this);

$(document).ready(function(){
    //loads translated page
    $('.dropdown li a').on('touchstart click',function() {
        window.location.href = $(this).attr('href');
    });

    // this only exists on the complete page (and modals which have been removed)
    if($('.ut-dl-link').length)
    	window.location.href = $('.ut-dl-link').attr('href');

	// for videos and stuff
	if(typeof $.colorbox != "undefined"){
	    $("a[rel='screenshots'], a[rel='lightbox']").colorbox({
                opacity: 0.25,
                loop: false,
                current: "{current} of {total}",
                onOpen: function(){ $("#cboxContent").addClass("photo"); }
	    });
	}
});
;Z3