$(document).ready(function(){$('a.poplight[href^=#]').click(function(){var popID=$(this).attr('rel');var popURL=$(this).attr('href');var query=popURL.split('?');var dim=query[1].split('&');var popWidth=dim[0].split('=')[1];$('#'+popID).fadeIn().css({'width':Number(popWidth)}).prepend('');var popMargTop=($('#'+popID).height()+80)/2;var popMargLeft=($('#'+popID).width()+80)/2;$('#'+popID).css({'margin-top':-popMargTop,'margin-left':-popMargLeft});$('body').append('
');$('#fade').css({'filter':'alpha(opacity=70)'}).fadeIn();return !1});$('a.close, #fade').live('click',function(){$('#fade , .popup_block').fadeOut(function(){$('#fade, a.close').remove()});return !1})});$(document).ready(function(){$('#topmenu li.sublnk').hover(function(){$(this).addClass("selected");$(this).find('ul').stop(!0,!0);$(this).find('ul').show('fast')},function(){$(this).find('ul').hide('fast');$(this).removeClass("selected")})})