var Cencurio = Class.create({

initBrowserCheck: function () {
  var $buoop = {reminder:24} 
  $buoop.ol = window.onload; 
  //window.onload=function(){ 
   var e = document.createElement("script"); 
   e.setAttribute("type", "text/javascript"); 
   e.setAttribute("src", "http://browser-update.org/update.js"); 
   document.body.appendChild(e); 
   if ($buoop.ol) $buoop.ol(); 
  //}
},

changeValue: function() {
  name_value = 'Name';
  mail_value = 'E-Mail';
  homepage_value = 'Homepage';
  text_value = 'Text';
  // name_value = $('author').value;
  //     nachname_value = $('vol_nachname').value;
  //     mail_value = $('email').value;
  //     homepage_value = $('url').value;
  //     text_value = $('comment').innerHTML;
  $('author').observe('focus', function() {
    if($('author').value == name_value) {
      $('author').value = "";        
    };     
  });
  $('author').observe('blur', function() {
      if($('author').value == "") {
        $('author').value = name_value;
      };
    });
  $('email').observe('focus', function() {
    if($('email').value == mail_value) {
      $('email').value = "";        
    };    
  });
  $('email').observe('blur', function() {
      if($('email').value == "") {
        $('email').value = mail_value;
      };
    });
  $('url').observe('focus', function() {
    if($('url').value == homepage_value) {
      $('url').value = "";        
    };     
  });
  $('url').observe('blur', function() {
      if($('url').value == "") {
        $('url').value = homepage_value;
      };
    });
  $('comment').observe('focus', function() {
      if($('comment').innerHTML == text_value) {
        $('comment').update("");        
      };     
    });
    $('comment').observe('blur', function() {
      if($('comment').innerHTML == "") {
        $('comment').update(text_value);
      };
    });            
  return false;
}

});

var cencurio = new Cencurio;

