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 f=new Array();var b=0;var h;var g;var a=0;for(b=0;b<c.length;b++){h=c[b];g=h.className.split(" ");for(var a=0;a<g.length;a++){if(g[a]==d){f.push(h);break}}}return f}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 f=c.length;for(var b=0;b<d.length;b++){if(d[b].indexOf(c)==0){a=Math.min(d[b].substring(f),100);break}}return Math.max(0,a)}function getClassAttribute(d,c){var a=0;var f=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,h,g,b,a,f){if(!f){d.beginPath()}d.moveTo(c,h+a);d.lineTo(c,h+b-a);d.quadraticCurveTo(c,h+b,c+a,h+b);d.lineTo(c+g-a,h+b);d.quadraticCurveTo(c+g,h+b,c+g,h+b-a);d.lineTo(c+g,h+a);d.quadraticCurveTo(c+g,h,c+g-a,h);d.lineTo(c+a,h);d.quadraticCurveTo(c,h,c,h+a);if(!f){d.closePath()}}function addGradient(l,j,g,k,d,b,f){var c=l.createLinearGradient(j,g,k,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+","+f+")");c.addColorStop(0.75,"rgba("+b+","+b+","+b+",0)");c.addColorStop(1,"rgba("+b+","+b+","+b+",0)");return c}function addRadialStyle(l,c,k,f,a,j,d,h){var g=l.createRadialGradient(c,k,f,a,j,d);var b=Math.min(parseFloat(h+0.1),1);g.addColorStop(0,"rgba(0,0,0,"+b+")");
g.addColorStop(0.25,"rgba(0,0,0,"+h+")");g.addColorStop(1,"rgba(0,0,0,0)");return g}function addLinearStyle(c,a,k,b,j,d){var g=c.createLinearGradient(a,k,b,j);var f=Math.min(parseFloat(d+0.1),1);g.addColorStop(0,"rgba(0,0,0,"+f+")");g.addColorStop(0.25,"rgba(0,0,0,"+d+")");g.addColorStop(1,"rgba(0,0,0,0)");return g}function addShine(d,j,c,b,g,a){var h;var f=(a!=1?254:0);h=addGradient(d,0,b,b,b,f,g);d.beginPath();d.moveTo(0,0);d.lineTo(0,c);d.lineTo(b,c);d.lineTo(b,b);d.closePath();d.fillStyle=h;d.fill();h=addGradient(d,b,0,b,b,f,g);d.beginPath();d.moveTo(0,0);d.lineTo(j,0);d.lineTo(j,b);d.lineTo(b,b);d.closePath();d.fillStyle=h;d.fill()}function addShade(c,g,b,a,d){var f;f=addGradient(c,g,a,g-a,a,0,d);c.beginPath();c.moveTo(g,0);c.lineTo(g,b);c.lineTo(g-a,b-a);c.lineTo(g-a,0);c.closePath();c.fillStyle=f;c.fill();f=addGradient(c,a,b,a,b-a,0,d);c.beginPath();c.moveTo(g,b);c.lineTo(0,b);c.lineTo(0,b-a);c.lineTo(g-a,b-a);c.closePath();c.fillStyle=f;c.fill()}function roundedShadow(d,c,j,h,b,a,f){var g;
d.beginPath();d.rect(c,j+b-a,a,a);d.closePath();g=addRadialStyle(d,c+a,j+b-a,a-c,c+a,j+b-a,a,f);d.fillStyle=g;d.fill();d.beginPath();d.rect(c+a,j+b-j,h-(a*2.25),j);d.closePath();g=addLinearStyle(d,c+a,j+b-j,c+a,j+b,f);d.fillStyle=g;d.fill();d.beginPath();d.rect(c+h-(a*1.25),j+b-(a*1.25),a*1.25,a*1.25);d.closePath();g=addRadialStyle(d,c+h-(a*1.25),j+b-(a*1.25),(a*1.25)-1.5-c,c+h-(a*1.25),j+b-(a*1.25),a*1.25,f);d.fillStyle=g;d.fill();d.beginPath();d.rect(c+h-c,j+a,c,b-(a*2.25));d.closePath();g=addLinearStyle(d,c+h-c,j+a,c+h,j+a,f);d.fillStyle=g;d.fill();d.beginPath();d.rect(c+h-a,j,a,a);d.closePath();g=addRadialStyle(d,c+h-a,j+a,a-c,c+h-a,j+a,a,f);d.fillStyle=g;d.fill()}function addIECorners(){var G=getImages("corner");var f;var B;var x;var J;var v;var H;var h="";var c=null;var I=null;var p=null;var o=null;var k="";var M=null;var A=null;var C=null;var r="";var z=null;var a=null;var d=null;var q,l,F,y,m,u,n;var g,j,b,E,t,D,w,K;for(H=0;H<G.length;H++){try{f=G[H];B=f.parentNode;h=f.className.split(" ");
c=getClassValue(h,"iradius");I=getClassValue(h,"ishadow");p=getClassValue(h,"ishade");o=getClassAttribute(h,"inverse");k=getClasses(h,"corner");a=f.width;d=f.height;M=Math.min(a,d)/2;c=Math.min(M,c);A=4;A=(I>0?(o>0?0:Math.min(Math.max(A,c/2),16)):0);C=getRadius(c,a,d);r=(f.currentStyle.display.toLowerCase()=="block")?"block":"inline-block";x=document.createElement(['<var style="overflow:hidden;display:'+r+";width:"+a+"px;height:"+d+'px;padding:0;">'].join(""));z=f.currentStyle.styleFloat.toLowerCase();r=(z=="left"||z=="right")?"inline":r;q='<v:group style="zoom:1; display:'+r+"; margin:-1px 0 0 -1px; padding:0; position:relative; width:"+a+"px;height:"+d+'px;" coordsize="'+a+","+d+'">';m='<v:fill src="'+f.src+'" type="frame" />';u=(c>0?"</v:roundrect>":"</v:rect>");n="</v:group>";F="";y="";t="";g="";j="";b="";E="";if(c<=0){if(I>0){if(o<=0){I=I/50;A=8;K=4;F='<v:rect strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" style="position:absolute; margin:-1px 0 0 -1px;padding:0 ;width:'+a+"px;height:"+d+'px;"><v:fill color="#ffffff" opacity="0.0" /></v:rect><v:rect strokeweight="0" filled="t" stroked="f" fillcolor="#000000" style="filter:Alpha(opacity='+(I*64)+"), progid:dxImageTransform.Microsoft.Blur(PixelRadius="+K+", MakeShadow=false); zoom:1;margin:-1px 0 0 -1px;padding: 0;display:block;position:absolute;top:"+K+"px;left:"+K+"px;width:"+(a-(3*K))+"px;height:"+(d-(3*K))+'px;"><v:fill color="#000000" opacity="1" /></v:rect>';
l='<v:rect strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" style="position:absolute; margin:-1px 0 0 -1px;padding:0 ;width:'+(a-A)+"px;height:"+(d-A)+'px;">'}else{if(o>0){I=I/50;c=12;w="linear";l='<v:rect filled="t" stroked="t" fillcolor="#ffffff" style="position:absolute; margin:-1px 0 0 -1px;padding:0; width:'+a+"px;height:"+d+'px;">';y='<v:stroke weight="0.5" opacity="'+(I/2)+'" color="#000000" />';j='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#000000" coordorigin="0,0" coordsize="'+a+","+c+'" path="m 0,0 l '+a+",0,"+a+","+c+","+c+","+c+' x e" style="position:absolute; margin: -1px 0 0 -1px; top: 0px; left: 0px; width:'+a+"px; height:"+c+'px;"><v:fill method="'+w+'" type="gradient" angle="0" color="#000000" opacity="0" color2="#000000" o:opacity2="'+I+'" /></v:shape>';g='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#000000" coordorigin="0,0" coordsize="'+c+","+d+'" path="m 0,0 l 0,'+d+","+c+","+d+","+c+","+c+' x e" style="position:absolute; margin: -1px 0 0 -1px; top: 0px; left: 0px; width:'+c+"px; height:"+d+'px;"><v:fill method="'+w+'" type="gradient" angle="90" color="#000000" opacity="0" color2="#000000" o:opacity2="'+I+'" /></v:shape>'
}}}else{l='<v:rect strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" style="margin:-1px 0 0 -1px;padding:0;display:'+r+";width:"+a+"px;height:"+d+'px;">'}if(p>0){p=p/50;c=12;j='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" coordorigin="0,0" coordsize="'+(a-A)+","+c+'" path="m 0,0 l '+(a-A)+",0,"+(a-A)+","+c+","+c+","+c+' x e" style="position:absolute; margin: -1px 0 0 -1px; top: 0px; left: 0px; width:'+(a-A)+"px; height:"+c+'px;"><v:fill method="linear" type="gradient" angle="0" color="#ffffff" opacity="0" color2="#ffffff" o:opacity2="'+p+'" /></v:shape>';g='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" coordorigin="0,0" coordsize="'+c+","+(d-A)+'" path="m 0,0 l 0,'+(d-A)+","+c+","+(d-A)+","+c+","+c+' x e" style="position:absolute; margin: -1px 0 0 -1px; top: 0px; left: 0px; width:'+c+"px; height:"+(d-A)+'px;"><v:fill method="linear" type="gradient" angle="90" color="#ffffff" opacity="0" color2="#ffffff" o:opacity2="'+p+'" /></v:shape>';
b='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#000000" coordorigin="0,0" coordsize="'+(a-A)+","+c+'" path="m 0,'+c+" l "+(a-A)+","+c+","+(a-A-c)+",0,"+c+',0 x e" style="position:absolute; margin: 0; top:'+(d-A-c)+"px; left: 0px; width:"+(a-A)+"px; height:"+c+'px;"><v:fill method="linear" type="gradient" angle="180" color="#000000" opacity="0" color2="#000000" o:opacity2="'+p+'" /></v:shape>';E='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#000000" coordorigin="0,0" coordsize="'+c+","+(d-A)+'" path="m '+c+",0 l "+c+","+(d-A)+",0,"+(d-A-c)+",0,"+c+' x e" style="position:absolute; margin: 0; top: 0px; left:'+(a-A-c)+"px; width:"+c+"px; height:"+(d-A)+'px;"><v:fill method="linear" type="gradient" angle="270" color="#000000" opacity="0" color2="#000000" o:opacity2="'+p+'" /></v:shape>'}}else{if(I>0){w="linear sigma";v=2;if(o<=0){I=I/50;K=Math.round(A*0.5);F='<v:rect strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" style="position:absolute; margin:-1px 0 0 -1px;padding:0 ;width:'+a+"px;height:"+d+'px;"><v:fill color="#ffffff" opacity="0.0" /></v:rect><v:roundrect arcsize="'+(C+K)+'" strokeweight="0" filled="t" stroked="f" fillcolor="#000000" style="filter:Alpha(opacity='+(I*64)+"), progid:dxImageTransform.Microsoft.Blur(PixelRadius="+K+", MakeShadow=false); zoom:1;margin:-1px 0 0 -1px;padding: 0;display:block;position:absolute;top:"+K+"px;left:"+K+"px;width:"+(a-(3*K))+"px;height:"+(d-(3*K))+'px;"><v:fill color="#000000" opacity="1" /></v:roundrect>';
l='<v:roundrect arcsize="'+C+'" strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" style="position:absolute; margin:-1px 0 0 -1px;padding:0; width:'+(a-A)+"px;height:"+(d-A)+'px;">'}else{if(o>0){I=I/50;l='<v:roundrect arcsize="'+C+'" filled="t" stroked="t" fillcolor="#ffffff" style="position:absolute; margin:-1px 0 0 -1px;padding:0; width:'+a+"px;height:"+d+'px;">';y='<v:stroke weight="0.5" opacity="'+(I/2)+'" color="#000000" />';j='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#000000" coordorigin="0,0" coordsize="'+a+","+c+'" path="m '+c+","+c+" l "+a+","+c+" qy "+(a-c)+",0 l "+c+',0 x e" style="position:absolute; margin: -1px 0 0 -1px; top: 0px; left: -1px; width:'+(a+1)+"px; height:"+c+'px;"><v:fill method="'+w+'" type="gradient" angle="0" color="#000000" opacity="0" color2="#000000" o:opacity2="'+I+'" /></v:shape>';g='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#000000" coordorigin="0,0" coordsize="'+c+","+d+'" path="m 0,'+c+" l 0,"+(d-c)+" qy "+c+","+d+" l "+c+","+c+' x e" style="position:absolute; margin: -1px 0 0 -1px; top: -1px; left: 0px; width:'+c+"px; height:"+(d+1)+'px;"><v:fill method="'+w+'" type="gradient" angle="90" color="#000000" opacity="0" color2="#000000" o:opacity2="'+I+'" /></v:shape>';
t='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#000000" coordorigin="0,0" coordsize="'+c+","+c+'" path="m '+c+","+c+" l 0,"+c+" qy "+c+",0 l "+c+","+c+' x e" style="position:absolute; margin: -1px 0 0 -1px; top: 0px; left: 0px; width:'+c+"px; height:"+c+'px;"><v:fill method="'+w+'" focus="1" focusposition="1,1" focussize="0.5,0.5" type="gradientradial" color="#000000" opacity="0" color2="#000000" o:opacity2="'+I+'" /></v:shape>'}}}else{v=1;A=0;l='<v:roundrect arcsize="'+C+'" strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" style="position:absolute; margin:-1px 0 0 -1px;padding:0; width:'+a+"px;height:"+d+'px;">'}if(p>0){p=p/50;w="linear";j='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" coordorigin="0,0" coordsize="'+(a-A)+","+c+'" path="m '+c+","+c+" l "+(a-A)+","+c+" qy "+(a-A-c)+",0 l "+c+',0 x e" style="position:absolute; margin: -1px 0 0 -1px; top: 0px; left: -1px; width:'+(a-A+v)+"px; height:"+c+'px;"><v:fill method="'+w+'" type="gradient" angle="0" color="#ffffff" opacity="0" color2="#ffffff" o:opacity2="'+p+'" /></v:shape>';
g='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" coordorigin="0,0" coordsize="'+c+","+(d-A)+'" path="m 0,'+c+" l 0,"+(d-c-A)+" qy "+c+","+(d-A)+" l "+c+","+c+' x e" style="position:absolute; margin: -1px 0 0 -1px; top: -1px; left: 0px; width:'+c+"px; height:"+(d-A+v)+'px;"><v:fill method="'+w+'" type="gradient" angle="90" color="#ffffff" opacity="0" color2="#ffffff" o:opacity2="'+p+'" /></v:shape>';t='<v:shape strokeweight="0" filled="t" stroked="f" fillcolor="#ffffff" coordorigin="0,0" coordsize="'+c+","+c+'" path="m '+c+","+c+" l 0,"+c+" qy "+c+",0 l "+c+","+c+' x e" style="position:absolute; margin: -1px 0 0 -1px; top: 0px; left: 0px; width:'+c+"px; height:"+c+'px;"><v:fill method="'+w+'" focus="1" focusposition="1,1" focussize="0.5,0.5" type="gradientradial" color="#ffffff" opacity="0" color2="#ffffff" o:opacity2="'+p+'" /></v:shape>'}}x.innerHTML=q+F+l+m+y+u+E+b+j+g+t+n;x.className=k;x.style.cssText=f.style.cssText;x.style.height=f.height+"px";x.style.width=f.width+"px";
x.height=f.height;x.width=f.width;x.src=f.src;x.alt=f.alt;if(f.id!=""){x.id=f.id}if(f.title!=""){x.title=f.title}if(f.getAttribute("onclick")!=""){x.setAttribute("onclick",f.getAttribute("onclick"))}if(f.getAttribute("usemap")){if(c>0){v=A}else{v=0}B.style.position="relative";B.style.height=d+"px";B.style.width=a+"px";f.left=0;f.top=0;f.style.position="absolute";f.style.height=d+"px";f.style.width=a+"px";f.style.left=0+"px";f.style.top=0+"px";f.style.filter="Alpha(opacity=0)";B.insertBefore(x,f)}else{B.replaceChild(x,f)}}catch(L){continue}}}function addCorners(){var q=getImages("corner");var g;var h;var d;var b;var n;var m=null;var r=null;var p=null;var l=null;var f="";var k="";var c=null;var a=null;var j=null;for(n=0;n<q.length;n++){try{g=q[n];h=g.parentNode;d=document.createElement("canvas");if(d.getContext){f=g.className.split(" ");m=getClassValue(f,"iradius");p=getClassValue(f,"ishadow");r=getClassValue(f,"ishade");l=getClassAttribute(f,"inverse");k=getClasses(f,"corner");d.className=k;
d.style.cssText=g.style.cssText;d.style.height=g.height+"px";d.style.width=g.width+"px";d.height=g.height;d.width=g.width;d.src=g.src;d.alt=g.alt;if(g.id!=""){d.id=g.id}if(g.title!=""){d.title=g.title}if(g.getAttribute("onclick")!=""){d.setAttribute("onclick",g.getAttribute("onclick"))}c=Math.min(d.width,d.height)/2;m=Math.min(c,m);j=4;j=(p>0?(l>0?0:Math.min(Math.max(j,m/2),16)):0);b=d.getContext("2d");if(g.getAttribute("usemap")){h.style.position="relative";h.style.height=g.height+"px";h.style.width=g.width+"px";d.left=0;d.top=0;d.style.position="absolute";d.style.left=0+"px";d.style.top=0+"px";g.left=0;g.top=0;g.style.position="absolute";g.style.height=g.height+"px";g.style.width=g.width+"px";g.style.left=0+"px";g.style.top=0+"px";g.style.opacity=0;h.insertBefore(d,g)}else{h.replaceChild(d,g)}b.clearRect(0,0,d.width,d.height);b.save();if(p>0&&l<=0){p=p/100;if(m>0){roundedShadow(b,j,j,d.width-j,d.height-j,m,p)}else{j=8;roundedShadow(b,j,j,d.width-j,d.height-j,j,p)}}if(m<=0){b.beginPath();
b.rect(0,0,d.width-j,d.height-j);b.closePath()}else{roundedRect(b,0,0,d.width-j,d.height-j,m)}b.clip();b.fillStyle="rgba(0,0,0,0)";b.fillRect(0,0,d.width,d.height);b.drawImage(g,0,0,d.width-j,d.height-j);if(p>0&&l>0){p=p/100;if(m>0){addShine(b,d.width,d.height,m,p,1);roundedRect(b,0,0,d.width,d.height,m)}else{m=16;addShine(b,d.width,d.height,m,p,1);b.beginPath();b.rect(0,0,d.width,d.height);b.closePath()}b.strokeStyle="rgba(0,0,0,"+p+")";b.lineWidth=2;b.stroke()}if(r>0){r=r/100;if(m<=0){m=16}addShade(b,d.width-j,d.height-j,m,r);addShine(b,d.width-j,d.height-j,m,r)}d.style.visibility="visible"}}catch(o){continue}}}function loadCorner(){if(_isIE){addIECorners()}else{addCorners()}}window.onload=function(){loadCorner()};