var LinkAppend={location:function(e){var b={url:(e&&e.url)?e.url:"",query:(e&&e.query)?e.query:"",win:(e&&e.win)?e.win:window,target:(e&&e.target)?e.target:"_blank",width:(e&&e.width)?e.width:800,height:(e&&e.height)?e.height:600,scrollbars:(e&&e.scrollbars)?e.scrollbars:"yes",resizable:(e&&e.resizable)?e.resizable:"yes",titlebar:(e&&e.titlebar)?e.titlebar:"yes",location:(e&&e.location)?e.location:"yes",menubar:(e&&e.menubar)?e.menubar:"yes",status:(e&&e.status)?e.status:"no",toolbar:(e&&e.toolbar)?e.toolbar:"no"};var d=screen.height/2-b.height/2;var c=screen.width/2-b.width/2;var a=this.addQueryString(b.url,b.query);window.open(a,b.target,"top="+d+",left="+c+",width="+b.width+",height="+b.height+",scrollbars="+b.scrollbars+",resizable="+b.resizable+",titlebar="+b.titlebar+",location="+b.location+",menubar="+b.menubar+",status="+b.status+",toolbar="+b.toolbar);return},addQueryString:function(a,e){var d=a;if(e.length>0){var c=d.indexOf("?");if(c>=0){var b=d[d.length-1];if((b=="?")||(b=="&")){d+=e}else{d+="&"+e}}else{d+="?"+e}}return d}};