$(document).ready(function (){
$("table.blue tbody > tr, table.grey tbody > tr, table.orange tbody > tr").hover(function(){if( ! $(this).is('.hover')){$(this).addClass("hover");}},function(){if($(this).is('.hover')){$(this).removeClass("hover");}});
$("table.blue tbody > tr, table.grey tbody > tr, table.orange tbody > tr").click(function(){if( ! $(this).is('.click')){$(this).addClass("click");}	else{if( $(this).is('.click')){$(this).removeClass("click");}}}); 
$("#links_main a").hover(function(){if ($(this).attr('osl')==1)	$(this).children('div').css('display', 'block');}, function(){if ($(this).attr('osl')==1)	$(this).children('div').css('display', 'none');});
$("a[href$=.doc]").addClass("adoc");
$("a[href$=.docx]").addClass("adoc");
$("a[href$=.xls]").addClass("axls");
$("a[href$=.xlsx]").addClass("axls");
$("a[href$=.pdf]").addClass("apdf");
$("a[href$=.rar]").addClass("arar");
$("a[href$=.zip]").addClass("arar");
if ($.browser.msie){
  if ($('div.full_screen')){
    $('#content').css({'overflow':'visible'});
  }
}
else{
$('div.full_screen').parent().css({'overflow':'visible', 'padding-right':'none'});
}

if ($.browser.msie){
  if ($('div.site_map')){
    $('#content').css({'overflow':'visible'});
  }
}
else{
$('div.site_map').parent().css({'overflow':'visible', 'padding-right':'none'});
}

$("table.site_map th:last").css({'border-right' : 'none'});
$("table.site_map td:last").css({'border-right' : 'none'});
});














