rem: case 1: r=n; if (n >= 0) image_show(n); break; 
add: case 1: r=n; if (n >= 0 && data_count > 0) image_show(n); break; 
context: function app_getcookie() { var c = getcookie('G2_slider'), i,j,v,n,it=1,r=-2; if (c) {  for (i=0, j = c.indexOf(';', 0); j >= 0; i = j+1, j = c.indexOf(';', i)) {   v = c.substring(i,j);   n = parseInt(v);   switch (it++) {    case 1: if (n==0) thumbs_horizvert(); break;    case 2: ui_select('slide_order', n); slide_setorder(n); break;    case 3: ui_select('slide_delay', n); slide_setdelay(n); break;   }  } } c = getcookie('G2_slider_'+data_name); it=1; if (c) {  for (i=0, j = c.indexOf(';', 0); j >= 0; i = j+1, j = c.indexOf(';', i)) {   v = c.substring(i,j);   n = parseInt(v);   switch (it++) {    case 1: r=n; if (n >= 0) image_show(n); break;   }  } } return r;}
meta: 3727	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3727/e363eab2a79454f693a88c7d3a6b61d1cc572317/slider.js/buggy/gallery2/layouts/slider/templates/slider.js