                          

var  clear = "";
var content = "";
var id ="";
$('document').ready(function(){

        $('a[class="hover"]').hover(function(){
        if(id !=""){
        $('#'+id).hide();
        }
       
                if(this.name ==""){
                    id = "";
                    return false;
                }
//                if($.browser.version == "6.0"){
//                 $('select').hide();
//                }
                id = this.name;
                if(clear !="") clearTimeout(clear);
                if(id != "home"){
                        var linkpos = getMyOffset(this) -6 ;
                        setTimeout(function(){
                                //$('#'+id).css("left",e.pageX -30);

                                $('#'+id).css("left",linkpos);


                                $('#'+id).css("z-index","10000");
                                $('#'+id).show();
                        },100);
                }
                else{ 	$('#'+id).css("left","0");

                                $('#'+id).show();
                        }


        },
        function(){
                if(id ==""){
                    return false;
                }
                clear = setTimeout(function(){
                        $('#'+id).hide();
                        if($.browser.version == "6.0"){
                        $('select').show();
                        }
                },150);

        });

        $('.hover-box').hover(function(){
                if(clear !="") clearTimeout(clear);
        },function(){

                $('#'+id).hide();
                if($.browser.version == "6.0"){
                 $('select').show();
                }
        });



});

                           
function getMyOffset(obj){ var myParentOffset = 0; if( obj.offsetParent!=undefined && obj.offsetParent!=null ){ myParentOffset = getMyOffset(obj.offsetParent); } return obj.offsetLeft + myParentOffset; }


$(
function()
{
$("#producttable tr").hover(
function()
{
  $(this).css('background-color', '#FFFFFF');
},
function()
{
  $(this).css('background-color', '#dfffe0');
}
)
}
)



