the above poster (awsome) has it right. Lights, both UVB and basking light, on for about 12-14 hours, no heat at night unless room temps drop below 65F. The basking spot should be measured with a digital thermometer, placed directly on teh basking log/branch/brick etc to get an accurate ideal of the temps. Having several basking areas (either with a wide sloped basking spot, or just several different locations) with varying temps between 95-115F is best, this way the dragon can choose what temp he/she wants to be in. A large piece of driftwood or several bricks or rocks (slate tile is good as they can be layered and glued together nicely, or proped against bricks or rocks etc) to provide different heights beneath the basking light are best. Also try to get the UVB tube (if a florescent style UVB light) no more than 12" above the basking spot, to make the most of the UVB rays it provides. Mercury Vapor bulb UVB lights need to be at least 18" above the basking spot,a s these lights put out alot more UVB rays and their brightness can cause problems with bearded dragon eyes.
-----
PHLdyPayne