  

 			        var tpj=jQuery;			
				    var revapi41;                                                    
                    var div_name;                  

					tpj(document).ready(function() {
                      
                      function create_slideshow(kk) {

                        div_name = "#rev_slider_4_1_" + kk; 
                        
						if(tpj(div_name).revolution == undefined){
							revslider_showDoubleJqueryError(div_name);
						}else{
							revapi41 = tpj(div_name).show().revolution({
								sliderType:"standard",
								jsFileLocation:"Scripts/",
								sliderLayout:"auto",
								dottedOverlay:"none",
								delay:5000,
								navigation: {
									keyboardNavigation:"off",
									keyboard_direction: "horizontal",
									mouseScrollNavigation:"off",
									onHoverStop:"off",
									touch:{
										touchenabled:"on",
										swipe_threshold: 75,
										swipe_min_touches: 1,
										swipe_direction: "horizontal",
										drag_block_vertical: false
									}
									,
									arrows: {
										style:"zeus",
										enable:false,
										hide_onmobile:true,
										hide_under:600,
										hide_onleave:true,
										hide_delay:200,
										hide_delay_mobile:1200,
										tmp:'<div class="tp-title-wrap">  	<div class="tp-arr-imgholder"></div> </div>',
										left: {
											h_align:"left",
											v_align:"center",
											h_offset:30,
											v_offset:0
										},
										right: {
											h_align:"right",
											v_align:"center",
											h_offset:30,
											v_offset:0
										}
									}
									,
									bullets: {
										enable:true,
										hide_onmobile:true,
										hide_under:600,
										style:"hephaistos",
										hide_onleave:true,
										hide_delay:200,
										hide_delay_mobile:1200,
										direction:"horizontal",
										h_align:"center",
										v_align:"bottom",
										h_offset:0,
										v_offset:-30,
										space:20
									}
								},
								viewPort: {
									enable:true,
									outof:"pause",
									visible_area:"80%"
								},
								responsiveLevels:[1240,1024,778,480],
								gridwidth:[1240,1024,778,480],
								gridheight:[810,810,500,400],
								lazyType:"none",
								parallax: {
									type:"mouse",
									origo:"slidercenter",
									speed:2000,
									levels:[2,3,4,5,6,7,12,16,10,50],
								},
								shadow:0,
								spinner:"off",
								stopLoop:"off",
								stopAfterLoops:-1,
								stopAtSlide:-1,
								shuffle:"off",
								autoHeight:"off",
								hideThumbsOnMobile:"off",
								hideSliderAtLimit:0,
								hideCaptionAtLimit:0,
								hideAllCaptionAtLilmit:0,
								debugMode:false,
								fallbacks: {
									simplifyAll:"off",
									nextSlideOnWindowFocus:"off",
									disableFocusListener:false,
								}
							});
						}
                      }
                      
                      var kk;             
                                                       
                      for (kk = 1; kk <= num_slideshows; kk++) {
                        create_slideshow(kk);
                      }                        
                             
					});
              
setTimeout(function(){
document.getElementById('slider_wrapper_outer').style.height = 'auto';}, 2000);
setTimeout();
                     
