// JavaScript Document

function getXmlHttpObject() {
  var xmlHttp = null;
  
  try { // Firefox, Opera 8.0+, Safari
    xmlHttp=new XMLHttpRequest();
  }
  catch (e) { // Internet Explorer
    try {
      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
    catch (e) {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
  
  return xmlHttp;
} 

function rollOver(obj,px) {
  obj.style.backgroundPosition = '0 -'+px+'px';
} 

function rollOut(obj) {
  obj.style.backgroundPosition = '0 0';
}

function fadeOut(objid) {
  msg_el = document.getElementById(objid);
  msg_el.style.visibility = 'visible';
    
  opacityTween_c = new OpacityTween(msg_el,Tween.strongEaseIn, 100, 0, 7);     
  opacityTween_c.start();    
}

function form_confirm(msg) {
   var answer = confirm(msg);
   
   return answer;
}

