PING sensor giving incorrect values on Pin A0!

Hi AWOL, Thank you so much for the code
The output is still 0 cm..
I think my sensor is faulty
sometimes when i hold the wire tight,it gives out values like 245 cm like tht
but these values r due to electric noise..
How to chekc whether my PING Sensor is faulty or not? The ACT LED on the sensor does not blink.
It hasnt blinked evn once frm the day of purchase.
But i have been gettin values if i hold the wire a little tight when it gets loose.
Plz help me out..Is the sensor faulty?