(function($) {

	$.fn.easyTooltip = function(options){

		// default configuration properties
		var defaults = {
                        tooltipId: "FormToolTipId",
			tooltipClass: "FormTooltip",
			clickRemove: false,
			content: "",
			useElement: ""
		};

		var options = $.extend(defaults, options);
		var content;

		this.each(function() {
			var title = $(this).attr("title");
			$(this).hover(function(){
				content = (options.content != "") ? options.content : title;
				content = (options.useElement != "") ? $("#" + options.useElement).html() : content;
				$(this).attr("title","");
				if (content != "" && content != undefined){
					if(!$(this).hasClass('ok_tooltip')){
                                            $("body").append("<div id ='" + options.tooltipId + "'class='"+ options.tooltipClass +"'>"+ content +"</div>");
                                            $("#" + options.tooltipId)
                                                    .css("position","absolute")
                                                    .css("top",($(this).offset().top) + "px")
                                                    .css("left",($(this).offset().left + $(this).width() + 40) + "px")
                                                    .css("display","none")
                                                    .fadeIn("fast")
                                        }
				}
			},
                            function(){
                                $("#" + options.tooltipId).remove();
                            }
                        );
                        $(this).focus(function(){
                            if(!$(this).hasClass('ok_tooltip')){
                                $(this).fadeIn('fast');
                            }
                        });

		});

	};

})(jQuery);

(function($) {

	$.fn.logoConceptcreations = function(options){

		// default configuration properties
		var defaults = {
                        tooltipId: "FormToolTipId",
			tooltipClass: "FormTooltip",
			clickRemove: false,
			content: "",
			useElement: ""
		};

		var options = $.extend(defaults, options);
		var content;

		this.each(function() {
			var title = $(this).attr("title");
			$(this).hover(function(){
				content = (options.content != "") ? options.content : title;
				content = (options.useElement != "") ? $("#" + options.useElement).html() : content;
				$(this).attr("title","");
				if (content != "" && content != undefined){
                                            $("body").append("<div id ='" + options.tooltipId + "'class='"+ options.tooltipClass +"'>"+ content +"</div>");
                                            $("#" + options.tooltipId)
                                                    .css("position","absolute")
                                                    .css("top",(($(this).offset().top - 70)) + "px")
                                                    .css("left",($(this).offset().left - $(this).width() - 140) + "px")
                                                    .css("display","none")
                                                    .fadeIn("fast")
                                       
				}

			},
                            function(){
                                $("#" + options.tooltipId).remove();
                            }
                        );
                        $(this).focus(function(){
                            if(!$(this).hasClass('ok_tooltip')){
                                $(this).fadeIn('fast');
                            }
                        });

		});

	};

})(jQuery);




