Adjustable Q switched nd yag laser machine