      $(document).ready(function(){
	  
	  $('#content1').hide();
   
   			$('a[name=content1]').click(function(){
			
			$('#content1').show('slow');
   
   });
   
   $('a#close1').click(function(){
   		$('#content1').hide('slow');
		})
   
 	  });

      $(document).ready(function(){
	  
	  $('#content2').hide();
   
   			$('a[name=content2]').click(function(){
			
			$('#content2').show('slow');
   
   });
   
   $('a#close2').click(function(){
   		$('#content2').hide('slow');
		})
   
 	  });

      $(document).ready(function(){
	  
	  $('#content3').hide();
   
   			$('a[name=content3]').click(function(){
			
			$('#content3').show('slow');
   
   });
   
   $('a#close3').click(function(){
   		$('#content3').hide('slow');
		})
   
 	  });

      $(document).ready(function(){
	  
	  $('#content4').hide();
   
   			$('a[name=content4]').click(function(){
			
			$('#content4').show('slow');
   
   });
   
   $('a#close4').click(function(){
   		$('#content4').hide('slow');
		})
   
 	  });

      $(document).ready(function(){
	  
	  $('#content5').hide();
   
   			$('a[name=content5]').click(function(){
			
			$('#content5').show('slow');
   
   });
   
   $('a#close5').click(function(){
   		$('#content5').hide('slow');
		})
   
 	  });

      $(document).ready(function(){
	  
	  $('#content6').hide();
   
   			$('a[name=content6]').click(function(){
			
			$('#content6').show('slow');
   
   });
   
   $('a#close6').click(function(){
   		$('#content6').hide('slow');
		})
   
 	  });

      $(document).ready(function(){
	  
	  $('#content7').hide();
   
   			$('a[name=content7]').click(function(){
			
			$('#content7').show('slow');
   
   });
   
   $('a#close7').click(function(){
   		$('#content7').hide('slow');
		})
   
 	  });

      $(document).ready(function(){
	  
	  $('#content8').hide();
   
   			$('a[name=content8]').click(function(){
			
			$('#content8').show('slow');
   
   });
   
   $('a#close8').click(function(){
   		$('#content8').hide('slow');
		})
   
 	  });

      $(document).ready(function(){
	  
	  $('#content9').hide();
   
   			$('a[name=content9]').click(function(){
			
			$('#content9').show('slow');
   
   });
   
   $('a#close9').click(function(){
   		$('#content9').hide('slow');
		})
   
 	  });

      $(document).ready(function(){
	  
	  $('#content10').hide();
   
   			$('a[name=content10]').click(function(){
			
			$('#content10').show('slow');
   
   });
   
   $('a#close10').click(function(){
   		$('#content10').hide('slow');
		})
   
 	  });

      $(document).ready(function(){
	  
	  $('#content11').hide();
   
   			$('a[name=content11]').click(function(){
			
			$('#content11').show('slow');
   
   });
   
   $('a#close11').click(function(){
   		$('#content11').hide('slow');
		})
   
 	  });

      $(document).ready(function(){
	  
	  $('#content12').hide();
   
   			$('a[name=content12]').click(function(){
			
			$('#content12').show('slow');
   
   });
   
   $('a#close12').click(function(){
   		$('#content12').hide('slow');
		})
   
 	  });

      $(document).ready(function(){
	  
	  $('#content13').hide();
   
   			$('a[name=content13]').click(function(){
			
			$('#content13').show('slow');
   
   });
   
   $('a#close13').click(function(){
   		$('#content13').hide('slow');
		})
   
 	  });

$(document).ready(function(){
	$(".scroll").click(function(event){
		//prevent the default action for the click event
		event.preventDefault();

		//get the full url - like mysitecom/index.htm#home
		var full_url = this.href;

		//split the url by # and get the anchor target name - home in mysitecom/index.htm#home
		var parts = full_url.split("#");
		var trgt = parts[1];

		//get the top offset of the target anchor
		var target_offset = $("#"+trgt).offset();
		var target_top = target_offset.top;

		//goto that anchor by setting the body scroll top to anchor top
		$('html, body').animate({scrollTop:target_top}, 500);
	});
});
