// Button & Menu Options ---------------------------------//

//Time before menus auto-hide
	var menu_pause = 250; 

// Use animation menus
// Requires scriptaculous
	var anim_menus = 0;

// speed of animated menus
	var menu_speed = .25;

//Auto link buttons to overview pages
	var use_overview_pages = 0;

//Show sub-menus for current section( 0=no, 1=yes)
	var section_subs = 0;

//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"
	);


//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/ql_btn.gif,uploaded/images/ql_btn.gif"
);


// List other images that need to be pre-loaded
var otherImages = new Array();

//other JS functions to run onLoad
function loadJS(){
	//if(pageid==1){createStories();}
	/* if(pageid==174){
		clearATags();
		}
		*/
}

// JdH: Aug-2010 Code to remove hyperlinks from Student Academic Classes element on Parent Portal page
var clearATagsCounter = 0;

function clearATags(){
	var x = $j('#e_567').find('a');
	if(x.length){
		$j('#e_567').find('a').contents().unwrap();
		//$j('#group_menu_div').find('a').contents().unwrap();
	}else{
		clearATagsCounter = clearATagsCounter + 1;
		if (clearATagsCounter <= 3){
			setTimeout("clearATags()", 500);
		}
	} 
}
