
if (navigator.userAgent.indexOf("Mozilla/4.")!=-1)ver=5;
else if(navigator.userAgent.indexOf("MSIE 4.")!=-1)ver=4;
else if(navigator.userAgent.indexOf("Mozilla/3.")!=-1)ver=3;
else if(navigator.userAgent.indexOf("Mozilla/2.")!=-1)ver=2;
else if(navigator.userAgent.indexOf("MSIE")!=-1)ver=1;

if(ver>2){
    x1on = new Image();
    x1on.src = "images/m11.gif";
    x2on = new Image();
    x2on.src = "images/m12.gif";
    x3on = new Image();
    x3on.src = "images/m13.gif";
    x4on = new Image();
    x4on.src = "images/m14.gif";
    x5on = new Image();
    x5on.src = "images/m15.gif";
	    
    x1off = new Image();
    x1off.src = "images/m01.gif";
    x2off = new Image();
    x2off.src = "images/m02.gif";
    x3off = new Image();
    x3off.src = "images/m03.gif";
    x4off = new Image();
    x4off.src = "images/m04.gif";
    x5off = new Image();
    x5off.src = "images/m05.gif";

    x1clk = new Image();
    x1clk.src = "images/m21.gif";
    x2clk = new Image();
    x2clk.src = "images/m22.gif";
    x3clk = new Image();
    x3clk.src = "images/m23.gif";
    x4clk = new Image();
    x4clk.src = "images/m24.gif";
    x5clk = new Image();
    x5clk.src = "images/m25.gif";
}

function ImageOn(imgName)
{
if(ver>2){
        imgOn = eval(imgName + "on.src");
        document.images[imgName].src = imgOn;
}}


function ImageOff(imgName)
{
if(ver>2){
        imgOff = eval(imgName + "off.src");
        document.images[imgName].src = imgOff;
}}

function ImageClk(imgName)
{
ImageOff(pageID)
if(ver>2){
        imgClk = eval(imgName + "clk.src");
        document.images[imgName].src = imgClk;
}}
 
