  var bnumb = navigator.appVersion;
  var rel = bnumb.substring( 0 , 2 );
  var bname = navigator.appName;
  var bgood=0;

         function test ( ) {
                if ((parseInt( rel ) >= 3.0 && bname=="Netscape") || (parseInt( rel ) >= 4.0 && bname=="Microsoft Internet Explorer"))
                 {
                     bgood=1;
                 }
                else  bgood=1;
         }
        test();
        function ON(name)
        {
                 if(bgood){
                 window.status=eval(name+"msg")
                document[name].src=eval(name+"on.src")
                }
        }
        function OFF(name)
        {
                if(bgood){
                document[name].src=eval(name+"off.src")
                window.status='Good Thinking in Nursing'
                }
        }

    function preload()
    {
    if(bgood){
        presentmsg='Presentations and Consultation';
        learningmsg='Learning and Instruction';
		reasoningmsg='Reasoning and Thinking';
		clinicalmsg='Clinical Resources';
		healthcaremsg='Academic and Healthcare Systems';
		resourcesmsg='Course Resources';

	    presenton=new Image(); presenton.src="images/splash/present_text_on.jpg";
        presentoff=new Image(); presentoff.src="images/splash/present_text_off.jpg";

		learningon=new Image(); learningon.src="images/splash/learning_text_on.jpg";
        learningoff=new Image(); learningoff.src="images/splash/learning_text_off.jpg";

		reasoningon=new Image(); reasoningon.src="images/splash/reasoning_text_on.jpg";
        reasoningoff=new Image(); reasoningoff.src="images/splash/reasoning_text_off.jpg";

		clinicalon=new Image(); clinicalon.src="images/splash/clinical_text_on.jpg";
        clinicaloff=new Image(); clinicaloff.src="images/splash/clinical_text_off.jpg";

		healthcareon=new Image(); healthcareon.src="images/splash/healthcare_text_on.jpg";
        healthcareoff=new Image(); healthcareoff.src="images/splash/healthcare_text_off.jpg";

        resourceson=new Image(); resourceson.src="images/splash/resources_text_on.jpg";
        resourcesoff=new Image(); resourcesoff.src="images/splash/resources_text_off.jpg";
    }
}
preload();

