jQuery(document).ready(function() {
            //jquery code
            //set the height '.home-menu' to fill screen
			var winHeight = jQuery(window).height();
			var winWidth = jQuery(window).width();
			//var winWidth = jQuery(window).width();
			jQuery('.logo-holder').css('height', winHeight - 30 + 'px');	
			jQuery('.logo-holder').find('img').css('visibility', 'hidden');
			//jQuery('.logo-holder').find('img').css('width', jQuery('.logo-holder').width() + 'px');
			
			jQuery(window).load(function() {
				//set navigation container width and height
				var logoWidth, navWidth;
				logoWidth = jQuery('.logo-holder').width();
				navWidth =  winWidth - logoWidth;
				jQuery('.home-menu').css('width', navWidth + 'px');
				jQuery('.home-menu').css('height', winHeight - 30 + 'px');
				jQuery('.logo-holder').find('img').css('visibility', 'visible');
			});
			
			//jQuery(window).load(function () {
			jQuery('a.find-a-model-h').click(function () {

			    //jQuery('div.info-btns-h').fadeOut(50);
				    jQuery('.ddl-scroll-pane-home').fadeIn('slow', function () {


						// model dropdown list
						jQuery('.ddl-scroll-pane-home').jScrollPane(
						{
							verticalDragMinHeight: 59,
							verticalDragMaxHeight: 59
						});
					});
				});
			//});
			
			jQuery('.ddl-scroll-pane-home').hover(
			  function () {
				//do nothing
			  }, 
			  function () {
				 jQuery(this).fadeOut('slow');
			  }
			);


        });
		
		jQuery(window).resize(function() {
			//set the height '.home-menu' to fill screen
			var winHeight = jQuery(window).height();
			var winWidth = jQuery(window).width();
			//jQuery('.logo-holder').find('img').css('width', jQuery('.logo-holder').width() + 'px');
			jQuery('.home-menu').css('height', winHeight - 30 + 'px');
			
			//set navigation container width and height
			var logoWidth, navWidth;
			logoWidth = jQuery('.logo-holder').width();
			navWidth =  winWidth - logoWidth;
			jQuery('.home-menu').css('width', navWidth + 'px');
			jQuery('.home-menu').css('height', winHeight - 30 + 'px');
			jQuery('.logo-holder').css('height', winHeight - 30 + 'px');
		});
