var popUpWin=0;function popUpWindow(f,e,d,b,a,c){if(popUpWin){if(!popUpWin.closed){popUpWin.close()}}popUpWin=open(f,"popUpWin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars="+c+",resizable=no,copyhistory=yes,width="+b+",height="+a+",left="+e+", top="+d+",screenX="+e+",screenY="+d+"")}function popUpWindowCentered(f,c,a,d){var e=(screen.width-c)/2;var b=(screen.height-a)/2;popUpWindow(f,e,b,c,a,d)}function Open(a){self.parent.document.location.href=a;self.parent.tb_remove()}function OutsideLink(c,a){var b="";if(mode==1){b=c+"?n=1&t="+a+"&KeepThis=true&TB_iframe=true&width="+width+"&height="+height+"&modal=true"}else{b=c+"?n=1&t="+a+"&KeepThis=true&TB_iframe=true&width="+width+"&height="+height+"&modal=true"}tb_show("Attenzione",b)}function OpenExternal(b,a){targetUrl=b+"?t="+a+"&KeepThis=true&TB_iframe=true&width=340&height=290&modal=true";tb_show("Attenzione",targetUrl)}function OpenExternalBlank(b,a){targetUrl=b+"?n=1&t="+a+"&KeepThis=true&TB_iframe=true&width=340&height=290&modal=true";tb_show("Attenzione",targetUrl)}function GetLink(a,e,c,i,b,d,f,j,h,g){$.get("/tracer.axd",{s:e,e:c,sa:i,ct:b,c:d,l:f,u:j,ds:h,ss:g});self.parent.document.location.href=a;self.parent.tb_remove()}function GetExternalLink(a,e,c,j,b,d,f,k,i,h){$.get("/tracer.axd",{s:e,e:c,sa:j,ct:b,c:d,l:f,u:k,ds:i,ss:h});var g=window.open(a,"_blank");g.focus();self.parent.tb_remove()}function Trim(a){if(a==""||a==null){return""}return a.replace(/^\s+|\s+$/g,"")}function CloseMessageBox(a){$("#"+a).hide()}function CloseParentBox(){self.parent.tb_remove()}function CloseBox(){tb_remove()};
var popupEVisual = 0;
function openEVisual(URLStr, left, top, width, height, scrollbars)
{
	if(popupEVisual) { if(!popupEVisual.closed) popupEVisual.close(); }
	popupEVisual = open(URLStr, 'EVisual', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars='+scrollbars+',resizable=yes,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}