/* This file contains all the modifiable data */

/* Murrayfield: Simple SRU Client
Copyright (C) 2006-2007  Intrallect Ltd
Version: 1.0
Author: Steven Shand

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ 

/* This is an array of target repositories
currently I've only really tested it with
the bagel build of IntraLibrary */

var urls = new Array();
urls[0] = "http://www.macs.hw.ac.uk/cgi-bin/cgiwrap/philb/sru/sruecho.pl";
/*
urls[1] = "http://bodach.ucs.ed.ac.uk:8041/intradev/IntraLibrary-SRU";
urls[1] = "http://z3950.loc.gov:7090/voyager";
urls[2] = "http://mylibrary.ockham.org/sru-server.cgi";
urls[3] = "http://srw.cheshire3.org/services/l5r";
urls[4] = "http://srw.cheshire3.org/services/spy";
urls[5] = "http://srw.cheshire3.org/services/syrinnia";
urls[6] = "http://www.indexdata.dk:9000/voyager";
urls[7] = "http://gita.grainger.uiuc.edu/registry/sru/sru.asp";
urls[8] = "http://alcme.oclc.org/srw/search/GSAFD";
urls[9] = "http://ibridge.library.utoronto.ca:2200/unicorn";
*/

/* These are the fields that can appear in the
drop down to restrict the search. As well as 
the search fields listed below, the field 'All Fields'
will also appear in the drop down. These fields are
dublin core fields and the following fields could be used:
dc.title		title of the resource
dc.decription		description of the resource
dc.language		language of the resource (general.language in IMS)
dc.creator		creator of the resource (lifecycle.ontribute.centity in IMS where lifecycle.contribute.role='Creator')
dc.publisher		publisher of the resource (lifecycle.ontribute.centity in IMS where lifecycle.contribute.role='Publisher')
dc.format		technical format of the resource
dc.identifier		equivalent of both general.indentifier and technical.location in IMS
dc.type			The kind of resource it is e.g. diagram, simulation - restricted vocabulary (IMS education.learningresourcetype)
dc.rights		Copyright statement
dc.subject		Classification of the object.
*/
var searchFields = new Array();
/*
searchFields[0] = "dc.title";
searchFields[1] = "dc.description";	
searchFields[2] = "dc.language";
searchFields[3] = "dc.creator";	
searchFields[4] = "dc.publisher";
searchFields[5] = "dc.format";	
searchFields[6] = "dc.identifier";
searchFields[7] = "dc.type";	
searchFields[8] = "dc.rights";
searchFields[9] = "dc.subject";	
*/

/* This is the location of an XSL stylesheet that you want
to apply to the XML results of the search.
For most browsers it needs to be on the same server that the results
are coming from. Note that it can be a local file if you're using Safari 
but don't let that fool you into thinking it's working!   	
*/
var stylesheet = "http://www.icbl.hw.ac.uk/~philb/SRUSearch/style/searchretrieve.xsl";


/* If this is set to true and there is only one repository
specified in the array above then the drop down will not show
and the repository search will default to the single entry in
the array. If there are multiple entriess in the above array,
changing this value will have no effect.*/
var hideRepositories = true;

/* If this is set to true and there are no search fields
defined above, then no drop down will show and the submitted
search will be for 'All Fields' */
var hideSearchFields = true;

/* This value restricts the number of search results returned */
var maximumRecords = 10;

