// JavaScript Document

$('document').ready(function(){
    $('.tglTarget').css('display', 'none');
    $('#tglDesc').click(function(){
      var trgt = $(this).attr('rel');
      $('#'+trgt).toggle('slow');      
      return false;
    });
    
    $('select#manufacturer').change(function(){
      $('#hidden-options').children().appendTo('select#gamesystem');
      var manufId=$(this).attr('value');
      if(manufId!=0){
        $('select#gamesystem option').filter(
          function(index){
            if($(this).attr('title')!=0) {
              return $(this).attr('title')!=manufId;
            }
          }).appendTo('#hidden-options');
      }
    });
    $('p.privacy').hide();
    $('a.privacy').click(function(){
      $('p.privacy').toggle('slow');
      return false;
    });
    
});



