// 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 = 1;

//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){
doha_n=4;
doha_t = 2; //swap to the second set the first time
doha_imgs = document.getElementById('text1').getElementsByTagName('img');

doha_swap = setInterval('dohaPhotos()',3000);

fsNewsSlider ("#text2",".newspostitemsep",4000);

}

}

function dohaPhotos(){
	if(doha_t > doha_n ){ doha_t = 1; }
	for(i=0;i<doha_imgs.length;i++){
		doha_imgs[i].src = doha_imgs[i].src.replace(/\d\.jpg/,doha_t+'.jpg');
	}
	doha_t++;
}