﻿if(!window.Silverlight){window.Silverlight={};}Silverlight.supportedUserAgent=function(G,I){try{var A=null;if(I){A=I;}else{A=window.navigator.userAgent;}var E={OS:"Unsupported",Browser:"Unsupported"};if(A.indexOf("Windows NT")>=0||A.indexOf("Mozilla/4.0 (compatible; MSIE 6.0)")>=0){E.OS="Windows";}else{if(A.indexOf("PPC Mac OS X")>=0){E.OS="MacPPC";}else{if(A.indexOf("Intel Mac OS X")>=0){E.OS="MacIntel";}else{if(A.indexOf("Linux")>=0){E.OS="Linux";}}}}if(E.OS!="Unsupported"){if(A.indexOf("MSIE")>=0){if(navigator.userAgent.indexOf("Win64")==-1){if(parseInt(A.split("MSIE")[1])>=6){E.Browser="MSIE";}}}else{if(A.indexOf("Firefox")>=0){var B=A.split("Firefox/")[1].split(".");var H=parseInt(B[0]);if(H>=2){E.Browser="Firefox";}else{var D=parseInt(B[1]);if((H==1)&&(D>=5)){E.Browser="Firefox";}}}else{if(A.indexOf("Safari")>=0){E.Browser="Safari";}}}}var C=(!(E.OS=="Unsupported"||E.Browser=="Unsupported"||(E.OS=="Windows"&&E.Browser=="Safari")||(E.OS.indexOf("Mac")>=0&&E.Browser=="MSIE")));if(G=="2.0"){return((C&&(E.OS!="MacPPC"&&E.OS!="Linux")));}else{if(G=="1.0"){return(C&&(A.indexOf("Windows NT 5.0")<0));}else{return(C);}}}catch(F){return false;}};