﻿//Site wide manipulations


//*********************
//Verticle Center Style
//*********************
	
	
	$(document).ready(function() {
	
		//get elements that should be modified
		$(".vcenter").each(function(){
		
			
			var container = $(this);
			var centeredContent = $(this).children(":first-child");
			
			//get offset that will be used for the centered content
			var offset = (container.height() - centeredContent.height() ) / 2 ;
			
			//set new centered content offset
			centeredContent.css("top", offset);
		});
	
	});
