// 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;

//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){createStories();}

        //Ticket - 8312229 - call label swap function for checkout page
             var checkout_url = 'https://www.isbasel.ch/checkout.cfm';
             if(location.href == checkout_url) {checkout_label_swap();}
}

//swap label for payment method
function checkout_label_swap () {
       var divs=document.getElementsByTagName('div'),
            div_count = divs.length,
            i=0;

       for (i; i < div_count; i++){
              if(divs[i].className.indexOf('checkoutContactLabel') > -1) {
                       divs[i].innerHTML = '<b>Cash Payment upon Pick-up</b>';
              }
       }
}