function Get_var(var_name,param)
{
// Stores a load of variables used in various places for easy maintenance.
if(var_name=='scifi_menu_width') {var output=2;}			//Width (in cells) of scifi left-hand menu.
if(var_name=='scifi_menu_item'||var_name=='scifi_menu_height')		//Items in scifi menu.
  {
  cellurls=new Array('null',"O&C","Courier","WFF","Texrak","lifeboat","snot","null","influences");
  if(var_name=='scifi_menu_item'){output=cellurls[param];}
  if(var_name=='scifi_menu_height'){output=cellurls.length;}
  }
if(var_name=='sci_fi_quote_count') {var output=43;}			//number of quotes for the quote-o-matic.

if(var_name=='chapter_count') 						//number of chapters in story specified in param.
{
var output=0;
if(param=='O&C'){output=34;}							//chapters in O&C
}

if(var_name=='word_count') {var output="50000";}				//number of words in O&C.

if(var_name=='base_url') {var output="http://www.dogscoff.co.uk/fiction/";}		//The base folder or url where all the files reside.

return output;

}