text: var common = {
  		
  		notification : function(msg, severity) {
  			common.removeNotification();
  			var msgTemplate = "<ul id='messages' class='messages'><li class=%SEVERITY%>%CONTENT%</li>";
  			var render = msgTemplate.replace(/%CONTENT%/, msg).replace(
  					/%SEVERITY%/, severity);
  			jQuery(".alert-box").append(render);
  			jQuery("ul.messages li").click(function() {
  				jQuery(this).hide('drop', {}, 1000).fadeOut();
  			});
  		},
  		removeNotification : function() {
  			jQuery(".alert-box").empty();
  		},
  		isIE : function(){
  			var ua = window.navigator.userAgent;
  		    var msie = ua.indexOf("MSIE ");
  
  		    if (msie > 0) // If Internet Explorer, return version number
  		    {
  		        return true;
  		    }
  		    else  // If another browser, return 0
  		    {
  		    	if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./))  // If Internet Explorer, return version number
  		        {
  		            return true;
  		        }
  		    }
  
  		    return false;
  		},
  		isMobile : function(){
  			if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
  				 return true;
  			}
  			if(window.innerWidth < 800 && window.innerHeight < 600) {
  			     return true;
  			}
  			return false;
  		},
  		showLoading : function() {
  			if(jQuery("#dimmerLoader").hasClass("prevent-dim")) jQuery("#dimmerLoader").dimmer('show');
  		},
  		hideLoading : function() {
  			jQuery("#dimmerLoader").dimmer('hide');
  		},
  		initUploader : function(uploader) {
  			if ('files' in uploader) {
  				if (uploader.files.length == 0) {
  					return "select image";
  				} else {
  					var file = uploader.files[0];
  					return file.name;
  				}
  			}
  		},
  		englishOnly : function(message){
  			jQuery("input[type='password']").each(function(){  
  				var _self = jQuery(this);
  				_self.keyup(function(e){
  					if(jQuery.inArray(e.key,  _self.val().split('') ) !== -1){
  						var k = e.key;
  						if(k.charCodeAt() < 20 || k.charCodeAt() > 126)
  						{
  							alert(message);
  							jQuery(this).val("");
  						}
  					}
  				});
  				
  			});
  			
  		}
  };
  
  
  
  