/* Copyright (C) 2009 Microsoft Corporation */if(!window.Silverlight)window.Silverlight={};Silverlight.isInstalled=function(b){if(b==undefined)b=null;var a=false,l=null;try{var i=null,j=false;if(window.ActiveXObject)try{i=new ActiveXObject("AgControl.AgControl");if(b===null)a=true;else if(i.IsVersionSupported(b))a=true;i=null}catch(m){j=true}else j=true;if(j){var k=navigator.plugins["Silverlight Plug-In"];if(k)if(b===null)a=true;else{var h=k.description;if(h==="1.0.30226.2")h="2.0.30226.2";var c=h.split(".");while(c.length>3)c.pop();while(c.length<4)c.push(0);var e=b.split(".");while(e.length>4)e.pop();var d,g,f=0;do{d=parseInt(e[f]);g=parseInt(c[f]);f++}while(f<e.length&&d===g);if(d<=g&&!isNaN(d))a=true}}}catch(m){a=false}return a};Silverlight.supportedUserAgent=function(f,e){try{var b=null;if(e)b=e;else b=window.navigator.userAgent;var a={OS:"Unsupported",Browser:"Unsupported"};if(b.indexOf("Windows NT")>=0||b.indexOf("Mozilla/4.0 (compatible; MSIE 6.0)")>=0)a.OS="Windows";else if(b.indexOf("PPC Mac OS X")>=0)a.OS="MacPPC";else if(b.indexOf("Intel Mac OS X")>=0)a.OS="MacIntel";if(a.OS!="Unsupported")if(b.indexOf("MSIE")>=0){if(navigator.userAgent.indexOf("Win64")==-1)if(parseInt(b.split("MSIE")[1])>=6)a.Browser="MSIE"}else if(b.indexOf("Firefox")>=0){var d=b.split("Firefox/")[1].split("."),g=parseInt(d[0]);if(g>=2)a.Browser="Firefox";else{var h=parseInt(d[1]);if(g==1&&h>=5)a.Browser="Firefox"}}else if(b.indexOf("Safari")>=0)a.Browser="Safari";var c=!(a.OS=="Unsupported"||a.Browser=="Unsupported"||a.OS=="Windows"&&a.Browser=="Safari"||a.OS.indexOf("Mac")>=0&&a.Browser=="MSIE");if(f=="2.0")return c&&a.OS!="MacPPC";else if(f=="1.0")return c&&b.indexOf("Windows NT 5.0")<0;else return c}catch(i){return false}};function SetSilverlightSlideshowStyles(){if(document.documentElement)document.documentElement.style.overflow="hidden"}function getSilverlightVersion(){var a=_notInstalledVersion;a=Silverlight.isInstalled("1.0")?"1.0":a;a=Silverlight.isInstalled("2.0")?"2.0":a;a=Silverlight.isInstalled("3.0")?"3.0":a;a=Silverlight.isInstalled("4.0")?"4.0":a;return a}function updateSilverlightVersionCookie(){var c=getCookie(_slVersionCookieName),b=getSilverlightVersion(),a=location.hostname.split("."),d=a[a.length-2]+"."+a[a.length-1];setCookie(_slVersionCookieName,b,null,"/",d);if(c!=b&&b!=_notInstalledVersion)location.reload(true)}var _slVersionCookieName="SLVersion",_notInstalledVersion="0.0";updateSilverlightVersionCookie()