// JavaScript Document

/*READ MORE EXPANDABLE/COLLAPSABLE*/
/*READ MORE EXPANDABLE/COLLAPSABLE*/
/*READ MORE EXPANDABLE/COLLAPSABLE*/
/*READ MORE EXPANDABLE/COLLAPSABLE*/

//$(document).ready(function() {
//
//  // simple example, using all default options
//  $('.expandable').expander();
//  
//  // *** OR ***
//  
//  // override some default options
//  $('.expandable').expander({
//    slicePoint:       150,  // default is 100
//    expandText:         '[...]', // default is 'read more...'
//    collapseTimer:    5000, // re-collapses after 5 seconds; default is 0, so no re-collapsing
//    userCollapseText: '[^]'  // default is '[collapse expanded text]'
//  });
//  
//});



<!-- form highlighter -->
<!-- form highlighter -->
<!-- form highlighter -->
<!-- form highlighter -->

$(document).ready(function() {

	$('.inset_form_field, .inset_form_field_alt').focus(function() {
		$(this).addClass('highlight');	
		
		if (this.value == this.defaultValue){  
            this.value = '';  
        }  
        if(this.value != this.defaultValue){  
            this.select();  
        } 
	});
	
	$('.inset_form_field, .inset_form_field_alt').blur(function() {
		$(this).removeClass('highlight');
		
		if (this.value == ''){  
            this.value = this.defaultValue;  
        }  
	});
	
});



<!-- menu posotion  -->


$(document).ready(function() {					   
	$(window).scroll(function() {
	   var myScroll = $(window).scrollTop();
		
		if (myScroll >= 80) {
			 $('#menu_holder').addClass('fixed');
			 $('.main_layout').addClass('fixed');
		} else {
			 $('#menu_holder').removeClass('fixed');
			 $('.main_layout').removeClass('fixed');
		}
		
	});
});
