Hi,
I believe the Open /close javascript the layer names have to be lower case aand the xara layer names lower case.
Jim