2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

	

$j = jQuery.noConflict();

$j(document).ready(function(){

  if(!isFontFaceSupported()){
    $j('link[href="font/stylesheet.css"]')
  }

  $j('.search-form label').click(function(e){

    $j(this).parent('fieldset').find('.s').focus();

  });

  $j('.s').focus(function(e){

    $label = $j(this).parent('fieldset').find('label');
    if($j(this).val() == ""){
      $label.fadeOut('fast');
    }

  });
  $j('.s').blur(function(e){

    $label = $j(this).parent('fieldset').find('label');
    if($j(this).val() == "")
      $label.fadeIn('fast');

  });

  $j('#nav li ul.children').parent('li').addClass('hasChildren').mouseover(function(e){
      $j(this).toggleClass('hasChildrenHasHover');
  });

  $j('#nav li ul.children').parent('li').mouseout(function(e){
      $j(this).toggleClass('hasChildrenHasHover');
  });

  $j("nav li").mouseover(function(e){
    $(this).toggleClass('sfHover');
  });

  $j("nav li").mouseout(function(e){
    $(this).toggleClass('sfHover');
  });

});
