function NS_isUserLoggedIn(){var ac=document.getElementById('sidebarBoxBackground');if(typeof(ac)=='undefined'||!ac){return false}var el=document.getElementById('wrapper_new01');if(typeof(p)=='undefined'||!p){return false}var http=false;if(navigator.appName=='Microsoft Internet Explorer'){http=new ActiveXObject('Microsoft.XMLHTTP')}else{http=new XMLHttpRequest()}if(typeof(el)!='undefined'&&el&&typeof(el.offsetHeight)!='undefined'&&el.offsetHeight==0){http.open('GET','/php/services/generic/index.php?logged_in=1&p='+p+'&cb='+parseInt(Math.random()*99999999));http.send(null)}else{http.open('GET','/php/services/generic/index.php?logged_in=0&p='+p+'&cb='+parseInt(Math.random()*99999999));http.send(null)}}addLoadEvent(NS_isUserLoggedIn);
