$(document).ready(function() { // add juice to all dl lists if (styleSheet == "print") { setTimeout(function() { window.print(); }, 1000); } else { convertDlLists(); $(".page_box").hover(function() { $(this).children("div").children("h3").addClass('h3_hover'); },function(){ $(this).children("div").children("h3").removeClass('h3_hover'); }); $(".page_box").click(function() { if ($(this).attr("rel").substring(0, 2) == "f:") { eval($(this).attr("rel").substring(2)); } else { document.location = $(this).attr("rel"); } }); $().bind('cbox_load', function() { $('html').css('overflow', 'hidden'); }); $().bind('cbox_closed', function() { $('html').css('overflow', 'auto'); }); } // enforce min-height page content -->> // if ($("#page_min_height").height() < $("#menu_sub").height()) { var newHeight = $("#menu_sub").height(); if ($.browser.msie) { newHeight -= 20; } else { newHeight += 10; } $("#page_min_height").height(newHeight); } });