$j(document).ready(function() {
  
  // Add example text
  $j('.example').livequery(function() {
    $this = $j(this);
    if($this.val() == "")
    {
      $this.example($this.attr("title"));
    }
  }, function() {});
  
  // add mask for alphanumeric
  $j('.alphanumeric').livequery(function() {
    $j(this).alphanumeric();
  }, function() {});

  $j('.domain-input').livequery(function() {
    $j(this).alphanumeric({allow: ".-"});
  }, function() {});

  $j('.credit-card').livequery(function() {
    $j(this).numeric({allow: " -"});
  }, function() {});
  
  $j(".ycodaslider").ycodaslider();
  
  // Allow any link with "toggle" to hide and show a particular element
  $j("a.toggle").livequery('click', function() {
    $this = $j(this); 
    $j($this.attr("rel")).slideToggle();  
    return false;
  });
});
