function findOnMouseOver()
{
    var x = document.getElementsBySelector('img');
    if(x)
    {
        for (var i=0;i<x.length;i++)
        {
            if (x[i].attributes['src_over']!=undefined && x[i].attributes['src_over'].value != '')
            {
                x[i].onmouseover = replaceImgOver;
                x[i].onmouseout = replaceImgOut;
                x[i].setAttribute("src_out",x[i].attributes['src'].value);
            }
        }
    }
}

function replaceImgOver(){
    
    if(this.attributes['src_over'].value != '')
    {
        this.src = this.attributes['src_over'].value;
        this.style.cursor = 'pointer';
    }
    
    return false;
}

function replaceImgOut(){

    if(this.attributes['src_out'].value != '')
    {           
        this.src = this.attributes['src_out'].value;;
        this.style.cursor = 'default';
    }
    
    return false;
}
