﻿ agent = navigator.userAgent;
  yes = 0;
  if(agent.substring(0,7) == "Mozilla")
    {
    if( parseInt(agent.substring(8,9)) >= 3)
	  {
	  yes = 1;
	  }
    }

  if(yes)
    {
    	  	        pc1n = new Image();
      pc1n.src = "./images/pcpa1.gif";
      pc1h = new Image();
      pc1h.src = "./images/pcpah1.gif";

		  	        pc2n = new Image();
      pc2n.src = "./images/pcpa2.gif";
      pc2h = new Image();
      pc2h.src = "./images/pcpah2.gif";

		  	        pc3n = new Image();
      pc3n.src = "./images/pcpa3.gif";
      pc3h = new Image();
      pc3h.src = "./images/pcpah3.gif";

		                    pm0n = new Image();
    pm0n.src = "./images/phomes.gif";
    pm0h = new Image();
    pm0h.src = "./images/phomes.gif";
                                      pm1n = new Image();
      pm1n.src = "./images/pmt1.gif";
      pm1h = new Image();
      pm1h.src = "./images/pmth1.gif";
                                      pm2n = new Image();
      pm2n.src = "./images/pmt2.gif";
      pm2h = new Image();
      pm2h.src = "./images/pmth2.gif";
                                      pm3n = new Image();
      pm3n.src = "./images/pmt3.gif";
      pm3h = new Image();
      pm3h.src = "./images/pmth3.gif";
                                      pm4n = new Image();
      pm4n.src = "./images/pmt4.gif";
      pm4h = new Image();
      pm4h.src = "./images/pmth4.gif";
                                      pm5n = new Image();
      pm5n.src = "./images/pmt5.gif";
      pm5h = new Image();
      pm5h.src = "./images/pmth5.gif";
                                      pm6n = new Image();
      pm6n.src = "./images/pmt6.gif";
      pm6h = new Image();
      pm6h.src = "./images/pmth6.gif";
                                      pm7n = new Image();
      pm7n.src = "./images/pmt7.gif";
      pm7h = new Image();
      pm7h.src = "./images/pmth7.gif";
                                      pm8n = new Image();
      pm8n.src = "./images/pmt8.gif";
      pm8h = new Image();
      pm8h.src = "./images/pmth8.gif";
        }
  function CI(imgNum,imgName) 
	{
	if(yes)
	  {
	  document.images[imgNum].src = eval(imgName + ".src")
	  }
	}