Foscam IP cameras control script

Would be nice also to get user/password from UI (see my [forum post](http://www.zoneminder.com/forums/viewtopic.php?f=29&t=21747&p=82591)).