+1  A: 

hey i figured it out, the php variables were returning blank values which made the js function fail entirely :)

Pete Herbert Penito