window.addEvent("domready",function(){var c=new Element("div",{id:"newAlert"});var a=document.body;c.inject(a,"top")});function holderHeight(){tmp=(document.getElementById("holder").offsetHeight-55)+"px";b=document.getElementById("bottom");b.style.top=tmp}function vis(){if(document.getElementById("cont_pos")){document.getElementById("cont_pos").style.visibility="visible"}}function multilevel(e){for(var d=0;d<e.length;d++){var a="";var f=0;if(e[d].shift>0){f=e[d].shift}else{if(e[d].level>0){f=e[d].level}}if(f>1){for(var c=1;c<f;c++){a+="   "}}e[d].name=a+e[d].name}}function disableEnterKey(c){var a;if(window.event){a=window.event.keyCode}else{a=c.which}return a!=13}function searchfunc(){document.getElementById("div-login").style.display="none";document.getElementById("div-search").style.display="block";document.getElementById("div-browse").style.display="none";document.getElementById("srch").style.background="url(/_img/bg-tabs-srch-act.gif) top right no-repeat";document.getElementById("lgn").style.background="url(/_img/bg-tabs.jpg) top right no-repeat";if(document.getElementById("brws")){document.getElementById("brws").style.background="url(/_img/bg-tabs.jpg) top right no-repeat";document.getElementById("brws").style.color="#88460F"}document.getElementById("srch").style.color="#D56E19";document.getElementById("lgn").style.color="#88460F"}function loginfunc(){document.getElementById("div-login").style.display="block";document.getElementById("div-search").style.display="none";document.getElementById("div-browse").style.display="none";document.getElementById("lgn").style.background="url(/_img/bg-tabs-act.gif) top right no-repeat";if(document.getElementById("srch")){document.getElementById("srch").style.background="url(/_img/bg-tabs.jpg) top right no-repeat";document.getElementById("srch").style.color="#88460F"}if(document.getElementById("brws")){document.getElementById("brws").style.background="url(/_img/bg-tabs.jpg) top right no-repeat";document.getElementById("brws").style.color="#88460F"}document.getElementById("lgn").style.color="#D56E19"}function browsefunc(){document.getElementById("div-login").style.display="none";document.getElementById("div-search").style.display="none";document.getElementById("div-browse").style.display="block";document.getElementById("brws").style.background="url(/_img/bg-tabs-act.gif) top right no-repeat";document.getElementById("brws").style.color="#D56E19";if(document.getElementById("srch")){document.getElementById("srch").style.background="url(/_img/bg-tabs.jpg) top right no-repeat";document.getElementById("srch").style.color="#88460F"}document.getElementById("lgn").style.background="url(/_img/bg-tabs.jpg) top right no-repeat";document.getElementById("lgn").style.color="#88460F"}var selectedOptions=[];function checkCountSelected(a,c){for(var e=0;e<a.options.length;e++){if(a.options[e].selected&&a.options[e].value=="-1"){for(var d=0;d<a.options.length;d++){if(d!=e){a.options[d].selected=false}}}if(a.options[e].selected&&!new RegExp(e,"g").test(selectedOptions.toString())){selectedOptions.push(e)}if(!a.options[e].selected&&new RegExp(e,"g").test(selectedOptions.toString())){selectedOptions=selectedOptions.sort(function(g,f){return g-f});for(var d=0;d<selectedOptions.length;d++){if(selectedOptions[d]==e){selectedOptions.splice(d,1)}}}if(selectedOptions.length>c){a.options[e].selected=false;selectedOptions.pop()}}}function confirmDialog(c,a){if(confirm(c)){location.href=a}}function makeTabs(a,c){$$(a).each(function(e,d){$$(c).setStyle("display","none");$$(c)[0].setStyle("display","block");if(d==0){e.setStyle("background","#EAEDF1")}e.addEvent("click",function(){$$(c).setStyle("display","none");$$(c)[d].setStyle("display","block");$$(a).setStyle("background","#B8B8B8");this.setStyle("background","#EAEDF1")})})}window.addEvent("domready",function(){if(Browser.Engine.trident){$$(".nav ul li").addEvent("mouseenter",function(){this.set("class","over")});$$(".nav ul li").addEvent("mouseleave",function(){this.removeClass("over")})}var a=document.body.clientWidth;if(a<1250){$$(".banner-right").setStyle("display","none")}if(a<900){$$(".banner-right").setStyle("display","none")}});window.addEvent("resize",function(){var a=document.body.clientWidth;(a<1250?$$(".banner-right").setStyle("display","none"):$$(".banner-right").setStyle("display","block"))});function addAd(){var g=new Array();g[0]="http://nslpn.com/images/ads/1.jpg";g[1]="http://nslpn.com/images/ads/2.jpg";g[2]="http://nslpn.com/images/ads/3.jpg";g[3]="http://nslpn.com/images/ads/4.jpg";g[4]="http://nslpn.com/images/ads/5.jpg";g[5]="http://nslpn.com/images/ads/6.jpg";var f=new Array();f[0]="http://www.gentiva.com/careers/ACareerInHomeHealthcare.asp";f[1]="http://www.growingbolder.com/";f[2]="http://www.brookdalecareers.com/";f[3]="http://www.rasmussen.edu/programs/school-of-nursing.asp";f[4]="http://www.hardenhealthcare.com/";f[5]="http://uhs-pruitt.com/";var e=Math.floor(Math.random()*6);var d;var c;do{d=Math.floor(Math.random()*6)}while(d==e);do{c=Math.floor(Math.random()*6)}while(c==e||d==c);var a=document.getElementById("ad_man");a.innerHTML="";a.innerHTML+='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="156" height="526" id="Ad_1" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="false" /><param name="movie" value="http://nslpn.com/ad/ad.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><param name="FlashVars" VALUE="link1='+f[e]+"&image1="+g[e]+"&link2="+f[d]+"&image2="+g[d]+"&link3="+f[c]+"&image3="+g[c]+'" /><embed src="http://nslpn.com/ad/ad.swf" quality="high" bgcolor="#ffffff" width="156" height="526" name="Ad_1" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" FlashVars="link1='+f[e]+"&image1="+g[e]+"&link2="+f[d]+"&image2="+g[d]+"&link3="+f[c]+"&image3="+g[c]+'" wmode="opaque"/></object>'};
