/* JavaScript Document */ $(document).ready(function() { if($.browser.opera) $('#primary_navigation').css({'margin-top':'62px','margin-left':'5px'}); jQuery.preLoadImages("./images/bottom-right-blue-fade.png", "./images/footer-background.png", "./images/footer-hairline.png", "./images/footer-logo.png", "./images/green-line.png", "./images/header-background.png", "./images/left-navigation-background.png", "./images/left-navigation-hover-background.png", "./images/lock.png", "./images/logo.png", "./images/mimik-logo.png", "./images/post-footer-background.png", "./images/primary-nav-background.png", "./images/primary-nav-divider.png", "./images/primary-nav-hover-background.png", "./images/search-button.png", "./images/top-blue-angle.png", "./images/top-left-main-content-design.png", "./images/top-right-design.png", "./images/utility-background.png", "./images/showcase-play.png", "./images/showcase-play-down.png", "./images/showcase-pause.png", "./images/showcase-pause-down.png", "./images/showcase-thumb-active.png", "./images/showcase-thumb.png"); jQuery.handleResize(); $("#page_wrapper").resize(jQuery.handleResize); $(window).resize(jQuery.handleResize); $("#search").focus(function() { $(this).css('color', '#17719d'); if ($(this).val() == 'SEARCH') { $(this).val(''); } }); $("#search").focusout(function() { $(this).css('color', '#e2e2e2'); if ($(this).val() == '') { $(this).val('SEARCH'); } }); }); /* engineeredweb.com */ (function($) { var cache = []; /* Arguments are image paths relative to the current page. */ $.preLoadImages = function() { var args_len = arguments.length; for (var i = args_len; i--;) { var cacheImage = document.createElement('img'); cacheImage.src = arguments[i]; cache.push(cacheImage); } } })(jQuery); (function($) { $.handleResize = function(e) { $("#left_border").height($("#page_wrapper").height()); var The_New_Post_Footer_Height = $("body").height()-$("#page_wrapper").height()-$("#footer_wrapper").height(); if (The_New_Post_Footer_Height > 0) { $("#post_footer").height(The_New_Post_Footer_Height); } } })(jQuery);