var EXTLINKPOPUPSIZE=425;var extLinkID="extLinkPopUp";function confirm_extlink_popup(a){window.open(a);hide_extlink_popup()}function show_extlink_popup(e,c){var a=document.getElementById(extLinkID);if(a==null){var f=document.createElement("div");f.setAttribute("id",extLinkID);document.getElementsByTagName("BODY")[0].appendChild(f)}base_ajax(extLinkID,c,"url="+escape(e),"link_tracker_init()");a=document.getElementById(extLinkID);var b=get_window_size();var d=get_window_offset();a.style.zIndex="10000";a.style.top=((b.h/2)-(EXTLINKPOPUPSIZE/2))+d.h+"px";a.style.left=((b.w/2)-(EXTLINKPOPUPSIZE/2))+d.w+"px";a.style.width=EXTLINKPOPUPSIZE+"px";a.style.display="block"}function hide_extlink_popup(){var a=document.getElementById(extLinkID);a.style.display="none"}function get_window_size(){var a,c;var d=get_window_offset();if(self.innerHeight){a=self.innerWidth;c=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){a=document.documentElement.clientWidth;c=document.documentElement.clientHeight}else{if(document.body){a=document.body.clientWidth;c=document.body.clientHeight}}}var b=new Array();b.w=a;b.h=c;return b}function get_window_offset(){var a,c;if(self.pageYOffset){a=self.pageXOffset;c=self.pageYOffset}else{if(document.documentElement&&document.documentElement.scrollTop){a=document.documentElement.scrollLeft;c=document.documentElement.scrollTop}else{if(document.body){a=document.body.scrollLeft;c=document.body.scrollTop}}}var b=new Object();b.w=a;b.h=c;return b}function popUp(b,d,a){var f=(screen.width-d)/2;var e=(screen.height-a)/2;var c="width="+d+", height="+a+" ,left="+f+" ,top="+e;insert_window=window.open(b,"insert_window","toolbar=0,scrollbars=1,statusbar=0,menubar=0,resizable=1,"+c);insert_window.focus()}function popUpnoScroll(b,d,a){var f=(screen.width-d)/2;var e=(screen.height-a)/2;var c="width="+d+", height="+a+" ,left="+f+" ,top="+e;insert_window=window.open(b,"insert_window","toolbar=0,scrollbars=0,statusbar=0,menubar=0,resizable=0,"+c);insert_window.focus()}function popUpexp(c,e,b){var a=b+150;var g=(screen.width-e)/2;var f=(screen.height-a)/2;var d="width="+e+", height="+b+" ,left="+g+" ,top="+f;insert_window=window.open(c,"insert_window","toolbar=1,scrollbars=1,statusbar=1,menubar=1,resizable=1,location=1,"+d);insert_window.focus()};
