var tmp=navigator.appName=="Microsoft Internet Explorer"&&navigator.userAgent.indexOf("Opera")<1?1:0;if(tmp){var isIE=document.namespaces?1:0;}if(isIE){if(document.namespaces["v"]==null){var e=["shape","shapetype","group","background","path","formulas","handles","fill","stroke","shadow","textbox","textpath","imagedata","line","polyline","curve","roundrect","oval","rect","arc","image"],s=document.createStyleSheet();
for(var i=0;i<e.length;i++){s.addRule("v\\:"+e[i],"behavior: url(#default#VML);");}document.namespaces.add("v","urn:schemas-microsoft-com:vml");}}function getRadius(B,D,A){var C=(Math.min(D,A)/100);B=Math.max(Math.min(100,B/C),0);return B+"%";}function getImages(D){var C=document.getElementsByTagName("img");
var E=new Array();var B=0;var G;var F;var A=0;for(B=0;B<C.length;B++){G=C[B];F=G.className.split(" ");for(var A=0;A<F.length;A++){if(F[A]==D){E.push(G);break;}}}return E;}function getClasses(D,C){var A="";for(var B=0;B<D.length;B++){if(D[B]!=C){if(A){A+=" ";
}A+=D[B];}}return A;}function getClassValue(D,C){var A=0;var E=C.length;for(var B=0;B<D.length;B++){if(D[B].indexOf(C)==0){A=Math.min(D[B].substring(E),100);break;}}return Math.max(0,A);}function getClassAttribute(D,C){var A=0;var E=C.length;for(var B=0;B<D.length;
B++){if(D[B].indexOf(C)==0){A=1;break;}}return A;}function roundedRect(D,C,G,F,B,A,E){if(!E){D.beginPath();}D.moveTo(C,G+A);D.lineTo(C,G+B-A);D.quadraticCurveTo(C,G+B,C+A,G+B);D.lineTo(C+F-A,G+B);D.quadraticCurveTo(C+F,G+B,C+F,G+B-A);D.lineTo(C+F,G+A);D.quadraticCurveTo(C+F,G,C+F-A,G);
D.lineTo(C+A,G);D.quadraticCurveTo(C,G,C,G+A);if(!E){D.closePath();}}function addGradient(I,G,F,H,D,B,E){var C=I.createLinearGradient(G,F,H,D);var A=(B>0?0.25:0.2);C.addColorStop(0,"rgba("+B+","+B+","+B+",0.9)");C.addColorStop(A,"rgba("+B+","+B+","+B+","+E+")");
C.addColorStop(0.75,"rgba("+B+","+B+","+B+",0)");C.addColorStop(1,"rgba("+B+","+B+","+B+",0)");return C;}function addRadialStyle(J,C,I,E,A,H,D,G){var F=J.createRadialGradient(C,I,E,A,H,D);var B=Math.min(parseFloat(G+0.1),1);F.addColorStop(0,"rgba(0,0,0,"+B+")");
F.addColorStop(0.25,"rgba(0,0,0,"+G+")");F.addColorStop(1,"rgba(0,0,0,0)");return F;}function addLinearStyle(C,A,H,B,G,D){var F=C.createLinearGradient(A,H,B,G);var E=Math.min(parseFloat(D+0.1),1);F.addColorStop(0,"rgba(0,0,0,"+E+")");F.addColorStop(0.25,"rgba(0,0,0,"+D+")");
F.addColorStop(1,"rgba(0,0,0,0)");return F;}function addShine(D,H,C,B,F,A){var G;var E=(A!=1?254:0);G=addGradient(D,0,B,B,B,E,F);D.beginPath();D.moveTo(0,0);D.lineTo(0,C);D.lineTo(B,C);D.lineTo(B,B);D.closePath();D.fillStyle=G;D.fill();G=addGradient(D,B,0,B,B,E,F);
D.beginPath();D.moveTo(0,0);D.lineTo(H,0);D.lineTo(H,B);D.lineTo(B,B);D.closePath();D.fillStyle=G;D.fill();}function addShade(C,F,B,A,D){var E;E=addGradient(C,F,A,F-A,A,0,D);C.beginPath();C.moveTo(F,0);C.lineTo(F,B);C.lineTo(F-A,B-A);C.lineTo(F-A,0);C.closePath();
C.fillStyle=E;C.fill();E=addGradient(C,A,B,A,B-A,0,D);C.beginPath();C.moveTo(F,B);C.lineTo(0,B);C.lineTo(0,B-A);C.lineTo(F-A,B-A);C.closePath();C.fillStyle=E;C.fill();}function roundedShadow(D,C,H,G,B,A,E){var F;D.beginPath();D.rect(C,H+B-A,A,A);D.closePath();
F=addRadialStyle(D,C+A,H+B-A,A-C,C+A,H+B-A,A,E);D.fillStyle=F;D.fill();D.beginPath();D.rect(C+A,H+B-H,G-(A*2.25),H);D.closePath();F=addLinearStyle(D,C+A,H+B-H,C+A,H+B,E);D.fillStyle=F;D.fill();D.beginPath();D.rect(C+G-(A*1.25),H+B-(A*1.25),A*1.25,A*1.25);D.closePath();
F=addRadialStyle(D,C+G-(A*1.25),H+B-(A*1.25),(A*1.25)-1.5-C,C+G-(A*1.25),H+B-(A*1.25),A*1.25,E);D.fillStyle=F;D.fill();D.beginPath();D.rect(C+G-C,H+A,C,B-(A*2.25));D.closePath();F=addLinearStyle(D,C+G-C,H+A,C+G,H+A,E);D.fillStyle=F;D.fill();D.beginPath();D.rect(C+G-A,H,A,A);
D.closePath();F=addRadialStyle(D,C+G-A,H+A,A-C,C+G-A,H+A,A,E);D.fillStyle=F;D.fill();}function addIECorners(){var T=getImages("corner");var Q;var k;var B;var N;var K;var X;var c="";var h=null;var A=null;var a=null;var C=null;var j="";var Z=null;var I=null;var F=null;
var W="";var U=null;var R=null;var P=null;var G,H,Y,L,V,f,D;var E,O,M,d,J,g,b,S;for(X=0;X<T.length;X++){Q=T[X];k=Q.parentNode;c=Q.className.split(" ");h=getClassValue(c,"iradius");A=getClassValue(c,"ishadow");a=getClassValue(c,"ishade");C=getClassAttribute(c,"inverse");
j=getClasses(c,"corner");R=Q.width;P=Q.height;Z=Math.min(R,P)/2;h=Math.min(Z,h);I=4;I=(A>0?(C>0?0:Math.min(Math.max(I,h/2),16)):0);F=getRadius(h,R,P);W=(Q.currentStyle.display.toLowerCase()=="block")?"block":"inline-block";B=document.createElement(['<var style="overflow:hidden;display:'+W+";width:"+R+"px;height:"+P+'px;padding:0;">'].join(""));
U=Q.currentStyle.styleFloat.toLowerCase();W=(U=="left"||U=="right")?"inline":W;G='<v:group style="zoom:1; display:'+W+"; margin:-1px 0 0 -1px; padding:0; position:relative; width:"+R+"px;height:"+P+'px;" coordsize="'+R+","+P+'">';V='<v:fill src="'+Q.src+'" type="frame" />';
f=(h>0?"</v:roundrect>":"</v:rect>");D="</v:group>";Y="";L="";J="";E="";O="";M="";d="";if(h<=0){if(A>0){if(C<=0){A=A/50;I=8;S=4;Y='<v:rect strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" style="position:absolute; margin:-1px 0 0 -1px;padding:0 ;width:'+R+"px;height:"+P+'px;"><v:fill color="#ffffff" opacity="0.0" /></v:rect><v:rect strokeweight="0" filled="t" stroked="f" fillcolor="#000000" style="filter:Alpha(opacity='+(A*64)+"), progid:dxImageTransform.Microsoft.Blur(PixelRadius="+S+", MakeShadow=false); zoom:1;margin:-1px 0 0 -1px;padding: 0;display:block;position:absolute;top:"+S+"px;left:"+S+"px;width:"+(R-(3*S))+"px;height:"+(P-(3*S))+'px;"><v:fill color="#000000" opacity="1" /></v:rect>';
H='<v:rect strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" style="position:absolute; margin:-1px 0 0 -1px;padding:0 ;width:'+(R-I)+"px;height:"+(P-I)+'px;">';}else{if(C>0){A=A/50;h=12;b="linear";H='<v:rect filled="t" stroked="t" fillcolor="#ffffff" style="position:absolute; margin:-1px 0 0 -1px;padding:0; width:'+R+"px;height:"+P+'px;">';
L='<v:stroke weight="0.5" opacity="'+(A/2)+'" color="#000000" />';O='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#000000" coordorigin="0,0" coordsize="'+R+","+h+'" path="m 0,0 l '+R+",0,"+R+","+h+","+h+","+h+' x e" style="position:absolute; margin: -1px 0 0 -1px; top: 0px; left: 0px; width:'+R+"px; height:"+h+'px;"><v:fill method="'+b+'" type="gradient" angle="0" color="#000000" opacity="0" color2="#000000" o:opacity2="'+A+'" /></v:shape>';
E='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#000000" coordorigin="0,0" coordsize="'+h+","+P+'" path="m 0,0 l 0,'+P+","+h+","+P+","+h+","+h+' x e" style="position:absolute; margin: -1px 0 0 -1px; top: 0px; left: 0px; width:'+h+"px; height:"+P+'px;"><v:fill method="'+b+'" type="gradient" angle="90" color="#000000" opacity="0" color2="#000000" o:opacity2="'+A+'" /></v:shape>';
}}}else{H='<v:rect strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" style="margin:-1px 0 0 -1px;padding:0;display:'+W+";width:"+R+"px;height:"+P+'px;">';}if(a>0){a=a/50;h=12;O='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" coordorigin="0,0" coordsize="'+(R-I)+","+h+'" path="m 0,0 l '+(R-I)+",0,"+(R-I)+","+h+","+h+","+h+' x e" style="position:absolute; margin: -1px 0 0 -1px; top: 0px; left: 0px; width:'+(R-I)+"px; height:"+h+'px;"><v:fill method="linear" type="gradient" angle="0" color="#ffffff" opacity="0" color2="#ffffff" o:opacity2="'+a+'" /></v:shape>';
E='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" coordorigin="0,0" coordsize="'+h+","+(P-I)+'" path="m 0,0 l 0,'+(P-I)+","+h+","+(P-I)+","+h+","+h+' x e" style="position:absolute; margin: -1px 0 0 -1px; top: 0px; left: 0px; width:'+h+"px; height:"+(P-I)+'px;"><v:fill method="linear" type="gradient" angle="90" color="#ffffff" opacity="0" color2="#ffffff" o:opacity2="'+a+'" /></v:shape>';
M='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#000000" coordorigin="0,0" coordsize="'+(R-I)+","+h+'" path="m 0,'+h+" l "+(R-I)+","+h+","+(R-I-h)+",0,"+h+',0 x e" style="position:absolute; margin: 0; top:'+(P-I-h)+"px; left: 0px; width:"+(R-I)+"px; height:"+h+'px;"><v:fill method="linear" type="gradient" angle="180" color="#000000" opacity="0" color2="#000000" o:opacity2="'+a+'" /></v:shape>';
d='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#000000" coordorigin="0,0" coordsize="'+h+","+(P-I)+'" path="m '+h+",0 l "+h+","+(P-I)+",0,"+(P-I-h)+",0,"+h+' x e" style="position:absolute; margin: 0; top: 0px; left:'+(R-I-h)+"px; width:"+h+"px; height:"+(P-I)+'px;"><v:fill method="linear" type="gradient" angle="270" color="#000000" opacity="0" color2="#000000" o:opacity2="'+a+'" /></v:shape>';
}}else{if(A>0){b="linear sigma";K=2;if(C<=0){A=A/50;S=Math.round(I*0.5);Y='<v:rect strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" style="position:absolute; margin:-1px 0 0 -1px;padding:0 ;width:'+R+"px;height:"+P+'px;"><v:fill color="#ffffff" opacity="0.0" /></v:rect><v:roundrect arcsize="'+(F+S)+'" strokeweight="0" filled="t" stroked="f" fillcolor="#000000" style="filter:Alpha(opacity='+(A*64)+"), progid:dxImageTransform.Microsoft.Blur(PixelRadius="+S+", MakeShadow=false); zoom:1;margin:-1px 0 0 -1px;padding: 0;display:block;position:absolute;top:"+S+"px;left:"+S+"px;width:"+(R-(3*S))+"px;height:"+(P-(3*S))+'px;"><v:fill color="#000000" opacity="1" /></v:roundrect>';
H='<v:roundrect arcsize="'+F+'" strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" style="position:absolute; margin:-1px 0 0 -1px;padding:0; width:'+(R-I)+"px;height:"+(P-I)+'px;">';}else{if(C>0){A=A/50;H='<v:roundrect arcsize="'+F+'" filled="t" stroked="t" fillcolor="#ffffff" style="position:absolute; margin:-1px 0 0 -1px;padding:0; width:'+R+"px;height:"+P+'px;">';
L='<v:stroke weight="0.5" opacity="'+(A/2)+'" color="#000000" />';O='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#000000" coordorigin="0,0" coordsize="'+R+","+h+'" path="m '+h+","+h+" l "+R+","+h+" qy "+(R-h)+",0 l "+h+',0 x e" style="position:absolute; margin: -1px 0 0 -1px; top: 0px; left: -1px; width:'+(R+1)+"px; height:"+h+'px;"><v:fill method="'+b+'" type="gradient" angle="0" color="#000000" opacity="0" color2="#000000" o:opacity2="'+A+'" /></v:shape>';
E='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#000000" coordorigin="0,0" coordsize="'+h+","+P+'" path="m 0,'+h+" l 0,"+(P-h)+" qy "+h+","+P+" l "+h+","+h+' x e" style="position:absolute; margin: -1px 0 0 -1px; top: -1px; left: 0px; width:'+h+"px; height:"+(P+1)+'px;"><v:fill method="'+b+'" type="gradient" angle="90" color="#000000" opacity="0" color2="#000000" o:opacity2="'+A+'" /></v:shape>';
J='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#000000" coordorigin="0,0" coordsize="'+h+","+h+'" path="m '+h+","+h+" l 0,"+h+" qy "+h+",0 l "+h+","+h+' x e" style="position:absolute; margin: -1px 0 0 -1px; top: 0px; left: 0px; width:'+h+"px; height:"+h+'px;"><v:fill method="'+b+'" focus="1" focusposition="1,1" focussize="0.5,0.5" type="gradientradial" color="#000000" opacity="0" color2="#000000" o:opacity2="'+A+'" /></v:shape>';
}}}else{K=1;I=0;H='<v:roundrect arcsize="'+F+'" strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" style="position:absolute; margin:-1px 0 0 -1px;padding:0; width:'+R+"px;height:"+P+'px;">';}if(a>0){a=a/50;b="linear";O='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" coordorigin="0,0" coordsize="'+(R-I)+","+h+'" path="m '+h+","+h+" l "+(R-I)+","+h+" qy "+(R-I-h)+",0 l "+h+',0 x e" style="position:absolute; margin: -1px 0 0 -1px; top: 0px; left: -1px; width:'+(R-I+K)+"px; height:"+h+'px;"><v:fill method="'+b+'" type="gradient" angle="0" color="#ffffff" opacity="0" color2="#ffffff" o:opacity2="'+a+'" /></v:shape>';
E='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" coordorigin="0,0" coordsize="'+h+","+(P-I)+'" path="m 0,'+h+" l 0,"+(P-h-I)+" qy "+h+","+(P-I)+" l "+h+","+h+' x e" style="position:absolute; margin: -1px 0 0 -1px; top: -1px; left: 0px; width:'+h+"px; height:"+(P-I+K)+'px;"><v:fill method="'+b+'" type="gradient" angle="90" color="#ffffff" opacity="0" color2="#ffffff" o:opacity2="'+a+'" /></v:shape>';
J='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" coordorigin="0,0" coordsize="'+h+","+h+'" path="m '+h+","+h+" l 0,"+h+" qy "+h+",0 l "+h+","+h+' x e" style="position:absolute; margin: -1px 0 0 -1px; top: 0px; left: 0px; width:'+h+"px; height:"+h+'px;"><v:fill method="'+b+'" focus="1" focusposition="1,1" focussize="0.5,0.5" type="gradientradial" color="#ffffff" opacity="0" color2="#ffffff" o:opacity2="'+a+'" /></v:shape>';
}}B.innerHTML=G+Y+H+V+L+f+d+M+O+E+J+D;B.className=j;B.style.cssText=Q.style.cssText;B.style.height=Q.height+"px";B.style.width=Q.width+"px";B.height=Q.height;B.width=Q.width;B.src=Q.src;B.alt=Q.alt;if(Q.id!=""){B.id=Q.id;}if(Q.title!=""){B.title=Q.title;}if(Q.getAttribute("onclick")!=""){B.setAttribute("onclick",Q.getAttribute("onclick"));
}if(Q.getAttribute("usemap")){if(h>0){K=I;}else{K=0;}k.style.position="relative";k.style.height=P+"px";k.style.width=R+"px";Q.left=0;Q.top=0;Q.style.position="absolute";Q.style.height=P+"px";Q.style.width=R+"px";Q.style.left=0+"px";Q.style.top=0+"px";Q.style.filter="Alpha(opacity=0)";
k.insertBefore(B,Q);}else{k.replaceChild(B,Q);}}}function addCorners(){var N=getImages("corner");var F;var G;var D;var B;var L;var K=null;var O=null;var M=null;var J=null;var E="";var I="";var C=null;var A=null;var H=null;for(L=0;L<N.length;L++){F=N[L];G=F.parentNode;
D=document.createElement("canvas");if(D.getContext){E=F.className.split(" ");K=getClassValue(E,"iradius");M=getClassValue(E,"ishadow");O=getClassValue(E,"ishade");J=getClassAttribute(E,"inverse");I=getClasses(E,"corner");D.className=I;D.style.cssText=F.style.cssText;
D.style.height=F.height+"px";D.style.width=F.width+"px";D.height=F.height;D.width=F.width;D.src=F.src;D.alt=F.alt;if(F.id!=""){D.id=F.id;}if(F.title!=""){D.title=F.title;}if(F.getAttribute("onclick")!=""){D.setAttribute("onclick",F.getAttribute("onclick"));
}C=Math.min(D.width,D.height)/2;K=Math.min(C,K);H=4;H=(M>0?(J>0?0:Math.min(Math.max(H,K/2),16)):0);B=D.getContext("2d");if(F.getAttribute("usemap")){G.style.position="relative";G.style.height=F.height+"px";G.style.width=F.width+"px";D.left=0;D.top=0;D.style.position="absolute";
D.style.left=0+"px";D.style.top=0+"px";F.left=0;F.top=0;F.style.position="absolute";F.style.height=F.height+"px";F.style.width=F.width+"px";F.style.left=0+"px";F.style.top=0+"px";F.style.opacity=0;G.insertBefore(D,F);}else{G.replaceChild(D,F);}B.clearRect(0,0,D.width,D.height);
B.save();if(M>0&&J<=0){M=M/100;if(K>0){roundedShadow(B,H,H,D.width-H,D.height-H,K,M);}else{H=8;roundedShadow(B,H,H,D.width-H,D.height-H,H,M);}}if(K<=0){B.beginPath();B.rect(0,0,D.width-H,D.height-H);B.closePath();}else{roundedRect(B,0,0,D.width-H,D.height-H,K);
}B.clip();B.fillStyle="rgba(0,0,0,0)";B.fillRect(0,0,D.width,D.height);B.drawImage(F,0,0,D.width-H,D.height-H);if(M>0&&J>0){M=M/100;if(K>0){addShine(B,D.width,D.height,K,M,1);roundedRect(B,0,0,D.width,D.height,K);}else{K=16;addShine(B,D.width,D.height,K,M,1);
B.beginPath();B.rect(0,0,D.width,D.height);B.closePath();}B.strokeStyle="rgba(0,0,0,"+M+")";B.lineWidth=2;B.stroke();}if(O>0){O=O/100;if(K<=0){K=16;}addShade(B,D.width-H,D.height-H,K,O);addShine(B,D.width-H,D.height-H,K,O);}D.style.visibility="visible";}}}
