// File JScript

var IMAGE_PATH = "/templates/default/images/struct/";


function PreloadImages()
{
    $get('btn_home').onmouseover = function ()
                                                {
                                                    this.prevImg = this.src;
                                                    this.src = IMAGE_PATH + "k_home_roll.gif";
                                                }
    $get('btn_home').onmouseout = function ()
                                                {
                                                    this.src = this.prevImg;
                                                }
    
    $get('btn_chi_siamo').onmouseover = function ()
                                               {
                                                    this.prevImg = this.src;
                                                    this.src = IMAGE_PATH + "k_chisiamo_roll.gif";
                                               }                                             

    $get('btn_chi_siamo').onmouseout = function ()
                                                {
                                                    this.src = this.prevImg;
                                                }
    
    $get('btn_business').onmouseover = function ()
                                               {
                                                    this.prevImg = this.src;
                                                    this.src = IMAGE_PATH + "k_business_roll.gif";
                                               }                                             

    $get('btn_business').onmouseout = function ()
                                                {
                                                    this.src = this.prevImg;
                                                }
    
    $get('btn_promo').onmouseover = function ()
                                               {
                                                    this.prevImg = this.src;
                                                    this.src = IMAGE_PATH + "k_promo_roll.gif";
                                               }                                             

    $get('btn_promo').onmouseout = function ()
                                                {
                                                    this.src = this.prevImg;
                                                }

    $get('btn_news').onmouseover = function ()
                                               {
                                                    this.prevImg = this.src;
                                                    this.src = IMAGE_PATH + "k_news_roll.gif";
                                               }                                             

    $get('btn_news').onmouseout = function ()
                                                {
                                                    this.src = this.prevImg;
                                                }

    $get('btn_lavora').onmouseover = function ()
                                               {
                                                    this.prevImg = this.src;
                                                    this.src = IMAGE_PATH + "k_lavora_roll.gif";
                                               }                                             

    $get('btn_lavora').onmouseout = function ()
                                                {
                                                    this.src = this.prevImg;
                                                }

}

















