La tua richiesta non ha nulla a che fare con PHP. Posta sul forum di Javascript.