text: jQuery(document).ready(function(){
      var scripts = document.getElementsByTagName("script");
      var jsFolder = "";
      for (var i= 0; i< scripts.length; i++)
      {
          if( scripts[i].src && scripts[i].src.match(/initslider-1\.js/i))
              jsFolder = scripts[i].src.substr(0, scripts[i].src.lastIndexOf("/") + 1);
      }
      jQuery("#amazingslider-1").amazingslider({
          sliderid:1,
          jsfolder:jsFolder,
          width:1400,
          height:500,
          skinsfoldername:"",
          loadimageondemand:false,
          videohidecontrols:false,
          fullwidth:false,
          donotresize:false,
          enabletouchswipe:true,
          fullscreen:false,
          autoplayvideo:false,
          addmargin:true,
          transitiononfirstslide:false,
          forceflash:false,
          isresponsive:true,
          forceflashonie11:true,
          forceflashonie10:true,
          pauseonmouseover:false,
          playvideoonclickthumb:true,
          slideinterval:5000,
          randomplay:false,
          scalemode:"fill",
          loop:0,
          autoplay:true,
          navplayvideoimage:"play-32-32-0.png",
          navpreviewheight:60,
          timerheight:2,
          descriptioncssresponsive:"font-size:12px;",
          shownumbering:false,
          navthumbresponsivemode:"samesize",
          skin:"Classic",
          //textautohide:true,
          lightboxshowtwitter:true,
          shadowsize:5,
          addgooglefonts:false,
          navshowplaypause:true,
          initsocial:false,
          navshowplayvideo:true,
          buttoncss:"display:block; position:relative; margin-top:8px;",
          navshowplaypausestandalonemarginy:8,
          navbuttonradius:0,
          navthumbcolumn:5,
          navpreviewposition:"top",
          navmarginy:16,
          showtwitter:true,
          lightboxshownavigation:false,
          showshadow:false,
          navfeaturedarrowimagewidth:16,
          lightboxshowpinterest:true,
          navpreviewwidth:120,
          googlefonts:"",
          textpositionmarginright:24,
          bordercolor:"#ffffff",
          lightboxdescriptionbottomcss:"{color:#333; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;}",
          lightboxthumbwidth:80,
          navthumbnavigationarrowimagewidth:32,
          navthumbtitlehovercss:"text-decoration:underline;",
          navthumbmediumheight:64,
          texteffectresponsivesize:600,
          arrowwidth:32,
          texteffecteasing:"easeOutCubic",
          texteffect:"slide",
          lightboxthumbheight:60,
          navspacing:8,
          playvideoimage:"playvideo-64-64-0.png",
          ribbonimage:"ribbon_topleft-0.png",
          navwidth:24,
          navheight:24,
          arrowimage:"arrows-32-32-0.png",
          timeropacity:0.6,
          arrowhideonmouseleave:1000,
          navthumbnavigationarrowimage:"carouselarrows-32-32-0.png",
          navshowplaypausestandalone:false,
          texteffect1:"slide",
          navpreviewbordercolor:"#ffffff",
          texteffect2:"slide",
          ribbonposition:"topleft",
          navthumbdescriptioncss:"display:block;position:relative;padding:2px 4px;text-align:left;font:normal 12px Arial,Helvetica,sans-serif;color:#333;",
          lightboxtitlebottomcss:"{color:#333; font-size:14px; font-family:Armata,sans-serif,Arial; overflow:hidden; text-align:left;}",
          arrowstyle:"mouseover",
          navthumbmediumsize:800,
          navthumbtitleheight:20,
          textpositionmargintop:24,
          buttoncssresponsive:"",
          navswitchonmouseover:false,
          navarrowimage:"navarrows-28-28-0.png",
          navthumbsmallcolumn:3,
          arrowtop:50,
          textstyle:"static",
          playvideoimageheight:64,
          navfonthighlightcolor:"#666666",
          showbackgroundimage:false,
          showpinterest:true,
          customcss:"",
          navopacity:0.8,
          shadowcolor:"#aaaaaa",
          navbuttonshowbgimage:true,
          navbuttonbgimage:"navbuttonbgimage-28-28-0.png",
          textbgcss:"display:block; position:absolute; top:0px; left:0px; width:100%; height:100%; background-color:#333333; opacity:0.6; filter:alpha(opacity=60);",
          navpreviewarrowwidth:16,
          navdirection:"horizontal",
          navshowplaypausestandalonemarginx:8,
          navshowpreviewontouch:false,
          bottomshadowimagewidth:96,
          showtimer:true,
          navradius:0,
          navmultirows:false,
          navshowpreview:true,
          navpreviewarrowheight:8,
          navmarginx:16,
          navfeaturedarrowimage:"featuredarrow-16-8-0.png",
          texteffectslidedirection1:"right",
          showribbon:false,
          navthumbnavigationarrowimageheight:32,
          navstyle:"bullets",
          textpositionmarginleft:24,
          descriptioncss:"display:block; position:relative; font:12px \"Lucida Sans Unicode\",\"Lucida Grande\",sans-serif,Arial; color:#fff; margin-top:8px;",
          navplaypauseimage:"navplaypause-28-28-0.png",
          backgroundimagetop:-10,
          timercolor:"#ffffff",
          numberingformat:"%NUM/%TOTAL ",
          navthumbmediumwidth:64,
          navfontsize:12,
          navhighlightcolor:"#333333",
          texteffectdelay1:1000,
          navimage:"bullet-24-24-0.png",
          texteffectdelay2:1500,
          texteffectduration1:600,
          navshowplaypausestandaloneautohide:false,
          texteffectduration2:600,
          navbuttoncolor:"#999999",
          playvideoimagewidth:64,
          texteffectslidedirection:"left",
          navshowfeaturedarrow:false,
          lightboxbarheight:64,
          showfacebook:true,
          titlecss:"display:block; position:relative; font:bold 14px \"Lucida Sans Unicode\",\"Lucida Grande\",sans-serif,Arial; color:#fff;",
          texteffectresponsive:true,
          navthumbsmallheight:48,
          texteffectslidedistance1:120,
          texteffectslidedistance2:120,
          navrowspacing:8,
          navshowplaypausestandaloneposition:"bottomright",
          lightboxshowsocial:false,
          lightboxthumbtopmargin:12,
          titlecssresponsive:"font-size:12px;",
          navshowplaypausestandalonewidth:28,
          showsocial:false,
          navthumbresponsive:false,
          navfeaturedarrowimageheight:8,
          navshowplaypausestandaloneheight:28,
          navborderhighlightcolor:"",
          backgroundimagewidth:120,
          navcolor:"#999999",
          border:0,
          navthumbtitlewidth:120,
          navpreviewborder:4,
          lightboxthumbbottommargin:8,
          texteffectseparate:false,
          arrowheight:32,
          navshowarrow:true,
          arrowmargin:8,
          texteffectduration:600,
          bottomshadowimage:"bottomshadow-110-95-0.png",
          lightboxshowfacebook:true,
          lightboxshowdescription:false,
          timerposition:"bottom",
          navfontcolor:"#333333",
          navthumbnavigationstyle:"arrow",
          borderradius:0,
          navbuttonhighlightcolor:"#333333",
          textpositionstatic:"bottom",
          texteffecteasing2:"easeOutCubic",
          navthumbstyle:"imageonly",
          texteffecteasing1:"easeOutCubic",
          textcss:"display:block; padding:12px; text-align:left;",
          navthumbsmallwidth:48,
          navbordercolor:"#ffffff",
          navthumbmediumcolumn:4,
          navpreviewarrowimage:"previewarrow-16-8-0.png",
          showbottomshadow:true,
          texteffectslidedistance:30,
          texteffectdelay:500,
          textpositionmarginstatic:0,
          backgroundimage:"",
          navposition:"bottom",
          navthumbsmallsize:480,
          navborder:4,
          textformat:"Bottom bar",
          texteffectslidedirection2:"right",
          bottomshadowimagetop:95,
          textpositiondynamic:"bottomleft",
          navshowbuttons:false,
          navthumbtitlecss:"display:block;position:relative;padding:2px 4px;text-align:left;font:bold 14px Arial,Helvetica,sans-serif;color:#333;",
          textpositionmarginbottom:24,
          ribbonmarginy:0,
          ribbonmarginx:0,
          lightboxshowtitle:true,
          socialmode:"mouseover",
          slice: {
              duration:5000,
              easing:"easeOutCubic",
              checked:true,
              effects:"up,down,updown",
              slicecount:10
          },
          transition:"sliDE",
          scalemode:"fill",
          isfullscreen:false,
          textformat: {
  
          }
      });
  });