var jsVersion = 1.1;
var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
var isSafari = (/KHTML|WebKit/i.test(navigator.userAgent)) ? true : false;
$(document).ready(function(){var A=$("a");for(var D=0;D<A.length;D++){if(A[D].getAttribute("href")){switch(true){case (A[D].getAttribute("rel")=="external"):A[D].target="_blank";break;case ($(A[D]).hasClass("popup")):A[D].onclick=function(){return popMe("popup.php?f="+this.href)};break}}}$("button").mouseover(function(){$(this).addClass("active")});$("button").mouseout(function(){$(this).removeClass("active")});$("input.submit").mouseover(function(){$(this).addClass("hover")});$("input.submit").mouseout(function(){$(this).removeClass("hover")});$("input.fbsubmit").mouseover(function(){$(this).addClass("hover")});$("input.fbsubmit").mouseout(function(){$(this).removeClass("hover")});$("#leftcol ul li").hover(function(){$(this).addClass("hover")},function(){$(this).removeClass("hover")});if(!$("#buy-or-sell-shares input#seller").attr("checked")){$("form div.sellers").hide()}$("#buy-or-sell-shares input#seller").click(function(){$("form div.sellers").show()});$("#buy-or-sell-shares input#buyer").click(function(){$("form div.sellers").hide()});$("form.boss-form input#yes").click(function(){$("form fieldset.haveYes").show();$("form fieldset.haveNot").hide()});$("form.boss-form input#no").click(function(){$("form fieldset.haveYes").hide();$("form fieldset.haveNot").show()});if(!$("form.boss-form input#yes").attr("checked")){$("form fieldset.haveYes").hide()}if(!$("form.boss-form input#no").attr("checked")){$("form fieldset.haveNot").hide()}var E=$("#media-centre .content ul li a");for(var D=0;D<E.length;D++){var B=E[D].href;var C=E[D].title;E[D].href="media-centre?v="+B+"&t="+C}$("form#plan select#department").change(function(){var J=this.value;var H=new Array();var I=$("form#plan select#category");var F=$(I).val();$(I).subOptions();$(I).addOption(0,"Select Category",true);if(J>0){if(H=category[J]){for(var G=0;G<H.length;G++){$(I).addOption(H[G][0],H[G][1])}}}});$("form#plan input#region").click(function(){var F=$("form#plan #state-list input");var H=this.value;if($(this).attr("checked")){for(var G=1;G<F.length;G++){$(F[G]).attr("checked","checked");$(F[G]).attr("disabled","disabled")}}else{for(var G=1;G<F.length;G++){$(F[G]).attr("checked",false);$(F[G]).attr("disabled",false)}}})})
function popMe(C){var A="";for(var D=0,B=document.getElementsByTagName("base");D<B.length;D++){if(B[D].href){A=B[D].href}}newwindow=window.open(A+C,"name","width=1000, height=700, resizable=no, scrollbars=yes, status=yes");if(window.focus){newwindow.focus()}return false}

var dax={src:"_swf/dax.swf"};
sIFR.compatMode=true;
sIFR.activate(dax);

sIFR.replace(dax,{
  selector:"h3.sifr",
  wmode:"transparent",
  css:[".sIFR-root { font-size: 24px; color: #8ac73c; }"]
});

sIFR.replace(dax,{
  selector:"h2.sifr",
  fixhover:true,
  wmode:"transparent",
  css:[".sIFR-root { font-size: 24px; color: #8ac73c; }"]
});

sIFR.replace(dax,{
  selector:"#fact-sheet-holder div.title h3",
  fixhover:true,
  wmode:"transparent",
  css:[".sIFR-root { font-size: 20px; color: #ffffff; margin: 0; }"]
});
