var pics=new Array(Array('/content/galleries/1/m/voeux_cicg_2013.jpg','International Conference Centre Geneva','',''),Array('/content/galleries/1/m/cicg-ch.jpg','International Conference Centre Geneva','Your congress, seminar or exhibition can be hosted with optimum convenience and comfort in two distinctive conference centres. The CICG and CCV provide rooms with seating from 20 to 2200 places. They are ideally located just off the Place des nations (UN) and within easy reach of the principal international organizations and diplomatic representations in Geneva',''),Array('/content/galleries/1/m/panorama_petite_salle.jpg','Discover the CICG
at 360°','','en/360')); var fadeOut=100; // fade-out time var fadeIn=250; // fade-in time var showTime=3500; // picture display time preLoadImages(pics); //init(); // --------------------------------------------------------------------------------------------------------------- var photos_pos=0; var photos_prevpos=0; function preLoadImages(picsArray) { totimg=0; imgloaded=0; $('#pic_loading').show(); $('#pics').hide(); for (i=0;i=totimg)$('#pic_loading').hide();}); } } function init() { //interval=setInterval ( "picNext()", showTime ); if (pics.length>0) { //setInterval ( "picRnd()", showTime ); // display random pic picShow(); if (pics.length>1) $('#navigator').show(); } } function picShow() { if (!photos_pos) photos_pos=0; $('#nav_pos').html(photos_pos+1); $('#nav_pic').animate({opacity:0.5}, fadeOut, function() { //filename=pics[photos_pos][0]; //extension=filename.substring(filename.lastIndexOf('.')+1,filename.length); $('#nav_tot').html(pics.length); $('#nav_pic').empty(); imgsrc=''; if (pics[photos_pos][3]>'') imgsrc+=''; imgsrc+=''; if (pics[photos_pos][3]>'') imgsrc+=''; $('#nav_pic').append(imgsrc); $('#nav_pic').animate({opacity:1.0}, fadeIn); $('#pic-title').html(pics[photos_pos][1]); $('#pic-legend').html(pics[photos_pos][2]); }); } function picPlay() { picNext(); interval=setInterval ( "picNext()", showTime ); } function picPrev(stopauto) { if (stopauto) clearInterval(interval); if (photos_pos>0) { photos_pos--; /*if (photos_pos>0) { $('#button-prev').css('visibility','visible'); } else { $('#button-prev').css('visibility','hidden') } if (photos_pos0) { $('#button-prev').css('visibility','visible'); } else { $('#button-prev').css('visibility','hidden') } if (photos_pos