text: /*!
   * Start Bootstrap - Agnecy Bootstrap Theme (http://startbootstrap.com)
   * Code licensed under the Apache License v2.0.
   * For details, see http://www.apache.org/licenses/LICENSE-2.0.
   */
  
  // jQuery for page scrolling feature - requires jQuery Easing plugin
  $(function() {
      $('a.page-scroll').bind('click', function(event) {
          var $anchor = $(this);
          $('html, body').stop().animate({
              scrollTop: $($anchor.attr('href')).offset().top
          }, 1500, 'easeInOutExpo');
          event.preventDefault();
      });
  });
  
  // Highlight the top nav as scrolling occurs
  $('body').scrollspy({
      target: '.navbar-fixed-top'
  })
  
  // Closes the Responsive Menu on Menu Item Click
  $('.navbar-collapse ul li a').click(function() {
      $('.navbar-toggle:visible').click();
  });
  
  
  //Header - Hides and Shows orange bar
  function hide_orangebar() {
  	document.getElementById('orange-top').style.visibility="hidden";
  }
  function show_orangebar() {
  	document.getElementById('orange-top').style.visibility="visible";
  }
  
  //Profile - image fader
  $(function(){
      // Hide all images except the first within your "fade In" <div>
      $('.fadein img:gt(0)').hide();
      // Set an interval to occur every 3 seconds (3000ms)
      setInterval(function(){
        // Fade out the first element and fade in the next and then move the elements
        $('.fadein :first-child').fadeOut()
           .next('img').fadeIn()
           .end().appendTo('.fadein');}, 
        3500);
  });
  
  
  //Resume - Toggles between different resume views
  $(function() {
      $("[name=toggler]").click(function(){
              $('.resume-experience').hide();
              $("#resume-left-"+$(this).val()).fadeToggle();
      });
   });
  
  //Process - Pie chart RESEARCH
  var pieDataResearch = [
      {
          value: 65,
          color:"#F7464A",
          highlight: "#FF5A5E",
          label: "Inspiration"
      },
      {
          value: 35,
          color: "#46BFBD",
          highlight: "#5AD3D1",
          label: "Ideation"
      },
      {
          value: 0,
          color: "#FDB45C",
          highlight: "#FFC870",
          label: "Implementation"
      }
  ]
  
  //Process - Pie chart CONCEPTS
  var pieDataConcepts = [
      {
          value: 40,
          color:"#F7464A",
          highlight: "#FF5A5E",
          label: "Inspiration"
      },
      {
          value: 50,
          color: "#46BFBD",
          highlight: "#5AD3D1",
          label: "Ideation"
      },
      {
          value: 10,
          color: "#FDB45C",
          highlight: "#FFC870",
          label: "Implementation"
      }
  ]
  
  //Process - Pie chart REVISE
  var pieDataRevise = [
      {
          value: 25,
          color:"#F7464A",
          highlight: "#FF5A5E",
          label: "Inspiration"
      },
      {
          value: 25,
          color: "#46BFBD",
          highlight: "#5AD3D1",
          label: "Ideation"
      },
      {
          value: 50,
          color: "#FDB45C",
          highlight: "#FFC870",
          label: "Implementation"
      }
  ]
  
  
  //Process - Pie chart DESIGN
  var pieDataDesign = [
      {
          value: 10,
          color:"#F7464A",
          highlight: "#FF5A5E",
          label: "Inspiration"
      },
      {
          value: 10,
          color: "#46BFBD",
          highlight: "#5AD3D1",
          label: "Ideation"
      },
      {
          value: 80,
          color: "#FDB45C",
          highlight: "#FFC870",
          label: "Implementation"
      }
  ]
  
  
  $(document).ready(function(){
  //Resume - experience slider
    $('.resslider').bxSlider({
    nextSelector: '#slider-next',
    prevSelector: '#slider-prev',
    nextText: '<i class="fa fa-arrow-circle-right fa-lg"></i>',
    prevText: '<i class="fa fa-arrow-circle-left fa-lg"></i>'
  });
  
    //Prcess - experience slider
  var slider = $('.bxslider').bxSlider({
    nextSelector: '#proc-slider-next',
    prevSelector: '#proc-slider-prev',
    nextText: '<i class="fa fa-arrow-circle-right fa-lg"></i>',
    prevText: '<i class="fa fa-arrow-circle-left fa-lg"></i>',
    onSlideBefore: function($slideElement, oldIndex, newIndex) {
        // Hide all the charts
        $('.chart').hide();
  
        // Show the chart w/ the right #
        $('.chart').eq(newIndex).show();
    }
  
  });
  
  
    //Process - Pie chart RESEARCH
    var pieCtx = $("#pieChartResearch").get(0).getContext("2d");
    var myPieChart = new Chart(pieCtx).Pie(pieDataResearch, {
      legendTemplate : "<ul class=\"<%=name.toLowerCase()%>-legend legend\"><% for (var i=0; i<segments.length; i++){%><li><span style=\"background-color:<%=segments[i].fillColor%>\"></span><%if(segments[i].label){%><%=segments[i].label%> <%=(segments[i].value/total*100).toFixed(0)%>%<%}%></li><%}%></ul>"
    });
  
    //Process - Pie chart LEGEND RESERCH
    var legend = myPieChart.generateLegend();
      $('.legendResearch').append(legend);
  
  
  
  
  
    //Process - Pie chart CONCEPTS
    var pieConcepts = $("#pieChartConcepts").get(0).getContext("2d");
    var myPieConcepts = new Chart(pieConcepts).Pie(pieDataConcepts, {
      legendTemplate : "<ul class=\"<%=name.toLowerCase()%>-legend legend\"><% for (var i=0; i<segments.length; i++){%><li><span style=\"background-color:<%=segments[i].fillColor%>\"></span><%if(segments[i].label){%><%=segments[i].label%> <%=(segments[i].value/total*100).toFixed(0)%>%<%}%></li><%}%></ul>"
    });
  
    //Process - Pie chart LEGEND CONCEPTS
    var legend = myPieConcepts.generateLegend();
      $('.legendConcepts').append(legend);
  
  
  
  
  
  
    //Process - Pie chart REVISE
    var pieRevise = $("#pieChartRevise").get(0).getContext("2d");
    var myPieRevise = new Chart(pieRevise).Pie(pieDataRevise, {
      legendTemplate : "<ul class=\"<%=name.toLowerCase()%>-legend legend\"><% for (var i=0; i<segments.length; i++){%><li><span style=\"background-color:<%=segments[i].fillColor%>\"></span><%if(segments[i].label){%><%=segments[i].label%> <%=(segments[i].value/total*100).toFixed(0)%>%<%}%></li><%}%></ul>"
    });
  
    //Process - Pie chart LEGEND REVISE
    var legend = myPieRevise.generateLegend();
      $('.legendRevise').append(legend);
  
  
  
  
  
  
    //Process - Pie chart DESIGN
    var pieDesign = $("#pieChartDesign").get(0).getContext("2d");
    var myPieDesign = new Chart(pieDesign).Pie(pieDataDesign, {
      legendTemplate : "<ul class=\"<%=name.toLowerCase()%>-legend legend\"><% for (var i=0; i<segments.length; i++){%><li><span style=\"background-color:<%=segments[i].fillColor%>\"></span><%if(segments[i].label){%><%=segments[i].label%> <%=(segments[i].value/total*100).toFixed(0)%>%<%}%></li><%}%></ul>"
    });
  
    //Process - Pie chart LEGEND DESIGN
    var legend = myPieDesign.generateLegend();
      $('.legendDesign').append(legend);
  
  
  $('.chart').hide();
  $('#pcResearch').show();
  
  
  
  // $('.process-slider  div.bx-pager-item').click(function() {
  //   console.log("here")
  
  //   // Get the # of the dot you clicked
  //    var slideIndex = $(this).children().eq(0).data("slide-index");
  
  //    // Hide all the charts
  //    $('.chart').hide();
  
  //    // Show the chart w/ the right #
  //    $('.chart').eq(slideIndex).show();
  // });
  
  }); //end document.ready
  
  
  //Contact - Hides and Shows orange bar - css is hiding it onload
  function show_orangetype() {
  	document.getElementById('contact-orange-type').style.visibility="visible";
  }
  function hide_orangetype() {
  	document.getElementById('contact-orange-type').style.visibility="hidden";
  }
  
  
  
  
  