// JavaScript Document 
// This File applies to all buttons without classes
jQuery.fn.uniformbutton = function(){
	var button = $(this);
		
	
	$(this).each(function(){	
		if ($(this).is("button")){
		
		var className = $(this).attr("class");
		
		if (className !=='fg-button ui-state-default ui-corner-all'){
			$(this).addClass('fg-button ui-state-default ui-corner-all');
		}
			
// 	 Styling Like Button
//if (className=='bt_like'){
//		$(this).replaceWith('<a href="#" onclick="" class="fg-button fg-button-icon-left ui-state-default ui-corner-all beta_m2 omega_mb1 '+ className +' "><span class="ui-icon ui-icon-heart"></span>Like</a>');
//
//} else if (className=='bt_share'){
//		
// 	 Styling share Button
//		$(this).replaceWith('<a href="#" onclick="" class="fg-button fg-button-icon-left ui-state-default ui-corner-all beta_m2 omega_mb1 '+ className +' "><span class="ui-icon ui-icon-heart"></span>Share</a>');
//
//}

//		 hover, mousedown, mouseup	
//			$("button").hover(function() {
//             $(this).addClass("ui-state-hover");
//         },
//                function() {
//                    $(this).removeClass("ui-state-hover");
//                }
//        ).mousedown(function() {
//            $(this).addClass("ui-state-active");
//        })
//        .mouseup(function() {
//            $(this).removeClass("ui-state-active");
//        });
// 	  ----------------
  
		
//
//
		}
	});
};


