
  agent = navigator.userAgent;
  yes = 0;
  if(agent.substring(0,7) == "Mozilla")
    {
    if( parseInt(agent.substring(8,9)) >= 3)
	  {
	  yes = 1;
	  }
    }

  if(yes)
    {
		pm0s = new Image();
		pm0s.src = "/images/nosm0.gif";
		pm0n = new Image();
		pm0n.src = "/images/nm0.gif";
		pm0h = new Image();
		pm0h.src = "/images/nam0.gif";


		pm1s = new Image();
		pm1s.src = "/images/nosm1.gif";
		pm1n = new Image();
		pm1n.src = "/images/nm1.gif";
		pm1h = new Image();
		pm1h.src = "/images/nam1.gif";
			
			pm1t1n = new Image();
    		pm1t1n.src = "/images/nm1t1.gif";
		    pm1t1h = new Image();
    		pm1t1h.src = "/images/nam1t1.gif";
			
			pm1t2n = new Image();
    		pm1t2n.src = "/images/nm1t2.gif";
		    pm1t2h = new Image();
    		pm1t2h.src = "/images/nam1t2.gif";
			
			pm1t3n = new Image();
    		pm1t3n.src = "/images/nm1t3.gif";
		    pm1t3h = new Image();
    		pm1t3h.src = "/images/nam1t3.gif";

			pm1t4n = new Image();
			pm1t4n.src = "/images/nm1t4.gif";
		    pm1t4h = new Image();
    		pm1t4h.src = "/images/nam1t4.gif";

			pm1t5n = new Image();
    		pm1t5n.src = "/images/nm1t5.gif";
		    pm1t5h = new Image();
    		pm1t5h.src = "/images/nam1t5.gif";
			
			pm1t6n = new Image();
    		pm1t6n.src = "/images/nm1t6.gif";
		    pm1t6h = new Image();
    		pm1t6h.src = "/images/nam1t6.gif";

		
		pm2s = new Image();
		pm2s.src = "/images/nosm2.gif";
		pm2n = new Image();
    	pm2n.src = "/images/nm2.gif";
	    pm2h = new Image();
    	pm2h.src = "/images/nam2.gif";
		
		pm3s = new Image();
		pm3s.src = "/images/nosm3.gif";
		pm3n = new Image();
    	pm3n.src = "/images/nm3.gif";
	    pm3h = new Image();
    	pm3h.src = "/images/nam3.gif";
		
		pm4s = new Image();
		pm4s.src = "/images/nosm4.gif";
		pm4n = new Image();
    	pm4n.src = "/images/nm4.gif";
	    pm4h = new Image();
    	pm4h.src = "/images/nam4.gif";
		
		pm5s = new Image();
		pm5s.src = "/images/nosm5.gif";
		pm5n = new Image();
    	pm5n.src = "/images/nm5.gif";
	    pm5h = new Image();
    	pm5h.src = "/images/nam5.gif";
		
		pm6s = new Image();
		pm6s.src = "/images/nosm6.gif";
		pm6n = new Image();
    	pm6n.src = "/images/nm6.gif";
	    pm6h = new Image();
    	pm6h.src = "/images/nam6.gif";
		
		pm7s = new Image();
		pm7s.src = "/images/nosm7.gif";
		pm7n = new Image();
    	pm7n.src = "/images/nm7.gif";
	    pm7h = new Image();
    	pm7h.src = "/images/nam7.gif";
		
		pm8s = new Image();
		pm8s.src = "/images/nosm8.gif";
		pm8n = new Image();
    	pm8n.src = "/images/nm8.gif";
	    pm8h = new Image();
    	pm8h.src = "/images/nam8.gif";

		pm9s = new Image();
		pm9s.src = "/images/nosm9.gif";
		pm9n = new Image();
    	pm9n.src = "/images/nm9.gif";
	    pm9h = new Image();
    	pm9h.src = "/images/nam9.gif";

			    }
  function CI(imgNum,imgName)
	{
	if(yes)
	  {
	  document.images[imgNum].src = eval(imgName + ".src")
	  }
	}
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';

  cookie_str = document.cookie;
  cookie_str.toString();

  pos_start  = cookie_str.indexOf(name);
  pos_end    = cookie_str.indexOf('=', pos_start);

  cookie_name = cookie_str.substring(pos_start, pos_end);

  pos_start  = cookie_str.indexOf(name);
  pos_start  = cookie_str.indexOf('=', pos_start);
  pos_end    = cookie_str.indexOf(';', pos_start);
  
  if (pos_end <= 0) pos_end = cookie_str.length;
  cookie_val = cookie_str.substring(pos_start + 1, pos_end);
  if (cookie_name == name && cookie_val  == "done")
    return;

  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

