    var width1 = window.outerWidth;
    var width2 = window.screen.width;
    if (width1 < width2 && width1 > 0) {
      var screen_width = width1;
    } else {
      var screen_width = width2;
    }  
    if (screen_width < 1680) { 
      var slider_width = 1920;
	} else {
	  var slider_width = 0;
	}
	
    var tpj=jQuery;
    tpj.noConflict();								
    var revapi1;				

    tpj(document).ready(function() {
				
      if (tpj.fn.cssOriginal != undefined) tpj.fn.css = tpj.fn.cssOriginal;
				
      if (tpj('#rev_slider_1_2').revolution == undefined)
	    revslider_showDoubleJqueryError('#rev_slider_1_2');
      else
	    revapi1 = tpj('#rev_slider_1_2').show().revolution(
      {
      delay:6000,
      startwidth:slider_width,
      startheight:500,
      hideThumbs:200,
						
      thumbWidth:100,
      thumbHeight:50,
      thumbAmount:5,
						
      navigationType:"none",     // use none, bullet or thumb
      navigationArrows:"solo",   // nexttobullets, solo (old name verticalcentered), none
      navigationStyle:"round",   // round, square, navbar, round-old, square-old, navbar-old 
						
      touchenabled:"on",
      onHoverStop:"on",
						
      navigationHAlign:"center",   // left,center,right
      navigationVAlign:"bottom",   // top,center,bottom
      navigationHOffset:0,         // offset position from aligned position
      navigationVOffset:-23,       // this setting controls vertical offset (from bottom of slider) of navigation buttons

      soloArrowLeftHalign:"left",    // left,center,right
      soloArrowLeftValign:"center",  // top,center,bottom
      soloArrowLeftHOffset:0,       // offset position from aligned position
      soloArrowLeftVOffset:0,        // offset position from aligned position  

      soloArrowRightHalign:"right",  // left,center,right
      soloArrowRightValign:"center", // top,center,bottom
      soloArrowRightHOffset:0,      // offset position from aligned position
      soloArrowRightVOffset:0,       // offset position from aligned position */
								
      shadow:0,
      fullWidth:"on",
      fullScreen:"off",
     /* sliderLayout:"fullwidth", */	  
	  autoHeight:"on",

      stopLoop:"off",
      stopAfterLoops:-1,
      stopAtSlide:-1,

      shuffle:"off",
						
      hideSliderAtLimit:0,
      hideCaptionAtLimit:0,
      hideAllCaptionAtLilmit:0,
      startWithSlide:0,
      videoJsPath:"",
      fullScreenOffsetContainer: ""	
    });
				
  });	//ready