we hovered var index = $('#_genelecsitedealermap_dealerResult .dealer-box').index(this); var mrkrIndex = $(this).attr('data-markerIndex'); var accountType = $(this).attr('data-accountType'); var id = $(this).attr('id'); if(mrkrIndex != undefined && mrkrIndex != null) { for(var i=0; i