function alphaLoad(name, path) {
  if (path==null) {
    path='';
  }
  if (document.all && !window.opera) {
    if (/MSIE (5\.5)|[6789]/.test(navigator.userAgent) && 
        navigator.platform == "Win32") {
          document.write("<style>.alpha-"+name+" {filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+core_url+"i/"+path+name+".png', sizingMethod='crop');}</style>\n");
    }
  } else if (document.getElementById) {
    document.write("<style>.alpha-"+name+" {background: url('"+core_url+"i/"+path+name+".png') no-repeat;}</style>");
  }
}

function alphaLoadBg(name, path) {
  if (path==null) {
    path="";
  }
  if (document.all && !window.opera) {
    if (/MSIE (5\.5)|[6789]/.test(navigator.userAgent) && 
        navigator.platform == "Win32") {
      document.write("<style>.alpha-"+name+" {background-color:#FFFFFF; filter: alpha(opacity=16);}</style>");
    }
  } else if (document.getElementById) {
    document.write("<style>.alpha-"+name+" {background: url('"+core_url+"i/"+path+name+".png') repeat;}</style>");
  }
}
