/******************************************************************************************
* JV-LinkDirectory - Advanced Directory and Partner Links Management Extension for Joomla!
* Copyright 2007-2009 JV-Extensions
* 
* This file is part of JV-LinkDirectory
* 
* JV-LinkDirectory is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* 
* JV-LinkDirectory is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
* 
* You should have received a copy of the GNU General Public License
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
* 
* @file version 4.1 RELEASE
* @author JV-Extensions
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL  
******************************************************************************************/
function m_over(bpath, lid, maxval)
{
    var img_f = bpath+"/components/com_jvse/assets/images/fstar.gif";         
    for (i=1;i<=maxval;i++)
    {
        imname_f = "img_"+lid+"_"+i;
        document.images[imname_f].src = img_f;
    }
    var img_e = bpath+"/components/com_jvse/assets/images/estar.gif"; 
    for (i=i;i<=5;i++)
    {
        imname_e = "img_"+lid+"_"+i;
        document.images[imname_e].src = img_e;
    }
}
function m_nover(bpath, lid, f, h, e)
{
    var j=1;
    var img_f = bpath+"/components/com_jvse/assets/images/fstar.gif"; 
    for (i=1;i<=f;i++,j++)
    {
        imname_f = "img_"+lid+"_"+j;
        document.images[imname_f].src = img_f;
    }
    var img_h = bpath+"/components/com_jvse/assets/images/hstar.gif"; 
    for (i=1;i<=h;i++,j++)
    {
        imname_h = "img_"+lid+"_"+j;
        document.images[imname_h].src = img_h;
    }
    var img_e = bpath+"/components/com_jvse/assets/images/estar.gif"; 
    for (i=1;i<=e;i++,j++)
    {
        imname_e = "img_"+lid+"_"+j;
        document.images[imname_e].src = img_e;
    }
}
