var dsvPngsFixed=0;function dsvFixPngs(){try{var g=navigator.appVersion.split("MSIE");var j=parseFloat(g[1]);if((j>=5.5&&j<8)&&(document.body.filters)){for(var c=0;c<document.images.length;c++){var d=document.images[c];var l=d.src.toUpperCase();if(l.substring(l.length-3,l.length)=="PNG"){var f=(d.id)?"id='"+d.id+"' ":"";var m=(d.className)?"class='"+d.className+"' ":"";var b=(d.title)?"title='"+d.title+"' ":"title='"+d.alt+"' ";var k=d.style.cssText;if(d.align=="left"){k="float:left;"+k}if(d.align=="right"){k="float:right;"+k}if(d.parentElement.href){k="cursor:hand;"+k}var a="<span "+f+m+b+' style="width:'+d.width+"px; height:"+d.height+"px;"+k+";filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+d.src+"', sizingMethod='scale');\"><img src='images/spacer.gif' height='1' width='1'></span>";d.outerHTML=a;c=c-1}}}}catch(h){}}function dsvGet(a){return document.getElementById(a)}function dsvOpenPopover(name,modal,parent,params){if(navigator.userAgent.indexOf("MSIE 6.0")!=-1){return true}if(!dsvPngsFixed){dsvFixPngs();dsvPngsFixed=1}var setupFn=eval("window.dsv_setup_"+name);if(typeof setupFn=="function"){(setupFn)(params)}if(modal){dsvTurnOnModal()}dsvGet("po_"+name).style.visibility="visible";dsvResizePopup(name);var windowComp=dsvGet("poWindow_"+name);var parentComp=parent?dsvGet(parent):null;if(parentComp){var x=dsvGetcomponentX(parentComp);if(windowComp.offsetParent){x-=dsvGetcomponentX(windowComp.offsetParent)}if(x>document.body.clientWidth-windowComp.offsetWidth){windowComp.style.left=x-windowComp.offsetWidth}else{windowComp.style.left=x}var y=dsvGetcomponentY(parentComp);if(windowComp.offsetParent){y-=dsvGetcomponentY(windowComp.offsetParent)}if(y>document.body.clientHeight-windowComp.offsetHeight){windowComp.style.top=y-windowComp.offsetHeight}else{windowComp.style.top=y}}else{var parentY=0;if(windowComp.offsetParent){parentY=dsvGetcomponentY(windowComp.offsetParent)}var scrollTop=window.pageYOffset||document.body.scrollTop||0;windowComp.style.top=(document.body.clientHeight-windowComp.offsetHeight)/2+scrollTop-parentY;var parentX=0;if(windowComp.offsetParent){parentX=dsvGetcomponentX(windowComp.offsetParent)}windowComp.style.left=(document.body.clientWidth-windowComp.offsetWidth)/2-parentX}if(windowComp.offsetTop<0){windowComp.style.top=0}return false}function dsvResizePopup(c){var e=dsvGet("poContent_"+c).offsetHeight;var d=dsvGet("poHeader_"+c).offsetHeight;var b=dsvGet("poFooter_"+c).offsetHeight;dsvGet("poBackground_"+c).style.height=(e)+"px";var a=(navigator.userAgent.indexOf("MSIE")!=-1)?1:0;dsvGet("poBackgroundBody_"+c).style.height=(e-(d+b)+a)+"px"}function dsvClosePopover(b,a){dsvGet("po_"+b).style.visibility="hidden";if(a){location.reload(true)}else{dsvTurnOffModal()}}function dsvCloseAndOpenPopover(d,a,c,b){dsvClosePopover(d,false);dsvOpenPopover(a,c,b);return false}function dsvCloseAndOpenPopoverWithParams(e,a,c,b,d){dsvClosePopover(e,false);dsvOpenPopover(a,c,b,d);return false}function dsvMakePostRequest(b,c){var a=false;if(window.XMLHttpRequest){a=new XMLHttpRequest()}else{if(window.ActiveXObject){a=newActiveXObject("Microsoft.XMLHTTP")}}a.open("POST",b,true);a.setRequestHeader("Content-Type","application/x-www-form-urlencoded");a.send(c)}function dsvTurnOnModal(){dsvGet("poGrey").style.width=document.body.scrollWidth;dsvGet("poGrey").style.height=document.body.scrollHeight;dsvGet("poGrey").style.visibility="visible"}function dsvTurnOffModal(){dsvGet("poGrey").style.width=0;dsvGet("poGrey").style.height=0;dsvGet("poGrey").style.visibility="hidden"}function dsvGetcomponentX(b){var a=b.offsetLeft;while(b=b.offsetParent){a+=b.offsetLeft}return a}function dsvGetcomponentY(a){var b=a.offsetTop;while(a=a.offsetParent){b+=a.offsetTop}return b};