// Button & Menu Options ---------------------------------//

// Use animation menus
// Requires scriptaculous
	var anim_menus = 1;

//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 different image for Selected state ( 0=no, 1=yes)
var use_select_btn = 0;

//Other button definitions
//"btn_name,menu_name(|menu_direction),section_id,img_src,img_src_on"
//Ex. "ql_btn,ql_menu,0,uploaded/images/ql_btn.gif,uploaded/images/ql_btn.gif"
var otherBtns = new Array( );

// List other images that need to be pre-loaded
var otherImages = new Array();

//other JS functions to run onLoad
function loadJS(){
	if(pageid!=1){
		//duplicate the photo
		$j('.photostrip .bannermodcontent img').clone().insertAfter('.photostrip .bannermodcontent img');
		//start Animation
		setInterval('movePhoto()',32);
	}	
}

function movePhoto(){
	//get the width of the photo strip
	var w = Number($j('.photostrip .bannermodcontent img').css('width').replace(/[^0-9]/g,''));
	var l = Number($j('.photostrip .bannermodcontent').css('left').replace(/[^0-9-]/g,'')) - 1;
	if(l < -w){ l=0; }
	$j('.photostrip .bannermodcontent').css('left',l+'px');
}
