﻿var hasFlash=function(){var a=6;if(navigator.appVersion.indexOf("MSIE")!=-1&&navigator.appVersion.indexOf("Windows")>-1){document.write('<script language="VBScript"> \non error resume next \nhasFlash = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & '+a+("))) \n</sc"+"ript> \n"));if(window.hasFlash!=null)return window.hasFlash}if(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){var b=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description;return parseInt(b.charAt(b.indexOf(".")-1))>=a}return false}();String.prototype.normalize=function(){return this.replace(/\s+/g," ")};if(Array.prototype.push==null)Array.prototype.push=function(){var a=0,b=this.length,c=arguments.length;while(a<c)this[b++]=arguments[a++];return this.length};if(!Function.prototype.apply)Function.prototype.apply=function(a,b){var c=[],d,e;if(!a)a=window;if(!b)b=[];for(var i=0;i<b.length;i++)c[i]="b["+i+"]";e="a.__applyTemp__("+c.join(",")+");";a.__applyTemp__=this;d=eval(e);a.__applyTemp__=null;return d};function named(a){return new named.Arguments(a)}named.Arguments=function(a){this.oArgs=a};named.Arguments.prototype.constructor=named.Arguments;named.extract=function(c,f){var a,b,d=c.length;while(d--){b=c[d];if(b!=null&&b.constructor!=null&&b.constructor==named.Arguments){a=c[d].oArgs;break}}if(a==null)return;for(e in a)if(f[e]!=null)f[e](a[e]);return};var parseSelector=function(){var c=/^([^#.>`]*)(#|\.|\>|\`)(.+)$/;function e(e,f){var d=e.split(/\s*\,\s*/),c=[];for(var b=0;b<d.length;b++)c=c.concat(a(d[b],f));return c}function a(n,k,o){n=n.normalize().replace(" ","`");var f=n.match(c),e,h,g,m,j,l,i=[];if(f==null)f=[n,n];if(f[1]=="")f[1]="*";if(o==null)o="`";if(k==null)k=document;switch(f[2]){case "#":j=f[3].match(c);if(j==null)j=[null,f[3]];e=document.getElementById(j[1]);if(e==null||f[1]!="*"&&!d(e,f[1]))return i;if(j.length==2){i.push(e);return i}return a(j[3],e,j[2]);case ".":if(o!=">")h=b(k,f[1]);else h=k.childNodes;for(g=0,l=h.length;g<l;g++){e=h[g];if(e.nodeType!=1)continue;j=f[3].match(c);if(j!=null){if(e.className==null||e.className.match("\\b"+j[1]+"\\b")==null)continue;m=a(j[3],e,j[2]);i=i.concat(m)}else if(e.className!=null&&e.className.match("\\b"+f[3]+"\\b")!=null)i.push(e)}return i;case ">":if(o!=">")h=b(k,f[1]);else h=k.childNodes;for(g=0,l=h.length;g<l;g++){e=h[g];if(e.nodeType!=1)continue;if(!d(e,f[1]))continue;m=a(f[3],e,">");i=i.concat(m)}return i;case "`":h=b(k,f[1]);for(g=0,l=h.length;g<l;g++){e=h[g];m=a(f[3],e,"`");i=i.concat(m)}return i;default:if(o!=">")h=b(k,f[1]);else h=k.childNodes;for(g=0,l=h.length;g<l;g++){e=h[g];if(e.nodeType!=1)continue;if(!d(e,f[1]))continue;i.push(e)}return i}}function b(a,b){if(b=="*"&&a.all!=null)return a.all;return a.getElementsByTagName(b)}function d(b,a){return a=="*"?true:b.nodeName.toLowerCase().replace("html:","")==a.toLowerCase()}return e}(),sIFR=function(){var o="http://www.w3.org/1999/xhtml",p=false,q=false,r,f=[],c=document,w=c.documentElement,d=window,x=c.addEventListener,y=d.addEventListener,a=function(){var b=navigator.userAgent.toLowerCase(),a={a:b.indexOf("applewebkit")>-1,b:b.indexOf("safari")>-1,c:navigator.product!=null&&navigator.product.toLowerCase().indexOf("konqueror")>-1,d:b.indexOf("opera")>-1,e:c.contentType!=null&&c.contentType.indexOf("xml")>-1,f:true,g:true,h:null,i:null,j:null,k:null};a.l=a.a||a.c;a.m=!a.a&&navigator.product!=null&&navigator.product.toLowerCase()=="gecko";if(a.m)a.j=new Number(b.match(/.*gecko\/(\d{8}).*/)[1]);a.n=b.indexOf("msie")>-1&&!a.d&&!a.l&&!a.m;a.o=a.n&&b.match(/.*mac.*/)!=null;if(a.d)a.i=new Number(b.match(/.*opera(\s|\/)(\d+\.\d+)/)[2]);if(a.n||a.d&&a.i<7.6)a.g=false;if(a.a)a.k=new Number(b.match(/.*applewebkit\/(\d+).*/)[1]);if(d.hasFlash&&(!a.n||a.o)){var e=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description;a.h=parseInt(e.charAt(e.indexOf(".")-1))}if(b.match(/.*(windows|mac).*/)==null||a.o||a.c||a.d&&(b.match(/.*mac.*/)!=null||a.i<7.6)||a.b&&a.h<7||!a.b&&a.a&&a.k<124||a.m&&a.j<20020523)a.f=false;if(!a.o&&!a.m&&c.createElementNS)try{c.createElementNS(o,"i").innerHTML=""}catch(f){a.e=true}a.p=a.c||a.a&&a.k<312||a.n;return a}();function n(){return {bIsWebKit:a.a,bIsSafari:a.b,bIsKonq:a.c,bIsOpera:a.d,bIsXML:a.e,bHasTransparencySupport:a.f,bUseDOM:a.g,nFlashVersion:a.h,nOperaVersion:a.i,nGeckoBuildDate:a.j,nWebKitVersion:a.k,bIsKHTML:a.l,bIsGecko:a.m,bIsIE:a.n,bIsIEMac:a.o,bUseInnerHTMLHack:a.p}}if(d.hasFlash==false||!c.getElementsByTagName||!c.getElementById||a.e&&a.p)return {UA:n()};function e(c){if(!b.bAutoInit&&(d.event||c)!=null||!t(c))return;p=true;for(var a=0,e=f.length;a<e;a++)s.apply(null,f[a]);f=[]}var b=e;function t(d){if(q==false||b.bIsDisabled==true||(a.e&&a.m||a.l)&&d==null&&p==false||(c.body==null||c.getElementsByTagName("body").length==0))return false;return true}function u(b){if(a.n)return b.replace(new RegExp("%d{0}","g"),"%25");return b.replace(new RegExp("%(?!d)","g"),"%25")}function j(b,a){return a=="*"?true:b.nodeName.toLowerCase().replace("html:","")==a.toLowerCase()}function v(l,h,i,b,d){var c="",a=l.firstChild,g,k,e,f;if(b==null)b=0;if(d==null)d="";while(a){if(a.nodeType==3){f=a.nodeValue.replace("<","&lt;");switch(i){case "lower":c+=f.toLowerCase();break;case "upper":c+=f.toUpperCase();break;default:c+=f}}else if(a.nodeType==1){if(j(a,"a")&&!a.getAttribute("href")==false){if(a.getAttribute("target"))d+="&sifr_url_"+b+"_target="+a.getAttribute("target");d+="&sifr_url_"+b+"="+u(a.getAttribute("href")).replace(/&/g,"%26");c+='<a href="asfunction:_root.launchURL,'+b+'">';b++}else if(j(a,"br"))c+="<br/>";if(a.hasChildNodes()){e=v(a,null,i,b,d);c+=e.u;b=e.s;d=e.t}if(j(a,"a"))c+="</a>"}g=a;a=a.nextSibling;if(h!=null){k=g.parentNode.removeChild(g);h.appendChild(k)}}return {u:c,s:b,t:d}}function g(b){if(c.createElementNS&&a.g)return c.createElementNS(o,b);return c.createElement(b)}function h(b,c,d){var a=g("param");a.setAttribute("name",c);a.setAttribute("value",d);b.appendChild(a)}function k(c,b){var a=c.className;if(a==null)a=b;else a=a.normalize()+(a==""?"":" ")+b;c.className=a}function i(d){var a=w;if(b.bHideBrowserText==false)a=c.getElementsByTagName("body")[0];if((b.bHideBrowserText==false||d)&&a)if(a.className==null||a.className.match(/\bsIFR\-hasFlash\b/)==null)k(a,"sIFR-hasFlash")}function s(H,s,w,F,x,m,y,z,A,B,j,I,l){if(!t())return f.push(arguments);i();named.extract(arguments,{sSelector:function(a){H=a},sFlashSrc:function(a){s=a},sColor:function(a){w=a},sLinkColor:function(a){F=a},sHoverColor:function(a){x=a},sBgColor:function(a){m=a},nPaddingTop:function(a){y=a},nPaddingRight:function(a){z=a},nPaddingBottom:function(a){A=a},nPaddingLeft:function(a){B=a},sFlashVars:function(a){j=a},sCase:function(a){I=a},sWmode:function(a){l=a}});var G=parseSelector(H);if(G.length==0)return false;if(j!=null)j="&"+j.normalize();else j="";if(w!=null)j+="&textcolor="+w;if(x!=null)j+="&hovercolor="+x;if(x!=null||F!=null)j+="&linkcolor="+(F||w);if(y==null)y=0;if(z==null)z=0;if(A==null)A=0;if(B==null)B=0;if(m==null)m="#FFFFFF";if(l=="transparent")if(!a.f)l="opaque";else m="transparent";if(l==null)l="";var e,n,o,K,L,p,q,d,C,D=null;for(var E=0,J=G.length;E<J;E++){e=G[E];if(e.className!=null&&e.className.match(/\bsIFR\-replaced\b/)!=null)continue;n=e.offsetWidth-B-z;o=e.offsetHeight-y-A;q=g("span");q.className="sIFR-alternate";C=v(e,q,I);p="txt="+u(C.u).replace(/\+/g,"%2B").replace(/&/g,"%26").replace(/\"/g,"%22").normalize()+j+"&w="+n+"&h="+o+C.t;k(e,"sIFR-replaced");if(D==null||!a.g)if(!a.g)e.innerHTML=['<embed class="sIFR-flash" type="application/x-shockwave-flash" src="',s,'" quality="best" wmode="',l,'" bgcolor="',m,'" flashvars="',p,'" width="',n,'" height="',o,'" sifr="true"></embed>'].join("");else{if(a.d){d=g("object");d.setAttribute("data",s);h(d,"quality","best");h(d,"wmode",l);h(d,"bgcolor",m)}else{d=g("embed");d.setAttribute("src",s);d.setAttribute("quality","best");d.setAttribute("flashvars",p);d.setAttribute("wmode",l);d.setAttribute("bgcolor",m)}d.setAttribute("sifr","true");d.setAttribute("type","application/x-shockwave-flash");d.className="sIFR-flash";if(!a.l||!a.e)D=d.cloneNode(true)}else d=D.cloneNode(true);if(a.g){if(a.d)h(d,"flashvars",p);else d.setAttribute("flashvars",p);d.setAttribute("width",n);d.setAttribute("height",o);d.style.width=n+"px";d.style.height=o+"px";e.appendChild(d)}e.appendChild(q);if(a.p)e.innerHTML+=""}if(a.n&&b.bFixFragIdBug)setTimeout(function(){c.title=r},0)}function m(){r=c.title}function l(){if(b.bIsDisabled==true)return;q=true;if(b.bHideBrowserText)i(true);if(d.attachEvent)d.attachEvent("onload",e);else if(!a.c&&(c.addEventListener||d.addEventListener))if(a.a&&a.k>=132&&d.addEventListener)d.addEventListener("load",function(){setTimeout("sIFR({})",1)},false);else{if(c.addEventListener)c.addEventListener("load",e,false);if(d.addEventListener)d.addEventListener("load",e,false)}else if(typeof d.onload=="function"){var f=d.onload;d.onload=function(){f();e()}}else d.onload=e;if(!a.n||d.location.hash=="")b.bFixFragIdBug=false;else m()}b.UA=n();b.bAutoInit=true;b.bFixFragIdBug=true;b.replaceElement=s;b.updateDocumentTitle=m;b.appendToClassName=k;b.setup=l;b.debug=function(){i(true)};b.debug.replaceNow=function(){l();b()};b.bIsDisabled=false;b.bHideBrowserText=true;return b}();if(typeof sIFR=="function"&&!sIFR.UA.bIsIEMac)sIFR.setup()