var PauseRefAging = false;  
var Dragable = true;  //make all DIVs drag'n'drop

var DebugWin = false; // show/hide debugging window
var DebugWin_w = 70;
var DebugWin_h = 20;

var BufferLimit = 101;  //how many sources to remember
var ScreenLimit = 101; //how many sources to show
var ScreenKeywords = 4; //how many keywords to use/show for search 
										// !!!NOT USED YET  -> move config file to *.php 
										//  and then populate config.js from it

var block_keywords = ''; //list of keywords prohibited by user


var cgiPath = '../scripts/';  //path to the cgi-bin folder
var imgPath = 'img/';

var cgifile_get_keywords = 'clusty32.cgi';

var cgifile_get_sources = 'server_uni2.cgi';
//'myPyBibtex.cgi'; //'server_google3.cgi'; //filename of LIST of references retrieval engine
var dls_url = new Array();
var dls_urlstring = new Array();
var dls_keywordPar = new Array();
var dls_oformat = new Array();
var dls_restr = new Array();
var dls_attrs = new Array();
var dls_ifvalue = new Array();
var dls_readystatus = new Array();
var dls_readystatus_allowed = new Array();
var dls_cur = 0;

var num_retrieved_ref = 5; //number of sources uploaded each time

var cgifile_pdf_finder = 'pdffinder2.cgi'; //filename of a pdfURL extractor
var pdf_finder = true;  //use find PDF links
var img_pdf = 'acrobat3.gif';
var imagexx1 = new Image();
imagexx1.src = imgPath + img_pdf;

var cgifile_html_converter  = ''; //filename for PDF2HTML converter
var html_converter = false;  //convert PDF to HTML format
var img_html = 'ie2.gif';
var imagexx1 = new Image();
imagexx1.src = imgPath + img_html;

var home_link = true;  //show URL from DB
var img_home = 'home.gif';
var imagexx1 = new Image();
imagexx1.src = imgPath + img_home ;


var arr1opt = new Array(); // existing usergroup in Refbase
var CiteSavePHPfile ='save_cite.php';
var img_save = 'save.jpg';
var imagexx1 = new Image();
imagexx1.src = imgPath + img_save;
var NumSavedRef= 0;  
var MaxNumSavedRef= 50;  

var rate_request_ref = 35000;
var rate_age_ref = 32000;

var rate_request_keywords = 30000;
var rate_max_keywords = 40000;  //for aging
var rate_base_keywords = 40000; //for aging


var TextEditorName = 0;  //which text editor to use
												// 0 - plain; 1- widg; 2 - RTE;  3 - FCKEditor;   4- 	RTEF
var TextEditor_h = 300;
var TextEditor_w = 400;

var AutoSaveCnt = true;
var AutoSaveTime = 110000; //every 3 minutes
var AutoSavePHPfile = 'save_ctn.php';
var UpdateDocPHPfile = 'update_doctable.php';
var defualtdoc_id = 0;

//FCK variables
var infocus = false; 

//addDebMsg('Read config.js OK!');

