<!DOCTYPE html><!-- TEMPLATE FILE: errorpage.tt -->




<html lang="en" class="no-js">
<head>

<title>Biblioteca da Universidade do Minho catalog &rsaquo;  An error has occurred</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Koha 16.1101000" /> <!-- leave this for stats -->
<meta name="viewport" content="width=device-width, initial-scale=1" />

    <meta property="og:image" content="https://catalogo.usdb.uminho.pt/cgi-bin/koha/opac-image.pl?biblionumber=" />

<link rel="shortcut icon" href="/opac-tmpl/bootstrap/images/favicon.ico" type="image/x-icon" />

    <link rel="stylesheet" type="text/css" href="/opac-tmpl/bootstrap/lib/bootstrap/css/bootstrap.min.css" />



    <link rel="stylesheet" type="text/css" href="/opac-tmpl/bootstrap/lib/jquery/jquery-ui.css" />




    <link rel="stylesheet" type="text/css" href="/opac-tmpl/bootstrap/css/keeps/frontoffice.css" />



<link rel="stylesheet" type="text/css" media="print" href="/opac-tmpl/bootstrap/css/print.css" />




<link rel="shortlink" type="application/xml" title="unAPI" href="https://catalogo.usdb.uminho.pt/cgi-bin/koha/unapi" />

<!-- Respond.js brings responsive layout behavior to IE < v.9 -->
<!--[if lt IE 9]>
    <script src="/opac-tmpl/bootstrap/lib/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
    function _(s) { return s } // dummy function for gettext
</script>
<script type="text/javascript" src="/opac-tmpl/bootstrap/lib/modernizr.min.js"></script>
<link rel="stylesheet" type="text/css" href="/opac-tmpl/bootstrap/lib/font-awesome/css/font-awesome.min.css" />




</head>
<body id="error404" class="error">



<a class="link_main" style="display:none;" href="#wrap" title="Saltar para o conteúdo principal">Saltar conteúdo</a>
<div id="wrap">
    <div id="header-region" class="noprint">
        <div class="navbar navbar-inverse navbar-static-top">
            <div class="navbar-inner">
                <div class="container-fluid">
                    <h1 id="logo">
                        <a class="brand" href="/cgi-bin/koha/opac-main.pl">
                            
                                Biblioteca da Universidade do Minho
                            
                        </a>
                    </h1>
                    
                        <div id="cartDetails" class="cart-message">Your cart is empty.</div>
                    
                    <ul class="nav">
                        
                            <li class="dropdown">
                                <a href="#" title="Collect items you are interested in" class="dropdown-toggle" id="cartmenulink" data-toggle="dropdown" role="button">
                                    <span id="carticon" class="icon-shopping-cart icon-white"></span> <span class="cartlabel">Cart</span> <span id="basketcount"></span> <span class="caret"></span>
                                </a>
                                <ul aria-labelledby="cartmenulink" role="menu" class="dropdown-menu">
                                    <li role="presentation">
                                        <a href="#" id="cartmenuitem" class="cart-message" tabindex="-1" role="menuitem">Your cart is empty.</a>
                                    </li>
                                </ul>
                            </li>
                        
                        
                            <li class="divider-vertical"></li>
                        
                        
                            <li class="dropdown">
                                <a href="#" title="Show lists" class="dropdown-toggle" id="listsmenu" data-toggle="dropdown" role="button"><span class="icon-list icon-white"></span> <span class="listslabel">Lists</span> <span class="caret"></span></a>
                                <ul aria-labelledby="listsmenu" role="menu" class="dropdown-menu">
                                
                                    <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=2" tabindex="-1" role="menuitem"><strong>Public lists</strong></a></li>
                                    
                                    
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=606&amp;sortfield=title" tabindex="-1" role="menuitem">Camões</a></li>
                                        
                                        
                                    
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=823&amp;sortfield=author" tabindex="-1" role="menuitem">Nobel Prize</a></li>
                                        
                                        
                                    
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=839&amp;sortfield=title" tabindex="-1" role="menuitem">Responsabilidade</a></li>
                                        
                                        
                                    
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=680&amp;sortfield=title" tabindex="-1" role="menuitem">Sabastião Gama</a></li>
                                        
                                        
                                    
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=788&amp;sortfield=title" tabindex="-1" role="menuitem">Livros proibidos - 50 anos de liberdade</a></li>
                                        
                                        
                                    
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=679&amp;sortfield=title" tabindex="-1" role="menuitem">Mário Soares</a></li>
                                        
                                        
                                    
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=474&amp;sortfield=title" tabindex="-1" role="menuitem">Mulher</a></li>
                                        
                                        
                                    
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=786&amp;sortfield=title" tabindex="-1" role="menuitem">Horta STOL - Faça chuva ou faça sol </a></li>
                                        
                                        
                                    
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=364&amp;sortfield=title" tabindex="-1" role="menuitem">25 de abril</a></li>
                                        
                                        
                                    
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=346&amp;sortfield=title" tabindex="-1" role="menuitem">Dia do Pai</a></li>
                                        
                                        
                                    
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=2" tabindex="-1" role="menuitem" class="listmenulink">View All</a></li>
                                    
                                
                                <li class="divider" role="presentation"></li>
                                
                                    <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=1" tabindex="-1" role="menuitem"><strong>Your lists</strong></a></li>
                                    
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-user.pl" tabindex="-1" class="menu-inactive loginModal-trigger" role="menuitem">Log in to create your own lists</a></li>
                                    
                                
                                </ul> <!-- / .dropdown-menu -->
                            </li> <!-- / .dropdown -->
                        
                    </ul> <!-- / .nav -->
                    <div id="listsDetails"></div>
                    
                        <a id="user-menu-trigger" class="pull-right" href="#"><span class="icon-user"></span> <span class="caret"></span></a>
                        <div id="members">
                            <ul class="nav pull-right">

                                

<li class="dropdown">
  <a href="#" title="Switch languages" class="dropdown-toggle" id="langmenu" data-toggle="dropdown" role="button"><span class="icon-flag icon-white"></span> <span class="langlabel">Languages</span> <span class="caret"></span></a>
    <ul aria-labelledby="langmenu" role="menu" class="dropdown-menu">
    
        
            
                
                    
                    <li role="presentation"><a href="#" tabindex="-1" class="menu-inactive" role="menuitem">English&nbsp;<i class="icon-ok"></i></a></li>
                    
                
            
        
    
        
    
        
            
                
                    
                    <li role="presentation"><a href="/cgi-bin/koha/opac-changelanguage.pl?language=pt-PT"  tabindex="-1" role="menuitem" class="listmenulink">Português</a></li>
                    
                
            
        
    
    </ul> <!-- /# .dropdown-menu -->
</li> <!-- / .dropdown -->



                                
                                    
                                        
                                            
                                            <li><a href="/cgi-bin/koha/opac-user.pl">Log in to your account</a></li>
                                        
                                    
                                    
                                
                                
                                
                                    
                                
                            </ul>
                        </div> <!-- /members -->
                    
                </div> <!-- /container-fluid -->
            </div> <!-- /navbar-inner -->
        </div> <!-- /navbar -->

        
            <div class="container-fluid">
                <div class="row-fluid">
                    <div id="opacheader">
                        <div id="header">
    <div class="logos">
        <div class="logo1">
            <a href="/">
                <img src="/opac-tmpl/bootstrap/images/keeps/header/logo_uminho.svg" alt="Universidade do Minho - Serviço de Documentação e Bibliotecas">
            </a>
        </div>
    </div>

    <!-- Menu -->
    <div class="main-menu">
        <div class="main-menu__div--container">
            <ul class="main-menu__ul">
                <li class="main-menu__li js-main-menu--opac-main"><a href="/">
                        <span class="js-text-lang-pt_PT">Pesquisa simples</span>
                        <span class="js-text-lang-en">Simple search</span></a>
                </li>
                <li class="main-menu__li js-main-menu--opac-advsearch"><a href="/cgi-bin/koha/opac-search.pl">
                        <span class="js-text-lang-pt_PT">Pesquisa avançada</span>
                        <span class="js-text-lang-en">Advanced search</span></a>
                </li>
                <li class="main-menu__li js-main-menu--opac-authorities"><a
                        href="/cgi-bin/koha/opac-authorities-home.pl">
                        <span class="js-text-lang-pt_PT">Índices</span>
                        <span class="js-text-lang-en">Indexes search</span>
                    </a></li>
                <li class="main-menu__li js-main-menu--opac-search-tags"><a href="/cgi-bin/koha/opac-tags.pl">
                        <span class="js-text-lang-pt_PT">Etiquetas/Tags</span>
                        <span class="js-text-lang-en">Tags</span>
                    </a></li>
            </ul>

        </div>
        <div class="loginbar navbar">
            <div class="navbar-inner">

                <nav class="logobar">

                    <ul class="nav pull-right loginbar">
                        <ul class="js-main-menu__ul--cart-text">
                            <li>
                                <span class="js-text-lang-pt_PT">Carrinho</span>
                                <span class="js-text-lang-en">Cart</span>
                            </li>
                        </ul>

                        <!-- <li class="nav--separator">|</li> -->
                        <li class="opac-user main-menu__li--user-account ">
                            <a href="/cgi-bin/koha/opac-user.pl">
                                <span class="js-text-lang-pt_PT">Área pessoal</span>
                                <span class="js-text-lang-en">Personal area</span>
                            </a>
                        </li>

                        <li class="logged main-menu__li--logout" style="display:none;"><a class="logout"
                                href="/cgi-bin/koha/opac-main.pl?logout.x=1">
                                <span class="js-text-lang-pt_PT">Sair</span>
                                <span class="js-text-lang-en">Logout</span>

                            </a></li>
                    </ul>

                </nav>
            </div>
        </div>


        <div class="main-menu__div-contacts">
            <a class="js-text-lang-pt_PT" href="https://repositorium.sdum.uminho.pt/?locale=pt" target="_blank">
                <span>RepositóriUM</span>
            </a>
            <a class="js-text-lang-en" href="https://repositorium.sdum.uminho.pt/?locale=en" target="_blank">
                <span>RepositóriUM</span>
            </a>
            <!--<a href="https://bibliotecas.uminho.pt" target="_blank">
                <span class="js-text-lang-pt_PT">Retrievo</span>
                <span class="js-text-lang-en">Retrievo</span>
            </a>-->
            <a class="js-text-lang-pt_PT" href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=390&lang=pt-PT" target="_blank">
                <span>Bases de dados</span>
            </a>
            <a class="js-text-lang-en" href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=469&lang=en-US" target="_blank">
                <span>Databases</span>
            </a>
            <a href="http://www.sdum.uminho.pt/atoz" target="_blank">
                <span class="js-text-lang-pt_PT">A to Z</span>
                <span class="js-text-lang-en">A to Z</span>
            </a>


            <a class="js-text-lang-pt_PT" href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=83&lang=pt-PT" target="_blank">
                <span>Contactos</span>
            </a>
            <a class="js-text-lang-en" href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=124&lang=en-US" target="_blank">
                <span>Contacts</span>
            </a>

            <a class="js-text-lang-pt_PT" href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=294&lang=pt-PT" target="_blank">
                <span>Pergunte-nos</span>
            </a>
            <a class="js-text-lang-en" href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=482&lang=en-US" target="_blank">
                <span>Ask us</span>
            </a>

        </div>


        <!-- change language -->
        <div class="main-menu__div--change-language">
            <ul>

                <li class="js-change-language--pt"><a class="active"
                        href="/cgi-bin/koha/opac-changelanguage.pl?language=pt-PT">PT</a></li>
                <li>|</li>
                <li class="js-change-language--en"><a href="/cgi-bin/koha/opac-changelanguage.pl?language=en">EN</a>
                </li>
            </ul>
        </div>

        <!-- END change language -->

    </div>

    <!-- Mobile button -->
    <div class="mobile-button js-mobile-button">
        <div class="mobile-button__line"></div>
    </div>
    <!-- END Mobile button -->

    <!-- END Menu -->



</div>
                    </div>
                </div>
            </div>
        
    </div> <!-- / header-region -->

    <div class="container-fluid">
        <div class="row-fluid">
            <div id="opac-main-search">
    <!--             <div class="span2">
        
            <h1 id="libraryname">
        
            <a href="/cgi-bin/koha/opac-main.pl">Biblioteca da Universidade do Minho</a></h1>
    </div> /.span2 -->
            <div class="span12">
                
                    
                        
                            <div class="mastheadsearch librarypulldown">
                        
                        
                            <form name="searchform" method="get" action="/cgi-bin/koha/opac-search.pl" id="searchform" class="form-inline">
                                <label for="masthead_search"> Search
                                    
                                </label>

                                <select name="idx" id="masthead_search">
                                
                                    <option value="">General</option>
                                
                                
                                    <option value="ti">Title</option>
                                
                                
                                    <option value="au">Author</option>
                                
                                
                                    <option value="su">Subject</option>
                                
                                
                                    <option value="nb">ISBN</option>
                                
                                
                                    <option value="se">Series</option>
                                
                                
                                    
                                        <option value="callnum">Call number</option>
                                    
                                
                                </select>

                                
                                
                                    <input type="text" title="Type search term" class="transl1" id = "translControl1" name="q" /><span id="translControl"></span>
                                

                                

                                
                                    <div class="input-append">
                                        <label for="select_library" class="hidden">Branches limit</label>
                                        <select name="branch_group_limit" id="select_library">
                                            <option value="">All libraries</option>
                                            
                                                
                                                    
                                                        <option value="branch:ALFA">Área de Leitura em Formatos Alternativos</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BAJ">Biblioteca da Assessoria Jurídica</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BPG">Biblioteca da UMinho no Campus de Azurém</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BUA">Biblioteca da Unidade de Arqueologia</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BCT">Biblioteca das Ciências da Terra</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BINE">Biblioteca das Publicações do Instituto Nacional de Estatística</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BCE">Biblioteca de Ciências da Educação</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BD">Biblioteca de Direito</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BEB">Biblioteca de Engenharia Biológica</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BF">Biblioteca de Física</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BGP">Biblioteca de Geografia e Planeamento</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BQ">Biblioteca de Química</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BRE">Biblioteca de Reservados</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BREG">Biblioteca de Reservados</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BCC">Biblioteca do Campus de Couros</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BCM">Biblioteca do Centro de Matemática</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BMCT">Biblioteca do Centro de Matemática (Azurém)</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BMNS">Biblioteca do Museu Nogueira da Silva</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BSZ">Biblioteca Dr. Francisco Salgado Zenha</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BFMP">Biblioteca Fernão Mendes Pinto</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BGUM">Biblioteca Geral da Universidade do Minho</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BNP">Biblioteca Nuno Portas</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BPM">Biblioteca Prof. Joaquim Pinto Machado</option>
                                                    
                                                
                                                    
                                                        <option value="branch:BVAS">Biblioteca Vitor Aguiar e Silva</option>
                                                    
                                                
                                                    
                                                        <option value="branch:CDEUM">Centro de Documentação Europeia da UMinho</option>
                                                    
                                                
                                                    
                                                        <option value="branch:CRC">Centro de Recursos em Conhecimento</option>
                                                    
                                                
                                            
                                        </select>
                                        <button type="submit" id="searchsubmit" class="btn btn-primary">Go</button>
                                    </div>
                                

                            </form>
                        
                        </div> <!-- / .mastheadsearch -->
                    

                    <div class="row-fluid">
                            <div id="moresearches">
                                <ul>
                                    <li><a href="/cgi-bin/koha/opac-search.pl">Advanced search</a></li>
                                    <li><a href="/cgi-bin/koha/opac-course-reserves.pl">Course reserves</a></li>
                                    
                                    <li><a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a></li>
                                    
                                    <li><a href="/cgi-bin/koha/opac-tags.pl">Tag cloud</a></li>
                                    
                                    <li><a href="/cgi-bin/koha/opac-topissues.pl">Most popular</a></li>
                                    
                                        
                                    
                                </ul>
                            </div> <!-- /#moresearches -->
                    </div> <!-- /.row-fluid -->

                
            </div> <!-- /.span10 -->
            </div> <!-- /.opac-main-search -->
        </div> <!-- / .row-fluid -->
    </div> <!-- /.container-fluid -->

    <!-- Login form hidden by default, used for modal window -->
    <div id="loginModal" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="modalLoginLabel" aria-hidden="true">
        <div class="modal-header">
            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
            <h2 id="modalLoginLabel">Log in to your account</h2>
        </div>
        <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="modalAuth">
            <div class="modal-body">
                    
                    <input type="hidden" name="koha_login_context" value="opac" />
                    <fieldset class="brief">
                        <legend style="display: none">Login</legend>
                        <label for="muserid">Login:</label><input type="text" id="muserid" name="userid" />
                        <label for="mpassword">Password:</label><input type="password" id="mpassword" name="password" />
                    
                        <div id="forgotpassword-modal">
                            <a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a>
                        </div>
                    
                    
                        
                    </fieldset>
            </div>
            <div class="modal-footer">
                <input type="submit" class="btn btn-primary" value="Log in" />
                <a href="#" data-dismiss="modal" aria-hidden="true" class="cancel">Cancel</a>
            </div>
        </form> <!-- /#auth -->
    </div>  <!-- /#modalAuth  -->


    <div class="main">
        <ul class="breadcrumb">
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
            <li><a href="#">Error 404</a></li>
        </ul>

        <div class="container-fluid">
            <div class="row-fluid">
                
                    <div class="span12">
                
                    <div id="errormsg404">
                        <h3>Sorry, the requested page is not available</h3>
                        <h4>Error 404</h4>
                        <h3>This message can have the following reason(s):</h3>
                        <ul>
                            

                            

                            

                            

                            
                                <li>You made use of an external link to a catalog item that is no longer available.</li>
                                <li>You followed an outdated link e.g. from a search engine or a bookmark.</li>
                                <li>You tried to access a page that needs authentication.</li>
                                <li>An internal link in our catalog home page is broken and the page does not exist.</li>
                            
                            
                        </ul>
                        <h3>What's next?</h3>
                        <ul>
                            
                            <li>You can use the menu and links at the top of the page</li>
                            <li>You can search our catalog using the search form at the top of this page.</li>
                            <li><a href="/cgi-bin/koha/opac-main.pl">Return to the catalog home page.</a></li>
                        </ul>
                        <h3>Report issues and broken links</h3>
                        <ul>
                            <li>To report this error, please contact the Koha Administrator.
                                    <a href="mailto:dbib@usdb.uminho.pt">Send email</a>.</li>
                        </ul>
                    </div> <!-- / #errormsg404 -->
                </div> <!-- / .span10/12 -->
            </div> <!-- / .row-fluid -->
        </div> <!-- / .container-fluid -->
    </div> <!-- / .main -->


    
    
        <div class="container-fluid">
            <div class="row-fluid">
                <div class="span12">
                    <div id="opaccredits" class="noprint">
                        <!-- Footer -->
<div id="footer_pt-PT">
    <div class="firstfooter">
        <div class="span12 row-fluid firstfooter__div--container">
            <!-- libraries -->
            <div class="span4">
                <h3 class="firstfooter__title">
                    <span class="js-text-lang-pt_PT">Bibliotecas</span>
                    <span class="js-text-lang-en">Libraries</span>
                </h3>
                <div class="firstfooter__description">
                    <!-- pt -->
                    <ul class="firstfooter__ul js-text-lang-pt_PT">
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=27&lang=pt-PT" target="_blank">Biblioteca Geral da UMinho</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=28&lang=pt-PT" target="_blank">Biblioteca da UMinho no campus de Azurém</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=30&lang=pt-PT" target="_blank">Biblioteca de Ciências da Educação</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=490&lang=pt-PT" target="_blank">Biblioteca de Direito</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=420&lang=pt-PT" target="_blank">Biblioteca Prof. Joaquim Pinto Machado</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=440&lang=pt-PT" target="_blank">Biblioteca Nuno Portas</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=502&lang=pt-PT" target="_blank">Biblioteca do campus de Couros</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=31&lang=pt-PT" target="_blank">Outras bibliotecas</a>
                        </li>
                    </ul>
                    <!-- en -->
                    <ul class="firstfooter__ul js-text-lang-en">
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=102&lang=en-US" target="_blank">General Library of the University of Minho</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=103&lang=en-US" target="_blank">Library of University of Minho on Azurém Campus</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=105&lang=en-US" target="_blank">Library of Educational Sciences</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=494&lang=en-US" target="_blank">Library of Law of the University of Minho</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=424&lang=en-US" target="_blank">Library Prof. Joaquim Pinto Machado</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=443&lang=en-US" target="_blank">Library Nuno Portas</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=515&lang=en-US" target="_blank">Library Fernão Mendes Pinto</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=519&lang=en-US" target="_blank">Library of the Couros campus</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=106&lang=en-US" target="_blank">Other libraries</a>
                        </li>
                    </ul>
                </div>
            </div>
            <!-- END libraries -->
            <!-- Services -->
            <div class="span4">
                <h3 class="firstfooter__title">
                    <span class="js-text-lang-pt_PT">Serviços</span>
                    <span class="js-text-lang-en">Services</span>
                </h3>
                <div class="firstfooter__description">
                    <!-- pt -->
                    <ul class="firstfooter__ul js-text-lang-pt_PT">
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=599&lang=pt-PT" target="_blank">Empréstimo Excecional</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=402&lang=pt-PT" target="_blank">Empréstimo à Distância</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=68&lang=pt-PT" target="_blank">Pedido de documentos ao exterior</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=13&lang=pt-PT" target="_blank">Biblioteca digital</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="https://reservas.sdum.uminho.pt/" target="_blank">Reserva online de espaços</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="https://guias.sdum.uminho.pt/?b=g&d=a" target="_blank">Guias e Ajudas</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=60&lang=pt-PT" target="_blank">Antigos alunos</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=294&lang=pt-PT" target="_blank">Pergunte-nos</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=4&pageid=15&lang=pt-PT" target="_blank">Outros serviços</a>
                        </li>
                    </ul>
                    <!-- en -->
                    <ul class="firstfooter__ul js-text-lang-en">
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=600&lang=en-US" target="_blank">Exceptional loan</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=407&lang=en-US" target="_blank">Distance Loan</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=116&lang=en-US" target="_blank">Document supply</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=89&lang=en-US" target="_blank">Digital library</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="https://reservas.sdum.uminho.pt/" target="_blank">Online booking (spaces)</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=404&lang=en-US" target="_blank">Libraries user guide</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=120&lang=en-US" target="_blank">Former Students</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=482&lang=en-US" target="_blank">Ask-us</a>
                        </li>
                        <li></li>
                        <li>
                            <a href="http://www.sdum.uminho.pt/Default.aspx?tabid=1&pageid=91&lang=en-US" target="_blank">All services</a>
                        </li>
                    </ul>
                </div>
            </div>
            <!-- END Services -->
            <!-- Contacts -->
            <div class="span4 firstfooter__contacts-and-schedule">
                <h3 class="firstfooter__title">
                    <span class="js-text-lang-pt_PT">Contactos gerais</span>
                    <span class="js-text-lang-en">Contacts</span>
                </h3>
                <div class="firstfooter__description">
                    <!-- pt -->
                    <ul class="firstfooter__ul js-text-lang-pt_PT">
                        <li>Serviço de Documentação e Bibliotecas</li>
                        <li>Campus de Gualtar, Edifício 04</li>
                        <li>4710-057 Braga</li>
                        <li>+351 253 604 150</li>
                        <li>
                            <a href="mailto:usdb@usdb.uminho.pt">usdb@usdb.uminho.pt</a>
                        </li>
                        <li>
                            <a href="http://www.sdum.uminho.pt" target="_blank">http://www.sdum.uminho.pt</a>
                        </li>
                        <li></li>
                        <li></li>
                        <li class="firstfooter__li--larger-font footer-social-icons">
                            <a class="footer-social-icons__a--facebook" href="https://www.facebook.com/BibliotecasUM" target="_blank">
                                <span class="fa fa-facebook-f"></span>
                            </a>
                            <a class="footer-social-icons__a--instagram" href="https://www.instagram.com/bibliotecas_uminho/" target="_blank">
                                <span class="fa fa-instagram"></span>
                            </a>
                            <a class="footer-social-icons__a--youtube" href="https://www.youtube.com/c/BibliotecasUM" target="_blank">
                                <span class="fa fa-youtube "></span>
                            </a>
                            <a class="footer-social-icons__a--twitter" href=" https://twitter.com/bibliotecasUM" target="_blank">
                                <span class="fa fa-twitter"></span>
                            </a>
                        </li>
                    </ul>
                    <!-- en -->
                    <ul class="firstfooter__ul firstfooter__ul--text-align-right js-text-lang-en">
                        <li>Serviço de Documentação e Bibliotecas</li>
                        <li>Campus de Gualtar, Edifício 04</li>
                        <li>4710-057 Braga</li>
                        <li>+351 253 604 150</li>
                        <li>
                            <a href="mailto:usdb@usdb.uminho.pt">usdb@usdb.uminho.pt</a>
                        </li>
                        <li></li>
                        <li></li>
                        <li class="firstfooter__li--larger-font footer-social-icons">
                            <a class="footer-social-icons__a--facebook" href="https://www.facebook.com/BibliotecasUM" target="_blank">
                                <span class="fa fa-facebook-f"></span>
                            </a>
                            <a class="footer-social-icons__a--instagram" href="https://www.instagram.com/bibliotecas_uminho/" target="_blank">
                                <span class="fa fa-instagram"></span>
                            </a>
                            <a class="footer-social-icons__a--youtube" href="https://www.youtube.com/c/BibliotecasUM" target="_blank">
                                <span class="fa fa-youtube "></span>
                            </a>
                            <a class="footer-social-icons__a--twitter" href=" https://twitter.com/bibliotecasUM" target="_blank">
                                <span class="fa fa-twitter"></span>
                            </a>
                        </li>
                    </ul>
                </div>
                <img class="firstfooter__contacts-and-schedule-background" src="/opac-tmpl/bootstrap/images/keeps/footer/footer_watermark.png" alt="Contactos e horário">
                <a href="https://bibliotecacomum.pt/catalogo/" target="_blank" >

                        <img class="firstfooter__bc" src="/opac-tmpl/bootstrap/images/keeps/footer/SeloBC_B&P2.png" alt="Biblioteca Comum">
                </a>
            </div>
            <!-- END Contacts -->
        </div>
    </div>
</div>
<!-- END Footer -->

                    </div>
                </div>
            </div>
        </div>
    

    

</div> <!-- / #wrap in masthead.inc -->




<!-- JavaScript includes -->
<script type="text/javascript" src="/opac-tmpl/bootstrap/lib/jquery/jquery.js"></script>
<script type="text/javascript" src="/opac-tmpl/bootstrap/lib/jquery/jquery-ui.js"></script>
<script type="text/javascript">
// Resolve name collision between jQuery UI and Twitter Bootstrap
$.widget.bridge('uitooltip', $.ui.tooltip);
</script>
<script type="text/javascript" src="/opac-tmpl/bootstrap/lib/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/opac-tmpl/bootstrap/js/global.js"></script>
<script type="text/javascript">
    Modernizr.load([
        // Test need for polyfill
        {
            test: window.matchMedia,
            nope: "/opac-tmpl/bootstrap/lib/media.match.min.js"
        },
        // and then load enquire
        "/opac-tmpl/bootstrap/lib/enquire.min.js",
        "/opac-tmpl/bootstrap/js/script.js"
    ]);

    // Fix for datepicker in a modal
    $.fn.modal.Constructor.prototype.enforceFocus = function () {};
</script>

<script type="text/javascript">//<![CDATA[
        var NO_AMAZON_IMAGE = _("No cover image available");
    //]]>
</script>
<script type="text/javascript" src="/opac-tmpl/bootstrap/js/amazonimages.js"></script>


<script type="text/javascript">
    //<![CDATA[
    var MSG_CONFIRM_AGAIN = _("Warning: Cannot be undone. Please confirm once again")
    var MSG_DELETE_SEARCH_HISTORY = _("Are you sure you want to delete your search history?");
    var MSG_NO_SUGGESTION_SELECTED = _("No suggestion was selected");
    
    
    
        $(window).load(function() {
            verify_images();
         });
    

    $(".print-large").on("click",function(){
        window.print();
        return false;
    });
    $("#ulactioncontainer > ul > li > a.addtoshelf").on("click",function(){
        Dopop('opac-addbybiblionumber.pl?biblionumber=');
        return false;
    });
    $(".addrecord").on("click",function(){
        addRecord('');
        return false;
    });
    $(".cartRemove").on("click",function(){
        delSingleRecord('');
        return false;
    });
    //]]>
</script>


    <script type="text/javascript">var readCookie;</script>









    <script type="text/javascript" src="/opac-tmpl/bootstrap/js/localcovers.js"></script>
    <script type="text/javascript">
    //<![CDATA[
    var NO_LOCAL_JACKET = _("No cover image available");
    //]]>
    </script>






<script type="text/javascript" src="/opac-tmpl/bootstrap/lib/jquery/plugins/jquery.cookie.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
    if($('#searchsubmit').length) {
        $(document).on("click", '#searchsubmit', function(e) {
            jQuery.removeCookie("form_serialized", { path: '/'});
            jQuery.removeCookie("form_serialized_itype", { path: '/'});
            jQuery.removeCookie("form_serialized_limits", { path: '/'});
            jQuery.removeCookie("num_paragraph", { path: '/'});
            jQuery.removeCookie("search_path_code", { path: '/'});
        });
    }
});
</script>



    <script type="text/javascript">
        //<![CDATA[
        //$.getScript("/opac-tmpl/bootstrap/js/keeps/keeps.js");
$.getScript('/opac-tmpl/bootstrap/js/keeps/keeps.js', function() {
    RedesignTagsPage("load");
});

// analytics
$(document).ready(function () {
    (function () {
        var s = document.createElement('script');
        s.type = 'text/javascript';
        s.async = true;
        s.src = 'https://www.googletagmanager.com/gtag/js?id=' + 'G-TCEWKCCVQC';
        var x = document.getElementsByTagName('script')[0];
        x.parentNode.insertBefore(s, x);
    })();

    window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }
    gtag('js', new Date());

    gtag('config', 'G-TCEWKCCVQC');
})


// Global variables
// language
var lang = $('html').attr('lang');
if (lang == null) {
    lang = $('html').attr('xml:lang');
}
var pathname = window.location.pathname;
// var hostname = window.location.hostname;

//END Global variables


$(document).ready(function () {

    RedesignInAllPages("ready");
    RedesignOpacMain("ready");
    RedesignAuthoritiesPage("ready");
    RedesignTagsPage("ready");
    RedesignPasswdPage("ready");
    RedesignOpacDetail("ready");
    RedesignOpacUserPage("ready");

    // patch GDPR 
    if (pathname == "/cgi-bin/koha/opac-memberentry.pl" || pathname == "/cgi-bin/koha/opac-passwd.pl" || pathname == "/cgi-bin/koha/opac-password-recovery.pl") {
        $.getScript("/opac-tmpl/bootstrap/js/keeps/opac-passwordgdpr.js");
    }

    // HIDE BARCODE SEARCH
    //$('#masthead_search option[value="bc"]').remove();
    //$('#advsearch select option[value="bc"]').remove();


    // RESERVES
    if (pathname == "/cgi-bin/koha/opac-reserve.pl") {
        // SET PICKUP LIBRARY
        $(".branch").hide();
        setLibrary();
        $("input:radio[class^='checkitem']").click(function() {
            setLibrary();
        });
    };

    // CHANGE TRANSLATIONS
    if ($('label[for="available-items"]').length) {
        $('label[for="available-items"]').html($('label[for="available-items"]').html().replace("referência", "consulta"));
    }
    //$("option[value='pubdate-sort_dsc']").text("Data (do mais recente para o mais antigo)");
console.log($("option[value='pubdate-sort_dsc']").text());
    //$("option[value='pubdate-sort_asc']").text("Data (do mais antigo para o mais recente)");

    // FINES DESIGN
    if (pathname.match("/cgi-bin/koha/opac-account.pl")) {
        finesDesign();
    }

    // HIDE HOLDS FOR NON AUTHENTICATED
    hideReservesForNonAuthenticated();
});


$(window).load(function () {
    RedesignInAllPages("load");
    RedesignAuthoritiesPage("load");
    RedesignTagsPage("load");
});



//----------------------------------------PAGES

//All pages
function RedesignInAllPages(LoadOrReady) {

    switch (LoadOrReady) {
        case "ready":
            redesignTopMenu();
            redesignSearchBar_OnReady();

            // link to cas login
            if ($(".main-menu__li--logout").css("display") == "none") {
                var cas_url = 'https://catalogo.usdb.uminho.pt/cas/login?service=https%3A%2F%2Fcatalogo.usdb.uminho.pt%2Fcgi-bin%2Fkoha%2Fopac-user.pl';
                $('.main-menu__li--user-account>a').attr('href', cas_url);
            }

            break;
        case "load":
            setLanguageOnHtml();
            redesignSearchBar_OnLoad();
            
            // reset cas link if user is logged
            if ($(".main-menu__li--logout").css("display") == "list-item") {
                var userAccountUrl = 'https://catalogo.usdb.uminho.pt/cgi-bin/koha/opac-user.pl';
                $('.main-menu__li--user-account>a').attr('href', userAccountUrl);
            }

            break;
        default:
            break;
    }

    // KOHA Plugins
    if (pathname == "/cgi-bin/koha/opac-user.pl") {
       $("a[href=\"opac-ics.pl\"]").attr("href", "/plugin/Koha/Plugin/Pt/KEEPS/OpacIcs/opac-ics.pl");
    }
}

// main page / and opac-main.pl
function RedesignOpacMain(LoadOrReady) {
    if (pathname.match("/opac-main.pl") || pathname == "/") {
        switch (LoadOrReady) {
            case "ready":
                redesignNews();
                break;
            case "load":

                break;
            default:
                break;
        }
    }
}


// main page / and opac-main.pl
function RedesignOpacDetail(LoadOrReady) {
    if (pathname.match("/opac-detail.pl")) {
        switch (LoadOrReady) {
            case "ready":
                // hide course table
                $("#item_coursereserves").hide();
                $("td").has("a[href*='course_id']").hide();
                break;
            case "load":

                break;
            default:
                break;
        }
    }
}


// opac-authorities-home.pl
function RedesignAuthoritiesPage(LoadOrReady) {
    if (pathname.match("/opac-authorities-home.pl")) {
        switch (LoadOrReady) {
            case "ready":
                $('#authtypecode option[value="NP"]').prop('selected', true);
                $('select[name="operator"]').find('option[value="start"]').attr('selected',true);
                //$('select[name="marclist"]').find('option[value="match"]').attr('selected',true);

                break;
            case "load":

                if (lang == "en") {
                    $('#userauthhome #value').attr('placeholder', 'Enter search terms');
                } else {
                    $('#userauthhome #value').attr('placeholder', 'Digite os termos de pesquisa');
                }
                $('#userauthhome #value').addClass('placeholderGray');

                break;
            default:
                break;
        }
    }
}

// opac-tags.pl
function RedesignTagsPage(LoadOrReady) {
    if (pathname.match("/opac-tags.pl")) {
        switch (LoadOrReady) {
            case "ready":

                break;
                case "load":
                    $("#usertags legend").text(function(index, text){
                        return text.replace(/(.*)utilizadore$/, "$1utilizadores");  
                    });
                    
                break;
            default:
                break;
        }
    }
}


// opac-user.pl
function RedesignOpacUserPage(LoadOrReady) {
    if (pathname.match("/opac-user.pl")) {
        switch (LoadOrReady) {
            case "ready":
                $( "<div id=\"k-pressReader\" style=\"margin-top: 10px;\"><a href=\"https:\/\/www.pressreader.com\" referrerpolicy=\"no-referrer-when-downgrade\" target=\"_blank\"> <img src=\"\/opac-tmpl\/bootstrap\/images\/keeps\/\/main\/pressreader_logo.png\" alt=\"Press Reader\"> Acesso ao PressReader <\/a><\/div>" ).insertAfter("#opac-user #opac-user-views");

                // Questionário

                var htmlContent = '<div id="k-satisfaction-survey" style="margin-top: 10px;"><table style="font-size: 100%;"><thead><tr style="background-color: #fff !important;"><td style="background-color: #fff; border-color: #f1f1f1;"><img alt="Questionário" src="https://catalogo.usdb.uminho.pt/opac-tmpl/bootstrap/images/keeps//main/customer-satisfaction.jpg" style="max-width: 191px; margin-right: 10px; border-radius: 7px"></td><td style="background-color: #fff; border-color: #f1f1f1;"><a href="https://forms.office.com/e/ux92w7khk0" target="_blank" rel="noopener noreferrer">Questionário sobre a Qualidade do Atendimento nas Bibliotecas da UMinho</a><br><br><a href="https://forms.office.com/e/bDQ3zSN632" target="_blank" rel="noopener noreferrer">Survey on the Quality of Service at UMinho Libraries</a></td></tr></thead></table></div>';

                // Insert after the element with id #opac-user-views
                $(htmlContent).insertAfter("#opac-user-views");

                $('td.fines, th[aria-label*="Fines:"], th[aria-label*="Multas:"]').css('display', 'none');

                break;
            case "load":

                break;
            default:
                break;
        }
    }
}

// opac-passwd.pl
function RedesignPasswdPage(LoadOrReady) {
    if (pathname.match("/opac-passwd.pl")) {
        switch (LoadOrReady) {
            case "ready":
                var passwd_h3;
                var passwd_p1;
                var passwd_p2;
                if (lang == "en") {
                    passwd_h3 = "<h3>Changing my password (FOR EXTERNAL USERS ONLY)</h3>";
                    passwd_p1 = "<p>If you are <strong>UMINHO MEMBER</strong> you must change your password at <a href=\"https://rstacc.uminho.pt/\" target=\"_blank\">central authentication service (CAS) of the University of Minho</a>.</p>";
                    passwd_p2 = "<p>If you are <strong>EXTERNAL USER</strong>, request a password change using the following form:</p>";

                } else {
                    passwd_h3 = "<h3>Alterar a minha palavra-passe (APENAS PARA UTILIZADORES EXTERNOS)</h3>";
                    passwd_p1 = "<p>Se é <strong>MEMBRO DA UMINHO</strong> deve alterar a sua palavra-passe no <a href=\"https://rstacc.uminho.pt/\" target=\"_blank\">serviço de autenticação central (CAS) da Universidade do Minho</a>.</p>";
                    passwd_p2 = "<p>Se é <strong>UTILIZADOR EXTERNO</strong>, solicite a alteração de palavra-passe através do seguinte formulário:</p>";
                }

                $("#userpasswd > h3").replaceWith(passwd_h3);
                $(passwd_p1).insertAfter("#userpasswd > h3");
                $(passwd_p2).insertAfter("#userpasswd >p");
                break;
            case "load":
                break;
            default:
                break;
        }
    }
}


// ----------------------------------------------FUNCTIONS


function redesignTopMenu() {
    //--- NAVBAR ---//

    if (pathname == "/" || pathname == "/cgi-bin/koha/opac-main.pl" || ($("body#results").size() > 0)) {
        $("li.js-main-menu--opac-main").addClass("active");
    } else if ($("body#advsearch").size() > 0) {
        $("li.js-main-menu--opac-advsearch").addClass("active");

    } else if (pathname == "/cgi-bin/koha/opac-authorities-home.pl") {
        $("li.js-main-menu--opac-authorities").addClass("active");
    } else if (pathname == "/cgi-bin/koha/opac-tags.pl") {
        $("li.js-main-menu--opac-search-tags").addClass("active");
    } else if (pathname == "/cgi-bin/koha/opac-user.pl") {
        //$("#header .loginbar .opac-user").addClass("active");
    }

    // mobile menu
    $(".js-mobile-button").click(function () {

        $(".main-menu").toggleClass("js-main-menu--mobile_active ");
        $(".main-menu__ul").toggleClass("js-main-menu__ul--mobile_active");
        $(".js-mobile-button").toggleClass("js-mobile-button--active");

    });


    $('#cartmenulink').parent().prependTo('.loginbar.pull-right');
    $('#cartDetails').insertBefore('.loginbar.pull-right');
    $('#cartmenulink .caret').remove();
    $('.js-main-menu__ul--cart-text').appendTo('#cartmenulink');

}

function redesignSearchBar_OnReady() {

    var userAgent = window.navigator.userAgent;

    //--- SEARCH ---//
    $("#opac-main-search .mastheadsearch").before('<div class="opac-main-search__title"> <span class="js-text-lang-pt_PT">Pesquisar nas bibliotecas UMinho</span> <span class="js-text-lang-en">Search UMinho libraries</span> </div> <div class="opac-main-search__description"> <span class="js-text-lang-pt_PT">A Biblioteca Pública de Braga, fundada em 1841 e integrada na Universidade do Minho desde 1975, é detentora de um valioso património bibliográfico, que inclui 53 incunábulos e cerca de 400 obras do séc. XVI. Sendo beneficiária do Depósito Legal desde 1931 reúne ainda livrarias particulares e espólios de figuras marcantes da vida local, como Manuel Monteiro, Carrington da Costa, Victor de Sá, Miranda de Andrade, Manuel de Oliveira e Álvaro Carneiro. Actualmente possui mais de 400.000 volumes (monografias) e cerca de 27.000 títulos de publicações periódicas.</span> <span class="js-text-lang-en">The Braga Public Library, founded in 1841 and integrated in the University of Minho since 1975, holds a valuable bibliographic heritage, which includes 53 incunabula and about 400 works of the century. XVI. Benefiting from the Legal Deposit since 1931, it also gathers private bookstores and spoils of outstanding local life figures, such as Manuel Monteiro, Carrington da Costa, Victor de Sá, Miranda de Andrade, Manuel de Oliveira and Álvaro Carneiro. It currently has over 400,000 volumes (monographs) and about 27,000 periodical titles.</span> </div>');
    // $("#opac-main-search .mastheadsearch").after('<div class="opac-main-search__description"> <span class="js-text-lang-pt_PT">Para usufruir dos serviços da Biblioteca, os utilizadores devem requerer o cartão de leitor no Balcão de Atendimento, mediante o preenchimento de uma ficha de inscrição e apresentando uma fotografia tipo passe ou fotocópia a cores. A validade deste cartão corresponde à duração expectável do curso, sendo a emissão da 1ª via gratuita.</span> <span class="js-text-lang-en">In order to benefit from the services of the Library, users must request the reader card at the Service Desk, by filling out an application form and presenting a color pass or photocopy. The validity of this card corresponds to the expected duration of the course, with the issuing of the 1st course free of charge.</span> </div>');

    $('#searchsubmit').remove();
    $('#masthead_search option[value="su"]').remove();

    if (lang == "en") {
        // $('#opac-main-search #translControl1').attr('placeholder', 'Enter search terms');

        //If IE11
        if (userAgent.match(/Trident.*rv\:11\./)) {
            $('#opac-main-search .input-append').append('<button type="submit" class="searchsubmit" class="btn btn-primary">Search<img alt="search_icon" src="/opac-tmpl/bootstrap/images/keeps/main/icon_search.png"/></button>');

        } else {
            $('#opac-main-search .input-append').append('<button type="submit" class="searchsubmit" class="btn btn-primary">Search<img alt="search_icon" src="/opac-tmpl/bootstrap/images/keeps/main/icon_search.svg"/></button>');
        }

        $("#masthead_search").append(new Option("CDU", "cdu"), new Option("ISSN", "ns"), new Option("Barcode", "bc"));


    } else {
        // $('#opac-main-search #translControl1').attr('placeholder', 'Pesquise no nosso catálogo...');
        //If IE11
        if (userAgent.match(/Trident.*rv\:11\./)) {
            $('#opac-main-search .input-append').append('<button type="submit" class="searchsubmit" class="btn btn-primary">Pesquisar<img alt="search_icon" src="/opac-tmpl/bootstrap/images/keeps/main/icon_search.png"/></button>');
        } else {
            $('#opac-main-search .input-append').append('<button type="submit" class="searchsubmit" class="btn btn-primary">Pesquisar<img alt="search_icon" src="/opac-tmpl/bootstrap/images/keeps/main/icon_search.svg"/></button>');
        }

        $("#masthead_search").append(new Option("CDU", "cdu"), new Option("ISSN", "ns"), new Option("Código de barras", "bc"));
    }


    $("#select_library").append($('#select_library optgroup[label="Bibliotecas"], #select_library optgroup[label="Libraries"]').html());
    $('#select_library optgroup[label="Bibliotecas"], #select_library optgroup[label="Libraries"]').remove();
    $('#select_library optgroup[label="Grupos"], #select_library optgroup[label="Groups"]').remove();




    // opac-main search input size
    var inputSize = $("#opac-main-search").width() - 398;
    $("#translControl1").css({
        'width': inputSize
    });
    $(window).resize(function () {
        var inputSize = $("#opac-main-search").width() - 398;
        $("#translControl1").css({
            'width': inputSize
        });
    });
    //END opac-main search input size
}


function redesignSearchBar_OnLoad() {
    if (lang == "en") {
        $('#opac-main-search #translControl1').attr('placeholder', 'Enter search terms');
    }
    $('#opac-main-search #translControl1').addClass('placeholderGray');
}


function redesignNews() {
    //move news
    if (pathname == "/" || pathname == "/cgi-bin/koha/opac-main.pl") {

        $('#news').detach().appendTo('#library-news');
        var newsitems = $('.newsitem');
        for (var i = 0; i < newsitems.length; i++) {
            var newsItem = $(".newsitem")[i];
            $(newsItem).find("h4").after($(newsItem).find("div.newsfooter"))
        }
    }

    // hide news block title if no news
    if ($("#news").length) {
        $("#library-news .main__blocks-title").show();
    } else {
        $("#library-news .main__blocks-title").hide();
    }
}

function setLanguageOnHtml() {
    if (lang == "en") {

        $("#menubar_en").show();
        $("#menubar_pt-PT").hide();

        $('#modalLoginLabel').replaceWith('<h2 id="modalLoginLabel">Log in to your account</h2>');

        // header-contacts change language
        $("li.js-change-language--pt>a").removeClass("active");
        $("li.js-change-language--en>a").addClass("active");

    }
}

function accessibilityFix() {}

function setLibrary() {
    $(".holdrow").each(function() {
        var input = $(this).find("input[class^='checkitem']:checked:first");
        if (input) {
            var library = input.parent().parent().find(".homebranch").text();
            $(this).find('select[name="branch"] option').filter(function() {
                return $(this).text().trim() == library.trim();
            }).attr('selected', true);
            $(this).find('select[name="branch"] option').filter(function() {
                return $(this).text().trim() != library.trim();
            }).attr('selected', false);
        }
    }); 
}

function finesDesign() {
	$( "tbody tr td:nth-child(2)" ).each(function(){
		var text = $(this).text();

		// REMOVE TITLE
		if (text.indexOf("(") != -1) {
			text = text.substring(0, text.indexOf("("))
		}

		// REMOVE OBRIGADO/THANKS
		text = text.replace(", obrigado", "");
		text = text.replace(", thanks", "");

		$(this).text(text);
	});

	// ADD €
	$( "tbody tr td:nth-child(3)" ).append("€");
	$( "tbody tr td:nth-child(4)" ).append("€");
}

function hideReservesForNonAuthenticated() {
	if (!($("#logout").length)) {
		$("#opac-detail .reserve").parent().hide();
		$("#results .hold").hide();
	}
}
        //]]>
    </script>


</body>
</html>


HTTP/1.1 200 OK
Content-Length: 498
Content-Type: application/octet-stream; charset=utf-8
Content-Disposition: attachment; filename="bib-93919.marcstd"
Date: Tue, 02 Jul 2024 10:44:01 GMT
Connection: keep-alive

00498nam0a220016900045000010006000000050017000060100033000231000041000561010008000971020007001052000060001122100049001722150029002216750027002506750027002777000024003049391920200804115641.0  a0-15-529410-5b(Encadernado)  a19941222d1970    k  y0pory5003    ba0 aeng  aUS1 aFundamental statistics for psychologyfRobert B. McCall  aNew YorkcHarcourt, Brace & Worlddcop. 1970  aVIII, 419 p.cil.d24 cm  a159.9:519.22vintzpor  a519.22:159.9vintzeng 1aMacCall,bRobert B.