Painleve analysis of a variable coefficient Sine-Gordon equation