function popup(a){LeftWindowPosition=((document.all)?window.screenLeft:window.screenX)+50;TopWindowPosition=((document.all)?window.screenTop:window.screenY)+5;newwindow=window.open(a,"","width="+w+", height="+h+",left="+LeftWindowPosition+",top="+TopWindowPosition+",scrollbars=yes,resizable=yes,toolbar=no,menubar=no");if(window.focus){newwindow.focus()}return false}function popupHelp(a){LeftWindowPosition=((document.all)?window.screenLeft:window.screenX)+50;TopWindowPosition=((document.all)?window.screenTop:window.screenY)+5;newwindow=window.open(a,"","width=600,height=516,left="+LeftWindowPosition+",top="+TopWindowPosition+",scrollbars=yes,resizable=yes,toolbar=no,menubar=no");if(window.focus){newwindow.focus()}return false}function popupFlash(a){LeftWindowPosition=((document.all)?window.screenLeft:window.screenX)+50;TopWindowPosition=((document.all)?window.screenTop:window.screenY)+5;newwindow=window.open(a,"","width=394,height=287,left="+LeftWindowPosition+",top="+TopWindowPosition+",scrollbars=no,resizable=yes,toolbar=no,menubar=no,statusbar=no,status=no");if(window.focus){newwindow.focus()}return false}function popupPrint(a){LeftWindowPosition=((document.all)?window.screenLeft:window.screenX)+50;TopWindowPosition=((document.all)?window.screenTop:window.screenY)+5;newwindow=window.open(a,"","width=710,height=516,left="+LeftWindowPosition+",top="+TopWindowPosition+",scrollbars=yes,resizable=yes,toolbar=no,menubar=no");if(window.focus){newwindow.focus()}return false}function popupThirdparty(a){LeftWindowPosition=((document.all)?window.screenLeft:window.screenX)+50;TopWindowPosition=((document.all)?window.screenTop:window.screenY)+5;newwindow=window.open(a,"","width=815,height=400,left="+LeftWindowPosition+",top="+TopWindowPosition+",scrollbars=yes,resizable=yes,toolbar=yes,menubar=yes,location=yes");if(window.focus){newwindow.focus()}return false}function popupNewbrowser(a){LeftWindowPosition=((document.all)?window.screenLeft:window.screenX)+50;TopWindowPosition=((document.all)?window.screenTop:window.screenY)+5;newwindow=window.open(a,"","width=815,height=400,left="+LeftWindowPosition+",top="+TopWindowPosition+",scrollbars=yes,resizable=yes,toolbar=yes,menubar=yes,location=yes,status=yes");if(window.focus){newwindow.focus()}return false}function popupNonhtml(a){LeftWindowPosition=((document.all)?window.screenLeft:window.screenX)+50;TopWindowPosition=((document.all)?window.screenTop:window.screenY)+5;newwindow=window.open(a,"","width=836,height=516,left="+LeftWindowPosition+",top="+TopWindowPosition+",scrollbars=no,resizable=yes,toolbar=no,menubar=no,statusbar=no,status=no,status=yes");if(window.focus){newwindow.focus()}return false}function setActiveStyleSheet(e){var d,c,b;for(d=0;(c=document.getElementsByTagName("link")[d]);d++){if(c.getAttribute("rel").indexOf("style")!=-1&&c.getAttribute("title")){c.disabled=true;if(c.getAttribute("title")==e){c.disabled=false}}}createCookie("stylesheetsetting",e,365)}function getActiveStyleSheet(){var c,b;for(c=0;(b=document.getElementsByTagName("link")[c]);c++){if(b.getAttribute("rel").indexOf("style")!=-1&&b.getAttribute("title")&&!b.disabled){return b.getAttribute("title")}}return null}function getPreferredStyleSheet(){var c,b;for(c=0;(b=document.getElementsByTagName("link")[c]);c++){if(b.getAttribute("rel").indexOf("style")!=-1&&b.getAttribute("rel").indexOf("alt")==-1&&b.getAttribute("title")){return b.getAttribute("title")}}return null}function createCookie(c,d,e){if(e){var b=new Date();b.setTime(b.getTime()+(e*24*60*60*1000));var a="; expires="+b.toGMTString()}else{a=""}document.cookie=c+"="+d+a+"; path=/"}function readCookie(b){var e=b+"=";var a=document.cookie.split(";");for(var d=0;d<a.length;d++){var f=a[d];while(f.charAt(0)==" "){f=f.substring(1,f.length)}if(f.indexOf(e)==0){return f.substring(e.length,f.length)}}return null}window.onload=function(b){var a=readCookie("stylesheetsetting");var c=a?a:getPreferredStyleSheet();setActiveStyleSheet(c)};var cookie=readCookie("stylesheetsetting");var title=cookie?cookie:getPreferredStyleSheet();setActiveStyleSheet(title);function applyResizeScript(){if(!document.getElementById){return}var c=document.getElementById("tool-textresize-normal");var b=document.getElementById("tool-textresize-large");var a=document.getElementById("tool-textresize-extralarge");if(!c){return}if(!b){return}if(!a){return}c.onclick=function(){setActiveStyleSheet("",1);return false};c.keypress=function(){setActiveStyleSheet("",1);return false};b.onclick=function(){setActiveStyleSheet("textsize-large");return false};b.keypress=function(){setActiveStyleSheet("textsize-large");return false};a.onclick=function(){setActiveStyleSheet("textsize-extralarge");return false};a.keypress=function(){setActiveStyleSheet("textsize-extralarge");return false}}var stripe=function(){var e=document.getElementsByTagName("table");for(var c=0;c!=e.length;c++){var g=e[c];if(!g){return}var b=g.getElementsByTagName("tbody");for(var f=0;f<b.length;f++){if(b[f].className=="contentframework-stripedtable"){var k=false;var a=b[f].getElementsByTagName("tr");for(var d=0;d<a.length;d++){a[d].onmouseover=function(){this.className+=" contentframework-hoveredrow";return false};a[d].onmouseout=function(){this.className=this.className.replace("contentframework-hoveredrow","");return false};if(k){a[d].className+=" contentframework-altrow"}k=!k}}}}};function getElementsByClass(g,e,a){var d=new Array();if(e==null){e=document}if(a==null){a="*"}var c=e.getElementsByTagName(a);var b=c.length;var f=new RegExp("(^|\\s)"+g+"(\\s|$)");for(i=0,j=0;i<b;i++){if(f.test(c[i].className)){d[j]=c[i];j++}}return d}function toggleIcon(c,d){var b=document.getElementById(d);var a=getElementsByClass(c);iconState=b.firstChild.alt;iconState=iconState.replace("Collapse","");iconState=iconState.replace("Expand","");for(i=0;i<a.length;i++){if(a[i].style.display!="none"){a[i].style.display="none";b.firstChild.src=b.firstChild.src.replace("collapse","expand");b.firstChild.alt="Expand"+iconState;b.focus()}else{a[i].style.display="";b.firstChild.src=b.firstChild.src.replace("expand","collapse");b.firstChild.alt="Collapse"+iconState}}}function toggleIconFrench(c,d){var b=document.getElementById(d);var a=getElementsByClass(c);iconState=b.firstChild.alt;iconState=iconState.replace("R\u00E9duire","");iconState=iconState.replace("D\u00E9velopper","");for(i=0;i<a.length;i++){if(a[i].style.display!="none"){a[i].style.display="none";b.firstChild.src=b.firstChild.src.replace("collapse","expand");b.firstChild.alt="D\u00E9velopper"+iconState;b.focus()}else{a[i].style.display="";b.firstChild.src=b.firstChild.src.replace("expand","collapse");b.firstChild.alt="R\u00E9duire"+iconState}}}function toggleHelpInline(c,d){var b=document.getElementById(c);var a=document.getElementById(d);iconState=a.lastChild.alt;iconState=iconState.replace("Collapse","");iconState=iconState.replace("Expand","");if(b.style.display!="none"){b.style.display="none";a.lastChild.alt="Expand"+iconState;a.focus()}else{b.style.display="";a.lastChild.alt="Collapse"+iconState}}function toggleHelpInlineFrench(c,d){var b=document.getElementById(c);var a=document.getElementById(d);iconState=a.lastChild.alt;iconState=iconState.replace("R\u00E9duire","");iconState=iconState.replace("D\u00E9velopper","");if(b.style.display!="none"){b.style.display="none";a.lastChild.alt="D\u00E9velopper"+iconState;a.focus()}else{b.style.display="";a.lastChild.alt="R\u00E9duire"+iconState}}function xstooltip_findPosX(a){var b=0;if(a.offsetParent){while(a.offsetParent){b+=a.offsetLeft;a=a.offsetParent}}else{if(a.x){b+=a.x}}return b}function xstooltip_findPosY(b){var a=0;if(b.offsetParent){while(b.offsetParent){a+=b.offsetTop;b=b.offsetParent}}else{if(b.y){a+=b.y}}return a}function toggleHelpAbsolute(c,d){var b=document.getElementById(c);var a=document.getElementById(d);iconState=a.lastChild.alt;iconState=iconState.replace("Collapse","");iconState=iconState.replace("Expand","");if(b.style.display!="none"){b.style.display="none";a.lastChild.alt="Expand"+iconState;a.focus()}else{b.style.display="";a.lastChild.alt="Collapse"+iconState}if((b.style.top==""||b.style.top==0)&&(b.style.left==""||b.style.left==0)){b.style.width=b.offsetWidth+"px";b.style.height=b.offsetHeight+"px";posX=0;posY=17;if(posX+b.offsetWidth>a.offsetWidth){posX=a.offsetWidth-b.offsetWidth}if(posX<0){posX=0}x=xstooltip_findPosX(a)+posX;y=xstooltip_findPosY(a)+posY;b.style.top=y+"px";b.style.left=x+"px";b.style.position="absolute";b.style.zIndex=2}}function toggleHelpAbsoluteFrench(c,d){var b=document.getElementById(c);var a=document.getElementById(d);iconState=a.lastChild.alt;iconState=iconState.replace("Collapse","");iconState=iconState.replace("Expand","");if(b.style.display!="none"){b.style.display="none";a.lastChild.alt="D\u00E9velopper"+iconState;a.focus()}else{b.style.display="";a.lastChild.alt="R\u00E9duire"+iconState}if((b.style.top==""||b.style.top==0)&&(b.style.left==""||b.style.left==0)){b.style.width=b.offsetWidth+"px";b.style.height=b.offsetHeight+"px";posX=0;posY=17;if(posX+b.offsetWidth>a.offsetWidth){posX=a.offsetWidth-b.offsetWidth}if(posX<0){posX=0}x=xstooltip_findPosX(a.lastChild)+posX;y=xstooltip_findPosY(a.lastChild)+posY;b.style.top=y+"px";b.style.left=x+"px";b.style.position="absolute";b.style.zIndex=2}}function hidejshideObject(){var a=getElementsByClass("jshide");for(i=0;i<a.length;i++){a[i].style.display="none"}}function hidejsaccessiblehideObject(){var a=getElementsByClass("jsaccessiblehide");for(j=0;j<a.length;j++){a[j].style.position="absolute";a[j].style.left="-5000px"}}function ddtabcontent(a){this.tabinterfaceid=a;this.tabs=document.getElementById(a).getElementsByTagName("li");this.enabletabpersistence=true;this.hottabspositions=[];this.currentTabIndex=0;this.subcontentids=[];this.revcontentids=[];this.selectedClassTarget="link"}ddtabcontent.getCookie=function(a){var b=new RegExp(a+"=[^;]+","i");if(document.cookie.match(b)){return document.cookie.match(b)[0].split("=")[1]}return""};ddtabcontent.setCookie=function(a,b){document.cookie=a+"="+b+";path=/"};ddtabcontent.prototype={expandit:function(a){this.cancelautorun();var b="";try{if(typeof a=="string"&&document.getElementById(a).getAttribute("rel")){b=document.getElementById(a)}else{if(parseInt(a)!=NaN&&this.tabs[a].getAttribute("rel")){b=this.tabs[a]}}}catch(c){alert("Invalid Tab ID or position entered!")}if(b!=""){this.expandtab(b)}},cycleit:function(b,a){if(b=="next"){var c=(this.currentTabIndex<this.hottabspositions.length-1)?this.currentTabIndex+1:0}else{if(b=="prev"){var c=(this.currentTabIndex>0)?this.currentTabIndex-1:this.hottabspositions.length-1}}if(typeof a=="undefined"){this.cancelautorun()}this.expandtab(this.tabs[this.hottabspositions[c]])},setpersist:function(a){this.enabletabpersistence=a},setselectedClassTarget:function(a){this.selectedClassTarget=a||"link"},getselectedClassTarget:function(a){return(this.selectedClassTarget==("linkparent".toLowerCase()))?a.parentNode:a},urlparamselect:function(b){var a=window.location.search.match(new RegExp(b+"=(\\d+)","i"));return(a==null)?null:parseInt(RegExp.$1)},expandtab:function(b){var c=b.getAttribute("rel");var d=(b.getAttribute("rev"))?","+b.getAttribute("rev").replace(/\s+/,"")+",":"";this.expandsubcontent(c);this.expandrevcontent(d);for(var a=0;a<this.tabs.length;a++){this.getselectedClassTarget(this.tabs[a]).className=(this.tabs[a].getAttribute("rel")==c)?"sidetabs-currentpage primarytabs-currentpage":""}if(this.enabletabpersistence){ddtabcontent.setCookie(this.tabinterfaceid,b.tabposition)}this.setcurrenttabindex(b.tabposition)},expandsubcontent:function(c){for(var b=0;b<this.subcontentids.length;b++){var a=document.getElementById(this.subcontentids[b]);a.style.display=(a.id==c)?"block":"none"}},expandrevcontent:function(c){var a=this.revcontentids;for(var b=0;b<a.length;b++){document.getElementById(a[b]).style.display=(c.indexOf(","+a[b]+",")!=-1)?"block":"none"}},setcurrenttabindex:function(a){for(var b=0;b<this.hottabspositions.length;b++){if(a==this.hottabspositions[b]){this.currentTabIndex=b;break}}},autorun:function(){this.cycleit("next",true)},cancelautorun:function(){if(typeof this.autoruntimer!="undefined"){clearInterval(this.autoruntimer)}},init:function(a){var e=ddtabcontent.getCookie(this.tabinterfaceid);var d=-1;var f=this.urlparamselect(this.tabinterfaceid);this.automodeperiod=a||0;for(var c=0;c<this.tabs.length;c++){this.tabs[c].tabposition=c;if(this.tabs[c].getAttribute("rel")){var b=this;this.hottabspositions[this.hottabspositions.length]=c;this.subcontentids[this.subcontentids.length]=this.tabs[c].getAttribute("rel");this.tabs[c].onclick=function(){b.expandtab(this);b.cancelautorun();return false};if(this.tabs[c].getAttribute("rev")){this.revcontentids=this.revcontentids.concat(this.tabs[c].getAttribute("rev").split(/\s*,\s*/))}if(f==c||this.enabletabpersistence&&d==-1&&parseInt(e)==c||!this.enabletabpersistence&&d==-1&&this.getselectedClassTarget(this.tabs[c]).className=="selected"){d=c}}}if(d!=-1){this.expandtab(this.tabs[d])}else{this.expandtab(this.tabs[this.hottabspositions[0]])}if(parseInt(this.automodeperiod)>500&&this.hottabspositions.length>1){this.autoruntimer=setInterval(function(){b.autorun()},this.automodeperiod)}}};niceSelect=function(){var c=document.forms;for(var b=0;b<c.length;b++){var d=c[b].elements;for(var a=0;a<d.length;a++){if(d[a].type=="select-one"){d[a].formnu=b;d[a].onclick=function(){this.onchange=function(){c[this.formnu].submit()}};d[a].onblur=function(){this.onchange=function(){return true}};d[a].onkeydown=function(f){if(f){theEvent=f}else{theEvent=event}if(theEvent.keyCode==13){if((this.onchange+"").indexOf("submit")<0){c[this.formnu].submit()}}}}}}};function getParams(){var a=document.URL.indexOf("?");var d=new Array();if(a!=-1){var c=document.URL.substring(a+1,document.URL.length).split("&");for(var b=0;b<c.length;b++){nameVal=c[b].split("=");d[nameVal[0]]=nameVal[1]}}return d}params=getParams();theURL=unescape(params.link);function addLoadEvent(a){var b=window.onload;if(typeof window.onload!="function"){window.onload=a}else{window.onload=function(){if(b){b()}a()}}}addLoadEvent(applyResizeScript);addLoadEvent(stripe);addLoadEvent(hidejshideObject);addLoadEvent(hidejsaccessiblehideObject);