 
 var timer_id;

 function scroll_iframe(frm,inc,dir) {
  if (timer_id) clearTimeout(timer_id);
  if (window.frames[frm]) {
    if (dir == "v") window.frames[frm].scrollBy(0, inc);
    else window.frames[frm].scrollBy(inc, 0);
    timer_id = setTimeout("scroll_iframe('" + frm + "'," + inc + ",'" + dir + "')", 20);
   }
 }
 
 function stopScroll() { if (timer_id) clearTimeout(timer_id); } 

 if (document.images)
 {
    //utl1on = new Image();   utl1on.src = "images/utility_down_04.jpg";
	utl1on = new Image();   utl1on.src = "images/utility_nav_home_down.jpg";
	newson = new Image(); 	newson.src = "images/utility_nav_news_down.jpg";

    img1on = new Image();   img1on.src = "images/utility_down_06new.jpg";
    img2on = new Image();   img2on.src = "images/utility_down_07.jpg";
    img3on = new Image();   img3on.src = "images/utility_down_08.jpg";
    img4on = new Image();   img4on.src = "images/utility_down_09.jpg";
    img5on = new Image();   img5on.src = "images/utility_down_13.png";
    img6on = new Image();   img6on.src = "images/utility_down_11.jpg";
    img7on = new Image();   img7on.src = "images/index_13_down.jpg";
	img8on = new Image();   img8on.src = "images/index_13_down.jpg";
	img9on = new Image();   img9on.src = "images/index_13_down.jpg";
    home1on = new Image();   home1on.src = "images/home_down_28.jpg";
	//utl_nav_homeon = new Image(); utl_nav_homeon.src = "images/util_nav_home_down.jpg";



    //utl1off = new Image();  utl1off.src = "images/utility_04.jpg";
	utl1off = new Image();  utl1off.src = "images/utility_nav_home.jpg";
	newsoff = new Image(); 	newsoff.src = "images/utility_nav_news.jpg";

    img1off = new Image();  img1off.src = "images/utility_06new.jpg";
    img2off = new Image();  img2off.src = "images/utility_07.jpg";
    img3off = new Image();  img3off.src = "images/utility_08.jpg";
    img4off = new Image();  img4off.src = "images/utility_09.jpg";
    img5off = new Image();  img5off.src = "images/utility_13.png";
    img6off = new Image();  img6off.src = "images/utility_11.jpg";
    img7off = new Image();  img7off.src = "images/index_13.jpg";
	img8off = new Image();  img8off.src = "images/index_13.jpg";
	img9off = new Image();  img9off.src = "images/index_13.jpg";
    home1off = new Image();  home1off.src = "images/home_28.jpg";
	//utl_nav_homeoff = new Image(); utl_nav_homeoff.src = "images/util_nav_home.jpg";

 
    nav1on = new Image();   nav1on.src = "images/topnav_down_15.jpg";
    nav2on = new Image();   nav2on.src = "images/topnav_down_16.jpg";
    nav3on = new Image();   nav3on.src = "images/topnav_down_17.jpg";
    nav4on = new Image();   nav4on.src = "images/topnav_down_18.jpg";
    nav5on = new Image();   nav5on.src = "images/topnav_down_19.jpg";
    nav6on = new Image();   nav6on.src = "images/topnav_down_20.jpg";
    nav7on = new Image();   nav7on.src = "images/topnav_15.jpg";

    nav1off = new Image();  nav1off.src = "images/topnav_15.jpg";
    nav2off = new Image();  nav2off.src = "images/topnav_16.jpg";
    nav3off = new Image();  nav3off.src = "images/topnav_17.jpg";
    nav4off = new Image();  nav4off.src = "images/topnav_18.jpg";
    nav5off = new Image();  nav5off.src = "images/topnav_19.jpg";
    nav6off = new Image();  nav6off.src = "images/topnav_20.jpg";
    nav7off = new Image();  nav7off.src = "images/topnav_15.jpg";

 }

 function swapNav( fileName, which )
 {
    browserName = navigator.appName;
    browserVersion = parseInt(navigator.appVersion);
    uAgent = navigator.userAgent;

    if (document.images)
    {
        document['subnav'].src = "images/subnav/" + which + "/" + fileName;
    }
 }


 function imgOn(imgName)
 {
    browserName = navigator.appName;
    browserVersion = parseInt(navigator.appVersion);
    uAgent = navigator.userAgent;

    if (document.images)
    {
        document[imgName].src = eval(imgName + "on.src");
    }
 }
 function imgOff(imgName)
 {
    browserName = navigator.appName;
    browserVersion = parseInt(navigator.appVersion);
    uAgent = navigator.userAgent;

    if (document.images)
    {
    	document[imgName].src = eval(imgName + "off.src");
    }
 }
