$(bg).bind('mouseover', function(){
                        $(bg).css('border','1px solid red');
                        $(bg).css('z-index','10');
                    });