zIndex:layer.zIndex,
success : function(layero){
var zIndex = layer.index;
$(layero).css(‘z-index’,zIndex);
}