// JavaScript Document

$(document).ready(function(){ 

 $("#error_message").fadeIn(500);
 $("#error_message").click(function() { 
      $("#error_message").fadeOut("slow"); 
    });
	
	
 $(".temp_info").fadeIn(500);
 $(".temp_info").click(function() { 
      $(".temp_info").fadeOut("slow"); 
    });

 });


/*if (/msie/i.test (navigator.userAgent)) //only override IE
{
  document.nativeGetElementById = document.getElementById; 
  document.getElementById = function(id)
  {
    var elem = document.nativeGetElementById(id);
    if(elem)
    {
      //make sure that it is a valid match on id
      if(elem.attributes['id'].value == id)
      {
        return elem;
      }
      else
      {
        //otherwise find the correct element
        for(var i=1;i<document.all[id].length;i++)
        {
          if(document.all[id][i].attributes['id'].value == id)
          {
            return document.all[id][i];
          }
        }
      }
    }
    return null;
  }
}*/
