var shareToggle = {
	makeToggle: function() {
		jQuery(".sociable").hide();
		jQuery(".share").click(function() {
			if(jQuery(this).next(".sociable").is(':hidden')) {
				jQuery(this).next(".sociable").slideDown('normal');
			}
			else {
				jQuery(this).next(".sociable").slideUp('normal');
			}
			return false;
		});
	},
	init: function() {
		this.makeToggle();
	}
};
jQuery.fn.labelOver = function(overClass) {
	return this.each(function(){
		var label = jQuery(this);
		var f = label.attr('for');
		if (f) {
			var input = jQuery('#' + f);
			
			this.hide = function() {
			  label.css({ textIndent: -10000 })
			}
			
			this.show = function() {
			  if (input.val() == '') label.css({ textIndent: 0 })
			}

			// handlers
			input.focus(this.hide);
			input.blur(this.show);
		  label.addClass(overClass).click(function(){ input.focus() });
			
			if (input.val() != '') this.hide(); 
		}
	})
}

jQuery(document).ready(function() {
	jQuery('#searchLabel').labelOver('over');
	shareToggle.init();
    if(jQuery.browser.version == '6.0')
        $('#ie6').show();
});
