// STYLES HEAVENROADS.DE //
// --------------------- //


function SBxFrameset(){
  if( (top==self) && (window.location.href.indexOf("file:")!=0) ){
    var targUrl = "http://www.heavenroads.de/";
    var canRepl = window.location.replace;

    // if (canRepl) window.location.replace(targUrl);
    // else window.location.href = targUrl;
} }
// SBxFrameset();



function SBxIE4Animation(objId){
  var obj, fRun=false;
  if(!objId) objId = "SiteLogo";

  if(document.all) obj = document.all[objId];
  else if(!obj && document.getElementById) obj = document.getElementById(objId);

  if(!obj) return;
  if(document.charset) fRun = ((typeof obj.filters)=="object" && obj.filters.revealTrans);
  if(fRun) obj.filters.revealTrans.Apply();
  obj.style.visibility="visible";
  if(fRun) obj.filters.revealTrans.Play();
}



function SBxMailLink(iLnk){
  var para = "", strg = "%3A" +"kontakt" + "%40" + "heavenroads.de";

  if(iLnk && iLnk.indexOf("?")!=-1){
    if(decodeURI) iLnk = decodeURI(iLnk);
    para = "?" + iLnk.split("?")[1];
    if(encodeURI) para = encodeURI(para);
  }
  return("mailto" + unescape(strg) + para);
}

