jQuery.fn.setWindowPos=function(){return this.each(function(){var pos={sTop:function(){return window.pageYOffset||document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop},wHeight:function(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body.clientHeight},sLeft:function(){return window.pageXOffset||document.documentElement&&document.documentElement.scrollLeft||document.body.scrollLeft},wWidth:function(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body.clientWidth}};var elHeight=$(this).height();var elWidth=$(this).width();var elTop=pos.sTop()+90;var elLeft=pos.sLeft()+(pos.wWidth()/2)-(elWidth/2);$(this).css({position:"absolute",top:elTop,left:elLeft})})};function popitup(url){newwindow=window.open(url,"name","height=435,width=290, scrollbars=yes");if(window.focus){newwindow.focus();newwindow.print()}return false}function printCountries(){popitup("globalaccessnumbers.jsp")}$(".modal_window").click(function(){$(".modal_window").bgiframe();$(".modal_window").fadeOut()});$("#link_jaxfreecalls").click(function(e){e.preventDefault();$(".modal_window").bgiframe();$(".modal_window").fadeOut();$("#jaxfreecalls_window").setWindowPos();$("#jaxfreecalls_window").bgiframe();$("#jaxfreecalls_window").fadeIn();return false});$("#link_jaxcall").click(function(e){e.preventDefault();$(".modal_window").bgiframe();$(".modal_window").fadeOut();$("#jaxcall_window").setWindowPos();$("#jaxcall_window").bgiframe();$("#jaxcall_window").fadeIn();return false});$("#link_memben").click(function(e){e.preventDefault();$(".modal_window").bgiframe();$(".modal_window").fadeOut();$("#memben_window").setWindowPos();$("#memben_window").bgiframe();$("#memben_window").fadeIn();return false});$("#link_jaxquestions").click(function(e){e.preventDefault();$(".modal_window").bgiframe();$(".modal_window").fadeOut();$("#jaxquestions_window").setWindowPos();$("#jaxquestions_window").bgiframe();$("#jaxquestions_window").fadeIn();return false});