http://www.k9puppydogs.com/html/dog_fai ... llapse.htm
There are two main types of collapse that dogs can suffer though both can have diverse causes. The first is fainting, when your dog simply drops goes completely limp and appears to be dead. The second is an epileptic fit, where your dog loses consciousness and drops but is rigid and twitching or shaking all over. (See content on Epileptic fits and Convulsions) The first time you see your dog collapse it will be very difficult to distinguish whether you should treat it as a fainting spell or an epileptic fit. At this moment it is crucial that you not fall apart or become useless to your dog through worry and anxiety. Normally a collapse will last from a few seconds up to a few minutes. Regardless of the reasons your dog suffers a collapse don't immediately try to move it. First you must make sure that your dog is breathing properly and that there are noobstructions (including your dog's tongue) blocking his airway. If your dog is suffering from an epileptic fit try and dim the ambient light and remain quiet and calm so as not to further excite your dog or exasperate the situation. Give your dog plenty of time to recover making sure that it feels secure and safe. Call your veterinarian and get immediate medical assistance. If your dog suffers from an unexplainable collapse or if it is experiencing frequent collapses then it is possible that this is a symptom of a more serious illness. If this is the case with your dog you should seek immediate medical attention. If anyone else has witnessed your dog's collapse/s then take them with you to the veterinarian as they may be able to also give some clues to the vet that will help in the diagnosis and treatment of your dog. Some of the possible causes of collapse apart from epileptic fits are a lack of oxygen or vital nutrients to the brain. These could be caused by heart problems, a blockage in your dog's airway or metabolic problems.