var popUpWin=0;function popUpWindow(F,D,B,C,A,E){if(popUpWin){if(!popUpWin.closed){popUpWin.close()}}popUpWin=open(F,"popUpWin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars="+E+",resizable=no,copyhistory=yes,width="+C+",height="+A+",left="+D+", top="+B+",screenX="+D+",screenY="+B+"")}function popUpWindowCentered(F,C,B,D){var A=(screen.width-C)/2;var E=(screen.height-B)/2;popUpWindow(F,A,E,C,B,D)}function Trim(A){if(A==""||A==null){return""}return A.replace(/^\s+|\s+$/g,"")}function Open(A){self.parent.document.location.href=A;self.parent.tb_remove()}function OutsideLink(B,C){var A="";if(mode==1){A=B+"?n=1&t="+C+"&KeepThis=true&TB_iframe=true&width="+width+"&height="+height+"&modal=true"}else{A=B+"?n=1&t="+C+"&KeepThis=true&TB_iframe=true&width="+width+"&height="+height+"&modal=true"}tb_show("Attenzione",A)}function OpenExternal(B,A){targetUrl=B+"?t="+A+"&KeepThis=true&TB_iframe=true&width=350&height=330&modal=true";tb_show("Attenzione",targetUrl)}function OpenExternalBlank(B,A){targetUrl=B+"?n=1&t="+A+"&KeepThis=true&TB_iframe=true&width=350&height=330&modal=true";tb_show("Attenzione",targetUrl)}function GetLink(C,A,J,D,F,H,G,E,I,B){$.get("/tracer.axd",{s:A,e:J,sa:D,ct:F,c:H,l:G,u:E,ds:I,ss:B});self.parent.document.location.href=C;self.parent.tb_remove()}function GetExternalLink(D,B,K,E,G,I,H,F,J,C){$.get("/tracer.axd",{s:B,e:K,sa:E,ct:G,c:I,l:H,u:F,ds:J,ss:C});var A=window.open(D,"_blank");A.focus();self.parent.tb_remove()}function CloseParentBox(){self.parent.tb_remove()}function CloseBox(){tb_remove()};