loadinggif: 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiriZVN53SheI-FXrB4nXNWDTFMgfTpfOYbV0aUL-quuLo4kmk3C741223XyOUHvfhwtGw5mOdgvK4dgC3NheBzJB8MclQAMDtiZiCp67zbxNntiEWWh9bORWk7mnQ4j5aytpVnXPbEQRU/s400/ajaxload.gif', //full path or URL to loading gif image
setting.curimage=setting.curimage || 0 //account for curimage being null if cookie is empty
setting.preloadfirst=(!jQuery.Deferred)? false : (typeof setting.preloadfirst!="undefined")? setting.preloadfirst : true //Boolean on whether to preload all images before showing gallery
setting.ispaused=!setting.autoplay[0] //ispaused reflects current state of gallery, autoplay[0] indicates whether gallery is set to auto play
setting.currentstep=0 //keep track of # of slides slideshow has gone through
setting.totalsteps=setting.imagearray.length*setting.autoplay[2] //Total steps limit: # of images x # of user specified cycles
setting.fglayer=0, setting.bglayer=1 //index of active and background layer (switches after each change of slide)
setting.oninit=setting.oninit || function(){}
setting.onslide=setting.onslide || function(){}
var preloadimages=[], longestdesc=null, loadedimages=0
var dfd = (setting.preloadfirst)? jQuery.Deferred() : {resolve:function(){}, done:function(f){f()}} //create real deferred object unless preloadfirst setting is false or browser doesn't support it
setting.longestdesc="" //get longest description of all slides. If no desciptions defined, variable contains ""
setting.$loadinggif=(function(){ //preload and ref ajax loading gif
return setting.$descpanel.find('div.gallerydesctext').get(0) //return gallery description DIV as a DOM object
},
getCookie:function(Name){
var re=new RegExp(Name+"=[^;]+", "i"); //construct RE to search for target name/value pair
if (document.cookie.match(re)) //if cookie found
return document.cookie.match(re)[0].split("=")[1] //return its value
return null
},
setCookie:function(name, value){
document.cookie = name+"=" + value + ";path=/"
}
}
var mygallery=new simpleGallery({
wrapperid: "simplegallery1", //ID of main gallery container,
dimensions: [800, 800], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
imagearray: [
["https://scontent-a-iad.xx.fbcdn.net/hphotos-xaf1/t1.0-9/10616297_10204763377029176_1075273979244088517_n.jpg", "#", "_new", "CASA DE LA CULTURA FACATATIVA"],
["https://scontent-b-iad.xx.fbcdn.net/hphotos-xfp1/t1.0-9/10410505_10204763347028426_173874653034931118_n.jpg, "#", "_new", "CATEDRAL DE SAL ZIPAQUIRA "],
["PONER EL LINK DE LA IMAGEN 3","#", "_new", "LA DESCRIPCION "],
["PONER EL LINK DE LA IMAGEN 4", "#", "_new", "LA DESCRIPCION "],
["PONER EL LINK DE LA IMAGEN 5", "#", "_new", "LA DESCRIPCION "]