$(document).ready(function(){
			$('.trigger-button').click(function(){
				//reset
				
				var myElem = $(this).parent('.trigger');
				$('.trigger').not(myElem).removeClass('on');
				var myContent = $(myElem).toggleClass('on').find('.highlight-content');
				$('.highlight-content').not(myContent).hide();
				
				var myContentH = $(myContent).height();
				$(myContent).css('top',1-myContentH+'px').toggle();
				return false;
			});
		
		var isiOS;
		$(function(){
		
		if ((navigator.userAgent.indexOf('iPhone') != -1) || (navigator.userAgent.indexOf('iPod') != -1) || (navigator.userAgent.indexOf('iPad') != -1)) {
			isiOS =1;
		};
		});
	//Eliminate vertical scrollbar		
 var wHeight = ($(window).height())+'px';
 $('#containerWindow').css('height',wHeight);
$(function(){
	if(isiOS !=1){
  // Bind the resize event. When the window size changes, update the div.
  $(window).resize(function(){
   var wH = ($(window).height())+'px';
    $('#containerWindow').css('height',wH);
  });
  
  // Updates the info div immediately.
  $(window).resize();
	}
});



});
