
var HELP_ARTICLE = function () {
		
				jQuery("#btnEmail").click(function(e) {
				
				e.preventDefault();
							
				jQuery("#emailOverlayBackground, #emailOverlay").show();
				
				
				//Get win dowHeight
				var winHeight = jQuery(window).height();
				//Simple if statement to check if window is smaller then modal height. Might want to have it work on window resize
				if(winHeight < 678){
				    jQuery('#emailOverlay').css({
					'top' : 17,
					'margin-top' :17
				    })
				  }// end of If statement winheight
				 
			});// end of btnEmail
			jQuery("#emailOverlay .btnClose, #emailOverlay .lnkCancel").click(function (e) {
			
			e.preventDefault();
			jQuery('#emailOverlayBackground, #emailOverlay').hide();
			//location.reload(); 
							
			});// end of #emailOverlay btnClose emailOverlay lnkCancel
  	
  		
	
	
}// end HELP_ARTICLE funtion



jQuery(document).ready(function() {
   HELP_ARTICLE();
});
