Photoinduced Changes of the In-Plane and Out-Of-Plane Electronic Properties in YBa2Cu3Ox