var IS_IE=document.all&&window.print&&!window.opera&&(!document.compatMode||/MSIE 6/.test(navigator.userAgent)||(document.compatMode&&document.compatMode=="BackCompat"));
var IE_NG=document.all&&window.print&&!window.opera&&/MSIE [7-9]/.test(navigator.userAgent)&&document.compatMode&&document.compatMode!="BackCompat";
var IS_quirks=IS_IE&&document.compatMode&&document.compatMode=="BackCompat";
var heightPropertyToUse=IS_IE?"height":"minHeight";
var IS_Webkit=/Konqueror|Safari|KHTML/.test(navigator.userAgent);
document.documentElement.className+=" hasJS";
if(IS_IE){document.documentElement.className+=" IS_IE"
}var beforeDomReadyFuncs=[];
function addBeforeDomReady(a){beforeDomReadyFuncs.push(a)
}window.addEvent("domready",function(){beforeDomReadyFuncs.each(function(a){a()
})
});
var beforeLoadFuncs=[];
function addBeforeLoad(a){beforeLoadFuncs.push(a)
}function getElementsByClassName(c,b,a){var g=(b=="*"&&c.all)?c.all:c.getElementsByTagName(b);
var h=new Array();
a=a.replace(/\-/g,"\\-");
var f=new RegExp("(^|\\s)"+a+"(\\s|$)");
var e;
for(var d=0;
d<g.length;
d++){e=g[d];
if(f.test(e.className)){h.push(e)
}}return h
}function getStyle(a,b){var d="";
if(document.defaultView&&document.defaultView.getComputedStyle){try{d=document.defaultView.getComputedStyle(a,null).getPropertyValue(b)
}catch(c){d=""
}}else{if(a.currentStyle){try{b=b.replace(/\-(\w)/g,function(e,f){return f.toUpperCase()
});
d=a.currentStyle[b]
}catch(c){d=""
}}}return d
}function intStyle(b,a){var c=parseInt(getStyle(b,a));
if(isNaN(c)){c=0
}return c
}function getVStyles(a){return IS_quirks?0:intStyle(a,"border-top-width")+intStyle(a,"border-bottom-width")+intStyle(a,"padding-top")+intStyle(a,"padding-bottom")
}function getVMargins(a){return intStyle(a,"margin-top")+intStyle(a,"margin-bottom")
}function getHStyles(a){return IS_quirks?0:intStyle(a,"border-left-width")+intStyle(a,"border-right-width")+intStyle(a,"padding-left")+intStyle(a,"padding-right")
}function removeClass(a,b){a.className=a.className.replace(new RegExp("\\b"+b+"\\b","g"),"")
}function addClass(a,b){a.className+=" "+b
}function toggleClass(a,c,b){a.className=a.className.replace(new RegExp("\\b"+c+"\\b","g"),b)
}function findPos(a){var b=curtop=0;
if(a.offsetParent){b=a.offsetLeft;
curtop=a.offsetTop;
while(a=a.offsetParent){b+=a.offsetLeft;
curtop+=a.offsetTop
}}return[b,curtop]
}function openclose(b){var a=getParent(b,{className:"content(show|hide)"});
if(a.className.match(/contenthide/)){toggleClass(a,"contenthide","contentshow")
}else{toggleClass(a,"contentshow","contenthide")
}fixColumns()
}var $nodes={hasAttr:function(g,d,f){var e,b;
if(g.nodeType!=1){return false
}function c(a){for(var h in a){b=(typeof g[h])!="undefined"?g[h]:g.getAttribute(h);
e=a[h] instanceof RegExp?e:new RegExp("\\b"+a[h]+"\\b","i");
if(!b||!e.test(b)){return false
}}return true
}if(f&&c(f)){return false
}if(c(d)){return true
}return false
},getByTagName:function(b,a){return(a=="*")?(b.all?b.all:b.getElementsByTagName("*")):b.getElementsByTagName(a)
},node:function(d,b,c){return $nodes.nodes(d,b,c,true)
},nodes:function(b,j,e,k,d){var g=[];
if(!j){j={}
}if(typeof j=="string"){j={nodeName:j}
}if(j.nodeName&&j.nodeName=="*"){delete j.nodeName
}var c=d||$nodes.getByTagName(b,(j.nodeName||"*"));
for(var f=0;
f<c.length;
f++){var h=c[f];
if($nodes.hasAttr(h,j,e)){if(k){return h
}else{g.push(h)
}}}if(k){return null
}return g
},childs:function(d,b,c){return $nodes.nodes(d,b,c,false,d.childNodes)
},firstChild:function(d,b,c){return $nodes.nodes(d,b,c,true,d.childNodes)
},lastChild:function(e,b,d){var c=$nodes.nodes(e,b,d,false,e.childNodes);
return c[c.length-1]
},move:function(e,b,c,d){do{e=e[d];
if(e&&$nodes.hasAttr(e,b,c)){return e
}}while(e);
return null
},after:function(d,b,c){return $nodes.move(d,b,c,"nextSibling")
},before:function(d,b,c){return $nodes.move(d,b,c,"previousSibling")
},parent:function(d,b,c){return $nodes.move(d,b,c,"parentNode")
}};
var getNode=$nodes.node,getNodes=$nodes.nodes,getChildNodes=$nodes.childs,getNextSibling=$nodes.after,getPreviousSibling=$nodes.before,getParent=$nodes.parent,hasAttributes=$nodes.hasAttr,getElementsByTagName=$nodes.getByTagName;
var ifrlayer={make:function(obj){if(!obj){return
}obj=(typeof(obj)=="string")?document.getElementById(obj):obj;
if(!obj){return
}if(document.all&&window.print&&document.getElementById&&!obj.iframelayer){if(obj.parentNode&&!obj.iframelayer){var ifr=obj.parentNode.insertBefore(document.createElement("iframe"),obj)
}ifr.src="javascript:false";
if(obj.currentStyle.zIndex!=""&&parseInt(obj.currentStyle.zIndex)>1){ifr.style.zIndex=parseInt(obj.currentStyle.zIndex)-1
}with(ifr.style){filter="mask()";
position="absolute"
}obj.iframelayer=ifr
}if(obj.iframelayer){obj.iframelayer.style.visibility="visible";
ifrlayer.move(obj,true)
}},hide:function(a){if(!a){return
}a=typeof(a)=="string"?document.getElementById(a):a;
if(!a){return
}if(a.iframelayer){a.iframelayer.style.visibility="hidden"
}},kill:function(a){if(!a){return
}a=typeof(a)=="string"?document.getElementById(a):a;
if(a){}else{return
}if(a.iframelayer){a.iframelayer.parentNode.removeChild(a.iframelayer)
}},move:function(obj,size){if(obj&&obj.iframelayer){with(obj.iframelayer.style){top=obj.offsetTop+"px";
left=obj.offsetLeft+"px";
if(size){width=obj.offsetWidth+"px";
height=obj.offsetHeight+"px"
}}}}};
function addHover(c,b,a){b=b||"hover";
c.style.behavior=" ";
c.hoverClassName=b;
if(a){c.iframeElm=getNode(c,a)
}c=$(c);
c.addEvent("mouseenter",function(){c.className+=" "+c.hoverClassName;
if(c.iframeElm){ifrlayer.make(c.iframeElm)
}});
c.addEvent("mouseleave",function(){c.className=c.className.replace(new RegExp("\\b"+c.hoverClassName+"\\b","g"),"");
if(c.iframeElm){ifrlayer.hide(c.iframeElm)
}})
}var CSSBottomCorners=[];
var CSSHeightCorners=[];
var currentBlockToFixCorners=null;
function cssRight(a){if(a.currentStyle.right!="auto"){a.style.right=(parseInt(a.currentStyle.right)-(a.parentNode.offsetWidth%2))+"px"
}else{a.style.right="auto"
}}function cssBottom(b,a){if(a&&!b.CSSBottomAlreadyCSS){CSSBottomCorners.push(b);
b.CSSBottomAlreadyCSS=true
}if(b.currentStyle.bottom!="auto"){b.style.bottom=(parseInt(b.currentStyle.bottom)-(b.parentNode.offsetHeight%2))+"px"
}else{b.style.bottom="auto"
}}function fixCorners(b){if(IS_IE){for(var a=CSSBottomCorners.length-1;
a>-1;
--a){CSSBottomCorners[a].style.bottom=""
}}else{if(IS_Webkit||/Gecko\/200[56]|Opera 8.5/i.test(navigator.userAgent)){fixCornersOnBlocks(b)
}}}function fixCornersOnBlocks(a){currentBlockToFixCorners=a||document.body;
currentBlockToFixCorners.className+=" hidecorners";
setTimeout(fixCornersOnBlocksShowCorners,5)
}function fixCornersOnBlocksShowCorners(){if(currentBlockToFixCorners){currentBlockToFixCorners.className=currentBlockToFixCorners.className.replace(/\bhidecorners\b/g,"")
}currentBlockToFixCorners=null
}function cssHeight(b,a){if(a&&!b.CSSHeightAlreadyCSS){CSSHeightCorners.push(b);
b.CSSHeightAlreadyCSS=true
}b.style.height=b.parentNode.offsetHeight+"px"
}function fixHeights(a){if(IS_IE){var b=a?getNodes(a,{nodeName:"b",className:"tr|bl"}):CSSHeightCorners;
b.eachInv(function(){this.style.height=""
})
}}function inputValue(b,a){b.oldValue=b.getAttribute("value");
b.onfocus=function(){if(!this.isChecking&&this.value==this.oldValue){this.value=""
}};
b.onblur=function(){if(this.value==""){this.value=this.oldValue
}};
if(!b.isChecking){b.onfocus()
}}function forceCheck(b,a){a=typeof a=="string"?document.getElementById(a):a;
a.checked=b.checked
}function generateElements(j,l){var e,h;
j=(typeof j=="string")?document.getElementById(j):j;
var g=j||document.body;
var a=g.getElementsByTagName("div");
function b(n,i){return getNode(n,{className:(i||"blockInside")})
}function d(n){var i=document.createElement("b");
i.className=n;
return i
}function m(n,p){var o=0;
if(!n){return
}if(p.length){for(o=0;
o<p.length;
o++){n.appendChild(p[o].cloneNode(true))
}}else{n.appendChild(p.cloneNode(true))
}}var f=[d("tl"),d("tr"),d("bl"),d("br")];
var k=d("specialShadow");
m(k,[d("lt"),d("rt"),d("trame")]);
var c=d("overtl");
for(e=a.length-1;
e>=0;
e--){h=a[e];
if(!h.alreadyProcessed){if(h.className.match(/\bblock\b/)){m(b(h),f)
}if(h.className.match(/\bblockToggle|blockShadowSimple\b/)){m(b(h),c)
}h.alreadyProcessed=true;
initOtherBlocks(h)
}}}function initOtherBlocks(a){if(a.className.match(/\bblockTabs(Sub)?\b/)){tabs.init(a)
}if(a.className.indexOf("scrollH")!=-1){scroll.init(a)
}if(a.className.match(/\bline\b/)){linesOfBlocks.push(a)
}}var linesOfBlocks=[];
function sizeBlocks(b){function a(e,d){if(e){var c=e.className.match(/\bblock\b/)?getNode(e,{nodeName:"div",className:"body"}):e;
if(c){c.style[heightPropertyToUse]=c.offsetHeight+d-getVStyles(c)+"px"
}}}linesOfBlocks.eachInv(function(c){var d=getChildNodes(c,{className:"unit"});
d.each(function(f){var g=getChildNodes(f,{className:"(block|line)"},{className:"noresize"});
var h=c.offsetHeight-f.offsetHeight;
var e=parseInt(h/g.length);
g.each(function(i){a(i,e)
});
if(g.length>1){a(g.getLast(),c.offsetHeight-f.offsetHeight)
}})
})
}function fixColumns(){function a(){var k=["main","rightColumn"],d=["",""];
var f=0,g,c,e=0,h=0;
hToU=heightPropertyToUse;
function j(b){for(g=0;
g<k.length;
g++){c=$(k[g]);
b()
}}j(function(){h=0;
if(c){getChildNodes(c,{}).each(function(b){h+=b.offsetHeight
});
if(h>e){e=h
}}});
j(function(){var b=$(d[g])||c;
if(b){b.style[hToU]=e+"px"
}});
j(function(){if(c){if(c.offsetHeight+intStyle(c,"margin-top")>=f){f=c.offsetHeight-intStyle(c,"margin-top")
}}});
j(function(){var b=$(d[g]);
if(c&&b){var i=(f-c.offsetHeight)+b.clientHeight-getVStyles(b);
b.style[hToU]=i+"px"
}else{if(c){getVStyles(c);
c.style[hToU]=f-getVStyles(c)-intStyle(c,"margin-top")+"px"
}}})
}setTimeout(a,1)
}function showAndHide(a){var b=getNodes(a.form,{name:a.name},null,false,a.form.elements);
b.each(function(c){var d=document.getElementById(c.value);
d.style.display=this.checked?"block":"none"
});
fixHeights(a)
}function fixWidth(a){a.style.width=a.offsetWidth>118?"118px":""
}window.addEvent("load",function(){generateElements();
fixCorners()
});
