/*
 * jQuery.fadeButton
 * Copyright (c) 2010 Miroslav Bohovic
 * 
 * call function -> 
 *    $(".stamp").fadeButton();  
 * use -> 
 *  <div id="view_stamp" class="stamp">
 *   <div class="BTreadmore">
 *    <div class="view_stamp readmore" style="display:none;">Show/hide text</div>
 *   </div>
 *  </div>     
 *   
 */
$.fn.fadeButton = function(options){
	var defaults = { idtoclass: ''};
	var options = $.extend(defaults, options);

	this.each(function(){
		var $this = $(this);
		$this.mouseover(function(){ 
				tmp = $this.attr('id'); 
        $('.'+tmp).show();  

		});

		$this.mouseout(function(){
     $('.'+tmp).hide();  	

		});
	});
	return this;
};

