I have been doing lot of thinking on how chatroulette came into existance . I mean its able to switch on my cam , but thank god its atleast asking for permission . I checked its code and it says that it has a cam id tag , but i think its an action script in flash which does the trick . Can i know what is the trick here or is it java script ?