﻿$(document).ready(function() {

  if (typeof sIFR == "function") {

    // This is the preferred "named argument" syntax
    sIFR.replaceElement(named({ sSelector: "h1.ad", sFlashSrc: "/Content/sIFR/Flash/sifrcapsoft.swf", sColor: "#07428E" }));
    sIFR.replaceElement(named({ sSelector: "h2.adbody", sFlashSrc: "/Content/sIFR/Flash/sifrcapsoft.swf" }));
    sIFR.replaceElement(named({ sSelector: "h3.adfooter", sFlashSrc: "/Content/sIFR/Flash/sifrcapsoft.swf", sColor: "#DA1F43" }));
  };

  if (!$.browser.msie)
    $("#HdDemoLink").hide();


});