// JavaScript Document
// we dont want a random backgroun t hing going on right now so set this to false and 0
var showRndBG = false; // invokes the show random background image function
var noBG = 0;  // the # of bkgrd.jpg used for this page
var galFilterParams = 'cat=22';
    /* PHPADNEWS code */
// set object of ids for each gallery and the banner to be displayed for that gallery e.g. {galleryid1:bannerid,GAL10188192:13,...etc};
var photo_gallery_banner_ids = {}; // set here
// use this variable to set when calling the PHPADNEWS banner via JS which uses e.g. bannerid:13 instead of e.g. zone:26
var params = Spry.Utils.getLocationParamsAsObject(); // you would usually get gallery parameters from url  
var banner_code = params['id'] && photo_gallery_banner_ids[params['id']]?  'bannerid:' + photo_gallery_banner_ids[params['id']] : 'zone:26'; // set the default zone or bannerid as necessary
/* end PHPADNEWS */