function homeInitialize() {
	// Handle slider menu
	SlidingBackgroundImageMenu();
}

function pageInitialize() {
	// Handle clear value
	handleClearValue();
	
}

	// Apply Sliding Background Image Menu 
    function SlidingBackgroundImageMenu() {
        $('#sbi_container').bgImageMenu({
            defaultBg: 'http://web-craftsman.com/development/wp-content/themes/MishuInc/images/maindex-index-image.jpg',
            menuSpeed: 300,
            border: 1,
			width:952,
			height:489,
            type: {
                mode: 'verticalSlideAlt',
                speed: 650,
                easing: 'jswing',
                seqfactor: 400
            }
        });
    }
	
	// Apply clear value on unput focus
	function handleClearValue() {
	$(".clear-value").each(function() {
        var default_value = this.value;
	        $(this).focus(function() {
	            if(this.value == default_value) {
	                this.value = '';
	            }
	        });
	        $(this).blur(function() {
	            if(this.value == '') {
	                this.value = default_value;
	            }
	        });
	    });
	}


	
	

