﻿var curobj;
var flagO=0;
var bName = navigator.appName; //1
var inc=0;
var inc1=0;
if(bName == "Netscape")
        {   
           inc=10;
           inc1=1;
        }
        else
        {
            inc=5;
            inc1=1.5;
        }
        
function hover(obj)
{
    curobj=obj;
 
    setTimeout("incr('"+obj+"')",inc);
}

function incr(obj)
{
    var hi=document.getElementById(obj).style.height.replace("px","");
    if(hi<=33 && flagO!=obj)
    {
        hi=Number(hi)+1;
        
        document.getElementById(obj).style.height=hi+"px";
       setTimeout("incr('"+obj+"')",inc);
    }
}

function hoverO(obj)
{
    
    flagO=obj;
    setTimeout("decr('"+obj+"')",inc);
}


function decr(obj)
{
    var hi=document.getElementById(obj).style.height.replace("px","");
    if(hi>=26)
    {
        hi=Number(hi)-1;
        
        document.getElementById(obj).style.height=hi+"px";
        
    setTimeout("decr('"+obj+"')",inc);
    }
    else
    {
    
        flagO=0;
    }
}