var $j = jQuery.noConflict();

$j(document).ready(function(){
	
    $j.fn.clearinput = function() {
		return this.focus(function() {
			if( this.value == this.defaultValue ) {
				this.value = "";
			}
		}).blur(function() {
			if( !this.value.length ) {
				this.value = this.defaultValue;
			}
		});
	};

	$j("#form-input").clearinput();
	
	$j('input[name=s]').val('Keyword research');
	$j('input[name=s]').focus(function(){
    	if ($j(this).val() == 'Keyword research')
        	$j(this).val('');
	});
	$j('input[name=s]').blur(function(){
    	if ($j(this).val() == '')
        	$j(this).val('Keyword research');
	});

	$j('#head-slide').innerfade({ 
		speed: 5000, 
		timeout: 15000, 
		type: 'random', 
		containerheight: '180px'
	});

});
