// Configuration of site- and language-specific variables
var Config=function(){
var css={};var dht={};var fst={};var tbl={};var usr={};var wwg={};var xhr={};
// site variables
css.error='error';
css.invalid='invalid';
css.msgtime=6000;
dht.closebtn='http://www137.pair.com/ingridn/common/close.gif';
tbl.status='status';
usr.script='user.php';
usr.statdivid='status';
usr.continstr='Please complete this on-line form, click "Send" and we will contact you as soon as possible. Alternatively, please ring us on +44 (0)1797 252030.';
wwg.imgdir='http://www137.pair.com/ingridn/common/wpg/';
// language variables
fst.flderr='Some fields incorrectly completed.\nMouse over fields to see errors!';
fst.nochoice='(none)';
fst.nbmandatory='Mandatory field cannot be empty';
fst.nbminlength='Field minimum length (characters): ';
fst.nbmaxlength='Field maximum length (characters): ';
fst.nbminimum='Value must be at least ';
fst.nbmaximum='Value cannot be more than ';
fst.nbinvalid='Invalid value';
fst.nbintegers='Invalid characters: integer numbers only';
fst.nbnumbers='Invalid characters: numbers only';
fst.nbrecids='Invalid characters: positive integers only';
fst.nbletters='Invalid characters: letters only';
fst.nbletspace='Invalid characters: letters and space only';
fst.nbletdigspace='Invalid characters: letters, digits and space only';
fst.nbaddress='Invalid characters: address characters only';
fst.nbnotags='HTML tags not permitted';
fst.nbphone='Invalid characters: telephone numbers only';
fst.nbemail='Invalid e-mail address';
fst.nbdate='Invalid characters: date only';
fst.nbdatetime='Invalid characters: date and time only';
fst.nbhhmm='Invalid characters: hh:mm only';
fst.nbstrpwd='Password must have at least one lowercase and one uppercase letter, and one digit, and must have at least 6 characters';
fst.nbnoattr='HTML attributes not permitted';
tbl.add='Add';
tbl.conf='Are you sure?';
tbl.dele='Delete';
tbl.edit='Edit';
tbl.got='Go to ';
tbl.fst='first ';
tbl.pre='previous ';
tbl.nxt='next ';
tbl.lst='last ';
tbl.ente0='Enter a ';
tbl.ente1=' number and click here';
tbl.nomo0='No more ';
tbl.nomo1='s';
tbl.newrec='New record';
tbl.norecs='No records found';
tbl.page0='Page ';
tbl.page1=' of ';
tbl.page2='page';
tbl.record='record';
tbl.retr='Retrieving data...';
tbl.search0='Searched ';
tbl.search1=' for ';
tbl.srch='Search';
tbl.srcf0='Search for ';
tbl.srcf1=' in ';
tbl.upd='Updating database...';
tbl.upda='Update';
tbl.view='View all';
usr.login_t='Log in';
usr.username='Username';
usr.usern2='User name (for log in)';
usr.password='Password';
usr.enter='Enter';
usr.cancel='Cancel';
usr.forget='Forgotten your password?';
usr.forgot='Forgotten password';
usr.chpwd='Change password';
usr.regis='Register';
usr.pwdinstr='Please enter your e-mail address and your current password, as well as your new password (twice)';
usr.curpwd='Current password';
usr.newpwd='New password';
usr.cnfpwd='Confirm new password';
usr.pwdchg='Your password has been changed and you are now logged in.';
usr.fgtinstr='Please enter the e-mail address under which you registered';
usr.email='E-mail';
usr.fgtmsg="Your password has been reset.\nAn e-mail with your new password has been sent to\n";
usr.reginstr='This creates an account which you can use to log in to this site in the future.';
usr.pname='Your full name';
usr.org='Organisation';
usr.postad='Postal address';
usr.tel='Telephone';
usr.optin='Opt in';
usr.message='Your message';
usr.regmsg='Registration successful. You have now been logged in. Welcome!';
usr.contfm='Contact form';
usr.send='Send';
usr.contmsg='Thank you - we will contact you as soon as possible.';
wwg.viewed='View editor';
wwg.viewht='View HTML';
wwg.enturl='Enter the URL of the link';
wwg.entimg='Enter the URL of the image';
xhr.noxhr='Your browser does not appear to support AJAX requests and is therefore not compatible with this application. Sorry!';
xhr.notset='XHR object not yet set';
xhr.noconn='Error: you may not be connected to the Internet';
xhr.e403='403 - access denied';
xhr.e404='404 - this script does not exist: ';
xhr.gen='Error: status code is ';
 return{css:css,dht:dht,fst:fst,tbl:tbl,usr:usr,wwg:wwg,xhr:xhr};
}();

