As long as the PHP occurs before the script it should be just fine. Just got doing a tie in of PHP and Javascript for Google Maps that way. -Anthony -- Anthony Wlodarski PHP/MySQL Developer www.thrillist.com 560 Broadway, Suite 308 New York, NY 10012 p 646.274.2435 f 646.557.0803