$(function(){ $(".gnb > ul > li").hover( function(){$(this).find('div').stop().fadeIn(100);}, function(){$(this).find('div').stop().hide(); } ); $('.tab_box > li > h2').mouseover(function(){ $('.tab1').removeClass('on'); $('.tab2').removeClass('on'); $('.tab_cnt').hide(); $(this).parent().addClass('on'); $(this).parent().find('.tab_cnt').show(); }); var wrap_height = $('#wrap').height(); var window_height = $(window).height(); if(wrap_height < window_height){ $('#wrap').css('height',window_height+'px'); }else{ $('#wrap').css('height',wrap_height+'px'); } $(window).resize(function(){ var window_height = $(window).height(); if(wrap_height < window_height){ $('#wrap').css('height',window_height+'px'); }else{ $('#wrap').css('height',wrap_height+'px'); } }); $('#email_popup').click(function(){ window.open('/html/new/util/email.html', 'email01','width=500, height=250, scrollbars=no, resizable=no');return false }); $("td:empty").html(" "); });