// Button & Menu Options ---------------------------------//

//Time before menus auto-hide
	var menu_pause = 250; 

//Show sub-menus for current section( 0=no, 1=yes)
	var section_subs = 0;

//Auto link buttons to overview pages
	var use_overview_pages = 1;

//Use auto position find for the menus( 0=no, 1=yes)
//Used for relatively positioned/centered layouts
//This option can be turned on for individual layouts by setting it in the <head> tag
	var pos_find = 1;


// Set offsets for the menus
    // x/y offset from top left corner of parent button
    // ( This setting is global for all menus, use the css file for more precise positioning)
    var pos_x = 0; 
    var pos_y = 0;


	// Safari seems to ignore margins on dynamically positioned elements(?)
	var safari_xoffset = 0;
	var safari_yoffset = 0;

// Menu Direction up|center (default is down)
	var menu_dir = "";

// Style Sheet Switcher Options
	//Define stylesheets: "title,href"
	// MUST Have "Default,some/stylesheet.css" defined! 

	var sheets = new Array(
		"default,uploaded/code/small.css",
		"large,uploaded/code/large.css"
	);


// Auto Color link options
// This will automatically color links in the left banner that appear in the page_array
// meaning the pages above the current page will be colorized in the left nav

	var link_color = "#574b4d";
	var bg_color = "#ccc";

//Other button definitions
//"btn_name,menu_name(|menu_direction),section_id,img_src,img_src_on"
var otherBtns = new Array(
	"ql_btn,ql_menu,0,uploaded/images/quick_links_btn.gif,uploaded/images/quick_links_btn.gif"
);


// List other images that need to be pre-loaded
var otherImages = new Array();

//other JS functions to run onLoad
function loadJS(){
	
}

document.onmousedown=disable; //IE
message="Sorry no rightclick on this page.";
function disable(e)
{
if (e == null)
  { //IE disable
  e = window.event;
  if (e.button==2)
    {
    alert(message);
    return false;
    }
  }
document.onclick=ffdisable;  //FF
}
function ffdisable(e)
{
if (e.button==2)
  { //firefox disable
  e.preventDefault();
  e.stopPropagation();
  alert(message);
  return false;
  }
}
