var gallery;
    
var count_img = $("#gallery").find('img').length;

var bool = count_img > 1 ? true : false;

gallery = $("#gallery").unitegallery({
    
    theme_enable_text_panel: true,
    gallery_autoplay: false,
    slider_enable_play_button: bool,
	slider_enable_arrows: bool,
	theme_enable_play_button: false,
	slider_control_zoom:false,
	slider_enable_zoom_panel: false,
    slider_scale_mode: "down",//resize
    theme_enable_hidepanel_button: true,
    
    
    /*gallery_autoplay: bool,
    slider_enable_zoom_panel: false,
    slider_control_zoom: false,
    slider_loader_type: 7,
    slider_enable_text_panel:true,
    strippanel_enable_handle:false,
    slider_textpanel_padding_top:0,				
	slider_textpanel_padding_bottom:0,
	slider_enable_play_button: bool,
	slider_enable_arrows: bool,*/
	
});