<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1731912580709708317</id><updated>2024-11-01T00:19:35.258-07:00</updated><category term="Technology"/><category term="C#.NET"/><category term="Health"/><category term="Encryption"/><category term="MS SQL"/><category term="Science"/><category term="XML"/><category term="ASP.NET"/><category term="Blackberry"/><category term="C++"/><category term="Crystal Report"/><category term="LINQ"/><category term="Log4cxx"/><category term="Netbeans"/><category term="PHP"/><category term="RSA"/><category term="TripleDES"/><category term="Email"/><category term="HTML"/><category term="Java"/><category term="MD5"/><category term="MS Excel"/><category term="Mobile Web"/><category term="Mysqli"/><category term="Noel Alfred"/><category term="PDF"/><category term="PThread"/><category term="SMTP"/><category term="SSH"/><category term="Screen"/><category term="Sri Lanka"/><category term="Ubuntu"/><category term="WCF"/><category term="XHTML"/><title type='text'>ShaSath NoteBook</title><subtitle type='html'>something you experience, it&#39;s something you remember - Oscar Levant</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>38</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-6368743845174604902</id><published>2013-01-08T09:37:00.000-08:00</published><updated>2013-01-08T09:37:06.323-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Health"/><title type='text'>Foods That Reduce LDL Cholesterol in Your Body</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
There are basically two different types of lipoproteins that carry cholesterol in your body. They are high-density lipoproteins (HDL) and also low-density lipoproteins (LDL). Generally, HDL is also known as good cholesterol as it transports cholesterol from your whole body to your liver where the cholesterol is removed. On the other hand, LDL is usually labeled as bad cholesterol as high levels can clot the arteries.&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhddVO4XZVESNq22L7OY1IZD7EOord-y9B3wSkbjd0ifHPSp5n3eh6p7KXnqn-CBrWBydbos61oEqVf73kO7aorgE3IIZzZeMAcR2PvWIGEhavstcTRpyZGN7UVgd0FR9FqEaj3_M2pmhAG/s1600/asdfasdfasdf.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhddVO4XZVESNq22L7OY1IZD7EOord-y9B3wSkbjd0ifHPSp5n3eh6p7KXnqn-CBrWBydbos61oEqVf73kO7aorgE3IIZzZeMAcR2PvWIGEhavstcTRpyZGN7UVgd0FR9FqEaj3_M2pmhAG/s1600/asdfasdfasdf.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
1. Oat Bran and Oatmeal&lt;br /&gt;
- Oatmeal is high in soluble fiber, which is effective in reducing the bad cholesterol levels. This type of dietary fiber can also be found abundantly in foods like barley, prunes, pears and apples. Soluble fiber helps block cholesterol absorption into your blood. According to studies, by taking 5 to 10 grams of soluble fiber daily is sufficient to lower your LDL cholesterol and the total cholesterol in whole. One and a half cups of oatmeal give you 6 grams of food fiber.&lt;br /&gt;
&lt;br /&gt;
2. Fish&lt;br /&gt;
- Fish is a good source of Omega-3 fatty acids, especially halibut, herring, lake trout mackerel, salmon and tuna. Therefore, it is an excellent food to help decrease your cholesterol levels and promote a healthy heart. In order to control your blood pressure and protect yourself from clots in the bloodstream, fish with good amount of Omega-3 fatty acids is a wonderful choice. For people with heart disease, Omega-3 fatty acids protect them against sudden death due to heart attack. Furthermore, these fatty acids are also capable of increasing HDL cholesterol or good cholesterol in your body.&lt;br /&gt;
&lt;br /&gt;
3. Nuts&lt;br /&gt;
- Nuts like almonds, hazelnuts, pistachios, pecans and walnuts are brilliant in reducing triglycerides. There are some incredible compounds in them that are transformed into Eicosapentaenoic acid (EPA) and Docosahexaenoic acid (DHA) -- two types of Omega-3 fatty acids -- in your body. According to Food and Drug Administration (FDA), intake of 1 1/2 ounces of various nuts every day helps reduce the risk of developing heart disease.&lt;br /&gt;
&lt;br /&gt;
4. Blueberries&lt;br /&gt;
- Blueberries contain a compound known as Pterostilbene, which is a natural remedy to cut down LDL cholesterol levels with no unwanted side effects. Anthocyanins, an antioxidant found substantially in blueberries, are also effective in lowering LDL cholesterol and balance up your overall cholesterol levels.&lt;br /&gt;
&lt;br /&gt;
5. Green Tea&lt;br /&gt;
- Scientific studies have found that green tea help lower overall cholesterol and LDL in particular. As reported by Reuters in November 2011, a study in the United States that has over a thousand participants has shown that green tea helps lower bad cholesterol readings, when drunk as beverage or taken in a capsule. However, scientists have found no evidence that green tea helps increase HDL cholesterol or reduce triglycerides. — with Anlyn Quelitano, Ashutosh Batish, Himanshu Lall and 12 others.&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/6368743845174604902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2013/01/foods-that-reduce-ldl-cholesterol-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/6368743845174604902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/6368743845174604902'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2013/01/foods-that-reduce-ldl-cholesterol-in.html' title='Foods That Reduce LDL Cholesterol in Your Body'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhddVO4XZVESNq22L7OY1IZD7EOord-y9B3wSkbjd0ifHPSp5n3eh6p7KXnqn-CBrWBydbos61oEqVf73kO7aorgE3IIZzZeMAcR2PvWIGEhavstcTRpyZGN7UVgd0FR9FqEaj3_M2pmhAG/s72-c/asdfasdfasdf.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-8578252662039278267</id><published>2013-01-08T08:54:00.002-08:00</published><updated>2013-01-08T08:57:10.783-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Health"/><title type='text'>Alternative Way to Elimate Cancer from Johns Hopkins</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 14px;&quot;&gt;After years of telling people Chemotherapy is the only way to try and eliminate cancer, Johns Hopkins is finally starting to tell you there is an alternative way.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhekUaFwNP9mK-vBj4PM1PU_kahwgb_BtE5FvEiFzQeZwHWXr_egzWYI_9dwzfJ20fU4wnFkqYDhzQOL7ryFLF-pjH68Ynvh4o9P4wuNtZzmi68lTy0rxk9CuvMzNHZdOR6NdfUVqwq6kq5/s1600/The-Job-of-a-Doctor.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhekUaFwNP9mK-vBj4PM1PU_kahwgb_BtE5FvEiFzQeZwHWXr_egzWYI_9dwzfJ20fU4wnFkqYDhzQOL7ryFLF-pjH68Ynvh4o9P4wuNtZzmi68lTy0rxk9CuvMzNHZdOR6NdfUVqwq6kq5/s1600/The-Job-of-a-Doctor.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span class=&quot;text_exposed_show&quot; style=&quot;background-color: white; color: #333333; display: inline; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 14px;&quot;&gt;1. Every person has cancer cells in the body. These cancer cells do not show up in the standard tests until they have multiplied to a few billion. When doctors tell cancer patients that there are no more cancer cells in their bodies after treatment, it just means the tests are unable to detect the cancer cells because they have not reached the detectable size.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. Cancer cells occur between 6 to more than 10 times in a person&#39;s lifetime.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. When the person&#39;s immune system is strong the cancer cells will be destroyed and prevented from multiplying and forming tumors.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. When a person has cancer it indicates the person has multiple nutritional deficiencies. These could be due to genetic, environmental, food and lifestyle factors.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5. To overcome the multiple nutritional deficiencies, changing diet and including supplements will strengthen the immune system.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6. Chemotherapy involves poisoning the rapidly-growing cancer cells and also destroys rapidly-growing healthy cells in the bone marrow, gastro-intestinal tract etc, and can cause organ damage, like liver, kidneys, heart, lungs etc.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7. Radiation while destroying cancer cells also burns, scars and damages healthy cells, tissues and organs.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;8. Initial treatment with chemotherapy and radiation will often reduce tumor size. However prolonged use of chemotherapy and radiation do not result in more tumor destruction.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;9. When the body has too much toxic burden from chemotherapy and radiation the immune system is either compromised or destroyed, hence the person can succumb to various kinds of infections and complications.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;10. Chemotherapy and radiation can cause cancer cells to mutate and become resistant and difficult to destroy. Surgery can also cause cancer cells to spread to other sites.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;11. An effective way to battle cancer is to STARVE the cancer cells by not feeding it with foods it needs to multiple.&lt;br /&gt;&lt;br /&gt;What cancer cells feed on:&lt;br /&gt;&lt;br /&gt;a. Sugar is a cancer-feeder. By cutting off sugar it cuts off one important food supply to the cancer cells. Note: Sugar substitutes like NutraSweet, Equal, Spoonful, etc are made with Aspartame and it is harmful. A better natural substitute would be Manuka honey or molasses but only in very small amounts. Table salt has a chemical added to make it white in colour. Better alternative is Bragg&#39;s aminos or sea salt.&lt;br /&gt;&lt;br /&gt;b. Milk causes the body to produce mucus, especially in the gastro-intestinal tract. Cancer feeds on mucus. By cutting off milk and substituting with unsweetened soy milk, cancer cells will starved.&lt;br /&gt;&lt;br /&gt;c. Cancer cells thrive in an acid environment. A meat-based diet is acidic and it is best to eat fish, and a little chicken rather than beef or pork. Meat also contains livestock antibiotics, growth hormones and parasites, which are all harmful, especially to people with cancer.&lt;br /&gt;&lt;br /&gt;d. A diet made of 80% fresh vegetables and juice, whole grains, seeds, nuts and a little fruits help put the body into an alkaline environment. About 20% can be from cooked food including beans. Fresh vegetable juices provide live enzymes that are easily absorbed and reach down to cellular levels within 15 minutes t o nourish and enhance growth of healthy cells.&lt;br /&gt;&lt;br /&gt;To obtain live enzymes for building healthy cells try and drink fresh vegetable juice (most vegetables including bean sprouts) and eat some raw vegetables 2 or 3 times a day. Enzymes are destroyed at temperatures of 104 degrees F (40 degrees C).&lt;br /&gt;&lt;br /&gt;e. Avoid coffee, tea, and chocolate, which have high caffeine. Green tea is a better alternative and has cancer-fighting properties. Water--best to drink purified water, or filtered, to avoid known toxins and heavy metals in tap water. Distilled water is acidic, avoid it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;12. Meat protein is difficult to digest and requires a lot of digestive enzymes. Undigested meat remaining in the intestines will become putrified and leads to more toxic buildup.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;13. Cancer cell walls have a tough protein covering. By refraining from or eating less meat it frees more enzymes to attack the protein walls of cancer cells and allows the body&#39;s killer cells to destroy the cancer cells.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;14. Some supplements build up the immune system (IP6, Flor-ssence, Essiac, anti-oxidants, vitamins, minerals, EFAs etc.) to enable the body&#39;s own killer cells to destroy cancer cells. Other supplements like vitamin E are known to cause apoptosis, or programmed cell death, the body&#39;s normal method of disposing of damaged, unwanted, or unneeded cells.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;15. Cancer is a disease of the mind, body, and spirit. A proactive and positive spirit will help the cancer warrior be a survivor.&lt;br /&gt;&lt;br /&gt;Anger, unforgiving and bitterness put the body into a stressful and acidic environment. Learn to have a loving and forgiving spirit. Learn to relax and enjoy life.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;16. Cancer cells cannot thrive in an oxygenated environment. Exercising daily, and deep breathing help to get more oxygen down to the cellular level. Oxygen therapy is another means employed to destroy cancer cells.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(PLEASE SHARE IT TO PEOPLE YOU CARE ABOUT)&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/8578252662039278267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2013/01/alternative-way-to-elimate-cancer-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/8578252662039278267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/8578252662039278267'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2013/01/alternative-way-to-elimate-cancer-from.html' title='Alternative Way to Elimate Cancer from Johns Hopkins'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhekUaFwNP9mK-vBj4PM1PU_kahwgb_BtE5FvEiFzQeZwHWXr_egzWYI_9dwzfJ20fU4wnFkqYDhzQOL7ryFLF-pjH68Ynvh4o9P4wuNtZzmi68lTy0rxk9CuvMzNHZdOR6NdfUVqwq6kq5/s72-c/The-Job-of-a-Doctor.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-5536301883640867645</id><published>2013-01-01T22:20:00.002-08:00</published><updated>2013-01-03T00:39:32.385-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Health"/><title type='text'>40 Tips for Healthy Life Style 2013</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
1. Drink plenty of water.&lt;br /&gt;
2. Eat breakfast like a king, lunch like a prince and dinner like a beggar.&lt;br /&gt;
3. Eat more foods that grow on trees and plants, and eat less food that is manufactured in plants.&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNOxq2e8KrzUPJbqkF_AyxH7_dCm_3vf-oQTR3RKmrUpSRTXAGG5sF4sCyZKnNflgRcS57jjvjR73eVD6HqE2nNqAeQlVocGrqXE6QJkZjSmC2HF9oGwI6QF1z5mLD-hTKdZs9lMOVKI7y/s1600/newyearpost1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNOxq2e8KrzUPJbqkF_AyxH7_dCm_3vf-oQTR3RKmrUpSRTXAGG5sF4sCyZKnNflgRcS57jjvjR73eVD6HqE2nNqAeQlVocGrqXE6QJkZjSmC2HF9oGwI6QF1z5mLD-hTKdZs9lMOVKI7y/s400/newyearpost1.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
4. Live with the 3 E’s — Energy, Enthusiasm, and Empathy.&lt;br /&gt;
5. Make time for prayer and reflection&lt;br /&gt;
6. Play more games.&lt;br /&gt;
7. Read more books than you did in 2012.&lt;br /&gt;
8. Sit in silence for at least 10 minutes each day.&lt;br /&gt;
9. Sleep for at least 7 hours.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Personality:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
10. Take a 10-30 minutes walk every day —- and while you walk, smile.&lt;br /&gt;
11. Don’t compare your life to others’. You have no idea what their journey is all about.&lt;br /&gt;
12. Don’t have negative thoughts or things you cannot control. Instead invest your energy in the positive present moment.&lt;br /&gt;
13. Don’t over do; keep your limits.&lt;br /&gt;
14. Don’t take yourself so seriously; no one else does.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo7Zx76hK3bkQREBzymmNulYThckrhQl5azcY31XFB-rkgCoyM_7jSYwfXIAPSooTCJ5GZ4QKbSp2uvQLTrentVXJq2jVYSQK3uaf7ZCWMcuI2CJKXfCENiQewnKjey8CG_UBCc0X6gxB6/s1600/newyearpost2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo7Zx76hK3bkQREBzymmNulYThckrhQl5azcY31XFB-rkgCoyM_7jSYwfXIAPSooTCJ5GZ4QKbSp2uvQLTrentVXJq2jVYSQK3uaf7ZCWMcuI2CJKXfCENiQewnKjey8CG_UBCc0X6gxB6/s400/newyearpost2.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
15. Don’t waste your precious energy on gossip.&lt;br /&gt;
16. Dream more while you are awake.&lt;br /&gt;
17. Envy is a waste of time. You already have all you need.&lt;br /&gt;
18. Forget issues of the past. Don’t remind your partner with his/her mistakes of the past. That will ruin your present happiness.&lt;br /&gt;
19. Life is too short to waste time hating anyone. Don’t hate others.&lt;br /&gt;
20. Make peace with your past so it won’t spoil the present.&lt;br /&gt;
21. No one is in charge of your happiness except you.&lt;br /&gt;
22. Realize that life is a school and you are here to learn. Problems are simply part of the curriculum that appear and fade away like algebra class but the lessons you learn will last a lifetime.&lt;br /&gt;
23. Smile and laugh more.&lt;br /&gt;
24. You don’t have to win every argument. Agree to disagree.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Community:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
25. Call your family often.&lt;br /&gt;
26. Each day give something good to others.&lt;br /&gt;
27. Forgive everyone for everything.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcJcZnadAoCRhtNcY9p1fUq_iclR6Tb3okeRiVQMuHz8cMZi_QEqD0602sKIGOL9nb_hy8_WF0kclAYSOT0cyVOrHY2X6fhLgQPKsjVhsZCGTyGoO0GpOzjd5YarMFIJ2haDHgNQZ3WrNi/s1600/newyearpost3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcJcZnadAoCRhtNcY9p1fUq_iclR6Tb3okeRiVQMuHz8cMZi_QEqD0602sKIGOL9nb_hy8_WF0kclAYSOT0cyVOrHY2X6fhLgQPKsjVhsZCGTyGoO0GpOzjd5YarMFIJ2haDHgNQZ3WrNi/s400/newyearpost3.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
28. Spend time with people over the age of 70&amp;amp;under the age of 6.&lt;br /&gt;
29. Try to make at least three people smile each day.&lt;br /&gt;
30. What other people think of you is none of your business.&lt;br /&gt;
31. Your job won’t take care of you when you are sick. Your family and friends will. Stay in touch.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Life:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
32. Do the right things.&lt;br /&gt;
33. Get rid of anything that isn’t useful, beautiful or joyful.&lt;br /&gt;
34. Forgiveness heals everything.&lt;br /&gt;
35. However good or bad a situation is, it will change.&lt;br /&gt;
36. No matter how you feel, get up, dress up and show up.&lt;br /&gt;
37. The best is yet to come.&lt;br /&gt;
38. When you awake alive in the morning, don’t take it for granted – embrace life.&lt;br /&gt;
39. Your inner most is always happy. So, be happy and ENJOY LIFE!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Last but not least:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
40. Grow your relationship with God&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/5536301883640867645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2013/01/40-tips-on-how-to-make-your-life-better.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/5536301883640867645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/5536301883640867645'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2013/01/40-tips-on-how-to-make-your-life-better.html' title='40 Tips for Healthy Life Style 2013'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNOxq2e8KrzUPJbqkF_AyxH7_dCm_3vf-oQTR3RKmrUpSRTXAGG5sF4sCyZKnNflgRcS57jjvjR73eVD6HqE2nNqAeQlVocGrqXE6QJkZjSmC2HF9oGwI6QF1z5mLD-hTKdZs9lMOVKI7y/s72-c/newyearpost1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-5823772010662483001</id><published>2011-12-16T22:46:00.000-08:00</published><updated>2011-12-16T23:10:27.207-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Health"/><title type='text'>Brain Damaging Habits</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;A very good article on the common mistakes we do which
causes Brain Damages.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 12.0pt;&quot;&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0fBluptyoNlCqsvmXv3RrTGa4r-2S_JtDX-OgKmUrZbMefZRPSmkOp9jN9sRSRdksYLi81_8xXTgPOfC87wiQerc6KOe4hsIFZtgBUf6Kv9fE_OHfc1XXnzV5FnNGDOFVWhaNmKPMqH-F/s1600/image001.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;319&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0fBluptyoNlCqsvmXv3RrTGa4r-2S_JtDX-OgKmUrZbMefZRPSmkOp9jN9sRSRdksYLi81_8xXTgPOfC87wiQerc6KOe4hsIFZtgBUf6Kv9fE_OHfc1XXnzV5FnNGDOFVWhaNmKPMqH-F/s320/image001.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 18pt;&quot;&gt;No Breakfast&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: blue; font-size: 12pt;&quot;&gt;People who do not take
breakfast are going to have a lower blood sugar level. This leads to an
insufficient supply of nutrients to the brain causing brain degeneration.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 18pt;&quot;&gt;Overeating&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: blue; font-size: 12pt;&quot;&gt;It causes hardening of
the brain arteries, leading to a decrease in mental power.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 18pt;&quot;&gt;Smoking&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: blue; font-size: 12pt;&quot;&gt;It causes multiple brain
shrinkage and may lead to Alzheimer disease.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 18pt;&quot;&gt;High Sugar consumption&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: blue; font-size: 12pt;&quot;&gt;Too much sugar will
interrupt the absorption of proteins and nutrients causing malnutrition and may
interfere with brain development.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 18pt;&quot;&gt;Air Pollution&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: blue; font-size: 12pt;&quot;&gt;The brain is the largest
oxygen consumer in our body. Inhaling polluted air decreases the supply of
oxygen to the brain, bringing about a decrease in brain efficiency.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 18pt;&quot;&gt;Sleep Deprivation &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: blue; font-size: 12pt;&quot;&gt;Sleep allows our brain to
rest. Long term deprivation from sleep will accelerate the death of brain cells.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 18pt;&quot;&gt;Head covered while sleeping&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: blue; font-size: 12pt;&quot;&gt;Sleeping with the head
covered increases the concentration of carbon dioxide and decrease
concentration of oxygen that may lead to brain damaging effects.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 18pt;&quot;&gt;Working your brain during illness&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: blue; font-size: 12pt;&quot;&gt;Working hard or studying
with sickness may lead to a decrease in effectiveness of the brain as well as
damage the brain.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 18pt;&quot;&gt;Lacking in stimulating thoughts&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: blue; font-size: 12pt;&quot;&gt;Thinking is the best way
to train our brain, lacking in brain stimulation thoughts may cause brain
shrinkage.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 18pt;&quot;&gt;Talking Rarely &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: blue; font-size: 12pt;&quot;&gt;Intellectual
conversations will promote the efficiency of the brain.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Please share it with your friends and loved ones. &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 12pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 12pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1731912580709708317&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/5823772010662483001/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2011/12/brain-damaging-habits_16.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/5823772010662483001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/5823772010662483001'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2011/12/brain-damaging-habits_16.html' title='Brain Damaging Habits'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0fBluptyoNlCqsvmXv3RrTGa4r-2S_JtDX-OgKmUrZbMefZRPSmkOp9jN9sRSRdksYLi81_8xXTgPOfC87wiQerc6KOe4hsIFZtgBUf6Kv9fE_OHfc1XXnzV5FnNGDOFVWhaNmKPMqH-F/s72-c/image001.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-2802631567636752150</id><published>2011-06-26T11:53:00.000-07:00</published><updated>2011-09-16T05:08:17.027-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Health"/><title type='text'>To all Guys... Don&#39;t sit on your wallet !!!</title><content type='html'>Your wallet can be real pain for your back and the buttocks, and it can even  lead to shooting pains down the legs. Sitting on a wallet for prolonged  hours every day can compress sciatic nerve which passes beneath  piriformis muscle and leads to piriformis syndrome, low back pain &amp;amp;  self-inflicted sciatica.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXytdqwqK67_znzATISv3hI7mClAe0bCU3MaEOLMnypNYyFOUBcNRm-ANLM0lNq7ceAW7w-5P9QURMasouWqZDdEhoixDcVfMvrcf8cIQO8dl16L7o9e3vcHV0VpmKtGIEGK5R9ZsYSMxi/s1600/my3.jpg&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;right&quot; dir=&quot;rtl&quot; style=&quot;direction: rtl; margin: 0px; text-align: left;&quot;&gt;
&lt;span dir=&quot;ltr&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;The wallet acts as a wedge that forces the pelvis, spine and body out of alignment. Just as you would not sit on a brief case or a rock for an extended period of time, you should not sit on your wallet. Anyone who drives more than a half hour sitting on a wallet is a candidate for sciatica or back pain.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;The healthiest option is to move the wallet to your front pocket. If it’s must to keep your wallet in your back pocket, you should remove it before you sit down.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;Share it with your friends !!!&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/2802631567636752150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2011/06/to-all-guys-dont-sit-on-your-wallet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/2802631567636752150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/2802631567636752150'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2011/06/to-all-guys-dont-sit-on-your-wallet.html' title='To all Guys... Don&#39;t sit on your wallet !!!'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXytdqwqK67_znzATISv3hI7mClAe0bCU3MaEOLMnypNYyFOUBcNRm-ANLM0lNq7ceAW7w-5P9QURMasouWqZDdEhoixDcVfMvrcf8cIQO8dl16L7o9e3vcHV0VpmKtGIEGK5R9ZsYSMxi/s72-c/my3.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-6056322219530287594</id><published>2011-06-26T11:37:00.000-07:00</published><updated>2011-09-16T07:05:37.828-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Health"/><title type='text'>Heart Attacks And Drinking Warm Water</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Very good article, which takes two minutes to read.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;This is a very good article. Not only about the warm water after your meal, but about&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;Heart Attacks. The Chinese and Japanese drink&amp;nbsp;hot tea&amp;nbsp;with their meals, not cold water, maybe it is time we adopt their&amp;nbsp;drinking habit&amp;nbsp;while eating.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9k1o-YBbIzS8eSGHN_flHA85x0qQ5UtwM-iLJe2BhEWDLp3VrZ2tLzwv_iDD-bsjrkvxzGCk_sNw8MafsGoqvfLnpS03eyrKi9t-ljuYx5rIAZMdfNNx5BBtiFeUEoawcnf93RBlPPWec/s400/my.jpg&quot; width=&quot;385&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;For those who like to drink cold water, this article is applicable to you. It is nice to have a cup of cold drink after a meal. However, the cold water will solidify the oily stuff that you have just consumed. It will slow down the digestion. Once this &#39;sludge&#39; reacts with the acid, it will break down and be absorbed by the&amp;nbsp;intestine&amp;nbsp;faster than the solid food. It will line the intestine. Very soon, this will turn into fats and lead to&amp;nbsp;cancer.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;315&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwNn779qDaQx8u6R4N-m1YtpagOVWmfHg-3ZAdHRbNgiDtYtOcVM3YcrsrilbnPhinSpi0Cm-eDJDZHA_dY0umyrqdel37-u0PXsMtJoJRRfnPPvr-JxkE95oC8O1RpN3sB0pBnQ2uaa3V/s400/my2.jpg&quot; width=&quot;400&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: inherit;&quot;&gt;It is best to drink hot soup or warm water after a meal.&amp;nbsp;&lt;b&gt;&lt;br /&gt;
&lt;br /&gt;
Common Symptoms Of Heart Attack...&lt;/b&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt; A serious note about heart attacks - You should know that not every heart attack symptom is going to be the&amp;nbsp;left arm hurting.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; color: blue;&quot;&gt;Be aware of intense&amp;nbsp;pain&amp;nbsp;in the jaw line.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; color: blue;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; color: blue;&quot;&gt;You may never have the first&amp;nbsp;chest pain during&amp;nbsp;the course of a heart attack.Nausea and&amp;nbsp;intense sweating&amp;nbsp;are also common symptoms. 60% of people who have a heart attack while they are asleep do not wake up.. Pain in the jaw can wake you from a sound sleep. Let&#39;s be careful and be aware. The more we know, the better chance we could survive.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;A&amp;nbsp;cardiologist&amp;nbsp;says if everyone who reads this message shares it with other friends on twitter,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;Facebook&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&amp;nbsp;etc., you can be sure that we&#39;ll save at least one life. Read this &amp;amp; Share to a friend. It could save a life...So, please be a true friend and send this article to all your friends you care about.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;Correct timing to drink water, will maximize its effectiveness on the Human body.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;br /&gt;
Two (02) glass&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;es&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;of water - After waking up - Helps activate internal organs&lt;br /&gt;
One (01) glass of water - 30 minutes before meal - Help digestion&lt;br /&gt;
One (01) glass of water - Before taking a bath - Helps lower blood pressure&lt;br /&gt;
One (01) glass of water - Before sleep - To avoid stroke or heart attack&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Please pass this to the people you know....... I JUST DID!!!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/6056322219530287594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2011/06/heart-attacks-and-drinking-warm-water.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/6056322219530287594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/6056322219530287594'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2011/06/heart-attacks-and-drinking-warm-water.html' title='Heart Attacks And Drinking Warm Water'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9k1o-YBbIzS8eSGHN_flHA85x0qQ5UtwM-iLJe2BhEWDLp3VrZ2tLzwv_iDD-bsjrkvxzGCk_sNw8MafsGoqvfLnpS03eyrKi9t-ljuYx5rIAZMdfNNx5BBtiFeUEoawcnf93RBlPPWec/s72-c/my.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-5292950823114312859</id><published>2011-05-04T01:40:00.000-07:00</published><updated>2011-09-16T07:06:06.124-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="Technology"/><title type='text'>Handling Multiple Images Upload - PHP Mysql</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYDm2_PZvBgevOCxury741FFFnXBRGFb4aXnRvfDMDQNUbIR7VZGT0PaXh6V7FOcYdhgAB5qHqFJjmAz0IoxP1LMy6Z0nu4piSVoQGy2sqr6YYkrkFyN1R_zsL4DhAWE9zrQOeLybVh88f/s1600/image.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;105&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYDm2_PZvBgevOCxury741FFFnXBRGFb4aXnRvfDMDQNUbIR7VZGT0PaXh6V7FOcYdhgAB5qHqFJjmAz0IoxP1LMy6Z0nu4piSVoQGy2sqr6YYkrkFyN1R_zsL4DhAWE9zrQOeLybVh88f/s200/image.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
First you need to create File Upload form,&lt;br /&gt;
&lt;br /&gt;
Use the following html form,&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&amp;lt;form method=&quot;post&quot; action=&quot;&quot; enctype=&quot;multipart/form-data&quot;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
Choose a file to upload : &amp;lt;input type=&quot;hidden&quot; name=&quot;MAX_FILE_SIZE&quot; value=&quot;100000&quot;&amp;gt;&amp;lt;input name=&quot;uploadedfile&quot; type=&quot;file&quot;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&amp;lt;/form&amp;gt;&lt;/div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
Use the following in the Action PHP script,&lt;br /&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
if($_POST){&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
if (!empty($_FILES[&#39;uploadedfile&#39;][&#39;name&#39;]){&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&amp;nbsp;$imageType = $_FILES[&#39;uploadedfile&#39;][&#39;type&#39;];&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if($imageType == &quot;image/jpeg&quot; || $imageType == &quot;image/png&quot; || $imageType == &quot;image/gif&quot;) {&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $target_path = getcwd() . &quot;/uploads/&quot;;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
$randNum = rand(1000, 9999);&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $imageName = date(&quot;YmdHis&quot;) . &quot;-&quot; . $randNum . &quot;.jpg&quot;;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $target_path = $target_path . $imageName;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
if (move_uploaded_file($_FILES[&#39;uploadedfile&#39;][&#39;tmp_name&#39;], $target_path)) {&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo &quot;&amp;lt;script type=&#39;text/javascript&#39;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(&#39;Image uploaded successfully. Click here to continue!&#39;);&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.location = &#39;index.php&#39;;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;&quot;;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $cardInsertResponse =&amp;nbsp; &quot;There was an error uploading the file, please try again!&quot;;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
}&lt;/div&gt;
&lt;br /&gt;
If there is a requirement to handle large number of images, we have two options to store the images&lt;br /&gt;
&lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&lt;/span&gt;Store the raw images at the Database&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&lt;/span&gt;Store images at separate folder and only store the image path at Database&lt;/li&gt;
&lt;/ol&gt;
Here we are using the Second option, due to the following reasons,&lt;br /&gt;
&lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;
&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;Assuming Image of Maximum      100KB, with 10 images we need to have 1 MB of database capacity&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;Retrieving      an image from a database incurs significant overhead compared to using the      file system. &lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;Disk      storage on database is typically more expensive than storage on disks&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/5292950823114312859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2011/05/handling-images-php-mysql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/5292950823114312859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/5292950823114312859'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2011/05/handling-images-php-mysql.html' title='Handling Multiple Images Upload - PHP Mysql'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYDm2_PZvBgevOCxury741FFFnXBRGFb4aXnRvfDMDQNUbIR7VZGT0PaXh6V7FOcYdhgAB5qHqFJjmAz0IoxP1LMy6Z0nu4piSVoQGy2sqr6YYkrkFyN1R_zsL4DhAWE9zrQOeLybVh88f/s72-c/image.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-4663215175128801240</id><published>2011-05-03T23:14:00.000-07:00</published><updated>2011-09-16T07:06:19.147-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Screen"/><category scheme="http://www.blogger.com/atom/ns#" term="SSH"/><category scheme="http://www.blogger.com/atom/ns#" term="Technology"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>SSH and Screen - Useful Tips</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Screen is very useful in running processes despite losing  connection to remote server connected with SSH. The detached process  could be attached to the terminal and we could continue the work at  later stage. This will show you how to use screen utility.&lt;br /&gt;
&lt;br /&gt;
On Debian and Ubuntu, you just run the following command to install screen.&lt;br /&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
apt-get install screen&lt;/div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
To Start a new screen session just type the following command in ssh terminal&lt;br /&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
screen&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: black;&quot;&gt;
To Start a new screen session with user defined session name &lt;/div&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
screen -S sessionname&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh56nzut02NdMswpPQkDjebnIULBOlVvvDkjeqLzLKMOpsokB9ffXs7eKeVrqCWt29kEu09WnnoBYaSkR-s4UbVQvzs8eGhz2lIoV6Op5aIqsjOWd47wZhbX45qVeXeDw3ovrQkgXgscORE/s1600/image.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;299&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh56nzut02NdMswpPQkDjebnIULBOlVvvDkjeqLzLKMOpsokB9ffXs7eKeVrqCWt29kEu09WnnoBYaSkR-s4UbVQvzs8eGhz2lIoV6Op5aIqsjOWd47wZhbX45qVeXeDw3ovrQkgXgscORE/s320/image.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More commands for screen&lt;br /&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
&lt;span class=&quot;system&quot;&gt;Ctrl a c&lt;/span&gt; - Creates a new &lt;span class=&quot;system&quot;&gt;screen&lt;/span&gt; session so that you can use more than one &lt;span class=&quot;system&quot;&gt;screen&lt;/span&gt; session at once&lt;/div&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
&lt;span class=&quot;system&quot;&gt;Ctrl a n&lt;/span&gt; - Switches to the &lt;b&gt;n&lt;/b&gt;ext &lt;span class=&quot;system&quot;&gt;screen&lt;/span&gt; session (if you use more than one)&lt;/div&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
&lt;span class=&quot;system&quot;&gt;Ctrl a p&lt;/span&gt; - Switches to the &lt;b&gt;p&lt;/b&gt;revious &lt;span class=&quot;system&quot;&gt;screen&lt;/span&gt; session (if you use more than one)&lt;/div&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
&lt;span class=&quot;system&quot;&gt;Ctrl a d&lt;/span&gt; - Detaches a &lt;span class=&quot;system&quot;&gt;screen&lt;/span&gt; session (without killing the processes in it - they continue)&lt;/div&gt;
&lt;br /&gt;
Use the following command to close screen session once all the tasks done,&lt;br /&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
exit&lt;/div&gt;
&lt;br /&gt;
To browse two or more screens,&lt;br /&gt;
&lt;div class=&quot;command&quot; style=&quot;color: blue;&quot;&gt;
Ctrl a n / Ctrl a p&lt;/div&gt;
&lt;div class=&quot;command&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;command&quot;&gt;
To view all the detached screen sessions, type the following on the normal SSH terminal,&lt;/div&gt;
&lt;div class=&quot;command&quot;&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
screen -ls&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;command&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;command&quot;&gt;
Assume we have two screen Sessions as below, which could be viewed from screen -ls command,&lt;/div&gt;
&lt;div class=&quot;command&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;command&quot;&gt;
There are screens on:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2477.pts-0.server1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(Detached)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2522.pts-0.server1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(Detached)&lt;br /&gt;
2 Sockets in /var/run/screen/S-root.&lt;/div&gt;
&lt;div class=&quot;command&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;command&quot;&gt;
To reconnect to one of the screen session,&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;color: blue;&quot;&gt;
screen -r 2477.pts-0.server1&lt;/div&gt;
&lt;div class=&quot;command&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;command&quot;&gt;
To close the session,&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;color: blue;&quot;&gt;
exit&lt;/div&gt;
&lt;div class=&quot;command&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/4663215175128801240/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2011/05/easy-administration-using-ssh-screen.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/4663215175128801240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/4663215175128801240'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2011/05/easy-administration-using-ssh-screen.html' title='SSH and Screen - Useful Tips'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh56nzut02NdMswpPQkDjebnIULBOlVvvDkjeqLzLKMOpsokB9ffXs7eKeVrqCWt29kEu09WnnoBYaSkR-s4UbVQvzs8eGhz2lIoV6Op5aIqsjOWd47wZhbX45qVeXeDw3ovrQkgXgscORE/s72-c/image.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-3815573563323476765</id><published>2011-02-18T22:02:00.000-08:00</published><updated>2011-09-16T07:06:48.638-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Noel Alfred"/><title type='text'>இன்றைய அஸ்தமனம் நாளைய விடியல்</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
எமது நண்பனுக்கு  இந்த பதிவை&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; line-height: 28px;&quot;&gt;சமர்ப்பிக்கிறோம்&lt;/span&gt;- சூசை மைந்தர்கள்&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
யாழ் மண்ணில் பிறந்து&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
சூசையின் மைந்தனாய் இணைந்து&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
வாழ்வின் இனியன பலவும் கடந்து&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
எம் ஒவ்வொருவர் நெஞ்சிலும் இணைந்து&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
உன் நினைவு மட்டும் எஞ்சிட&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
நிஜம் கரைந்த மாயமென்ன...?&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfbMy5MeEqnBmMvknnb0XegZWcVTklQks1AOJ8IaLwgkoXNA6QqlTmHu4nSnWfJ61_IGNScSk7VK2y_upNEp2H5ChAGRzmbL4xHQpR7QGaoLKAfWmT1KXoIUHfGr_PDEyov7XR5pNtfhRy/s1600/1321321.jpg&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
வாழ்வின் நிலையாமை பாடம் சொல்லித்தர &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
நிஜத்தில் நீ இல்லாது போகவேண்டுமா...?&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
நீ அங்கே தனிமையில் தவிக்க &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
நாம் இங்கே ஏங்கி நிற்க &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
எம்மை விட்டு சென்றாயோ நண்பா...&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/Otjwn5f7gQI?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
கால் நூற்றாண்டு கடந்து&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
பல கலைகளும் கற்று&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
பல்கலையும் சென்று&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
உன் கனவெல்லாம் நிஜமாக தொடங்கிய நேரம்&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
உன் வாழ்விற்கு முற்றுபுள்ளி - ஆனால்&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
எம் வாழ்வில் அது கண்ணீர் துளி...&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
காலம் நாம் செய்த ரகளைகள்&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
இன்று நினைவுகளாய் &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
கண்ணில் நீர்த்திவலைகள் &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
வெறும் நிழல்கள் மட்டும் இங்கிருக்க &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
எம்மையெல்லாம் விட்டு&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
நீ அவ்வழி சென்றதுமேனோ...?&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWD4aVPAWrFKmq_plkCCwBcdODAtBY84bjb78uwtu4mL2ug737J4hCknNiiQADQg0JmoBjvMzb3sWEDnDlVMaUPJmGblpSDb16heuOpubxlNHligaCi45FxaRUIlfCePimHzzKD4sqbBWa/s400/n527928711_749146_3475.jpg&quot; width=&quot;400&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
சிறகு முளைத்து நீ பறக்க தொடங்கியதும் &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
எமன் செய்த சதியோ - இல்லை &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
அவன் எழுதிய விதியோ &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
பாதி வழி கடந்து &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
கரையை கடக்க முன்&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
உன்னை நோய் கொண்டு போனதும் ஏனோ...&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
எமக்கு பொக்கிஷமாய் &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
கிடைத்த உன் நட்பு&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
அவன் தனக்கும் வேண்டுமென்று &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
உன்னை பாதியில் எடுத்து கொண்டானோ...&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;261&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXNkc6I5YlPxm5iUS-_7SUPmlp6SBbhW_4LGs2_yBIlJdJJDYg1VQ1-OR6VlWELNALp9h0RPBRa-FYimKmaWR_ETeWP7boAQvh1NrqsUZmTufGOQ_py54U0XfIDOjq1bahG94M8S8JDb_r/s400/34512_470499728711_527928711_6470203_3875630_n.jpg&quot; width=&quot;400&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
உன் வாழ்வின் கடைசி தருணம்&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
உன் நோயறியாது - நீ பட்ட வேதனைகளோ &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
என்பும் உருகும் வலிகளுமோ &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
சொல்லிலடங்கா  துயரங்கள்...&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
நீ படும் வேதனை கண்டு &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
மரணம் உன்னை தழுவியதோ...?&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
தினம் தினம் வலியில் உயிர் &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
போவதன்றி நிரந்தரமாய் அது பிரிந்ததுவோ...?&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRTTREgWEIQ0gn-7RSYn7n0CS7y1GV2jlnDjzLHdSoZVGe8AAL-G17269EaXxu-gHnVtsBUXFRw0vORXO5QPDF1HlNCMDto2kN-WuQKBCjpLElBcX4Js39cdM0iAvjoYRVMvX8Jad_VP1M/s400/33388_467756778711_527928711_6400280_3022317_n.jpg&quot; width=&quot;400&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
மீண்டும் வருவாயோ &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
எம்முடன் நீ இணைவாயோ&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
இலட்சிய பாதையை தொடர்வாயோ &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
என ஏங்கி நிற்கிறோம் நண்பா...&lt;/div&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/3815573563323476765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2011/02/blog-post.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/3815573563323476765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/3815573563323476765'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2011/02/blog-post.html' title='இன்றைய அஸ்தமனம் நாளைய விடியல்'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfbMy5MeEqnBmMvknnb0XegZWcVTklQks1AOJ8IaLwgkoXNA6QqlTmHu4nSnWfJ61_IGNScSk7VK2y_upNEp2H5ChAGRzmbL4xHQpR7QGaoLKAfWmT1KXoIUHfGr_PDEyov7XR5pNtfhRy/s72-c/1321321.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-9207234084840104637</id><published>2011-02-11T11:27:00.000-08:00</published><updated>2011-09-16T07:07:05.705-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Science"/><category scheme="http://www.blogger.com/atom/ns#" term="Technology"/><title type='text'>World&#39;s First Programmable Nanoprocessor</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
While Studying at University, I had an&amp;nbsp;opportunity&amp;nbsp;to take up Nanotechnology as a Subject for my Final Year. I was also part of the Team which put up the First Nano Stall in Sri Lanka.&amp;nbsp;Coming to the topic, No Microprocessors, Its *Nanoprocessors*.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
ALU functionalities performed at Atomic scale. That&#39;s right!!!&lt;br /&gt;
&lt;br /&gt;
1 nm ~ 10 * (width of Hydrogen Atom)&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7_X0KLc9dhUyksMl6Mn7w4oSYXG__yTem-9wN_CZA6ABJkBcHBpod1penw4nSSAKPpMlPL8SKBJxU-LplML7OZZacpuzyWPFgCnfbUNTxmGZWMF5_-w-LeAIePwtsTfCWr7S-No5rpwF0/s1600/110209131824.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7_X0KLc9dhUyksMl6Mn7w4oSYXG__yTem-9wN_CZA6ABJkBcHBpod1penw4nSSAKPpMlPL8SKBJxU-LplML7OZZacpuzyWPFgCnfbUNTxmGZWMF5_-w-LeAIePwtsTfCWr7S-No5rpwF0/s1600/110209131824.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small; line-height: 15px;&quot;&gt;&lt;i&gt;This is a electron microscopy image of a programmable nanowire nanoprocessor super-imposed on a schematic nanoprocessor circuit architecture. (Credit: Photo courtesy of Charles M. Lieber, Harvard University.)&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small; line-height: 15px;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal; line-height: normal;&quot;&gt;This Work done by Researchers at Harvard University and&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 15px;&quot;&gt;MITRE&#39;s Nanosystems Group. They have come up with Detail Architecture of Programmable Nanoprocessor built out of Nanowires.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;As many of you don&#39;t know, Nanotechnology has come a long way and It is usually has Top-Down or Bottom-Up approach. Mostly Top down approach is used where you use Chemical Reactions at Nanoscale to form up the required Functionality.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;But the difficult and still at research level is the Bottom-Up Approach. It is the Concept of building anything from Atom by Atom. Forming a full structure from atoms.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Conceptual Nano Factory Video:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;480&#39; height=&#39;320&#39; src=&#39;https://www.youtube.com/embed/vEYN18d7gHg?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&quot;This new nanoprocessor represents a major milestone toward realizing the vision of a nanocomputer that was first articulated more than 50 years ago by physicist Richard Feynman.&quot; says James Ellenbogen, a chief scientist at MITRE&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 15px;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 16px; font-style: normal; line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
Source:-&lt;br /&gt;
&lt;a href=&quot;http://www.sciencedaily.com/releases/2011/02/110209131824.htm&quot;&gt;http://www.sciencedaily.com/releases/2011/02/110209131824.htm&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://news.cnet.com/8301-11386_3-20031501-76.html&quot;&gt;http://news.cnet.com/8301-11386_3-20031501-76.html&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/9207234084840104637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2011/02/worlds-first-programmable-nanoprocessor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/9207234084840104637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/9207234084840104637'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2011/02/worlds-first-programmable-nanoprocessor.html' title='World&#39;s First Programmable Nanoprocessor'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7_X0KLc9dhUyksMl6Mn7w4oSYXG__yTem-9wN_CZA6ABJkBcHBpod1penw4nSSAKPpMlPL8SKBJxU-LplML7OZZacpuzyWPFgCnfbUNTxmGZWMF5_-w-LeAIePwtsTfCWr7S-No5rpwF0/s72-c/110209131824.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-2755582702939350524</id><published>2011-02-11T06:33:00.000-08:00</published><updated>2011-09-16T07:07:26.545-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sri Lanka"/><title type='text'>Sri Lanka New Currency Notes</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Thanks to Vinoth Yogasagayam, BOC&lt;br /&gt;
&lt;br /&gt;
To view enlarged version click the images.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCOmjKeJFxg_ysGZaRo26mOyRIJ8yBHTfmuWkYxrvo6cORrdHZ6Ri2lvklLwYUj0KkuD2caBm2WhbjVqXNYOucwshTHu8VUwaNhysrZmGmEdt2BvkuKrk0KelVCHpYlxZ7fIzLodWD7Ds3/s1600/163832_1730815823250_1024135510_31978675_5474271_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCOmjKeJFxg_ysGZaRo26mOyRIJ8yBHTfmuWkYxrvo6cORrdHZ6Ri2lvklLwYUj0KkuD2caBm2WhbjVqXNYOucwshTHu8VUwaNhysrZmGmEdt2BvkuKrk0KelVCHpYlxZ7fIzLodWD7Ds3/s320/163832_1730815823250_1024135510_31978675_5474271_n.jpg&quot; width=&quot;150&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXUUj-UNWXYDzSnyoBt38IzxPZN1hPSCCvJlBHvsCcBLlAmDdGN5uD6MASEUg6xumfJzS8IE_CARxfoVrthex6Rkotl3WmZHjr8aldIq8A0wr-hCqDxALmwVtgWsVLb_m97jEXhv1Zz7XU/s1600/163891_1730816503267_1024135510_31978679_1428387_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;145&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXUUj-UNWXYDzSnyoBt38IzxPZN1hPSCCvJlBHvsCcBLlAmDdGN5uD6MASEUg6xumfJzS8IE_CARxfoVrthex6Rkotl3WmZHjr8aldIq8A0wr-hCqDxALmwVtgWsVLb_m97jEXhv1Zz7XU/s320/163891_1730816503267_1024135510_31978679_1428387_n.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqGEb4inzuFu4PWMgude9kHUgwaen0s6epKuugkKrY2hfcirSiz3wLPBDPrrzKhYtAv0PVJS2DyIHE3tOzBnokVBwTZWujtMaNlbM7OSbeHTMpzCyg55plz8Pt_vHVYFV7JeRcRuc2epfs/s1600/165325_1730817743298_1024135510_31978688_6175724_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqGEb4inzuFu4PWMgude9kHUgwaen0s6epKuugkKrY2hfcirSiz3wLPBDPrrzKhYtAv0PVJS2DyIHE3tOzBnokVBwTZWujtMaNlbM7OSbeHTMpzCyg55plz8Pt_vHVYFV7JeRcRuc2epfs/s320/165325_1730817743298_1024135510_31978688_6175724_n.jpg&quot; width=&quot;161&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzSZaoOUy2ZK_f8C72guIqsc8vTfIlaPES9a61-fIiddyQNEJ_dpgHs667Witi9jG8Wro9A4s_67ABpmsnmeKI405aV4jMYpr_8BpU_3G35qDvaEroHwul0q-yxBZWzqjbLKnxPlCh-5Iw/s1600/166372_1730816023255_1024135510_31978676_7399850_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzSZaoOUy2ZK_f8C72guIqsc8vTfIlaPES9a61-fIiddyQNEJ_dpgHs667Witi9jG8Wro9A4s_67ABpmsnmeKI405aV4jMYpr_8BpU_3G35qDvaEroHwul0q-yxBZWzqjbLKnxPlCh-5Iw/s320/166372_1730816023255_1024135510_31978676_7399850_n.jpg&quot; width=&quot;146&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy_6OGUpfW6qPY0DBeT-ETCmmSSWEkKWPS1G-BTTIxplHcQC4Yf5ZAOUNRnUAu2V5tQIrUNncsvxEmgmkI0oKKn0Ftqnoi2c7fUS7QecD3KDxeicz5zo5zk9RqvW3fY066RGO6HweKt02v/s1600/179605_1730816183259_1024135510_31978677_4062816_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy_6OGUpfW6qPY0DBeT-ETCmmSSWEkKWPS1G-BTTIxplHcQC4Yf5ZAOUNRnUAu2V5tQIrUNncsvxEmgmkI0oKKn0Ftqnoi2c7fUS7QecD3KDxeicz5zo5zk9RqvW3fY066RGO6HweKt02v/s320/179605_1730816183259_1024135510_31978677_4062816_n.jpg&quot; width=&quot;155&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Ul25gFFSKiJoggGF8bPVk8y0yA8JoBd5YIDryg6PwXpvhka8j5_op9WWE8S5063VhyphenhyphenSvaVGB_yuaLk-yC65rxjABDwymS8vMqw3WR0xjz7G79ODVAn6bRlqU9z_Et3xkNpg5y_hHdbcn/s1600/180308_1730817183284_1024135510_31978684_7591753_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Ul25gFFSKiJoggGF8bPVk8y0yA8JoBd5YIDryg6PwXpvhka8j5_op9WWE8S5063VhyphenhyphenSvaVGB_yuaLk-yC65rxjABDwymS8vMqw3WR0xjz7G79ODVAn6bRlqU9z_Et3xkNpg5y_hHdbcn/s320/180308_1730817183284_1024135510_31978684_7591753_n.jpg&quot; width=&quot;141&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifueLAqQ3_ZHMpMNtw3BH82Sh7lSNyQymT7no8Sab_XxpY-zMyD3sQ_2OzMrX2k-nZIkdSEwSsCPkHWGNBrSK_yRXcXEC9FPplO8w8oBDtGM3TXxzjK59Yrq5zyAdeOV7RY4SV5bvC-B6M/s1600/168669_1730817103282_1024135510_31978683_2126530_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;149&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifueLAqQ3_ZHMpMNtw3BH82Sh7lSNyQymT7no8Sab_XxpY-zMyD3sQ_2OzMrX2k-nZIkdSEwSsCPkHWGNBrSK_yRXcXEC9FPplO8w8oBDtGM3TXxzjK59Yrq5zyAdeOV7RY4SV5bvC-B6M/s320/168669_1730817103282_1024135510_31978683_2126530_n.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjeVlP-eYAGYSrDqqgdEM2LJWRCldpdskEcbLLsC5ogypwbzbw0oZfqq5xHkRvPHa6s3FeavfiB17vJS42lqiatnB8bFzKm9iOLLi47sCPmE-IP8TrlbnbNt7OEQHk_9vMJEg27XpQb7YJ/s1600/167867_1730817343288_1024135510_31978686_618772_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;155&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjeVlP-eYAGYSrDqqgdEM2LJWRCldpdskEcbLLsC5ogypwbzbw0oZfqq5xHkRvPHa6s3FeavfiB17vJS42lqiatnB8bFzKm9iOLLi47sCPmE-IP8TrlbnbNt7OEQHk_9vMJEg27XpQb7YJ/s320/167867_1730817343288_1024135510_31978686_618772_n.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi0g9o5mPwb2EdpcY-SCxECag6fA0RDM1n1rjKaKfM9tStYZuZ6jkxYPFvi8dzgd3ypTChwGO1oA3k_zUsKppYeJJtM4QNHK8Geh2UNeqX0LGcHEc0a4KPmh7cFH5lvsmo5KTQQIIfojQt/s1600/167074_1730816863276_1024135510_31978681_6330765_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi0g9o5mPwb2EdpcY-SCxECag6fA0RDM1n1rjKaKfM9tStYZuZ6jkxYPFvi8dzgd3ypTChwGO1oA3k_zUsKppYeJJtM4QNHK8Geh2UNeqX0LGcHEc0a4KPmh7cFH5lvsmo5KTQQIIfojQt/s320/167074_1730816863276_1024135510_31978681_6330765_n.jpg&quot; width=&quot;167&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcmqwwl-3XEmG-oNp8_N1Jklukn5_WK5Tn8eEQn9AX_XEluzbFXflsx2sW9LXIZZhxVc91l_eorYfKhg1BOjU9QeQBwqm08Wtm3LOCuE0HX8tsSGTJwIHjPS-mamvfA8L1PPGDFeYXNa7u/s1600/180362_1730816383264_1024135510_31978678_3646365_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;161&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcmqwwl-3XEmG-oNp8_N1Jklukn5_WK5Tn8eEQn9AX_XEluzbFXflsx2sW9LXIZZhxVc91l_eorYfKhg1BOjU9QeQBwqm08Wtm3LOCuE0HX8tsSGTJwIHjPS-mamvfA8L1PPGDFeYXNa7u/s320/180362_1730816383264_1024135510_31978678_3646365_n.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzB50wQsCuLyeQZLHMJ7nu2jITNPRg9RAe49kNjyVthkL4Jz7l3zdGzMuvtM_W7aqWALwh85cd5MIOV2U2-YF6tqgyc6ZYeUaMC5dU19Kugbuwi5WCNrbemmGhS1FJfHW5_DU0yF31ptI8/s1600/180836_1730816983279_1024135510_31978682_6757069_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;139&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzB50wQsCuLyeQZLHMJ7nu2jITNPRg9RAe49kNjyVthkL4Jz7l3zdGzMuvtM_W7aqWALwh85cd5MIOV2U2-YF6tqgyc6ZYeUaMC5dU19Kugbuwi5WCNrbemmGhS1FJfHW5_DU0yF31ptI8/s320/180836_1730816983279_1024135510_31978682_6757069_n.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzB50wQsCuLyeQZLHMJ7nu2jITNPRg9RAe49kNjyVthkL4Jz7l3zdGzMuvtM_W7aqWALwh85cd5MIOV2U2-YF6tqgyc6ZYeUaMC5dU19Kugbuwi5WCNrbemmGhS1FJfHW5_DU0yF31ptI8/s1600/180836_1730816983279_1024135510_31978682_6757069_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;
&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/2755582702939350524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2011/02/sri-lanka-new-currency-notes.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/2755582702939350524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/2755582702939350524'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2011/02/sri-lanka-new-currency-notes.html' title='Sri Lanka New Currency Notes'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCOmjKeJFxg_ysGZaRo26mOyRIJ8yBHTfmuWkYxrvo6cORrdHZ6Ri2lvklLwYUj0KkuD2caBm2WhbjVqXNYOucwshTHu8VUwaNhysrZmGmEdt2BvkuKrk0KelVCHpYlxZ7fIzLodWD7Ds3/s72-c/163832_1730815823250_1024135510_31978675_5474271_n.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-2760883726719172362</id><published>2010-12-16T00:45:00.000-08:00</published><updated>2011-09-16T07:07:42.729-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Health"/><title type='text'>Black Seed - Health Benefits and How to Use ?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I got this information from a very close friend of mine. After doing some background research I found some very useful and interesting information. So I am writing this blog post so that it will benefit everyone. If you find it interesting and helpful, please click like in the post and share it with your friends.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgn337sQN7XWHNwkf8QrkvP89Wtgk8qfCqjsyBYjcRhOASIfkfdmhzAZpWx6olW5Pyb1AfWhTtgWXezS5gpKPgCpaYn2-qN9LBP0II9pEMDjXVfPfBWSIH-1ZHImOThL953lvIKLMAK3Bh/s1600/habatus+sauda.jpg+2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgn337sQN7XWHNwkf8QrkvP89Wtgk8qfCqjsyBYjcRhOASIfkfdmhzAZpWx6olW5Pyb1AfWhTtgWXezS5gpKPgCpaYn2-qN9LBP0II9pEMDjXVfPfBWSIH-1ZHImOThL953lvIKLMAK3Bh/s200/habatus+sauda.jpg+2.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Black seed (Nigella sativa) (&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; line-height: 28px;&quot;&gt;கருஞ்சீரகம்)&lt;/span&gt;&amp;nbsp;is considered to be one of the greatest healing herbs of all times. This herb has been used for thousands of years to strengthen the immune system, cleanse the body, purify the blood, protect against irritants and support healthy longevity. Long forgotten this herb is now enjoying a positive and welcomed come-back.&lt;br /&gt;
&lt;br /&gt;
The power of &#39;Black seed&#39; lies in the ingredients Nigella and Melatin found in Black seed. There are about 100 different chemical compounds or valuable nutrients found in Black seed.&lt;br /&gt;
&lt;br /&gt;
Black Seed has over 1400 years history of use. Many ancient books and text suggest the following traditional uses for Black Seed. But please note, that these should not be understood as cures or treatments for any disease or illness. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;How does Black Seed Benefit ?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The majority of our health problems have the same causes- infection by micro-organisms such as bacteria, viruses, parasites and fungi. When using clinical (allopathic medicines) each symptom is treated individually and usually with synthetic chemically manufactured medicines that contain alcohol and other harmful ingredients. Black seed is effective at treating the body as a whole and fights the actual cause of the symptoms. Black seed regulates too weak or too strong reactions of the immune system and is excellent for treating chronic, allergic and hormonal diseases.It uses are many as well as its benefit. Black seed support metabolism, improve digestion, and lowers blood sugar levels. It is used to dispel worms and parasites from intestinal track. It is useful in soothing bronchitis and coughs,increase body tone, stimulates menstrual periods, increases the flow of breast milk, provides quick energy, increases sperm count, calms the nervous system, encourages hair growth and retards hair fall out, prevents skin wrinkling, and much more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Side Effects of Black Seeds&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
There are no known side effects of this miraculous herb, but it is better to take caution here. Black Seed has been reported to be toxic in the amount of 25 grams or more. But who in the world would take that amount? The maximum dosage for any cure is 3 teaspoons per day. Some sites are telling people to take a large amount of the oil, to sell more products. Follow the suggested dosage requirements, and see that more is not necessary and more does not heal quicker.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Warnings of Black Seeds&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Never take the oil on a full stomach. It needs to be mixed with another liquid such as juice, yogurt or honey and taken one hour before the meal. If taking the oil twice in a day, then the oil should be mixed with honey or juice and taken before bedtime.&lt;br /&gt;
If taking the seeds, they must be heated. Never take the seeds that have not been heated as they will upset the stomach.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;How to Heat the Seeds&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Place one fourth of the seeds in a skillet on low heat. Use only one fourth of the seeds in case the seeds are burned. Stir the seeds every few minutes and keep tasting the seeds until they loose their tart taste. The seeds must be bland. The seeds should pop slightly. Remove them from the heat and let them cool. Place the desired amount in a coffee grinder and grind. Place the desired seeds in vegetarian capsules or in honey.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;How to Mix the Seeds with the Honey&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Fill a pint jar with the ground black seeds and add in one fourth a jar of honey. Mix the honey and the black seeds well. Keep adding a little honey at a time until the honey and black seeds are mixed well. It needs to be a very thick consistency. The mixture will thicken more over night. It is very delicious and a sweet treat. Suggested dosage is one teaspoon a day. Do not give the honey mixture to diabetic patients.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Precautions for the Use of Black Seeds&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
It is not suggested for pregnant women to take black seeds. If the patient has a major disease, they need to be monitored by a doctor as black seeds will cause your blood pressure to drop.&lt;br /&gt;
Never mix black seeds with pharmaceutical medicines. Some sites are stating the opposite, but it is not a Cure when the Black seed is mixed with another ingredient.The cure only works with faith and sincerity. Not believing in the cure is the same as not having a cure at all.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/2760883726719172362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2010/12/black-seed-health-benefits-and-how-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/2760883726719172362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/2760883726719172362'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2010/12/black-seed-health-benefits-and-how-to.html' title='Black Seed - Health Benefits and How to Use ?'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgn337sQN7XWHNwkf8QrkvP89Wtgk8qfCqjsyBYjcRhOASIfkfdmhzAZpWx6olW5Pyb1AfWhTtgWXezS5gpKPgCpaYn2-qN9LBP0II9pEMDjXVfPfBWSIH-1ZHImOThL953lvIKLMAK3Bh/s72-c/habatus+sauda.jpg+2.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-4156955065058459154</id><published>2010-10-11T04:43:00.000-07:00</published><updated>2011-09-16T07:08:00.925-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++"/><category scheme="http://www.blogger.com/atom/ns#" term="Log4cxx"/><category scheme="http://www.blogger.com/atom/ns#" term="Netbeans"/><category scheme="http://www.blogger.com/atom/ns#" term="PThread"/><category scheme="http://www.blogger.com/atom/ns#" term="Technology"/><title type='text'>Apache log4cxx framework - Example using Pthreads - Part Two</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;199&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHbueATV3cpparAjKYn170FoawUcELYWbvjHEdpInGnUwy48ipcBhzkZojtlC1uu3I8CZ4f8Y8VE0fTin5-pveT0-OUyUg_bn-R0zSRZSEb96mvK-2SpnMwzxA-S1PaF4q181jnOhYffkr/s200/cplusplus.jpg&quot; width=&quot;200&quot; /&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;This blog post is continued from &lt;a href=&quot;http://shasath.blogspot.com/2010/10/apache-log4cxx-framework-part-one.html&quot;&gt;Apache log4cxx framework - Part One&lt;/a&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;This post comprises of a simple Configuration file and how it can be incorporated to a c++ code file for using the log4cxx framework.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Add the following simple xml Configuration file and name it as &quot;MyLog4CxxConfig.xml&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;txt&quot; style=&quot;color: #990000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&amp;gt;
 &amp;lt;log4j:configuration xmlns:log4j=&quot;http://jakarta.apache.org/log4j/&quot;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;txt&quot; style=&quot;color: #990000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;  &amp;lt;appender name=&quot;ConsoleAppend&quot; class=&quot;org.apache.log4j.ConsoleAppender&quot;&amp;gt; 
   &amp;lt;param name=&quot;Target&quot; value=&quot;System.out&quot;/&amp;gt; 
   &amp;lt;layout class=&quot;org.apache.log4j.PatternLayout&quot;&amp;gt; 
    &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%-5p %c{1} - %m%n&quot;/&amp;gt; 
   &amp;lt;/layout&amp;gt; 
  &amp;lt;/appender&amp;gt; 
&amp;nbsp;
&amp;nbsp;
  &amp;lt;appender name=&quot;LogFileAppend&quot; class=&quot;org.apache.log4j.FileAppender&quot;&amp;gt;
   &amp;lt;param name=&quot;file&quot; value=&quot;MyLogFile.log&quot; /&amp;gt;
   &amp;lt;param name=&quot;append&quot; value=&quot;true&quot; /&amp;gt;
   &amp;lt;layout class=&quot;org.apache.log4j.PatternLayout&quot;&amp;gt; 
    &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%d %5p %c{1} - %m%n&quot; /&amp;gt; 
   &amp;lt;/layout&amp;gt;
  &amp;lt;/appender&amp;gt;
 
  &amp;lt;root&amp;gt;
   &amp;lt;priority value=&quot;all&quot; /&amp;gt;
   &amp;lt;appender-ref ref=&quot;ConsoleAppend&quot;/&amp;gt;
  &amp;lt;/root&amp;gt; 
&amp;nbsp;
   &amp;lt;category name=&quot;TestFunction&quot; &amp;gt;
   &amp;lt;priority value =&quot;info&quot; /&amp;gt;
   &amp;lt;appender-ref ref=&quot;LogFileAppend&quot; /&amp;gt;
  &amp;lt;/category&amp;gt; 
&amp;nbsp;
 &amp;lt;/log4j:configuration&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;The above configuration is very simple one and it is supposed to output all the log messages to the console as the Log level is set to &quot;all&quot; and &quot;info&quot; level log messages will be appended to &quot;MyLogFile.log&quot;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Now add &quot;Test.cpp&quot; to your project. This is the simple threaded example for testing log4cxx. Include the following header files &#39;pthread.h&#39;, &#39;sched.h&#39;, &#39;log4cxx\logger.h&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&#39;, &#39;log4cxx\xml\domconfigurator.h&#39;&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;txt&quot; style=&quot;color: #990000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;using namespace log4cxx;
using namespace log4cxx::xml;
using namespace log4cxx::helpers;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;txt&quot; style=&quot;color: #990000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LoggerPtr MyMainLogger(Logger::getLogger(&quot;TestFunction&quot;));&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;txt&quot; style=&quot;color: #990000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;void* TestFunction(void* arg){&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;txt&quot; style=&quot;color: #990000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;    LOG4CXX_INFO(MyMainLogger, &quot;Test Function Started!&quot;);&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;txt&quot; style=&quot;color: #990000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;    int data = (int) arg;
    char thread_data[10];
    sprintf(thread_data, &quot;thread - %d&quot;, data);

    LOG4CXX_INFO(MyMainLogger, thread_data);
    LOG4CXX_INFO(MyMainLogger, &quot;Test Function Completed!&quot;);&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;txt&quot; style=&quot;color: #990000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;}

int main(int argc, char** argv[])
{
    DOMConfigurator::configure(&quot;MyLogConfig.xml&quot;);

    int my_data, thread_num = 5;
    pthread_t thread_id[thread_num];&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;txt&quot; style=&quot;color: #990000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;    for (int i = 0; i &amp;lt; thread_num; i++) {&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;txt&quot; style=&quot;color: #990000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;        my_data = i;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;txt&quot; style=&quot;color: #990000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;        if (pthread_create(&amp;amp;(thread_id[i]), NULL, TestFunction, (void *) my_data) == 0) {
        } else {
            LOG4CXX_ERROR(MyMainLogger, &quot;pthread create error.&quot;);
            exit(1);
        }
        sched_yield();
    }

    for (int i = 0; i &amp;lt; thread_num; i++) {
        pthread_join(thread_id[i], NULL);
    }
    return 0;
}&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;The above Test.cpp creates 5 posix threads which executes the TestFunction. When using this sample, please add PThreads Static Library from Netbeans Project properties or add the following line of code &quot;-lpthread&quot; to LDLIBSOPTIONS in the make debug file.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/4156955065058459154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2010/10/apache-log4cxx-framework-threaded-c.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/4156955065058459154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/4156955065058459154'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2010/10/apache-log4cxx-framework-threaded-c.html' title='Apache log4cxx framework - Example using Pthreads - Part Two'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHbueATV3cpparAjKYn170FoawUcELYWbvjHEdpInGnUwy48ipcBhzkZojtlC1uu3I8CZ4f8Y8VE0fTin5-pveT0-OUyUg_bn-R0zSRZSEb96mvK-2SpnMwzxA-S1PaF4q181jnOhYffkr/s72-c/cplusplus.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-378513996369771227</id><published>2010-10-10T23:01:00.000-07:00</published><updated>2011-09-16T07:08:19.447-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mysqli"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="Technology"/><title type='text'>Php Mysqli extension</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;105&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYDm2_PZvBgevOCxury741FFFnXBRGFb4aXnRvfDMDQNUbIR7VZGT0PaXh6V7FOcYdhgAB5qHqFJjmAz0IoxP1LMy6Z0nu4piSVoQGy2sqr6YYkrkFyN1R_zsL4DhAWE9zrQOeLybVh88f/s200/image.jpg&quot; width=&quot;200&quot; /&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;The MySql Improved Extension, a.k.a mysqli is faster more improved version of existing mysql. It is available in PHP 5 or later versions. The source code of mysqli is available at ext/mysqli. For further information &lt;/span&gt;&lt;a href=&quot;http://www.php.net/manual/en/book.mysqli.php&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;A simple example how to connect and insert temp data to database &#39;mydb&#39; and table &#39;mytable&#39;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;Lets add DbConnector.php first,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #990000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt; class DbConnector {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #990000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;private $db_host;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;private $db_user;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;private $db_pass;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;private $db_name;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;private $connection;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;public function __construct($host = &#39;127.0.0.1&#39;, $user = &#39;root&#39;, $pass=&#39;&#39;, $database_name=&#39;mydb&#39;) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;db_host = $host;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;db_user = $user;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;db_pass = $pass;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;db_name = $database_name;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;public function connectDb() {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;connection = mysqli_connect($this-&amp;gt;db_host, $this-&amp;gt;db_user, $this-&amp;gt;db_pass) or die(mysqli_error());&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mysqli_select_db($this-&amp;gt;connection, $this-&amp;gt;db_name) or die(mysqli_error());&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;public function closeConn() {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ($this-&amp;gt;connection) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mysqli_close();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;public function isConnected() {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ($this-&amp;gt;connection) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return true;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} return&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;false;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;public function execute_query($sql) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (!$this-&amp;gt;isConnected()) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;connectDB();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$result = mysqli_query($this-&amp;gt;connection, $sql) or die(mysqli_errno($this-&amp;gt;connection));&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return $result;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;public function get_query($sql) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(!$this-&amp;gt;isConnected()) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;connectDb();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$result = mysqli_query($this-&amp;gt;connection, $sql) or die(mysqli_errno($this-&amp;gt;connection));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$resultArray = array();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$count = 0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;while ($obj = mysqli_fetch_object($result)) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$resultArray[$count] = $obj;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$count++;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return $resultArray;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt; }&lt;/span&gt;&lt;br style=&quot;color: #990000;&quot; /&gt;&lt;span style=&quot;color: #990000;&quot;&gt; ?&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Now add MyTable.php Class which represents the &#39;mytable&#39; database table.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #990000;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;include_once &#39;DbConnector.php&#39;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;class MytableTable {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;private $dbConn;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public function __construct() {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;dbConn = new DbConnector();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public function insertNew($val) {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$sql = &quot;insert into mytable (col)&quot; .&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&quot; values (&#39;$val&#39;) &quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return $this-&amp;gt;dbConn-&amp;gt;execute_query($sql);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public function getMytableAll(){&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$sql = &quot;select * from mytable&quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return $this-&amp;gt;dbConn-&amp;gt;get_query($sql);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Now from your interface you can use the above two php class to add a new entry in mytable or get all the entries from mytable.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/378513996369771227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2010/10/mysqli-extension.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/378513996369771227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/378513996369771227'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2010/10/mysqli-extension.html' title='Php Mysqli extension'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYDm2_PZvBgevOCxury741FFFnXBRGFb4aXnRvfDMDQNUbIR7VZGT0PaXh6V7FOcYdhgAB5qHqFJjmAz0IoxP1LMy6Z0nu4piSVoQGy2sqr6YYkrkFyN1R_zsL4DhAWE9zrQOeLybVh88f/s72-c/image.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-3992596182982744354</id><published>2010-10-10T22:15:00.000-07:00</published><updated>2011-09-16T07:09:27.988-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++"/><category scheme="http://www.blogger.com/atom/ns#" term="Log4cxx"/><category scheme="http://www.blogger.com/atom/ns#" term="Netbeans"/><category scheme="http://www.blogger.com/atom/ns#" term="Technology"/><title type='text'>Apache log4cxx framework - Part One</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;199&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHbueATV3cpparAjKYn170FoawUcELYWbvjHEdpInGnUwy48ipcBhzkZojtlC1uu3I8CZ4f8Y8VE0fTin5-pveT0-OUyUg_bn-R0zSRZSEb96mvK-2SpnMwzxA-S1PaF4q181jnOhYffkr/s200/cplusplus.jpg&quot; width=&quot;200&quot; /&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;I happened to work with&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;Apache log4cxx, a logging framework for c++. This framework offers lot of capabilities from simply outputting a log message to console, writing to log files, socket streaming and database logging. Best thing that i love about this framework that it is Thread safe.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;Apache log4cxx,&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://logging.apache.org/log4cxx/download.html&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;You can download it here&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;Log4cxx comprises of three main parts,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;1) Public Class Logger&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;- Top level entry point of Logger&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;2) Public Interface Appender&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;- Controlling the Output log operations &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;3) Public Abstract Class Layout&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;- Output format&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;Log Levels&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;There&amp;nbsp; about 6 levels of Log Levels. They are; TRACE, DEBUG, INFO, WARN, ERROR, FATAL, also there we have another two levels, &quot;ALL&quot; and &quot;OFF&quot;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;When configuring you can setup the Log Levels according to the need of the Logger. The following image describes the Log Levels and Log level accessiblity.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSDce2LiaA3po8sKdTRi2sHJAnSauVFqipdZfav-4vqH1bpdx5527T6TCvlQcPYzeR-tHSVwnmVote9XJMFb9h-LiE-aQnevU6aLUeduKWoMeIPfVR5MIGvgZZzaCskC8aACkGt4HHb6Z-/s1600/loggerlevels.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;170&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSDce2LiaA3po8sKdTRi2sHJAnSauVFqipdZfav-4vqH1bpdx5527T6TCvlQcPYzeR-tHSVwnmVote9XJMFb9h-LiE-aQnevU6aLUeduKWoMeIPfVR5MIGvgZZzaCskC8aACkGt4HHb6Z-/s400/loggerlevels.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Descriptions of each Level:&lt;/span&gt;&lt;span class=&quot;strong&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;strong&quot;&gt;DEBUG&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Informational logs that is useful to debug an application&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;strong&quot;&gt;INFO&lt;/span&gt;&lt;/span&gt;           &lt;/div&gt;
&lt;div&gt;
Informational logs that are usefull to highlight the progress the application&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;strong&quot;&gt; WARN&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Warning logs describing certain application specific other options &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;strong&quot;&gt;ERROR&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Error logs describing events which causes application exceptions, but these exceptions are handled and the application can still run continously.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;strong&quot;&gt;FATAL&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Fatal logs describing events which cause severe error and leading to application exit.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Link Library to Netbeans Project&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;In your Netbeans projects, after the installation of Log4cxx, to link the static library to the project, use the following in the LDLIBSOPTIONS&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; of make debug file.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;-I/usr/include pathof(liblog4cxx.a) -lapr-1 -laprutil-1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/3992596182982744354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2010/10/apache-log4cxx-framework-part-one.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/3992596182982744354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/3992596182982744354'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2010/10/apache-log4cxx-framework-part-one.html' title='Apache log4cxx framework - Part One'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHbueATV3cpparAjKYn170FoawUcELYWbvjHEdpInGnUwy48ipcBhzkZojtlC1uu3I8CZ4f8Y8VE0fTin5-pveT0-OUyUg_bn-R0zSRZSEb96mvK-2SpnMwzxA-S1PaF4q181jnOhYffkr/s72-c/cplusplus.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-1820251054094847253</id><published>2010-05-02T22:55:00.000-07:00</published><updated>2011-09-16T07:09:44.201-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Health"/><title type='text'>Green Tea and Its 25 Health Benefits</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I got this information from Email. It was very useful and I want to remember this information forever and also wanted to help others also by letting them know about this, so decided to post it in my blog. If you are reading this blog post, hope you will find this useful. Please re-post or send it to your friends and relatives if you find this useful.&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX12ZfDlx6djLqbCwQr8qfY_3-WGeKNIv3KNqeDJs2ugEW_8AGrkgc5dqLl4upg9xp-f1yH9ZdI8lmKxIAmkZixPnXhbkXujU4gjf90QiXUTpp4uaNpI3ZfydM0A_KWgdBRExvShCKhPWw/s1600/green-tea.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX12ZfDlx6djLqbCwQr8qfY_3-WGeKNIv3KNqeDJs2ugEW_8AGrkgc5dqLl4upg9xp-f1yH9ZdI8lmKxIAmkZixPnXhbkXujU4gjf90QiXUTpp4uaNpI3ZfydM0A_KWgdBRExvShCKhPWw/s200/green-tea.jpg&quot; width=&quot;196&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;25 Reasons why you should drink green tea&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Green Tea has increasingly become a very popular drink worldwide because of its immensely powerful health benefits. It is extraordinary amazing what green tea can do for your health. And if you&#39;re not drinking 3 to 4 cups of green tea today, you&#39;re definitely NOT doing your health a big favor. Here are the 25 reasons why you should start drinking green tea.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. Green Tea and Cancer&lt;/b&gt;&lt;br /&gt;
Green tea helps reduce the risk of cancer. The antioxidant in green tea is 100 times more effective than vitamin C and 25 times better than vitamin E. This helps your body at protecting cells from damage believed to be linked to cancer.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2. Green Tea and Heart Disease&lt;/b&gt;&lt;br /&gt;
Green tea helps prevent heart disease and stroke by lowering the level of cholesterol. Even after the heart attack, it prevents cell deaths and speeds up the recovery of heart cells.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3. Green Tea and Anti-Aging&lt;/b&gt;&lt;br /&gt;
Green tea contains antioxidant known as polyphenols which fight against free radicals. What this means it helps you fight against aging and promotes longevity.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4. Green Tea and Weight Loss&lt;/b&gt;&lt;br /&gt;
Green tea helps with your body weight loss. Green tea burns fat and boosts your metabolism rate naturally. It can help you burn up to 70 calories in just one day. That translates to 7 pounds in one year.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5. Green Tea and Skin&lt;/b&gt;&lt;br /&gt;
Antioxidant in green tea protects the skin from the harmful effects of free radicals, which cause wrinkling and skin aging. Green tea also helps fight against skin cancer.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;6. Green Tea and Arthritis&lt;/b&gt;&lt;br /&gt;
Green tea can help prevent and reduce the risk of rheumatoid arthritis. Green tea has benefit for your health as it protects the cartilage by blocking the enzyme that destroys cartilage.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;7. Green Tea and Bones&lt;/b&gt;&lt;br /&gt;
The very key to this is high fluoride content found in green tea. It helps keep your bones strong. If you drink green tea everyday, this will help you preserve your bone density.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;8. Green Tea and Cholesterol&lt;/b&gt;&lt;br /&gt;
Green tea can help lower cholesterol level. It also improves the ratio of good cholesterol to bad cholesterol, by reducing bad cholesterol level.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;9. Green Tea and Obesity&lt;/b&gt;&lt;br /&gt;
Green tea prevents obesity by stopping the movement of&amp;nbsp; glucose in fat cells. If you are on a healthy diet, exercise regularly and drink green tea, it is unlikely you&#39;ll be obese.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;10. Green Tea and Diabetes&lt;/b&gt;&lt;br /&gt;
Green tea improves lipid and glucose metabolisms, prevent sharp increases in blood sugar level, and balance your metabolism rate.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;11. Green Tea and Alzheimer&#39;s&lt;/b&gt;&lt;br /&gt;
Green tea helps boost your memory. And although there&#39;s no cure for Alzheimer&#39;s, it helps slow the process of reduced acetylcholine in the brain, which leads to Alzheimer&#39;s.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;12. Green Tea and Parkinson&#39;s&lt;/b&gt;&lt;br /&gt;
Antioxidants in green tea helps prevent against cell damage in the brain, which could cause Parkinson&#39;s. People drinking green tea also are less likely to progress with Parkinson&#39;s.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;13. Green Tea and Liver Disease&lt;/b&gt;&lt;br /&gt;
Green Tea helps prevent transplant failure in people with liver failure. Researches showed that green tea destroys harmful free radicals in fatty livers.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;14. Green Tea and High Blood Pressure&lt;/b&gt;&lt;br /&gt;
Green tea helps prevent high blood pressure. Drinking green tea helps keep your blood pressure down by repressing angiotensin, which leads to high blood pressure.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;15. Green Tea and Food Poisoning&lt;/b&gt;&lt;br /&gt;
Catechin found in green tea can kill bacteria which caused food poisoning and kills the toxins produced by those bacteria.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;16. Green Tea and Blood Sugar&lt;/b&gt;&lt;br /&gt;
Blood sugar tends to increase with age, but polyphenols and polysaccharides in green tea help lower your blood sugar level.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;17. Green Tea and Immunity&lt;/b&gt;&lt;br /&gt;
Polyphenols and flavenoids found in green tea help boost your immune system, making your health stronger in fighting against infections.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;18. Green Tea and Cold and Flu&lt;/b&gt;&lt;br /&gt;
Green tea prevents you from getting a cold or flu. Vitamin C in green tea helps you treat the flu and the common cold.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;19. Green Tea and Asthma&lt;/b&gt;&lt;br /&gt;
Theophylline in green tea relaxes the muscles which support the bronchial tubes reducing the severity of asthma.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;20. Green Tea and Ear Infection&lt;/b&gt;&lt;br /&gt;
Green tea helps with ear infection problem. For natural ear cleaning, soak a cotton ball in green ta and clean the infected ear.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;21. Green Tea and Herpes&lt;/b&gt;&lt;br /&gt;
Green tea increases the effectiveness of topical interferon treatment of herpes. First green tea compress is applied, and then let the skin dry before the interferon treatment.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;22. Green Tea and Tooth Decay&lt;/b&gt;&lt;br /&gt;
Green destroys bacteria and viruses that cause many dental diseases.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;23. Green Tea and Stress&lt;/b&gt;&lt;br /&gt;
L-theanine, which is kind of amino acids in green tea, can help relieve stress and anxiety.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;24. Green Tea and Allergies&lt;/b&gt;&lt;br /&gt;
EGCG found in green tea relieves allergies. So if you have allergies, you should really consider drinking green tea.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;25. Green Tea and HIV&lt;/b&gt;&lt;br /&gt;
Scientists in Japan have found that EGCG (Epigallocatechin Gallate) in green tea can stop HIV from binding to healty immune cells. What this means is that grean tea can help stop the HIV virus from spreading.&lt;br /&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/1820251054094847253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2010/05/green-tea-and-its-25-health-benefits.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/1820251054094847253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/1820251054094847253'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2010/05/green-tea-and-its-25-health-benefits.html' title='Green Tea and Its 25 Health Benefits'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX12ZfDlx6djLqbCwQr8qfY_3-WGeKNIv3KNqeDJs2ugEW_8AGrkgc5dqLl4upg9xp-f1yH9ZdI8lmKxIAmkZixPnXhbkXujU4gjf90QiXUTpp4uaNpI3ZfydM0A_KWgdBRExvShCKhPWw/s72-c/green-tea.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-1003118216021547973</id><published>2010-04-23T03:50:00.000-07:00</published><updated>2011-09-16T07:10:01.690-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Encryption"/><category scheme="http://www.blogger.com/atom/ns#" term="Technology"/><category scheme="http://www.blogger.com/atom/ns#" term="TripleDES"/><title type='text'>How to TripleDES encrypt decrypt data? - Part Two</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;112&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-t8IraWou0fkZknPaHAN_nkix1T8Mxeo_WVZJxpyHPIODveHpHKsAadpxFko7HNZFeoUJ8pY8W6dK5O7WS67P4fbDkEZDxd5uci7idoc1ZeeGMV0p9U8hRfwelkm7_LB6fbB77b0yI1A/s200/1234.jpg&quot; width=&quot;200&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;i&gt;This post has reference to &lt;a href=&quot;http://shasath.blogspot.com/2010/04/how-to-tripledes-encrypt-decrypt-data.html&quot;&gt;part one&lt;/a&gt; of this Article.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Inside our &lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;TripleDESCrypt&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;&lt;/span&gt; class, lets implement another method to read the MD5 HashKey generated from the Secret Key from the User. This method will load the &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;TripleDESKey.xml&lt;span style=&quot;color: black;&quot;&gt; file and returns the HashKey in String format.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
private string GetXmlKey(string xmlPath)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string hashKey = &quot;&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XDocument doc = XDocument.Load(xmlPath);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hashKey = doc.Descendants(&quot;key&quot;).ElementAt(0).Value;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch(SystemException)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new Exception(&quot;Xml Document Load Error&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return hashKey;&lt;br /&gt;
}&lt;/div&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Include the below method to create the TripleDES object from Hashkey.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
private TripleDES CreateDES(string hashKey)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TripleDES des = new TripleDESCryptoServiceProvider();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; des.Key = Convert.FromBase64String(hashKey);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; des.IV = new byte[des.BlockSize / 8];&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return des;&lt;br /&gt;
}&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Include the following two methods inside the &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;TripleDESCrypt&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;&lt;/span&gt; class, these two methods will be used to Encrypt and Decrypt user input data respectively.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
public string EncryptData(string Data)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string key = GetXmlKey(myPath);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TripleDES des = CreateDES(key); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ICryptoTransform ct = des.CreateEncryptor(); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte[] input = Encoding.Unicode.GetBytes(Data);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte[] output = ct.TransformFinalBlock(input, 0, input.Length);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return Convert.ToBase64String(output);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
public string DecryptData(string Data)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string key = GetXmlKey(myPath);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte[] input = Convert.FromBase64String(Data);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TripleDES des = CreateDES(key);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ICryptoTransform ct = des.CreateDecryptor();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte[] output = ct.TransformFinalBlock(input, 0, input.Length);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return Encoding.Unicode.GetString(output);&amp;nbsp; &lt;br /&gt;
}&lt;/div&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Now, inside the Aspx page, add the below two lines of code to test the Encryption and Decryption using TripleDES.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
string EncryptData = my3DES.EncryptData(&quot;Your Data&quot;);&lt;br /&gt;
string DecryptData = my3DES.DecryptData(EncryptData);&lt;/div&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Usefull Links - New Terms&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.iusmentis.com/technology/encryption/des/&quot;&gt;How DES works?&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/MD5&quot;&gt;MD5 - Wikipedia&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Cryptographic_hash_function&quot;&gt;Cryptographic hash function - Wikipedia&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/1003118216021547973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2010/04/how-to-tripledes-encrypt-decrypt-data_23.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/1003118216021547973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/1003118216021547973'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2010/04/how-to-tripledes-encrypt-decrypt-data_23.html' title='How to TripleDES encrypt decrypt data? - Part Two'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-t8IraWou0fkZknPaHAN_nkix1T8Mxeo_WVZJxpyHPIODveHpHKsAadpxFko7HNZFeoUJ8pY8W6dK5O7WS67P4fbDkEZDxd5uci7idoc1ZeeGMV0p9U8hRfwelkm7_LB6fbB77b0yI1A/s72-c/1234.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-8592920292965684040</id><published>2010-04-23T03:22:00.000-07:00</published><updated>2011-09-16T07:10:39.367-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Encryption"/><category scheme="http://www.blogger.com/atom/ns#" term="MD5"/><category scheme="http://www.blogger.com/atom/ns#" term="Technology"/><category scheme="http://www.blogger.com/atom/ns#" term="TripleDES"/><title type='text'>How to TripleDES encrypt decrypt data? - Part One</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;112&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-t8IraWou0fkZknPaHAN_nkix1T8Mxeo_WVZJxpyHPIODveHpHKsAadpxFko7HNZFeoUJ8pY8W6dK5O7WS67P4fbDkEZDxd5uci7idoc1ZeeGMV0p9U8hRfwelkm7_LB6fbB77b0yI1A/s200/1234.jpg&quot; width=&quot;200&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
In this post, a simple demonstration of how TripleDES Encryption algorithm can be implemented using &lt;span style=&quot;color: red;&quot;&gt;System.Security.Cryptography&lt;/span&gt; namespace in .NET will be explained.&lt;br /&gt;
&lt;br /&gt;
First of all, we need to create a XML file where we will be storing our &lt;span style=&quot;color: red;&quot;&gt;Special Key&lt;/span&gt;. This Key will be used for both Encryption and Decryption not like RSA. DES is symmetric key encryption algorithm.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
This special Key will be generated using &lt;span style=&quot;color: red;&quot;&gt;MD5&lt;/span&gt;, which is a &lt;span style=&quot;color: red;&quot;&gt;cryptographic hash function&lt;/span&gt; which takes arbitrary block of data and returns a Stream of Bits of Fixed Length.&lt;br /&gt;
&lt;br /&gt;
Create a Simple Web Application and create a New Class with the name &lt;span style=&quot;color: red;&quot;&gt;&quot;TripleDESCrypt&quot;&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
Assume we have &lt;span style=&quot;color: red;&quot;&gt;TripleDESKey.xml&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;in our same Application Folder. Lets create a method to update the path variable from&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt; Aspx page. Include the following in &lt;span style=&quot;color: red;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;TripleDESCrypt&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;&lt;/span&gt; class.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
public static string myPath = &quot;&quot;;&lt;br /&gt;
&lt;br /&gt;
public void updateXmlPath(string xmlPath)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPath = xmlPath;&lt;br /&gt;
}&lt;/div&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Now, include the below method in our &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;TripleDESCrypt&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;&lt;/span&gt; class. This method will be used to create 16-Byte Key using MD5 and this Special Key will be saved in our &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;TripleDESKey.xml&lt;span style=&quot;color: black;&quot;&gt; file.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
public void GenerateMD5HashKey(string word)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MD5 md5 = new MD5CryptoServiceProvider();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte[] hashKey = md5.ComputeHash(Encoding.Unicode.GetBytes(word));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string sss = Convert.ToBase64String(hashKey);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XElement ele = new XElement(&quot;key&quot;, sss);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ele.Save(myPath);&amp;nbsp; &lt;br /&gt;
}&lt;/div&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;To implement this, include the below lines of code in &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Page Load method of Aspx Page. Below the Secret Key that the user inputs will be converted to MD5 HashKey and will be saved in the XML file.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
TripleDESCrypt my3DES = new TripleDESCrypt();&lt;br /&gt;
my3DES.updateXmlPath(Server.MapPath(&quot;TripleDESKey.xml&quot;));&lt;br /&gt;
&lt;br /&gt;
my3DES.GenerateMD5HashKey(&quot;Your Secret Key&quot;);&lt;/div&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/8592920292965684040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2010/04/how-to-tripledes-encrypt-decrypt-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/8592920292965684040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/8592920292965684040'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2010/04/how-to-tripledes-encrypt-decrypt-data.html' title='How to TripleDES encrypt decrypt data? - Part One'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-t8IraWou0fkZknPaHAN_nkix1T8Mxeo_WVZJxpyHPIODveHpHKsAadpxFko7HNZFeoUJ8pY8W6dK5O7WS67P4fbDkEZDxd5uci7idoc1ZeeGMV0p9U8hRfwelkm7_LB6fbB77b0yI1A/s72-c/1234.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-3687632690953545165</id><published>2010-04-19T01:46:00.000-07:00</published><updated>2011-09-16T07:11:00.938-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Encryption"/><category scheme="http://www.blogger.com/atom/ns#" term="RSA"/><category scheme="http://www.blogger.com/atom/ns#" term="Technology"/><title type='text'>How to RSA Encrypt Decrypt Data (C#) ?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;112&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-t8IraWou0fkZknPaHAN_nkix1T8Mxeo_WVZJxpyHPIODveHpHKsAadpxFko7HNZFeoUJ8pY8W6dK5O7WS67P4fbDkEZDxd5uci7idoc1ZeeGMV0p9U8hRfwelkm7_LB6fbB77b0yI1A/s200/1234.jpg&quot; width=&quot;200&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;i&gt;This post has reference to &lt;a href=&quot;http://shasath.blogspot.com/2010/04/how-to-implement-rsa-encryption-c.html&quot;&gt;part one&lt;/a&gt; of this Article.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Inside our &lt;span style=&quot;color: red;&quot;&gt;&quot;Crypt&quot;&lt;/span&gt; class, lets include two more methods.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
public string EncryptData(string data2Encrypt)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ParameterSetup();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StreamReader reader = new StreamReader(publicPath);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string publicOnlyKeyXML = reader.ReadToEnd();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rsa.FromXmlString(publicOnlyKeyXML);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reader.Close();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //encrypt&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte[] plainbytes = System.Text.Encoding.UTF8.GetBytes(data2Encrypt);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte[] cipherbytes = rsa.Encrypt(plainbytes, false);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return Convert.ToBase64String(cipherbytes);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
public string DecryptData(string data2Decrypt)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ParameterSetup();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte[] getpassword = Convert.FromBase64String(data2Decrypt);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StreamReader reader = new StreamReader(privatePath);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string publicPrivateKeyXML = reader.ReadToEnd();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rsa.FromXmlString(publicPrivateKeyXML);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reader.Close();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //decrypt&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte[] plain = rsa.Decrypt(getpassword, false);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return System.Text.Encoding.UTF8.GetString(plain);&lt;br /&gt;
}&lt;/div&gt;
&lt;br /&gt;
Now from Aspx page you can use these methods as follows,&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
Crypt myCrypt = new Crypt();&lt;br /&gt;
myCrypt.updatePrivatePath(Server.MapPath(&quot;PrivateKey.xml&quot;));&lt;br /&gt;
myCrypt.updatePublicPath(Server.MapPath(&quot;PublicKey.xml&quot;));&lt;br /&gt;
&lt;br /&gt;
myCrypt.GenerateKey(); &lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
string EncryptData = myCrypt.EncryptData(&quot;Your Name&quot;);&lt;br /&gt;
string DecryptData = myCrypt.DecryptData(EncryptData);&lt;/div&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/3687632690953545165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2010/04/how-to-implement-rsa-encryption-c-part.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/3687632690953545165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/3687632690953545165'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2010/04/how-to-implement-rsa-encryption-c-part.html' title='How to RSA Encrypt Decrypt Data (C#) ?'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-t8IraWou0fkZknPaHAN_nkix1T8Mxeo_WVZJxpyHPIODveHpHKsAadpxFko7HNZFeoUJ8pY8W6dK5O7WS67P4fbDkEZDxd5uci7idoc1ZeeGMV0p9U8hRfwelkm7_LB6fbB77b0yI1A/s72-c/1234.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-1498278314678672315</id><published>2010-04-19T01:00:00.000-07:00</published><updated>2011-09-16T07:11:41.397-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Encryption"/><category scheme="http://www.blogger.com/atom/ns#" term="RSA"/><category scheme="http://www.blogger.com/atom/ns#" term="Technology"/><title type='text'>How to Generate RSA Encryption keys (C#) ?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;112&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-t8IraWou0fkZknPaHAN_nkix1T8Mxeo_WVZJxpyHPIODveHpHKsAadpxFko7HNZFeoUJ8pY8W6dK5O7WS67P4fbDkEZDxd5uci7idoc1ZeeGMV0p9U8hRfwelkm7_LB6fbB77b0yI1A/s200/1234.jpg&quot; width=&quot;200&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
In this post, Simple Demonstration of RSA Encryption Algorithm will be explained.&lt;br /&gt;
&lt;br /&gt;
Here, we are going to make use of the &lt;span style=&quot;color: red;&quot;&gt;System.Security.Cryptography&lt;/span&gt; namespace.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
Now, Lets create two XML files, &lt;span style=&quot;color: red;&quot;&gt;PrivateKey.xml&lt;/span&gt; and &lt;span style=&quot;color: red;&quot;&gt;PublicKey.xml&lt;/span&gt;. In these files we will be storing the Private Key and Public Key respectively.&lt;br /&gt;
&lt;br /&gt;
Usually, the Public Key is available publically but the Private key will be kept in a Secret Location. Data Encrypted using the Public Key can only be decrypted using Private Key. Basically, Private key is the full Key and Public Key is part of the Private Key. So even with just Public key, you can&#39;t decrypt the Data. So it provides Full Protection and Data Security.&lt;br /&gt;
&lt;br /&gt;
Create a Simple Web Application and create a New Class with the name &lt;span style=&quot;color: red;&quot;&gt;&quot;Crypt&quot;&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
Assume we have both the &lt;span style=&quot;color: red;&quot;&gt;PrivateKey.xml&lt;/span&gt; and &lt;span style=&quot;color: red;&quot;&gt;PublicKey.xml &lt;span style=&quot;color: black;&quot;&gt;in our same Application Folder. Lets create few methods to update two string variables that represent the path of &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;PrivateKey.xml&lt;/span&gt; and &lt;span style=&quot;color: red;&quot;&gt;PublicKey.xml &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;from Aspx page. Include the following in &lt;span style=&quot;color: red;&quot;&gt;&quot;Crypt&quot;&lt;/span&gt; class&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
private static string privatePath = &quot;&quot;;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
public static string publicPath = &quot;&quot;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
public void updatePrivatePath(string xmlPath) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; privatePath = xmlPath;&lt;/div&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;public void updatePublicPath(string xmlPath) {&lt;/span&gt;&lt;br style=&quot;color: red;&quot; /&gt;&lt;span style=&quot;color: red;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; publicPath = xmlPath;&lt;/span&gt;&lt;br style=&quot;color: red;&quot; /&gt;&lt;span style=&quot;color: red;&quot;&gt; }&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Include the following to update from Page Load method of Aspx Page.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Crypt myCrypt = new Crypt();&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;myCrypt.updatePrivatePath(Server.MapPath(&quot;PrivateKey.xml&quot;));&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
myCrypt.updatePublicPath(Server.MapPath(&quot;PublicKey.xml&quot;));&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
Add the following public variable in the &lt;span style=&quot;color: red;&quot;&gt;&quot;Crypt&quot;&lt;/span&gt; class&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;public static RSACryptoServiceProvider rsa;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Now lets implement Private and Public Key Generation. Include the following in the &lt;span style=&quot;color: red;&quot;&gt;&quot;Crypt&quot;&lt;/span&gt; class.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
private void ParameterSetup()&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; CspParameters cspParams;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cspParams = new CspParameters(1, &quot;&lt;leo_highlight id=&quot;leoHighlights_Underline_0&quot; leohighlights_keywords=&quot;microsoft&quot; leohighlights_underline=&quot;true&quot; leohighlights_url_bottom=&quot;http%3A//shortcuts.thebrowserhighlighter.com/leonardo/plugin/highlights/3_1/tbh_highlightsBottom.jsp?keywords%3Dmicrosoft%26domain%3Dwww.blogger.com&quot; leohighlights_url_top=&quot;http%3A//shortcuts.thebrowserhighlighter.com/leonardo/plugin/highlights/3_1/tbh_highlightsTop.jsp?keywords%3Dmicrosoft%26domain%3Dwww.blogger.com&quot; onclick=&quot;leoHighlightsHandleClick(&#39;leoHighlights_Underline_0&#39;)&quot; onmouseout=&quot;leoHighlightsHandleMouseOut(&#39;leoHighlights_Underline_0&#39;)&quot; onmouseover=&quot;leoHighlightsHandleMouseOver(&#39;leoHighlights_Underline_0&#39;)&quot; style=&quot;-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: transparent none repeat scroll 0% 50%; border-bottom: 2px solid rgb(255, 255, 150); cursor: pointer; display: inline;&quot;&gt;Microsoft&lt;/leo_highlight&gt; Strong Cryptographic Provider&quot;, &quot;MyContainer&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cspParams.Flags = CspProviderFlags.UseMachineKeyStore;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; rsa = new RSACryptoServiceProvider(cspParams);&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
}&lt;br /&gt;
&lt;br /&gt;
public void GenerateKey()&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ParameterSetup();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; //Write Public and Private Key&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; StreamWriter writer = new StreamWriter(privatePath);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; string publicPrivateKeyXML = rsa.ToXmlString(true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; writer.Write(publicPrivateKeyXML);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; writer.Close();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; //Write Public Key only&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; writer = new StreamWriter(publicPath);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; string publicOnlyKeyXML = rsa.ToXmlString(false);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; writer.Write(publicOnlyKeyXML);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; writer.Close();&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
}&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;Now from Aspx page, you can update the path and Call the GenerateKey method as below,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
Crypt myCrypt = new Crypt();&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
myCrypt.updatePrivatePath(Server.MapPath(&quot;PrivateKey.xml&quot;));&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
myCrypt.updatePublicPath(Server.MapPath(&quot;PublicKey.xml&quot;));&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
myCrypt.GenerateKey();&lt;/div&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt; Now you can check your Xml files to have a look at your Public and Private keys.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Next Part, we will look at how to Encrypt and Decrypt using RSA asymmetric encryption algorithm.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;&lt;/span&gt; &lt;br /&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;span id=&quot;leoHighlights_iframe_modal_span_container&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div id=&quot;leoHighlights_iframe_modal_div_container&quot; onmouseout=&quot;leoHighlightsHandleIFrameMouseOut();&quot; onmouseover=&quot;leoHighlightsHandleIFrameMouseOver();&quot; style=&quot;display: none; height: 391px; position: absolute; visibility: hidden; width: 520px; z-index: 2147483647;&quot;&gt;
&lt;iframe allowtransparency=&quot;true&quot; src=&quot;about:blank&quot; frameborder=&quot;0&quot; height=&quot;294&quot; hspace=&quot;0&quot; id=&quot;leoHighlights_top_iframe&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; name=&quot;leoHighlights_top_iframe&quot; scrolling=&quot;no&quot; style=&quot;height: 294px; left: 0px; position: absolute; top: 0px; width: 520px; z-index: 2147483647;&quot; title=&quot;leoHighlights_top_iframe&quot; vspace=&quot;0&quot; width=&quot;520&quot;&gt;&lt;/iframe&gt;&lt;span id=&quot;leoHighlights_iframe_modal_span_container&quot;&gt;            &lt;iframe allowtransparency=&quot;true&quot; src=&quot;about:blank&quot; frameborder=&quot;0&quot; height=&quot;&quot; hspace=&quot;0&quot; id=&quot;leoHighlights_bottom_iframe&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; name=&quot;leoHighlights_bottom_iframe&quot; scrolling=&quot;no&quot; style=&quot;left: 96px; position: absolute; top: 294px; z-index: 2147483647;&quot; title=&quot;leoHighlights_bottom_iframe&quot; vspace=&quot;0&quot; width=&quot;&quot;&gt;&lt;/iframe&gt; &lt;/span&gt;&lt;/div&gt;
&lt;script defer=&quot;defer&quot; type=&quot;text/javascript&quot;&gt;
   var LEO_HIGHLIGHTS_INFINITE_LOOP_COUNT =              300;
   var LEO_HIGHLIGHTS_MAX_HIGHLIGHTS =                   50;
   var LEO_HIGHLIGHTS_IFRAME_TOP_ID =                    &quot;leoHighlights_top_iframe&quot;;
   var LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID =                 &quot;leoHighlights_bottom_iframe&quot;;
   var LEO_HIGHLIGHTS_IFRAME_DIV_ID =                    &quot;leoHighlights_iframe_modal_div_container&quot;;
      
   var LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_WIDTH =     520;
   var LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_HEIGHT =    391;
   
   var LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_WIDTH =      520;
   var LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_HEIGHT =     665;
   
   var LEO_HIGHLIGHTS_IFRAME_TOP_POS_X =                 0;
   var LEO_HIGHLIGHTS_IFRAME_TOP_POS_Y =                 0;
   var LEO_HIGHLIGHTS_IFRAME_TOP_WIDTH =                 520;
   var LEO_HIGHLIGHTS_IFRAME_TOP_HEIGHT =                294;
   
   var LEO_HIGHLIGHTS_IFRAME_BOTTOM_POS_X =              96;
   var LEO_HIGHLIGHTS_IFRAME_BOTTOM_POS_Y =              294;
   var LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_WIDTH =    425;
   var LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_HEIGHT =   97;
   var LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_WIDTH =     425;
   var LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_HEIGHT =    371;
         
   var LEO_HIGHLIGHTS_SHOW_DELAY_MS =                    300;
   var LEO_HIGHLIGHTS_HIDE_DELAY_MS =                    750;
   
   var LEO_HIGHLIGHTS_BACKGROUND_STYLE_DEFAULT =         &quot;transparent none repeat scroll 0% 0%&quot;;
   var LEO_HIGHLIGHTS_BACKGROUND_STYLE_HOVER =           &quot;rgb(245, 245, 0) none repeat scroll 0% 0%&quot;;
   var LEO_HIGHLIGHTS_ROVER_TAG =                        &quot;711-36858-13496-14&quot;;

   createInlineScriptElement(&quot;var%20LEO_HIGHLIGHTS_DEBUG%20%3D%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20false%3B%0Avar%20LEO_HIGHLIGHTS_DEBUG_POS%20%3D%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20false%3B%0A%20%20%20%0Avar%20_leoHighlightsPrevElem%20%3D%20null%3B%0A%0A/**%0A%20*%20Checks%20if%20the%20passed%20in%20class%20exists%0A%20*%20@param%20c%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsClassExists%28c%29%20%7B%0A%20%20%20return%20typeof%28c%29%20%3D%3D%20%22function%22%20%26%26%20typeof%28c.prototype%29%20%3D%3D%20%22object%22%20?%20true%20%3A%20false%3B%0A%7D%0A%0A/**%0A%20*%20Checks%20if%20the%20firebug%20console%20is%20available%0A%20*%20@param%20c%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsFirebugConsoleAvailable%28c%29%20%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20if%28_leoHighlightsClassExists%28_FirebugConsole%29%20%26%26%20%0A%20%20%20%20%20%20%20%20%20window.console%20%26%26%20console.log%20%26%26%20%0A%20%20%20%20%20%20%20%20%20%28console%20instanceof%20_FirebugConsole%29%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20return%20true%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%7D%0A%20%20%20catch%28e%29%7B%7D%0A%20%20%20%0A%20%20%20return%20false%3B%0A%7D%20%0A%0A%0A/**%0A%20*%20General%20method%20used%20to%20debug%20exceptions%0A%20*%20%0A%20*%20@param%20location%0A%20*%20@param%20e%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsReportExeception%28location%2Ce%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20if%28_leoHighlightsFirebugConsoleAvailable%28%29%20||LEO_HIGHLIGHTS_DEBUG%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20var%20logString%3Dlocation+%22%3A%20%22+e+%22%5Cn%5Ct%22+e.name+%22%5Cn%5Ct%22+%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%28e.number%260xFFFF%29+%22%5Cn%5Ct%22+e.description%3B%0A%20%20%20%20%20%20%20%20%20if%28_leoHighlightsFirebugConsoleAvailable%28%29%29%0A%20%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20console.error%28logString%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20console.trace%28%29%3B%0A%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20if%28LEO_HIGHLIGHTS_DEBUG%29%0A%20%20%20%20%20%20%20%20%20alert%28logString%29%3B%20%20%20%20%20%20%0A%20%20%20%7D%0A%20%20%20catch%28e%29%7B%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20log%20a%20string%20to%20the%20firebug%20console%0A%20*%20%0A%20*%20@param%20str%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsDebugLog%28str%29%0A%7B%20%20%20%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20if%28_leoHighlightsFirebugConsoleAvailable%28%29%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20console.log%28typeof%28_FirebugConsole%29+%22%20%22+str%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22_leoHighlightsDebugLog%28%29%20%22+str%2Ce%29%3B%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20get%20an%20attribute%20and%20decode%20it.%0A%20*%20%0A%20*%20@param%20elem%0A%20*%20@param%20id%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsGetAttrib%28elem%2Cid%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20var%20val%3Delem.getAttribute%28id%29%3B%0A%20%20%20%20%20%20return%20decodeURI%28val%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22_leoHighlightsGetAttrib%28%29%22%2Ce%29%3B%20%20%20%20%0A%20%20%20%7D%0A%20%20%20return%20null%3B%0A%7D%0A%0A/**%0A%20*%20This%20is%20a%20dimensions%20object%0A%20*%20%0A%20*%20@param%20width%0A%20*%20@param%20height%0A%20*%20@return%0A%20*/%0Afunction%20LeoHighlightsDimension%28width%2Cheight%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%09this.width%3Dwidth%3B%0A%20%20%20%09this.height%3Dheight%3B%0A%20%20%20%09this.toString%3Dfunction%28%29%20%7B%20return%20%28%22%28%22+this.width+%22%2C%22+this.height+%22%29%22%29%3B%7D%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22new%20LeoHighlightsDimension%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A/**%0A%20*%20This%20is%20a%20Position%20object%0A%20*%20%0A%20*%20@param%20x%0A%20*%20@param%20y%0A%20*%20@return%0A%20*/%0Afunction%20LeoHighlightsPosition%28x%2Cy%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%09this.x%3Dx%3B%0A%20%20%20%09this.y%3Dy%3B%0A%20%20%20%09this.toString%3Dfunction%28%29%20%7B%20return%20%28%22%28%22+this.x+%22%2C%22+this.y+%22%29%22%29%3B%7D%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22new%20LeoHighlightsPosition%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0Avar%20LEO_HIGHLIGHTS_ADJUSTMENT%20%3D%20new%20LeoHighlightsPosition%283%2C3%29%3B%0Avar%20LEO_HIGHLIGHTS_IFRAME_TOP_SIZE%20%3D%20new%20LeoHighlightsDimension%28LEO_HIGHLIGHTS_IFRAME_TOP_WIDTH%2CLEO_HIGHLIGHTS_IFRAME_TOP_HEIGHT%29%3B%0Avar%20LEO_HIGHLIGHTS_IFRAME_BOTTOM_HOVER_SIZE%20%3D%20new%20LeoHighlightsDimension%28LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_WIDTH%2CLEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_HEIGHT%29%3B%0Avar%20LEO_HIGHLIGHTS_IFRAME_BOTTOM_CLICK_SIZE%20%3D%20new%20LeoHighlightsDimension%28LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_WIDTH%2CLEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_HEIGHT%29%3B%0A%0Avar%20LEO_HIGHLIGHTS_DIV_HOVER_SIZE%20%3D%20new%20LeoHighlightsDimension%28LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_WIDTH%2CLEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_HEIGHT%29%3B%0Avar%20LEO_HIGHLIGHTS_DIV_CLICK_SIZE%20%3D%20new%20LeoHighlightsDimension%28LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_WIDTH%2CLEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_HEIGHT%29%3B%0A%0A%0A/**%0A%20*%20Sets%20the%20size%20of%20the%20passed%20in%20element%0A%20*%20%0A%20*%20@param%20elem%0A%20*%20@param%20dim%20%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsSetSize%28elem%2Cdim%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%09//%20Set%20the%20popup%20location%0A%20%20%20%09elem.style.width%20%3D%20dim.width%20+%20%22px%22%3B%0A%20%20%20%09if%28elem.width%29%0A%20%20%20%09%09elem.width%3Ddim.width%3B%0A%20%20%20%09elem.style.height%20%20%3D%20dim.height%20+%20%22px%22%3B%0A%20%20%20%09if%28elem.height%29%0A%20%20%20%09%09elem.height%3Ddim.height%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22_leoHighlightsSetSize%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A/**%0A%20*%20This%20can%20be%20used%20for%20a%20simple%20one%20argument%20callback%0A%20*%0A%20*%20@param%20callName%0A%20*%20@param%20argName%0A%20*%20@param%20argVal%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsSimpleGwCallBack%28callName%2CargName%2C%20argVal%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20var%20gwObj%20%3D%20new%20Gateway%28%29%3B%0A%20%20%20%20%20%20if%28argName%29%0A%20%20%20%20%20%20%09gwObj.addParam%28argName%2CargVal%29%3B%0A%20%20%20%20%20%20gwObj.callName%28callName%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22_leoHighlightsSimpleGwCallBack%28%29%20%22+callName%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20gets%20a%20url%20argument%20from%20the%20current%20document.%0A%20*%20%0A%20*%20@param%20url%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsGetUrlArg%28url%2C%20name%20%29%0A%7B%0A%09%20%20name%20%3D%20name.replace%28/[%5C[]/%2C%22%5C%5C%5C[%22%29.replace%28/[%5C]]/%2C%22%5C%5C%5C]%22%29%3B%0A%09%20%20var%20regexS%20%3D%20%22[%5C%5C?%26]%22+name+%22%3D%28[^%26%23]*%29%22%3B%0A%09%20%20var%20regex%20%3D%20new%20RegExp%28%20regexS%20%29%3B%0A%09%20%20var%20results%20%3D%20regex.exec%28url%29%3B%0A%09%20%20if%28%20results%20%3D%3D%20null%20%29%0A%09%20%20%20%20return%20%22%22%3B%0A%09%20%20else%0A%09%20%20%20%20return%20results[1]%3B%0A%7D%0A%0A%0A/**%0A%20*%20This%20allows%20to%20redirect%20the%20top%20window%20to%20the%20passed%20in%20url%0A%20*%20%0A%20*%20@param%20url%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsRedirectTop%28url%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%20%20%20%09%0A%20%20%20%09top.location%3Durl%3B%09%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22_leoHighlightsRedirectTop%28%29%22%2Ce%29%3B%0A%20%20%20%7D%0A%7D%0A%0A%0A/**%0A%20*%20This%20will%20find%20an%20element%20by%20Id%0A%20*%20%0A%20*%20@param%20elemId%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsFindElementById%28elemId%2Cdoc%29%0A%7B%0A%09try%0A%09%7B%0A%09%20%20%20if%28doc%3D%3Dnull%29%0A%09%20%20%20%20%20%20doc%3Ddocument%3B%0A%09%20%20%20%0A%09%09var%20elem%3Ddoc.getElementById%28elemId%29%3B%0A%09%09if%28elem%29%0A%09%09%09return%20elem%3B%0A%09%09%0A%09%09/*%20This%20is%20the%20handling%20for%20IE%20*/%0A%09%09if%28doc.all%29%0A%09%09%7B%0A%09%09%09elem%3Ddoc.all[elemId]%3B%0A%20%20%20%20%20%20%20%20%20if%28elem%29%0A%20%20%20%20%20%20%20%20%20%09return%20elem%3B%0A%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20for%20%28%20var%20i%20%3D%20%28document.all.length-1%29%3B%20i%20%3E%3D%200%3B%20i--%29%20%7B%0A%20%20%20%20%20%20%20%20%20%09elem%3Ddoc.all[i]%3B%0A%20%20%20%20%20%20%20%20%20%09if%28elem.id%3D%3DelemId%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20elem%3B%0A%20%20%20%20%20%20%20%20%20%7D%0A%09%09%7D%0A%09%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22_leoHighlightsFindElementById%28%29%22%2Ce%29%3B%0A%20%20%20%7D%0A%09return%20null%3B%0A%7D%0A%0A/**%0A%20*%20Get%20the%20location%20of%20one%20element%20relative%20to%20a%20parent%20reference%0A%20*%0A%20*%20@param%20ref%0A%20*%20%20%20%20%20%20%20%20%20%20%20the%20reference%20element%2C%20this%20must%20be%20a%20parent%20of%20the%20passed%20in%0A%20*%20%20%20%20%20%20%20%20%20%20%20element%0A%20*%20@param%20elem%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsGetLocation%28ref%2C%20elem%29%20%7B%0A%20%20%20_leoHighlightsDebugLog%28%22_leoHighlightsGetLocation%20%22+elem.id%29%3B%0A%20%20%20%0A%20%20%20var%20count%20%3D%200%3B%0A%20%20%20var%20location%20%3D%20new%20LeoHighlightsPosition%280%2C0%29%3B%0A%20%20%20var%20walk%20%3D%20elem%3B%0A%20%20%20while%20%28walk%20%21%3D%20null%20%26%26%20walk%20%21%3D%20ref%20%26%26%20count%20%3C%20LEO_HIGHLIGHTS_INFINITE_LOOP_COUNT%29%20%7B%0A%20%20%20%20%20%20location.x%20+%3D%20walk.offsetLeft%3B%0A%20%20%20%20%20%20location.y%20+%3D%20walk.offsetTop%3B%0A%20%20%20%20%20%20walk%20%3D%20walk.offsetParent%3B%0A%20%20%20%20%20%20count++%3B%0A%20%20%20%7D%0A%20%20%20%0A%20%20%20_leoHighlightsDebugLog%28%22Location%20is%3A%20%22+elem.id+%22%20-%20%22+location%29%3B%0A%0A%20%20%20return%20location%3B%0A%7D%0A%0A/**%0A%20*%20This%20is%20used%20to%20update%20the%20position%20of%20an%20element%20as%20a%20popup%0A%20*%20%0A%20*%20@param%20IFrame%0A%20*%20@param%20anchor%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsUpdatePopupPos%28iFrame%2Canchor%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20//%20Gets%20the%20scrolled%20location%20for%20x%20and%20y%0A%20%20%20%20%20%20var%20scrolledPos%3Dnew%20LeoHighlightsPosition%280%2C0%29%3B%0A%20%20%20%20%20%20if%28%20self.pageYOffset%20%29%20%7B%0A%20%20%20%20%20%20%20%20%20scrolledPos.x%20%3D%20self.pageXOffset%3B%0A%20%20%20%20%20%20%20%20%20scrolledPos.y%20%3D%20self.pageYOffset%3B%0A%20%20%20%20%20%20%7D%20else%20if%28%20document.documentElement%20%26%26%20document.documentElement.scrollTop%20%29%20%7B%0A%20%20%20%20%20%20%20%20%20scrolledPos.x%20%3D%20document.documentElement.scrollLeft%3B%0A%20%20%20%20%20%20%20%20%20scrolledPos.y%20%3D%20document.documentElement.scrollTop%3B%0A%20%20%20%20%20%20%7D%20else%20if%28%20document.body%20%29%20%7B%0A%20%20%20%20%20%20%20%20%20scrolledPos.x%20%3D%20document.body.scrollLeft%3B%0A%20%20%20%20%20%20%20%20%20scrolledPos.y%20%3D%20document.body.scrollTop%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Get%20the%20total%20dimensions%20to%20see%20what%20scroll%20bars%20might%20be%20active%20*/%0A%20%20%20%20%20%20var%20totalDim%3Dnew%20LeoHighlightsDimension%280%2C0%29%0A%20%20%20%20%20%20if%20%28document.all%20%26%26%20document.documentElement%20%26%26%20%0A%20%20%20%20%20%20%09document.documentElement.clientHeight%26%26document.documentElement.clientWidth%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%09totalDim.width%20%3D%20document.documentElement.scrollWidth%3B%0A%20%20%20%20%20%20%09totalDim.height%20%3D%20document.documentElement.scrollHeight%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20else%20if%20%28document.all%29%0A%20%20%20%20%20%20%7B%20/*%20This%20is%20in%20IE%20*/%0A%20%20%20%20%20%09%20%09totalDim.width%20%3D%20document.body.scrollWidth%3B%0A%20%20%20%20%20%20%09totalDim.height%20%3D%20document.body.scrollHeight%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20else%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%09%20totalDim.width%20%3D%20document.width%3B%0A%20%20%20%20%20%20%09%20totalDim.height%20%3D%20document.height%3B%0A%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20//%20Gets%20the%20location%20of%20the%20available%20screen%20space%0A%20%20%20%20%20%20var%20centerDim%3Dnew%20LeoHighlightsDimension%280%2C0%29%3B%0A%20%20%20%20%20%20if%28self.innerWidth%20%26%26%20self.innerHeight%20%29%20%7B%0A%20%20%20%20%20%20%20%20%20centerDim.width%20%3D%20self.innerWidth-%28totalDim.height%3Eself.innerHeight?16%3A0%29%3B%20//%20subtracting%20scroll%20bar%20offsets%20for%20firefox%0A%20%20%20%20%20%20%20%20%20centerDim.height%20%3D%20self.innerHeight-%28totalDim.width%3Eself.innerWidth?16%3A0%29%3B%20%20//%20subtracting%20scroll%20bar%20offsets%20for%20firefox%0A%20%20%20%20%20%20%7D%20else%20if%28%20document.documentElement%20%26%26%20document.documentElement.clientHeight%20%29%20%7B%0A%20%20%20%20%20%20%20%20%20centerDim.width%20%3D%20document.documentElement.clientWidth%3B%0A%20%20%20%20%20%20%20%20%20centerDim.height%20%3D%20document.documentElement.clientHeight%3B%0A%20%20%20%20%20%20%7D%20else%20if%28%20document.body%20%29%20%7B%0A%20%20%20%20%20%20%20%20%20centerDim.width%20%3D%20document.body.clientWidth%3B%0A%20%20%20%20%20%20%20%20%20centerDim.height%20%3D%20document.body.clientHeight%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20//%20Get%20the%20current%20dimension%20of%20the%20popup%20element%0A%20%20%20%20%20%20var%20iFrameDim%3Dnew%20LeoHighlightsDimension%28iFrame.offsetWidth%2CiFrame.offsetHeight%29%0A%20%20%20%20%20%20if%20%28iFrameDim.width%20%3C%3D%200%29%0A%20%20%20%20%20%20%09iFrameDim.width%20%3D%20iFrame.style.width.substring%280%2C%20iFrame.style.width.indexOf%28%27px%27%29%29%3B%0A%20%20%20%20%20%20if%20%28iFrameDim.height%20%3C%3D%200%29%0A%20%20%20%20%20%20%09iFrameDim.height%20%3D%20iFrame.style.height.substring%280%2C%20iFrame.style.height.indexOf%28%27px%27%29%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Calculate%20the%20position%2C%20lower%20right%20hand%20corner%20by%20default%20*/%0A%20%20%20%20%20%20var%20position%3Dnew%20LeoHighlightsPosition%280%2C0%29%3B%0A%20%20%20%20%20%20position.x%3DscrolledPos.x+centerDim.width-iFrameDim.width-LEO_HIGHLIGHTS_ADJUSTMENT.x%3B%0A%20%20%20%20%20%20position.y%3DscrolledPos.y+centerDim.height-iFrameDim.height-LEO_HIGHLIGHTS_ADJUSTMENT.y%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20if%28anchor%21%3Dnull%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20//centerDim%20in%20relation%20to%20the%20anchor%20element%20if%20available%0A%20%20%20%20%20%20%20%20%20var%20topOrBottom%20%3D%20false%3B%0A%20%20%20%20%20%20%20%20%20var%20anchorPos%3D_leoHighlightsGetLocation%28document.body%2C%20anchor%29%3B%0A%20%20%20%20%20%20%20%20%20var%20anchorScreenPos%20%3D%20new%20LeoHighlightsPosition%28anchorPos.x-scrolledPos.x%2CanchorPos.y-scrolledPos.y%29%3B%0A%20%20%20%20%20%20%20%20%20var%20anchorDim%3Dnew%20LeoHighlightsDimension%28anchor.offsetWidth%2Canchor.offsetHeight%29%0A%20%20%20%20%20%20%20%20%20if%20%28anchorDim.width%20%3C%3D%200%29%0A%20%20%20%20%20%20%20%20%20%09anchorDim.width%20%3D%20anchor.style.width.substring%280%2C%20anchor.style.width.indexOf%28%27px%27%29%29%3B%0A%20%20%20%20%20%20%20%20%20if%20%28anchorDim.height%20%3C%3D%200%29%0A%20%20%20%20%20%20%20%20%20%09anchorDim.height%20%3D%20anchor.style.height.substring%280%2C%20anchor.style.height.indexOf%28%27px%27%29%29%3B%0A%0A%20%20%20%20%20%20%20%20%20//%20Check%20if%20the%20popup%20can%20be%20shown%20above%20or%20below%20the%20element%0A%20%20%20%20%20%20%20%20%20if%20%28centerDim.height%20-%20anchorDim.height%20-%20iFrameDim.height%20-%20anchorScreenPos.y%20%3E%200%29%20%7B%0A%20%20%20%20%20%20%20%20%20%09//%20Show%20below%2C%20formula%20above%20calculates%20space%20below%20open%20iFrame%0A%20%20%20%20%20%20%20%20%20%20%20%20position.y%20%3D%20anchorPos.y%20+%20anchorDim.height%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20topOrBottom%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20%20%7D%20else%20if%20%28anchorScreenPos.y%20-%20anchorDim.height%20-%20iFrameDim.height%20%3E%200%29%20%7B%0A%20%20%20%20%20%20%20%20%20%09//%20Show%20above%2C%20formula%20above%20calculates%20space%20above%20open%20iFrame%0A%20%20%20%20%20%20%20%20%20%09position.y%20%3D%20anchorPos.y%20-%20iFrameDim.height%20-%20anchorDim.height%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20topOrBottom%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20_leoHighlightsDebugLog%28%22_leoHighlightsUpdatePopupPos%28%29%20-%20topOrBottom%3A%20%22+topOrBottom%29%3B%0A%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20if%20%28topOrBottom%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20//%20We%20attempt%20top%20attach%20the%20window%20to%20the%20element%0A%20%20%20%20%20%20%20%20%20%09position.x%20%3D%20anchorPos.x%20-%20iFrameDim.width%20/%202%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28position.x%20%3C%200%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%09position.x%20%3D%200%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20else%20if%20%28position.x%20+%20iFrameDim.width%20%3E%20scrolledPos.x%20+%20centerDim.width%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%09position.x%20%3D%20scrolledPos.x%20+%20centerDim.width%20-%20iFrameDim.width%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsDebugLog%28%22_leoHighlightsUpdatePopupPos%28%29%20-%20topOrBottom%3A%20%22+position%29%3B%0A%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20//%20Attempt%20to%20align%20on%20the%20right%20or%20left%20hand%20side%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28centerDim.width%20-%20anchorDim.width%20-%20iFrameDim.width%20-%20anchorScreenPos.x%20%3E%200%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20position.x%20%3D%20anchorPos.x%20+%20anchorDim.width%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20else%20if%20%28anchorScreenPos.x%20-%20anchorDim.width%20-%20iFrameDim.width%20%3E%200%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%09position.x%20%3D%20anchorPos.x%20-%20anchorDim.width%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20else%20%20//%20default%20to%20below%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20position.y%20%3D%20anchorPos.y%20+%20anchorDim.height%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsDebugLog%28%22_leoHighlightsUpdatePopupPos%28%29%20-%20sideBottom%3A%20%22+position%29%3B%0A%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Make%20sure%20that%20we%20don%27t%20go%20passed%20the%20right%20hand%20border%20*/%0A%20%20%20%20%20%20if%28position.x+iFrameDim.width%3EcenterDim.width-20%29%0A%20%20%20%20%20%20%09position.x%3DcenterDim.width-%28iFrameDim.width+20%29%3B%0A%20%20%20%20%20%20%09%09%0A%20%20%20%20%20%20//%20Make%20sure%20that%20we%20didn%27t%20go%20passed%20the%20start%0A%20%20%20%20%20%20if%28position.x%3C0%29%0A%20%20%20%20%20%20%20%20%20position.x%3D0%3B%0A%20%20%20%20%20%20if%28position.y%3C0%29%0A%20%20%20%20%20%20%09position.y%3D0%3B%0A%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22Popup%20info%20id%3A%20%20%20%20%20%20%20%22%20+iFrame.id+%22%20-%20%22+anchor.id%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5Cnscrolled%20%20%20%20%20%20%20%20%20%20%22%20+%20scrolledPos%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5Cncenter/visible%20%20%20%20%22%20+%20centerDim%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5Cnanchor%20%28absolute%29%20%22%20+%20anchorPos%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5Cnanchor%20%28screen%29%20%20%20%22%20+%20anchorScreenPos%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5CnSize%20%28anchor%29%20%20%20%20%20%22%20+%20anchorDim%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5CnSize%20%28popup%29%20%20%20%20%20%20%22%20+%20iFrameDim%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5CnResult%20pos%20%20%20%20%20%20%20%20%22%20+%20position%29%3B%0A%0A%20%20%20%20%20%20//%20Set%20the%20popup%20location%0A%20%20%20%20%20%20iFrame.style.left%20%3D%20position.x%20+%20%22px%22%3B%0A%20%20%20%20%20%20iFrame.style.top%20%20%3D%20position.y%20+%20%22px%22%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22_leoHighlightsUpdatePopupPos%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%0A%7D%0A%0A%0A/**%0A%20*%20This%20will%20show%20the%20passed%20in%20element%20as%20a%20popup%0A%20*%20%0A%20*%20@param%20anchorId%0A%20*%20@param%20size%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsShowPopup%28anchorId%2Csize%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%09var%20popup%3Dnew%20LeoHighlightsPopup%28anchorId%2Csize%29%3B%0A%20%20%20%09popup.show%28%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22_leoHighlightsShowPopup%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A%0A/**%0A%20*%20This%20will%20transform%20the%20passed%20in%20url%20to%20a%20rover%20url%0A%20*%20%0A%20*%20@param%20url%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsGetRoverUrl%28url%29%0A%7B%0A%09var%20rover%3DLEO_HIGHLIGHTS_ROVER_TAG%3B%0A%09var%20roverUrl%3D%22http%3A//rover.ebay.com/rover/1/%22+rover+%22/4?%26mpre%3D%22+encodeURI%28url%29%3B%0A%09%0A%09return%20roverUrl%3B%0A%7D%0A%0A/**%0A%20*%20Sets%20the%20size%20of%20the%20bottom%20windown%20part%0A%20*%20%0A%20*%20@param%20size%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsSetBottomSize%28size%2CclickId%29%0A%7B%0A%20%20%20/*%20Get%20the%20elements%20*/%0A%20%20%20var%20iFrameBottom%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID%29%3B%0A%20%20%20var%20iFrameDiv%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_DIV_ID%29%3B%0A%0A%20%20%20/*%20Figure%20out%20the%20correct%20sizes%20*/%0A%20%20%20var%20iFrameBottomSize%3D%28size%3D%3D1%29?LEO_HIGHLIGHTS_IFRAME_BOTTOM_CLICK_SIZE%3ALEO_HIGHLIGHTS_IFRAME_BOTTOM_HOVER_SIZE%3B%0A%20%20%20var%20divSize%3D%28size%3D%3D1%29?LEO_HIGHLIGHTS_DIV_CLICK_SIZE%3ALEO_HIGHLIGHTS_DIV_HOVER_SIZE%3B%0A%0A%20%20%20/*%20Refresh%20the%20iFrame%27s%20url%2C%20by%20removing%20the%20size%20arg%20and%20adding%20it%20again%20*/%0A%20%20%20leoHighlightsUpdateUrl%28iFrameBottom%2Csize%2CclickId%29%3B%0A%0A%20%20%20/*%20Clear%20the%20hover%20flag%2C%20if%20the%20user%20shows%20this%20at%20full%20size%20*/%0A%20%20%20_leoHighlightsPrevElem.hover%3Dsize%3D%3D1?false%3Atrue%3B%0A%0A%20%20%20_leoHighlightsSetSize%28iFrameBottom%2CiFrameBottomSize%29%3B%0A%20%20%20_leoHighlightsSetSize%28iFrameDiv%2CdivSize%29%3B%0A%7D%0A%0A%0A/**%0A%20*%20Class%20for%20a%20Popup%20%0A%20*%20%0A%20*%20@param%20anchorId%0A%20*%20@param%20size%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20LeoHighlightsPopup%28anchorId%2Csize%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22LeoHighlightsPopup%28%29%20%22%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%09this.anchorId%3DanchorId%3B%0A%20%20%20%09this.anchor%3D_leoHighlightsFindElementById%28this.anchorId%29%3B%0A%20%20%20%09this.topIframe%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_TOP_ID%29%3B%0A%20%20%20%20%20%20this.bottomIframe%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID%29%3B%0A%20%20%20%09this.iFrameDiv%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_DIV_ID%29%3B%0A%20%20%20%09%0A%20%20%20%09this.topIframe.src%3Dunescape%28this.anchor.getAttribute%28%27leoHighlights_url_top%27%29%29%3B%3B%0A%20%20%20%20%20%20this.bottomIframe.src%3Dunescape%28this.anchor.getAttribute%28%27leoHighlights_url_bottom%27%29%29%3B%3B%0A%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%221%29%20LeoHighlightsPopup%28%29%20%28%22+this.topIframe.style.top+%22%2C%20%22+this.topIframe.style.left+%22%29%22%29%3B%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%222%29%20LeoHighlightsPopup%28%29%20%28%22+this.bottomIframe.style.top+%22%2C%20%22+this.bottomIframe.style.left+%22%29%22%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%09leoHighlightsSetSize%28size%29%3B%0A%20%20%20%09%0A%20%20%20%09this.updatePos%3Dfunction%28%29%20%7B%20_leoHighlightsUpdatePopupPos%28this.iFrameDiv%2Cthis.anchor%29%7D%3B%0A%20%20%20%20%20%20this.show%3Dfunction%28%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20this.updatePos%28%29%3B%20%0A%20%20%20%20%20%20%20%20%20%20%20%20this.iFrameDiv.style.visibility%20%3D%20%22visible%22%3B%20%0A%20%20%20%20%20%20%20%20%20%20%20%20this.iFrameDiv.style.display%20%3D%20%22block%22%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20this.updatePos%28%29%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsDebugLog%28%223%29%20LeoHighlightsPopup%28%29%20%28%22+this.topIframe.style.top+%22%2C%20%22+this.topIframe.style.left+%22%29%22%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsDebugLog%28%224%29%20LeoHighlightsPopup%28%29%20%28%22+this.bottomIframe.style.top+%22%2C%20%22+this.bottomIframe.style.left+%22%29%22%29%3B%0A%20%20%20%20%20%20%7D%20%20%20%20%20%20%20%0A%20%20%20%09this.scroll%3Dfunction%28%29%20%7B%20this.updatePos%28%29%3B%7D%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22new%20LeoHighlightsPopup%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20updates%20the%20url%20for%20the%20iFrame%0A%20*%20%0A%20*%20@param%20iFrame%0A%20*%20@param%20size%0A%20*%20@param%20clickId%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsUpdateUrl%28iFrame%2Csize%2CclickId%2CdestUrl%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHighlightsUpdateUrl%28%29%20%22+destUrl%29%3B%0A%20%20%20%20%20%20var%20url%3DiFrame.src%3B%0A%20%20%20%20%20%20var%20idx%3Durl.indexOf%28%22%26size%3D%22%29%3B%0A%20%20%20%20%20%20if%28idx%3E%3D0%29%0A%20%20%20%20%20%20%20%20%20url%3Durl.substring%280%2Cidx%29%3B%0A%20%20%20%20%20%20%0A//%20%20%20%20%20%20size%3D1%3B%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHighlightsUpdateUrl%28%29%20size%3D%22+size+%22%20%20%22+url%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20if%28size%21%3Dnull%29%0A%20%20%20%20%20%20%20%20%20url+%3D%28%22%26size%3D%22+size%29%3B%0A%20%20%20%20%20%20if%28clickId%21%3Dnull%29%0A%20%20%20%20%20%20%20%20%20url+%3D%28%22%26clickId%3D%22+clickId%29%3B%0A%20%20%20%20%20%20if%28destUrl%21%3Dnull%29%0A%20%20%20%20%20%20%20%20%20url+%3D%28%22%26url%3D%22+destUrl%29%3B%0A%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHighlightsUpdateUrl%28%29%20%22+url%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20iFrame.src%3Durl%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHighlightsUpdateUrl%28%29%22%2Ce%29%3B%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A%0A%0A/**%0A*%0A*%20This%20can%20be%20used%20to%20close%20an%20iframe%0A*%0A*%20@param%20id%0A*%20@return%0A*/%0Afunction%20leoHighlightsSetSize%28size%2CclickId%29%0A%7B%0A%09try%0A%09%7B%0A%09%09/*%20Get%20the%20element%20*/%0A%20%20%09%09var%20iFrameTop%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_TOP_ID%29%3B%0A%0A%20%20%09%09/*%20Figure%20out%20the%20correct%20sizes%20*/%0A%20%20%09%09var%20iFrameTopSize%3DLEO_HIGHLIGHTS_IFRAME_TOP_SIZE%3B%0A%20%20%09%09%0A%20%20%09%09/*%20Refresh%20the%20iFrame%27s%20url%2C%20by%20removing%20the%20size%20arg%20and%20adding%20it%20again%20*/%0A%20%20%09%09leoHighlightsUpdateUrl%28iFrameTop%2Csize%2CclickId%29%3B%0A%20%20%09%09%0A%20%20%09%09_leoHighlightsSetSize%28iFrameTop%2CiFrameTopSize%29%3B%0A%20%20%20%20%20%20_leoHighlightsSetBottomSize%28size%2CclickId%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Clear%20the%20hover%20flag%2C%20if%20the%20user%20shows%20this%20at%20full%20size%20*/%0A%20%20%20%20%20%20if%28size%3D%3D1%26%26_leoHighlightsPrevElem%29%0A%20%20%20%20%20%20%20%20%20_leoHighlightsPrevElem.hover%3Dfalse%3B%20%20%20%20%20%20%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22leoHighlightsSetSize%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A%0A/**%0A%20*%20Start%20the%20popup%20a%20little%20bit%20delayed.%0A%20*%20Somehow%20IE%20needs%20some%20time%20to%20find%20the%20element%20by%20id.%0A%20*%20%0A%20*%20@param%20anchorId%0A%20*%20@param%20size%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsShowPopup%28anchorId%2Csize%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%09%09var%20elem%3D_leoHighlightsFindElementById%28anchorId%29%3B%0A%20%20%09%09if%28_leoHighlightsPrevElem%26%26%28_leoHighlightsPrevElem%21%3Delem%29%29%0A%20%20%09%09%09_leoHighlightsPrevElem.shown%3Dfalse%3B%0A%20%20%09%09elem.shown%3Dtrue%3B%0A%09%09_leoHighlightsPrevElem%3Delem%3B%0A%09%09%0A%09%09_leoHighlightsDebugLog%28%22leoHighlightsShowPopup%28%29%20%22+_leoHighlightsPrevElem%29%3B%09%09%0A%20%20%20%09%0A%20%20%20%09/*%20FF%20needs%20to%20find%20the%20element%20first%20*/%0A%20%20%20%09_leoHighlightsFindElementById%28anchorId%29%3B%0A%20%20%20%09%0A%20%20%20%09setTimeout%28%22_leoHighlightsShowPopup%28%5C%27%22+anchorId+%22%5C%27%2C%5C%27%22+size+%22%5C%27%29%3B%22%2C10%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22leoHighlightsShowPopup%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A/**%0A*%0A*%20This%20can%20be%20used%20to%20close%20an%20iframe%0A*%0A*%20@param%20id%0A*%20@return%0A*/%0Afunction%20leoHighlightsHideElem%28id%29%0A%7B%0A%09try%0A%09%7B%0A%09%09/*%20Get%20the%20appropriate%20sizes%20*/%0A%20%20%09%09var%20elem%3D_leoHighlightsFindElementById%28id%29%3B%0A%20%20%09%09if%28elem%29%0A%20%20%09%09%09elem.style.visibility%3D%22hidden%22%3B%0A%20%20%09%09%0A%20%20%09%09/*%20Clear%20the%20page%20for%20the%20next%20run%20through%20*/%0A%20%20%09%09var%20iFrame%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_TOP_ID%29%3B%0A%20%20%09%09if%28iFrame%29%0A%20%20%09%09%09iFrame.src%3D%22about%3Ablank%22%3B%0A%20%20%20%20%20%20var%20iFrame%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID%29%3B%0A%20%20%20%20%20%20if%28iFrame%29%0A%20%20%20%20%20%20%20%20%20iFrame.src%3D%22about%3Ablank%22%3B%0A%20%20%09%09%0A%20%20%09%09%0A%20%20%09%09if%28_leoHighlightsPrevElem%29%0A%20%20%09%09%7B%0A%20%20%09%09%09_leoHighlightsPrevElem.shown%3Dfalse%3B%0A%20%20%09%09%09_leoHighlightsPrevElem%3Dnull%3B%0A%20%20%09%09%7D%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22leoHighlightsHideElem%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A%0A/**%0A*%0A*%20This%20can%20be%20used%20to%20close%20an%20iframe.%0A*%20Since%20the%20iFrame%20is%20reused%20the%20frame%20only%20gets%20hidden%0A*%0A*%20@return%0A*/%0Afunction%20leoHighlightsIFrameClose%28%29%0A%7B%0A%20%20try%0A%20%20%7B%0A%09%20%20_leoHighlightsSimpleGwCallBack%28%22LeoHighlightsHideIFrame%22%29%3B%0A%20%20%7D%0A%20%20catch%28e%29%0A%20%20%7B%0A%09%20%20_leoHighlightsReportExeception%28%22leoHighlightsIFrameClose%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20should%20handle%20the%20click%20events%0A%20*%20%0A%20*%20@param%20anchorId%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsHandleClick%28anchorId%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%09%09var%20anchor%3D_leoHighlightsFindElementById%28anchorId%29%3B%0A%20%20%09%09anchor.hover%3Dfalse%3B%0A%20%20%09%09if%28anchor.startTimer%29%0A%20%20%09%09%09clearTimeout%28anchor.startTimer%29%3B%0A%20%20%20%09%0A%20%20%20%20%20%20/*%20Report%20the%20click%20event%20*/%0A%20%20%20%20%20%20leoHighlightsReportEvent%28%22clicked%22%2C%20window.document.domain%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsGetAttrib%28anchor%2C%27leohighlights_keywords%27%29%2Cnull%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsGetAttrib%28anchor%2C%27leohighlights_accept%27%29%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsGetAttrib%28anchor%2C%27leohighlights_reject%27%29%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%09leoHighlightsShowPopup%28anchorId%2C1%29%3B%0A%20%20%20%09return%20false%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22leoHighlightsHandleClick%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A/**%0A%20*%20This%20should%20handle%20the%20hover%20events%0A%20*%20%0A%20*%20@param%20anchorId%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsHandleHover%28anchorId%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%09%09var%20anchor%3D_leoHighlightsFindElementById%28anchorId%29%3B%0A%20%20%09%09anchor.hover%3Dtrue%3B%0A%20%20%09%09%0A%20%20%20%20%20%20/*%20Report%20the%20hover%20event%20*/%0A%20%20%20%20%20%20leoHighlightsReportEvent%28%22hovered%22%2C%20window.document.domain%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsGetAttrib%28anchor%2C%27leohighlights_keywords%27%29%2Cnull%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsGetAttrib%28anchor%2C%27leohighlights_accept%27%29%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsGetAttrib%28anchor%2C%27leohighlights_reject%27%29%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%09leoHighlightsShowPopup%28anchorId%2C0%29%3B%0A%20%20%20%09return%20false%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22leoHighlightsHandleHover%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A/**%0A%20*%20This%20will%20handle%20the%20mouse%20over%20setup%20timers%20for%20the%20appropriate%20timers%0A%20*%20%0A%20*%20@param%20id%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsHandleMouseOver%28id%29%0A%7B%0A%09try%0A%09%7B%0A%09%09var%20anchor%3D_leoHighlightsFindElementById%28id%29%3B%09%09%0A%0A%09%09/*%20Clear%20the%20end%20timer%20if%20required%20*/%0A%09%09if%28anchor.endTimer%29%0A%09%09%09clearTimeout%28anchor.endTimer%29%3B%0A%09%09anchor.endTimer%3Dnull%3B%0A%09%09%0A%09%09anchor.style.background%3DLEO_HIGHLIGHTS_BACKGROUND_STYLE_HOVER%3B%0A%09%09%0A%09%09/*%20The%20element%20is%20already%20showing%20we%20are%20done%20*/%0A%09%09if%28anchor.shown%29%0A%09%09%09return%3B%0A%09%09%0A%09%09/*%20Setup%20the%20start%20timer%20if%20required%20*/%0A%09%09anchor.startTimer%3DsetTimeout%28function%28%29%7B%0A%09%09%09leoHighlightsHandleHover%28anchor.id%29%3B%0A%09%09%09anchor.hover%3Dtrue%3B%0A%09%09%09%7D%2C%0A%09%09%09LEO_HIGHLIGHTS_SHOW_DELAY_MS%29%3B%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22leoHighlightsHandleMouseOver%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20handle%20the%20mouse%20over%20setup%20timers%20for%20the%20appropriate%20timers%0A%20*%20%0A%20*%20@param%20id%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsHandleMouseOut%28id%29%0A%7B%0A%09try%0A%09%7B%09%0A%09%09var%20anchor%3D_leoHighlightsFindElementById%28id%29%3B%0A%09%09%0A%09%09/*%20Clear%20the%20start%20timer%20if%20required%20*/%0A%09%09if%28anchor.startTimer%29%0A%09%09%09clearTimeout%28anchor.startTimer%29%3B%0A%09%09anchor.startTimer%3Dnull%3B%0A%09%09%0A%09%09anchor.style.background%3DLEO_HIGHLIGHTS_BACKGROUND_STYLE_DEFAULT%3B%0A%09%09if%28%21anchor.shown||%21anchor.hover%29%0A%09%09%09return%3B%0A%09%09%0A%09%09/*%20Setup%20the%20start%20timer%20if%20required%20*/%0A%09%09anchor.endTimer%3DsetTimeout%28function%28%29%7B%0A%09%09%09leoHighlightsHideElem%28LEO_HIGHLIGHTS_IFRAME_DIV_ID%29%3B%0A%09%09%09anchor.shown%3Dfalse%3B%0A%09%09%09_leoHighlightsPrevElem%3Dnull%3B%0A%09%09%09%7D%2CLEO_HIGHLIGHTS_HIDE_DELAY_MS%29%3B%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22leoHighlightsHandleMouseOut%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A%0A/**%0A%20*%20This%20handles%20the%20mouse%20movement%20into%20the%20currently%20opened%20window.%0A%20*%20Just%20clear%20the%20close%20timer%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsHandleIFrameMouseOver%28%29%0A%7B%0A%09try%0A%09%7B%0A%09%09if%28_leoHighlightsPrevElem%26%26_leoHighlightsPrevElem.endTimer%29%0A%09%09%09clearTimeout%28_leoHighlightsPrevElem.endTimer%29%3B%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22leoHighlightsHandleIFrameMouseOver%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A%0A/**%0A%20*%20This%20handles%20the%20mouse%20movement%20into%20the%20currently%20opened%20window.%0A%20*%20Just%20clear%20the%20close%20timer%0A%20*%20%0A%20*%20@param%20id%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsHandleIFrameMouseOut%28%29%0A%7B%0A%09try%0A%09%7B%0A%09%09if%28_leoHighlightsPrevElem%29%0A%09%09%09leoHighlightsHandleMouseOut%28_leoHighlightsPrevElem.id%29%3B%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22leoHighlightsHandleIFrameMouseOut%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A/**%0A%20*%20This%20is%20a%20method%20is%20used%20to%20make%20the%20javascript%20within%20IE%20runnable%0A%20*/%0Avar%20leoHighlightsRanUpdateDivs%3Dfalse%3B%0Afunction%20leoHighlightsUpdateDivs%28%29%0A%7B%0A%09try%0A%09%7B%0A%09%09/*%20Check%20if%20this%20is%20an%20IE%20browser%20and%20if%20divs%20have%20been%20updated%20already%20*/%0A%09%09if%28document.all%26%26%21leoHighlightsRanUpdateDivs%29%0A%09%09%7B%0A%09%09%09leoHighlightsRanUpdateDivs%3Dtrue%3B%20//%20Set%20early%20to%20prevent%20running%20twice%0A%09%09%09for%28var%20i%3D0%3Bi%3CLEO_HIGHLIGHTS_MAX_HIGHLIGHTS%3Bi++%29%0A%09%09%09%7B%0A%09%09%09%09var%20id%3D%22leoHighlights_Underline_%22+i%3B%0A%09%09%09%09var%20elem%3D_leoHighlightsFindElementById%28id%29%3B%0A%09%09%09%09if%28elem%3D%3Dnull%29%0A%09%09%09%09%09break%3B%0A%09%09%09%09%0A%09%09%09%09if%28%21elem.leoChanged%29%0A%09%09%09%09%7B%0A%09%09%09%09%09elem.leoChanged%3Dtrue%3B%0A%09%09%09%09%0A%09%09%09%09%09/*%20This%20will%20make%20javaScript%20runnable%20*/%09%09%09%09%0A%09%09%09%09%09elem.outerHTML%3Delem.outerHTML%3B%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22leoHighlightsUpdateDivs%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A%0Aif%28document.all%29%0A%09setTimeout%28leoHighlightsUpdateDivs%2C200%29%3B%0A%0A%0A/**%0A%20*%20This%20is%20used%20to%20report%20events%20to%20the%20plugin%0A%20*%20@param%20key%0A%20*%20@param%20domain%0A%20*%20@param%20keywords%0A%20*%20@param%20vendorId%0A%20*%20@param%20accept%0A%20*%20@param%20reject%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsReportEvent%28key%2C%20domain%2Ckeywords%2CvendorId%2Caccept%2Creject%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20var%20gwObj%20%3D%20new%20Gateway%28%29%3B%0A%20%20%20%20%20%20gwObj.addParam%28%22key%22%2Ckey%29%3B%0A%20%20%20%20%20%20if%28domain%21%3Dnull%29%0A%20%20%20%20%20%20%20%20%20gwObj.addParam%28%22domain%22%2Cdomain%29%3B%0A%20%20%20%20%20%20if%28keywords%21%3Dnull%29%0A%20%20%20%20%20%20%20%20%20gwObj.addParam%28%22keywords%22%2Ckeywords%29%3B%0A%20%20%20%20%20%20if%28vendorId%21%3Dnull%29%0A%20%20%20%20%20%20%20%20%20gwObj.addParam%28%22vendorId%22%2CvendorId%29%3B%0A%20%20%20%20%20%20if%28accept%21%3Dnull%29%0A%20%20%20%20%20%20%20%20%20gwObj.addParam%28%22accept%22%2Caccept%29%3B%0A%20%20%20%20%20%20if%28reject%21%3Dnull%29%0A%20%20%20%20%20%20%20%20%20gwObj.addParam%28%22reject%22%2Creject%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20gwObj.callName%28%22LeoHighlightsEvent%22%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHighlights%28%29%22%2Ce%29%3B%20%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20expand%20or%20collapse%20the%20window%20base%20on%20it%20prior%20state%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsToggleSize%28clickId%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%20%20%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHighlightsToggleSize%28%29%20%22+_leoHighlightsPrevElem%29%3B%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Get%20the%20hover%20flag%20and%20change%20the%20status%20*/%0A%20%20%20%20%20%20var%20size%3D_leoHighlightsPrevElem.hover?1%3A0%3B%0A%20%20%20%20%20%20_leoHighlightsSetBottomSize%28size%2CclickId%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHighlightsToggleSize%28%29%22%2Ce%29%3B%20%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20Call%20into%20the%20kvm%20that%20will%20then%20do%20a%20callback%20into%20the%20top%20window%0A%20*%20The%20top%20window%20will%20then%20call%20leoH%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsSetSecondaryWindowUrl%28url%2C%20customerId%2C%20phraseId%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%20%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHighlightsSetSecondaryWindowUrl%28%29%20%22+url%29%3B%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20var%20gwObj%20%3D%20new%20Gateway%28%29%3B%0A%20%20%20%20%20%20gwObj.addParam%28%22url%22%2C%20url%29%3B%0A%20%20%20%20%20%20gwObj.addParam%28%22phraseId%22%2C%20phraseId%29%3B%0A%20%20%20%20%20%20gwObj.addParam%28%22customerId%22%2C%20customerId%29%3B%0A%20%20%20%20%20%20gwObj.callName%28%22LeoHighlightsSetSecondaryWindowUrl%22%29%3B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHighlightsSetSecondaryWindowUrl%28%29%22%2Ce%29%3B%20%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20Call%20into%20the%20kvm%20that%20will%20then%20do%20a%20callback%20into%20the%20top%20window%0A%20*%20The%20top%20window%20will%20then%20call%20leoH%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsSetSecondaryWindowUrlCallback%28url%2C%20customerId%2C%20phraseId%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%20%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHighlightsSetSecondaryWindowUrlCallback%28%29%20%22+url%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Clear%20the%20hover%20flag%2C%20if%20the%20user%20shows%20this%20at%20full%20size%20*/%0A%20%20%20%20%20%20var%20size%3D_leoHighlightsPrevElem.hover?0%3A1%3B%20%20%20%20%20%20%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHighlightsSetSecondaryWindowUrlCallback%28%29%20%22+_leoHighlightsPrevElem+%22%20--%20%22+_leoHighlightsPrevElem.hover%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Get%20the%20elements%20*/%0A%20%20%20%20%20%20var%20iFrameBottom%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID%29%3B%0A%20%20%20%20%20%20leoHighlightsUpdateUrl%28iFrameBottom%2Csize%2Cnull%2Curl%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHighlightsSetSecondaryWindowUrlCallback%28%29%20%22+url%29%3B%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHighlightsSetSecondaryWindowUrlCallback%28%29%22%2Ce%29%3B%20%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20set%20the%20text%20to%20the%20Top%20%0A%20*%20%0A%20*%20@param%20txt%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsSetExpandTxt%28txt%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%20%0A%20%20%20%20%20%20var%20topIFrame%20%3D%20_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_TOP_ID%29%3B%0A%20%20%20%20%20%20if%28topIFrame%3D%3Dnull%29%0A%20%20%20%20%20%20%20%20%20return%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Get%20the%20current%20url%20*/%0A%20%20%20%20%20%20var%20url%3DtopIFrame.src%3B%20%20%20%20%20%20%0A%20%20%20%20%20%20if%28url%3D%3Dnull%29%0A%20%20%20%20%20%20%20%20%20return%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Extract%20the%20previous%20hash%20if%20present%20*/%0A%20%20%20%20%20%20var%20idx%3D-1%3B%20%20%20%20%20%20%0A%20%20%20%20%20%20if%28%28idx%3Durl.indexOf%28%27%23%27%29%29%3E0%29%0A%20%20%20%20%20%20%20%20%20url%3Durl.substring%280%2Cidx%29%3B%0A%0A%20%20%20%20%20%20/*%20Append%20the%20text%20to%20the%20end%20*/%0A%20%20%20%20%20%20url+%3D%22%23%22+encodeURI%28txt%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Set%20the%20iframe%20with%20the%20new%20url%20that%20contains%20the%20hash%20tag%20*/%0A%20%20%20%20%20%20topIFrame.src%3Durl%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHighlightsSetExpandTxt%28%29%22%2Ce%29%3B%20%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A/*----------------------------------------------------------------------*/%0A/*%20Methods%20provided%20to%20the%20highlight%20providers...%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20*/%0A/*----------------------------------------------------------------------*/%0A%0A/**%0A%20*%20This%20will%20set%20the%20expand%20text%20for%20the%20Top%20window%0A%20*/%0Afunction%20leoHL_SetExpandTxt%28txt%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHL_SetExpandTxt%28%29%20%22+txt%29%3B%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20_leoHighlightsSimpleGwCallBack%28%22LeoHighlightsSetExpandTxt%22%2C%22expandTxt%22%2Ctxt%29%3B%20%20%20%20%20%20%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHL_SetExpandTxt%28%29%22%2Ce%29%3B%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20redirect%20the%20top%20window%20to%20the%20passed%20in%20url%0A%20*%20%0A%20*%20@param%20url%0A%20*%20@param%20parentId%0A%20*%20@return%0A%20*/%0Afunction%20leoHL_RedirectTop%28url%2CparentId%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%20%0A%20%20%20%20%20%20try%7B%0A%20%20%20%20%20%20%20%20%20var%20domain%3D_leoHighlightsGetUrlArg%28window.document.URL%2C%22domain%22%29%0A%20%20%20%20%20%20%20%20%20var%20keywords%3D_leoHighlightsGetUrlArg%28window.document.URL%2C%22keywords%22%29%0A%20%20%20%20%20%20%20%20%20var%20vendorId%3D_leoHighlightsGetUrlArg%28window.document.URL%2C%22vendorId%22%29%0A%20%20%20%20%20%20leoHighlightsReportEvent%28%22clickthrough%22%2C%20domain%2Ckeywords%2C%20vendorId%29%3B%0A%20%20%20%20%20%20%7Dcatch%28e%29%7B%0A%20%20%20%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHL_RedirectTop%28%29%22%2Ce%29%3B%20%20%20%20%0A%20%20%20%20%20%20%7D%0A%20%20%09%09%0A%20%20%20%09_leoHighlightsRedirectTop%28url%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22leoHL_RedirectTop%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20redirect%20the%20top%20window%20to%20the%20passed%20in%20url%0A%20*%20%0A%20*%20@param%20url%0A%20*%20@param%20parentId%0A%20*%20@return%0A%20*/%0Afunction%20LeoHL_RedirectTop%28url%2CparentId%29%0A%7B%0A%20%20%20leoHL_RedirectTop%28url%2CparentId%29%3B%0A%7D%0A%0A/**%0A%20*%20This%20will%20redirect%20the%20top%20window%20to%20the%20passed%20in%20url%0A%20*%20%0A%20*%20@param%20url%0A%20*%20@param%20parentId%0A%20*%20@return%0A%20*/%0Afunction%20leoHL_RedirectTopAd%28url%2CparentId%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%20%0A%20%20%20%20%20%20try%7B%0A%20%20%20%20%20%20%20%20%20var%20domain%3D_leoHighlightsGetUrlArg%28window.document.URL%2C%22domain%22%29%0A%20%20%20%20%20%20%20%20%20var%20keywords%3D_leoHighlightsGetUrlArg%28window.document.URL%2C%22keywords%22%29%0A%20%20%20%20%20%20%20%20%20var%20vendorId%3D_leoHighlightsGetUrlArg%28window.document.URL%2C%22vendorId%22%29%0A%20%20%20%20%20%20leoHighlightsReportEvent%28%22advertisement.click%22%2C%20domain%2Ckeywords%2C%20vendorId%29%3B%0A%20%20%20%20%20%20%7Dcatch%28e%29%7B%0A%20%20%20%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHL_RedirectTopAd%28%29%22%2Ce%29%3B%20%20%20%20%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20_leoHighlightsRedirectTop%28url%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHL_RedirectTopAd%28%29%22%2Ce%29%3B%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A%0A/**%0A%20*%20This%20will%20set%20the%20size%20of%20the%20iframe%0A%20*%20%0A%20*%20@param%20url%0A%20*%20@param%20parentId%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20leoHl_setSize%28size%2Curl%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%09/*%20Get%20the%20clickId%20*/%0A%20%20%20%09var%20clickId%3D_leoHighlightsGetUrlArg%28%20url%2C%22clickId%22%29%0A%20%20%20%09%0A%20%20%20%20%20%20var%20gwObj%20%3D%20new%20Gateway%28%29%3B%0A%20%20%20%20%20%20gwObj.addParam%28%22size%22%2Csize%29%3B%0A%20%20%20%20%20%20if%28clickId%29%0A%20%20%20%20%20%20%20%20%20gwObj.addParam%28%22clickId%22%2CclickId+%22_blah%22%29%3B%0A%20%20%20%20%20%20gwObj.callName%28%22LeoHighlightsSetSize%22%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22leoHl_setSize%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20toggle%20the%20size%20of%20the%20window%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20leoHl_ToggleSize%28%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20var%20gwObj%20%3D%20new%20Gateway%28%29%3B%0A%20%20%20%20%20%20gwObj.callName%28%22LeoHighlightsToggleSize%22%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHl_ToggleSize%28%29%22%2Ce%29%3B%20%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A&quot;);
&lt;/script&gt;&lt;span id=&quot;leoHighlights_iframe_modal_span_container&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/1498278314678672315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2010/04/how-to-implement-rsa-encryption-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/1498278314678672315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/1498278314678672315'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2010/04/how-to-implement-rsa-encryption-c.html' title='How to Generate RSA Encryption keys (C#) ?'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-t8IraWou0fkZknPaHAN_nkix1T8Mxeo_WVZJxpyHPIODveHpHKsAadpxFko7HNZFeoUJ8pY8W6dK5O7WS67P4fbDkEZDxd5uci7idoc1ZeeGMV0p9U8hRfwelkm7_LB6fbB77b0yI1A/s72-c/1234.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-3610342285277010273</id><published>2010-03-26T00:19:00.000-07:00</published><updated>2011-09-16T07:12:02.071-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Technology"/><title type='text'>How to convert Image format programmatically (.NET) ?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;112&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-t8IraWou0fkZknPaHAN_nkix1T8Mxeo_WVZJxpyHPIODveHpHKsAadpxFko7HNZFeoUJ8pY8W6dK5O7WS67P4fbDkEZDxd5uci7idoc1ZeeGMV0p9U8hRfwelkm7_LB6fbB77b0yI1A/s200/1234.jpg&quot; width=&quot;200&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
To convert an Image from one format to another, use the following Method.&lt;br /&gt;
Here, the known formats include, Bmp, Emf, Exif, Gif, Icon, Jpeg, Png, Tiff, Wmf etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
First, include the following Namespaces;&lt;br /&gt;
&lt;div style=&quot;color: #e69138;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;using System.IO.Path;&lt;br /&gt;
using System.Drawing.Imaging;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
Now assume you have Tiff image file in the following directory,&lt;br /&gt;
&lt;div style=&quot;color: #e69138;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;C:/Temp/myImage.tif&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
Assume you want to convert it to png and save it in the same directory, just use the below line of code in your project.&lt;br /&gt;
&lt;div style=&quot;color: #e69138;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;ConvertImageFormat(&quot;C:/Temp/myImage.tif&quot;, ImageFormat.Png)&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
The implementation of the above method is given below,&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;private bool ConvertImageFormat(String imagepath, ImageFormat format)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: #e69138;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;bool status = false;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;string newfile;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;try {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bitmap obj = new Bitmap(imagepath);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; newfile = GetDirectoryName(imagepath) + &quot;\\&quot;&amp;nbsp;    &lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + GetFileNameWithoutExtension(imagepath) + &quot;.&quot;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + format.ToString();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj.Save(newfile, format);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj.Dispose();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status = true;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;catch(SystemException) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return status;&lt;br /&gt;
}&lt;/span&gt;     &lt;/div&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/3610342285277010273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2010/03/how-to-convert-image-from-one-format-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/3610342285277010273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/3610342285277010273'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2010/03/how-to-convert-image-from-one-format-to.html' title='How to convert Image format programmatically (.NET) ?'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-t8IraWou0fkZknPaHAN_nkix1T8Mxeo_WVZJxpyHPIODveHpHKsAadpxFko7HNZFeoUJ8pY8W6dK5O7WS67P4fbDkEZDxd5uci7idoc1ZeeGMV0p9U8hRfwelkm7_LB6fbB77b0yI1A/s72-c/1234.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-1470265456318130485</id><published>2010-03-16T23:01:00.000-07:00</published><updated>2011-09-16T07:18:35.251-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Technology"/><category scheme="http://www.blogger.com/atom/ns#" term="WCF"/><title type='text'>WCF and HTTP Error 404.3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;112&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-t8IraWou0fkZknPaHAN_nkix1T8Mxeo_WVZJxpyHPIODveHpHKsAadpxFko7HNZFeoUJ8pY8W6dK5O7WS67P4fbDkEZDxd5uci7idoc1ZeeGMV0p9U8hRfwelkm7_LB6fbB77b0yI1A/s200/1234.jpg&quot; width=&quot;200&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
Once you create a WCF Service from Visual Studio 2008 and after publishing to IIS, when you browse your Service, you will receive HTTP 404.3 Error. But you will not find any discrepancies in IIS Configuration of the Service.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
This is due to Windows Service of &lt;leo_highlight id=&quot;leoHighlights_Underline_0&quot; leohighlights_keywords=&quot;microsoft&quot; leohighlights_underline=&quot;true&quot; leohighlights_url_bottom=&quot;http%3A//shortcuts.thebrowserhighlighter.com/leonardo/plugin/highlights/3_1/tbh_highlightsBottom.jsp?keywords%3Dmicrosoft%26domain%3Dwww.blogger.com&quot; leohighlights_url_top=&quot;http%3A//shortcuts.thebrowserhighlighter.com/leonardo/plugin/highlights/3_1/tbh_highlightsTop.jsp?keywords%3Dmicrosoft%26domain%3Dwww.blogger.com&quot; onclick=&quot;leoHighlightsHandleClick(&#39;leoHighlights_Underline_0&#39;)&quot; onmouseout=&quot;leoHighlightsHandleMouseOut(&#39;leoHighlights_Underline_0&#39;)&quot; onmouseover=&quot;leoHighlightsHandleMouseOver(&#39;leoHighlights_Underline_0&#39;)&quot; style=&quot;-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: transparent none repeat scroll 0% 50%; border-bottom: 2px solid rgb(255, 255, 150); cursor: pointer; display: inline;&quot;&gt;Microsoft&lt;/leo_highlight&gt; .NET Framework 3.0 not fully installed (not activated the WCF Windows Services) and not because of Windows Service of IIS. So follow the below procedure if you are using Windows, Vista and for different operating systems, it is found in different locations.&lt;br /&gt;
&lt;br /&gt;
Vista&amp;nbsp; : Control Panel -&amp;gt; Program and Features -&amp;gt; Turn on/ off Windows Features -&amp;gt; &lt;leo_highlight id=&quot;leoHighlights_Underline_0&quot; leohighlights_keywords=&quot;microsoft&quot; leohighlights_underline=&quot;true&quot; leohighlights_url_bottom=&quot;http%3A//shortcuts.thebrowserhighlighter.com/leonardo/plugin/highlights/3_1/tbh_highlightsBottom.jsp?keywords%3Dmicrosoft%26domain%3Dblogs.msdn.com&quot; leohighlights_url_top=&quot;http%3A//shortcuts.thebrowserhighlighter.com/leonardo/plugin/highlights/3_1/tbh_highlightsTop.jsp?keywords%3Dmicrosoft%26domain%3Dblogs.msdn.com&quot; onclick=&quot;leoHighlightsHandleClick(&#39;leoHighlights_Underline_0&#39;)&quot; onmouseout=&quot;leoHighlightsHandleMouseOut(&#39;leoHighlights_Underline_0&#39;)&quot; onmouseover=&quot;leoHighlightsHandleMouseOver(&#39;leoHighlights_Underline_0&#39;)&quot; style=&quot;-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: transparent none repeat scroll 0% 0%; border-bottom: 2px solid rgb(255, 255, 150); cursor: pointer; display: inline;&quot;&gt;Microsoft&lt;/leo_highlight&gt;.NET Framework 3.0&lt;br /&gt;
&lt;br /&gt;
Now, Install the following Components.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Windows Communication Foundation HTTP Activation&lt;/li&gt;
&lt;li&gt;Windows Communication Foundation Non-HTTP Activation&lt;/li&gt;
&lt;/ul&gt;You can do the installation manually by running &quot;ServiceModelReg.exe&quot;, which was found at %Windows%\&lt;leo_highlight id=&quot;leoHighlights_Underline_1&quot; leohighlights_keywords=&quot;microsoft&quot; leohighlights_underline=&quot;true&quot; leohighlights_url_bottom=&quot;http%3A//shortcuts.thebrowserhighlighter.com/leonardo/plugin/highlights/3_1/tbh_highlightsBottom.jsp?keywords%3Dmicrosoft%26domain%3Dblogs.msdn.com&quot; leohighlights_url_top=&quot;http%3A//shortcuts.thebrowserhighlighter.com/leonardo/plugin/highlights/3_1/tbh_highlightsTop.jsp?keywords%3Dmicrosoft%26domain%3Dblogs.msdn.com&quot; onclick=&quot;leoHighlightsHandleClick(&#39;leoHighlights_Underline_1&#39;)&quot; onmouseout=&quot;leoHighlightsHandleMouseOut(&#39;leoHighlights_Underline_1&#39;)&quot; onmouseover=&quot;leoHighlightsHandleMouseOver(&#39;leoHighlights_Underline_1&#39;)&quot; style=&quot;-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: transparent none repeat scroll 0% 50%; border-bottom: 2px solid rgb(255, 255, 150); cursor: pointer; display: inline;&quot;&gt;Microsoft&lt;/leo_highlight&gt;.Net\Framework\v3.0\Windows Communication Foundation\&lt;br /&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;&lt;/div&gt;&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;&lt;/div&gt;&lt;span id=&quot;leoHighlights_iframe_modal_span_container&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div id=&quot;leoHighlights_iframe_modal_div_container&quot; onmouseout=&quot;leoHighlightsHandleIFrameMouseOut();&quot; onmouseover=&quot;leoHighlightsHandleIFrameMouseOver();&quot; style=&quot;display: none; height: 391px; position: absolute; visibility: hidden; width: 520px; z-index: 2147483647;&quot;&gt;&lt;iframe allowtransparency=&quot;true&quot; src=&quot;about:blank&quot; frameborder=&quot;0&quot; height=&quot;294&quot; hspace=&quot;0&quot; id=&quot;leoHighlights_top_iframe&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; name=&quot;leoHighlights_top_iframe&quot; scrolling=&quot;no&quot; style=&quot;height: 294px; left: 0px; position: absolute; top: 0px; width: 520px; z-index: 2147483647;&quot; title=&quot;leoHighlights_top_iframe&quot; vspace=&quot;0&quot; width=&quot;520&quot;&gt;&lt;/iframe&gt;&lt;span id=&quot;leoHighlights_iframe_modal_span_container&quot;&gt;            &lt;iframe allowtransparency=&quot;true&quot; src=&quot;about:blank&quot; frameborder=&quot;0&quot; height=&quot;&quot; hspace=&quot;0&quot; id=&quot;leoHighlights_bottom_iframe&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; name=&quot;leoHighlights_bottom_iframe&quot; scrolling=&quot;no&quot; style=&quot;left: 96px; position: absolute; top: 294px; z-index: 2147483647;&quot; title=&quot;leoHighlights_bottom_iframe&quot; vspace=&quot;0&quot; width=&quot;&quot;&gt;&lt;/iframe&gt; &lt;/span&gt;&lt;/div&gt;&lt;script defer=&quot;defer&quot; type=&quot;text/javascript&quot;&gt;
   var LEO_HIGHLIGHTS_INFINITE_LOOP_COUNT =              300;
   var LEO_HIGHLIGHTS_MAX_HIGHLIGHTS =                   50;
   var LEO_HIGHLIGHTS_IFRAME_TOP_ID =                    &quot;leoHighlights_top_iframe&quot;;
   var LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID =                 &quot;leoHighlights_bottom_iframe&quot;;
   var LEO_HIGHLIGHTS_IFRAME_DIV_ID =                    &quot;leoHighlights_iframe_modal_div_container&quot;;
      
   var LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_WIDTH =     520;
   var LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_HEIGHT =    391;
   
   var LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_WIDTH =      520;
   var LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_HEIGHT =     665;
   
   var LEO_HIGHLIGHTS_IFRAME_TOP_POS_X =                 0;
   var LEO_HIGHLIGHTS_IFRAME_TOP_POS_Y =                 0;
   var LEO_HIGHLIGHTS_IFRAME_TOP_WIDTH =                 520;
   var LEO_HIGHLIGHTS_IFRAME_TOP_HEIGHT =                294;
   
   var LEO_HIGHLIGHTS_IFRAME_BOTTOM_POS_X =              96;
   var LEO_HIGHLIGHTS_IFRAME_BOTTOM_POS_Y =              294;
   var LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_WIDTH =    425;
   var LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_HEIGHT =   97;
   var LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_WIDTH =     425;
   var LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_HEIGHT =    371;
         
   var LEO_HIGHLIGHTS_SHOW_DELAY_MS =                    300;
   var LEO_HIGHLIGHTS_HIDE_DELAY_MS =                    750;
   
   var LEO_HIGHLIGHTS_BACKGROUND_STYLE_DEFAULT =         &quot;transparent none repeat scroll 0% 0%&quot;;
   var LEO_HIGHLIGHTS_BACKGROUND_STYLE_HOVER =           &quot;rgb(245, 245, 0) none repeat scroll 0% 0%&quot;;
   var LEO_HIGHLIGHTS_ROVER_TAG =                        &quot;711-36858-13496-14&quot;;

   createInlineScriptElement(&quot;var%20LEO_HIGHLIGHTS_DEBUG%20%3D%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20false%3B%0Avar%20LEO_HIGHLIGHTS_DEBUG_POS%20%3D%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20false%3B%0A%20%20%20%0Avar%20_leoHighlightsPrevElem%20%3D%20null%3B%0A%0A/**%0A%20*%20Checks%20if%20the%20passed%20in%20class%20exists%0A%20*%20@param%20c%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsClassExists%28c%29%20%7B%0A%20%20%20return%20typeof%28c%29%20%3D%3D%20%22function%22%20%26%26%20typeof%28c.prototype%29%20%3D%3D%20%22object%22%20?%20true%20%3A%20false%3B%0A%7D%0A%0A/**%0A%20*%20Checks%20if%20the%20firebug%20console%20is%20available%0A%20*%20@param%20c%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsFirebugConsoleAvailable%28c%29%20%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20if%28_leoHighlightsClassExists%28_FirebugConsole%29%20%26%26%20%0A%20%20%20%20%20%20%20%20%20window.console%20%26%26%20console.log%20%26%26%20%0A%20%20%20%20%20%20%20%20%20%28console%20instanceof%20_FirebugConsole%29%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20return%20true%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%7D%0A%20%20%20catch%28e%29%7B%7D%0A%20%20%20%0A%20%20%20return%20false%3B%0A%7D%20%0A%0A%0A/**%0A%20*%20General%20method%20used%20to%20debug%20exceptions%0A%20*%20%0A%20*%20@param%20location%0A%20*%20@param%20e%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsReportExeception%28location%2Ce%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20if%28_leoHighlightsFirebugConsoleAvailable%28%29%20||LEO_HIGHLIGHTS_DEBUG%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20var%20logString%3Dlocation+%22%3A%20%22+e+%22%5Cn%5Ct%22+e.name+%22%5Cn%5Ct%22+%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%28e.number%260xFFFF%29+%22%5Cn%5Ct%22+e.description%3B%0A%20%20%20%20%20%20%20%20%20if%28_leoHighlightsFirebugConsoleAvailable%28%29%29%0A%20%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20console.error%28logString%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20console.trace%28%29%3B%0A%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20if%28LEO_HIGHLIGHTS_DEBUG%29%0A%20%20%20%20%20%20%20%20%20alert%28logString%29%3B%20%20%20%20%20%20%0A%20%20%20%7D%0A%20%20%20catch%28e%29%7B%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20log%20a%20string%20to%20the%20firebug%20console%0A%20*%20%0A%20*%20@param%20str%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsDebugLog%28str%29%0A%7B%20%20%20%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20if%28_leoHighlightsFirebugConsoleAvailable%28%29%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20console.log%28typeof%28_FirebugConsole%29+%22%20%22+str%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22_leoHighlightsDebugLog%28%29%20%22+str%2Ce%29%3B%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20get%20an%20attribute%20and%20decode%20it.%0A%20*%20%0A%20*%20@param%20elem%0A%20*%20@param%20id%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsGetAttrib%28elem%2Cid%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20var%20val%3Delem.getAttribute%28id%29%3B%0A%20%20%20%20%20%20return%20decodeURI%28val%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22_leoHighlightsGetAttrib%28%29%22%2Ce%29%3B%20%20%20%20%0A%20%20%20%7D%0A%20%20%20return%20null%3B%0A%7D%0A%0A/**%0A%20*%20This%20is%20a%20dimensions%20object%0A%20*%20%0A%20*%20@param%20width%0A%20*%20@param%20height%0A%20*%20@return%0A%20*/%0Afunction%20LeoHighlightsDimension%28width%2Cheight%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%09this.width%3Dwidth%3B%0A%20%20%20%09this.height%3Dheight%3B%0A%20%20%20%09this.toString%3Dfunction%28%29%20%7B%20return%20%28%22%28%22+this.width+%22%2C%22+this.height+%22%29%22%29%3B%7D%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22new%20LeoHighlightsDimension%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A/**%0A%20*%20This%20is%20a%20Position%20object%0A%20*%20%0A%20*%20@param%20x%0A%20*%20@param%20y%0A%20*%20@return%0A%20*/%0Afunction%20LeoHighlightsPosition%28x%2Cy%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%09this.x%3Dx%3B%0A%20%20%20%09this.y%3Dy%3B%0A%20%20%20%09this.toString%3Dfunction%28%29%20%7B%20return%20%28%22%28%22+this.x+%22%2C%22+this.y+%22%29%22%29%3B%7D%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22new%20LeoHighlightsPosition%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0Avar%20LEO_HIGHLIGHTS_ADJUSTMENT%20%3D%20new%20LeoHighlightsPosition%283%2C3%29%3B%0Avar%20LEO_HIGHLIGHTS_IFRAME_TOP_SIZE%20%3D%20new%20LeoHighlightsDimension%28LEO_HIGHLIGHTS_IFRAME_TOP_WIDTH%2CLEO_HIGHLIGHTS_IFRAME_TOP_HEIGHT%29%3B%0Avar%20LEO_HIGHLIGHTS_IFRAME_BOTTOM_HOVER_SIZE%20%3D%20new%20LeoHighlightsDimension%28LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_WIDTH%2CLEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_HEIGHT%29%3B%0Avar%20LEO_HIGHLIGHTS_IFRAME_BOTTOM_CLICK_SIZE%20%3D%20new%20LeoHighlightsDimension%28LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_WIDTH%2CLEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_HEIGHT%29%3B%0A%0Avar%20LEO_HIGHLIGHTS_DIV_HOVER_SIZE%20%3D%20new%20LeoHighlightsDimension%28LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_WIDTH%2CLEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_HEIGHT%29%3B%0Avar%20LEO_HIGHLIGHTS_DIV_CLICK_SIZE%20%3D%20new%20LeoHighlightsDimension%28LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_WIDTH%2CLEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_HEIGHT%29%3B%0A%0A%0A/**%0A%20*%20Sets%20the%20size%20of%20the%20passed%20in%20element%0A%20*%20%0A%20*%20@param%20elem%0A%20*%20@param%20dim%20%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsSetSize%28elem%2Cdim%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%09//%20Set%20the%20popup%20location%0A%20%20%20%09elem.style.width%20%3D%20dim.width%20+%20%22px%22%3B%0A%20%20%20%09if%28elem.width%29%0A%20%20%20%09%09elem.width%3Ddim.width%3B%0A%20%20%20%09elem.style.height%20%20%3D%20dim.height%20+%20%22px%22%3B%0A%20%20%20%09if%28elem.height%29%0A%20%20%20%09%09elem.height%3Ddim.height%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22_leoHighlightsSetSize%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A/**%0A%20*%20This%20can%20be%20used%20for%20a%20simple%20one%20argument%20callback%0A%20*%0A%20*%20@param%20callName%0A%20*%20@param%20argName%0A%20*%20@param%20argVal%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsSimpleGwCallBack%28callName%2CargName%2C%20argVal%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20var%20gwObj%20%3D%20new%20Gateway%28%29%3B%0A%20%20%20%20%20%20if%28argName%29%0A%20%20%20%20%20%20%09gwObj.addParam%28argName%2CargVal%29%3B%0A%20%20%20%20%20%20gwObj.callName%28callName%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22_leoHighlightsSimpleGwCallBack%28%29%20%22+callName%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20gets%20a%20url%20argument%20from%20the%20current%20document.%0A%20*%20%0A%20*%20@param%20url%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsGetUrlArg%28url%2C%20name%20%29%0A%7B%0A%09%20%20name%20%3D%20name.replace%28/[%5C[]/%2C%22%5C%5C%5C[%22%29.replace%28/[%5C]]/%2C%22%5C%5C%5C]%22%29%3B%0A%09%20%20var%20regexS%20%3D%20%22[%5C%5C?%26]%22+name+%22%3D%28[^%26%23]*%29%22%3B%0A%09%20%20var%20regex%20%3D%20new%20RegExp%28%20regexS%20%29%3B%0A%09%20%20var%20results%20%3D%20regex.exec%28url%29%3B%0A%09%20%20if%28%20results%20%3D%3D%20null%20%29%0A%09%20%20%20%20return%20%22%22%3B%0A%09%20%20else%0A%09%20%20%20%20return%20results[1]%3B%0A%7D%0A%0A%0A/**%0A%20*%20This%20allows%20to%20redirect%20the%20top%20window%20to%20the%20passed%20in%20url%0A%20*%20%0A%20*%20@param%20url%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsRedirectTop%28url%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%20%20%20%09%0A%20%20%20%09top.location%3Durl%3B%09%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22_leoHighlightsRedirectTop%28%29%22%2Ce%29%3B%0A%20%20%20%7D%0A%7D%0A%0A%0A/**%0A%20*%20This%20will%20find%20an%20element%20by%20Id%0A%20*%20%0A%20*%20@param%20elemId%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsFindElementById%28elemId%2Cdoc%29%0A%7B%0A%09try%0A%09%7B%0A%09%20%20%20if%28doc%3D%3Dnull%29%0A%09%20%20%20%20%20%20doc%3Ddocument%3B%0A%09%20%20%20%0A%09%09var%20elem%3Ddoc.getElementById%28elemId%29%3B%0A%09%09if%28elem%29%0A%09%09%09return%20elem%3B%0A%09%09%0A%09%09/*%20This%20is%20the%20handling%20for%20IE%20*/%0A%09%09if%28doc.all%29%0A%09%09%7B%0A%09%09%09elem%3Ddoc.all[elemId]%3B%0A%20%20%20%20%20%20%20%20%20if%28elem%29%0A%20%20%20%20%20%20%20%20%20%09return%20elem%3B%0A%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20for%20%28%20var%20i%20%3D%20%28document.all.length-1%29%3B%20i%20%3E%3D%200%3B%20i--%29%20%7B%0A%20%20%20%20%20%20%20%20%20%09elem%3Ddoc.all[i]%3B%0A%20%20%20%20%20%20%20%20%20%09if%28elem.id%3D%3DelemId%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20elem%3B%0A%20%20%20%20%20%20%20%20%20%7D%0A%09%09%7D%0A%09%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22_leoHighlightsFindElementById%28%29%22%2Ce%29%3B%0A%20%20%20%7D%0A%09return%20null%3B%0A%7D%0A%0A/**%0A%20*%20Get%20the%20location%20of%20one%20element%20relative%20to%20a%20parent%20reference%0A%20*%0A%20*%20@param%20ref%0A%20*%20%20%20%20%20%20%20%20%20%20%20the%20reference%20element%2C%20this%20must%20be%20a%20parent%20of%20the%20passed%20in%0A%20*%20%20%20%20%20%20%20%20%20%20%20element%0A%20*%20@param%20elem%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsGetLocation%28ref%2C%20elem%29%20%7B%0A%20%20%20_leoHighlightsDebugLog%28%22_leoHighlightsGetLocation%20%22+elem.id%29%3B%0A%20%20%20%0A%20%20%20var%20count%20%3D%200%3B%0A%20%20%20var%20location%20%3D%20new%20LeoHighlightsPosition%280%2C0%29%3B%0A%20%20%20var%20walk%20%3D%20elem%3B%0A%20%20%20while%20%28walk%20%21%3D%20null%20%26%26%20walk%20%21%3D%20ref%20%26%26%20count%20%3C%20LEO_HIGHLIGHTS_INFINITE_LOOP_COUNT%29%20%7B%0A%20%20%20%20%20%20location.x%20+%3D%20walk.offsetLeft%3B%0A%20%20%20%20%20%20location.y%20+%3D%20walk.offsetTop%3B%0A%20%20%20%20%20%20walk%20%3D%20walk.offsetParent%3B%0A%20%20%20%20%20%20count++%3B%0A%20%20%20%7D%0A%20%20%20%0A%20%20%20_leoHighlightsDebugLog%28%22Location%20is%3A%20%22+elem.id+%22%20-%20%22+location%29%3B%0A%0A%20%20%20return%20location%3B%0A%7D%0A%0A/**%0A%20*%20This%20is%20used%20to%20update%20the%20position%20of%20an%20element%20as%20a%20popup%0A%20*%20%0A%20*%20@param%20IFrame%0A%20*%20@param%20anchor%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsUpdatePopupPos%28iFrame%2Canchor%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20//%20Gets%20the%20scrolled%20location%20for%20x%20and%20y%0A%20%20%20%20%20%20var%20scrolledPos%3Dnew%20LeoHighlightsPosition%280%2C0%29%3B%0A%20%20%20%20%20%20if%28%20self.pageYOffset%20%29%20%7B%0A%20%20%20%20%20%20%20%20%20scrolledPos.x%20%3D%20self.pageXOffset%3B%0A%20%20%20%20%20%20%20%20%20scrolledPos.y%20%3D%20self.pageYOffset%3B%0A%20%20%20%20%20%20%7D%20else%20if%28%20document.documentElement%20%26%26%20document.documentElement.scrollTop%20%29%20%7B%0A%20%20%20%20%20%20%20%20%20scrolledPos.x%20%3D%20document.documentElement.scrollLeft%3B%0A%20%20%20%20%20%20%20%20%20scrolledPos.y%20%3D%20document.documentElement.scrollTop%3B%0A%20%20%20%20%20%20%7D%20else%20if%28%20document.body%20%29%20%7B%0A%20%20%20%20%20%20%20%20%20scrolledPos.x%20%3D%20document.body.scrollLeft%3B%0A%20%20%20%20%20%20%20%20%20scrolledPos.y%20%3D%20document.body.scrollTop%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Get%20the%20total%20dimensions%20to%20see%20what%20scroll%20bars%20might%20be%20active%20*/%0A%20%20%20%20%20%20var%20totalDim%3Dnew%20LeoHighlightsDimension%280%2C0%29%0A%20%20%20%20%20%20if%20%28document.all%20%26%26%20document.documentElement%20%26%26%20%0A%20%20%20%20%20%20%09document.documentElement.clientHeight%26%26document.documentElement.clientWidth%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%09totalDim.width%20%3D%20document.documentElement.scrollWidth%3B%0A%20%20%20%20%20%20%09totalDim.height%20%3D%20document.documentElement.scrollHeight%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20else%20if%20%28document.all%29%0A%20%20%20%20%20%20%7B%20/*%20This%20is%20in%20IE%20*/%0A%20%20%20%20%20%09%20%09totalDim.width%20%3D%20document.body.scrollWidth%3B%0A%20%20%20%20%20%20%09totalDim.height%20%3D%20document.body.scrollHeight%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20else%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%09%20totalDim.width%20%3D%20document.width%3B%0A%20%20%20%20%20%20%09%20totalDim.height%20%3D%20document.height%3B%0A%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20//%20Gets%20the%20location%20of%20the%20available%20screen%20space%0A%20%20%20%20%20%20var%20centerDim%3Dnew%20LeoHighlightsDimension%280%2C0%29%3B%0A%20%20%20%20%20%20if%28self.innerWidth%20%26%26%20self.innerHeight%20%29%20%7B%0A%20%20%20%20%20%20%20%20%20centerDim.width%20%3D%20self.innerWidth-%28totalDim.height%3Eself.innerHeight?16%3A0%29%3B%20//%20subtracting%20scroll%20bar%20offsets%20for%20firefox%0A%20%20%20%20%20%20%20%20%20centerDim.height%20%3D%20self.innerHeight-%28totalDim.width%3Eself.innerWidth?16%3A0%29%3B%20%20//%20subtracting%20scroll%20bar%20offsets%20for%20firefox%0A%20%20%20%20%20%20%7D%20else%20if%28%20document.documentElement%20%26%26%20document.documentElement.clientHeight%20%29%20%7B%0A%20%20%20%20%20%20%20%20%20centerDim.width%20%3D%20document.documentElement.clientWidth%3B%0A%20%20%20%20%20%20%20%20%20centerDim.height%20%3D%20document.documentElement.clientHeight%3B%0A%20%20%20%20%20%20%7D%20else%20if%28%20document.body%20%29%20%7B%0A%20%20%20%20%20%20%20%20%20centerDim.width%20%3D%20document.body.clientWidth%3B%0A%20%20%20%20%20%20%20%20%20centerDim.height%20%3D%20document.body.clientHeight%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20//%20Get%20the%20current%20dimension%20of%20the%20popup%20element%0A%20%20%20%20%20%20var%20iFrameDim%3Dnew%20LeoHighlightsDimension%28iFrame.offsetWidth%2CiFrame.offsetHeight%29%0A%20%20%20%20%20%20if%20%28iFrameDim.width%20%3C%3D%200%29%0A%20%20%20%20%20%20%09iFrameDim.width%20%3D%20iFrame.style.width.substring%280%2C%20iFrame.style.width.indexOf%28%27px%27%29%29%3B%0A%20%20%20%20%20%20if%20%28iFrameDim.height%20%3C%3D%200%29%0A%20%20%20%20%20%20%09iFrameDim.height%20%3D%20iFrame.style.height.substring%280%2C%20iFrame.style.height.indexOf%28%27px%27%29%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Calculate%20the%20position%2C%20lower%20right%20hand%20corner%20by%20default%20*/%0A%20%20%20%20%20%20var%20position%3Dnew%20LeoHighlightsPosition%280%2C0%29%3B%0A%20%20%20%20%20%20position.x%3DscrolledPos.x+centerDim.width-iFrameDim.width-LEO_HIGHLIGHTS_ADJUSTMENT.x%3B%0A%20%20%20%20%20%20position.y%3DscrolledPos.y+centerDim.height-iFrameDim.height-LEO_HIGHLIGHTS_ADJUSTMENT.y%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20if%28anchor%21%3Dnull%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20//centerDim%20in%20relation%20to%20the%20anchor%20element%20if%20available%0A%20%20%20%20%20%20%20%20%20var%20topOrBottom%20%3D%20false%3B%0A%20%20%20%20%20%20%20%20%20var%20anchorPos%3D_leoHighlightsGetLocation%28document.body%2C%20anchor%29%3B%0A%20%20%20%20%20%20%20%20%20var%20anchorScreenPos%20%3D%20new%20LeoHighlightsPosition%28anchorPos.x-scrolledPos.x%2CanchorPos.y-scrolledPos.y%29%3B%0A%20%20%20%20%20%20%20%20%20var%20anchorDim%3Dnew%20LeoHighlightsDimension%28anchor.offsetWidth%2Canchor.offsetHeight%29%0A%20%20%20%20%20%20%20%20%20if%20%28anchorDim.width%20%3C%3D%200%29%0A%20%20%20%20%20%20%20%20%20%09anchorDim.width%20%3D%20anchor.style.width.substring%280%2C%20anchor.style.width.indexOf%28%27px%27%29%29%3B%0A%20%20%20%20%20%20%20%20%20if%20%28anchorDim.height%20%3C%3D%200%29%0A%20%20%20%20%20%20%20%20%20%09anchorDim.height%20%3D%20anchor.style.height.substring%280%2C%20anchor.style.height.indexOf%28%27px%27%29%29%3B%0A%0A%20%20%20%20%20%20%20%20%20//%20Check%20if%20the%20popup%20can%20be%20shown%20above%20or%20below%20the%20element%0A%20%20%20%20%20%20%20%20%20if%20%28centerDim.height%20-%20anchorDim.height%20-%20iFrameDim.height%20-%20anchorScreenPos.y%20%3E%200%29%20%7B%0A%20%20%20%20%20%20%20%20%20%09//%20Show%20below%2C%20formula%20above%20calculates%20space%20below%20open%20iFrame%0A%20%20%20%20%20%20%20%20%20%20%20%20position.y%20%3D%20anchorPos.y%20+%20anchorDim.height%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20topOrBottom%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20%20%7D%20else%20if%20%28anchorScreenPos.y%20-%20anchorDim.height%20-%20iFrameDim.height%20%3E%200%29%20%7B%0A%20%20%20%20%20%20%20%20%20%09//%20Show%20above%2C%20formula%20above%20calculates%20space%20above%20open%20iFrame%0A%20%20%20%20%20%20%20%20%20%09position.y%20%3D%20anchorPos.y%20-%20iFrameDim.height%20-%20anchorDim.height%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20topOrBottom%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20_leoHighlightsDebugLog%28%22_leoHighlightsUpdatePopupPos%28%29%20-%20topOrBottom%3A%20%22+topOrBottom%29%3B%0A%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20if%20%28topOrBottom%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20//%20We%20attempt%20top%20attach%20the%20window%20to%20the%20element%0A%20%20%20%20%20%20%20%20%20%09position.x%20%3D%20anchorPos.x%20-%20iFrameDim.width%20/%202%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28position.x%20%3C%200%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%09position.x%20%3D%200%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20else%20if%20%28position.x%20+%20iFrameDim.width%20%3E%20scrolledPos.x%20+%20centerDim.width%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%09position.x%20%3D%20scrolledPos.x%20+%20centerDim.width%20-%20iFrameDim.width%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsDebugLog%28%22_leoHighlightsUpdatePopupPos%28%29%20-%20topOrBottom%3A%20%22+position%29%3B%0A%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20//%20Attempt%20to%20align%20on%20the%20right%20or%20left%20hand%20side%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28centerDim.width%20-%20anchorDim.width%20-%20iFrameDim.width%20-%20anchorScreenPos.x%20%3E%200%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20position.x%20%3D%20anchorPos.x%20+%20anchorDim.width%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20else%20if%20%28anchorScreenPos.x%20-%20anchorDim.width%20-%20iFrameDim.width%20%3E%200%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%09position.x%20%3D%20anchorPos.x%20-%20anchorDim.width%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20else%20%20//%20default%20to%20below%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20position.y%20%3D%20anchorPos.y%20+%20anchorDim.height%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsDebugLog%28%22_leoHighlightsUpdatePopupPos%28%29%20-%20sideBottom%3A%20%22+position%29%3B%0A%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Make%20sure%20that%20we%20don%27t%20go%20passed%20the%20right%20hand%20border%20*/%0A%20%20%20%20%20%20if%28position.x+iFrameDim.width%3EcenterDim.width-20%29%0A%20%20%20%20%20%20%09position.x%3DcenterDim.width-%28iFrameDim.width+20%29%3B%0A%20%20%20%20%20%20%09%09%0A%20%20%20%20%20%20//%20Make%20sure%20that%20we%20didn%27t%20go%20passed%20the%20start%0A%20%20%20%20%20%20if%28position.x%3C0%29%0A%20%20%20%20%20%20%20%20%20position.x%3D0%3B%0A%20%20%20%20%20%20if%28position.y%3C0%29%0A%20%20%20%20%20%20%09position.y%3D0%3B%0A%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22Popup%20info%20id%3A%20%20%20%20%20%20%20%22%20+iFrame.id+%22%20-%20%22+anchor.id%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5Cnscrolled%20%20%20%20%20%20%20%20%20%20%22%20+%20scrolledPos%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5Cncenter/visible%20%20%20%20%22%20+%20centerDim%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5Cnanchor%20%28absolute%29%20%22%20+%20anchorPos%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5Cnanchor%20%28screen%29%20%20%20%22%20+%20anchorScreenPos%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5CnSize%20%28anchor%29%20%20%20%20%20%22%20+%20anchorDim%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5CnSize%20%28popup%29%20%20%20%20%20%20%22%20+%20iFrameDim%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5CnResult%20pos%20%20%20%20%20%20%20%20%22%20+%20position%29%3B%0A%0A%20%20%20%20%20%20//%20Set%20the%20popup%20location%0A%20%20%20%20%20%20iFrame.style.left%20%3D%20position.x%20+%20%22px%22%3B%0A%20%20%20%20%20%20iFrame.style.top%20%20%3D%20position.y%20+%20%22px%22%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22_leoHighlightsUpdatePopupPos%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%0A%7D%0A%0A%0A/**%0A%20*%20This%20will%20show%20the%20passed%20in%20element%20as%20a%20popup%0A%20*%20%0A%20*%20@param%20anchorId%0A%20*%20@param%20size%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsShowPopup%28anchorId%2Csize%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%09var%20popup%3Dnew%20LeoHighlightsPopup%28anchorId%2Csize%29%3B%0A%20%20%20%09popup.show%28%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22_leoHighlightsShowPopup%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A%0A/**%0A%20*%20This%20will%20transform%20the%20passed%20in%20url%20to%20a%20rover%20url%0A%20*%20%0A%20*%20@param%20url%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsGetRoverUrl%28url%29%0A%7B%0A%09var%20rover%3DLEO_HIGHLIGHTS_ROVER_TAG%3B%0A%09var%20roverUrl%3D%22http%3A//rover.ebay.com/rover/1/%22+rover+%22/4?%26mpre%3D%22+encodeURI%28url%29%3B%0A%09%0A%09return%20roverUrl%3B%0A%7D%0A%0A/**%0A%20*%20Sets%20the%20size%20of%20the%20bottom%20windown%20part%0A%20*%20%0A%20*%20@param%20size%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsSetBottomSize%28size%2CclickId%29%0A%7B%0A%20%20%20/*%20Get%20the%20elements%20*/%0A%20%20%20var%20iFrameBottom%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID%29%3B%0A%20%20%20var%20iFrameDiv%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_DIV_ID%29%3B%0A%0A%20%20%20/*%20Figure%20out%20the%20correct%20sizes%20*/%0A%20%20%20var%20iFrameBottomSize%3D%28size%3D%3D1%29?LEO_HIGHLIGHTS_IFRAME_BOTTOM_CLICK_SIZE%3ALEO_HIGHLIGHTS_IFRAME_BOTTOM_HOVER_SIZE%3B%0A%20%20%20var%20divSize%3D%28size%3D%3D1%29?LEO_HIGHLIGHTS_DIV_CLICK_SIZE%3ALEO_HIGHLIGHTS_DIV_HOVER_SIZE%3B%0A%0A%20%20%20/*%20Refresh%20the%20iFrame%27s%20url%2C%20by%20removing%20the%20size%20arg%20and%20adding%20it%20again%20*/%0A%20%20%20leoHighlightsUpdateUrl%28iFrameBottom%2Csize%2CclickId%29%3B%0A%0A%20%20%20/*%20Clear%20the%20hover%20flag%2C%20if%20the%20user%20shows%20this%20at%20full%20size%20*/%0A%20%20%20_leoHighlightsPrevElem.hover%3Dsize%3D%3D1?false%3Atrue%3B%0A%0A%20%20%20_leoHighlightsSetSize%28iFrameBottom%2CiFrameBottomSize%29%3B%0A%20%20%20_leoHighlightsSetSize%28iFrameDiv%2CdivSize%29%3B%0A%7D%0A%0A%0A/**%0A%20*%20Class%20for%20a%20Popup%20%0A%20*%20%0A%20*%20@param%20anchorId%0A%20*%20@param%20size%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20LeoHighlightsPopup%28anchorId%2Csize%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22LeoHighlightsPopup%28%29%20%22%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%09this.anchorId%3DanchorId%3B%0A%20%20%20%09this.anchor%3D_leoHighlightsFindElementById%28this.anchorId%29%3B%0A%20%20%20%09this.topIframe%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_TOP_ID%29%3B%0A%20%20%20%20%20%20this.bottomIframe%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID%29%3B%0A%20%20%20%09this.iFrameDiv%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_DIV_ID%29%3B%0A%20%20%20%09%0A%20%20%20%09this.topIframe.src%3Dunescape%28this.anchor.getAttribute%28%27leoHighlights_url_top%27%29%29%3B%3B%0A%20%20%20%20%20%20this.bottomIframe.src%3Dunescape%28this.anchor.getAttribute%28%27leoHighlights_url_bottom%27%29%29%3B%3B%0A%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%221%29%20LeoHighlightsPopup%28%29%20%28%22+this.topIframe.style.top+%22%2C%20%22+this.topIframe.style.left+%22%29%22%29%3B%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%222%29%20LeoHighlightsPopup%28%29%20%28%22+this.bottomIframe.style.top+%22%2C%20%22+this.bottomIframe.style.left+%22%29%22%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%09leoHighlightsSetSize%28size%29%3B%0A%20%20%20%09%0A%20%20%20%09this.updatePos%3Dfunction%28%29%20%7B%20_leoHighlightsUpdatePopupPos%28this.iFrameDiv%2Cthis.anchor%29%7D%3B%0A%20%20%20%20%20%20this.show%3Dfunction%28%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20this.updatePos%28%29%3B%20%0A%20%20%20%20%20%20%20%20%20%20%20%20this.iFrameDiv.style.visibility%20%3D%20%22visible%22%3B%20%0A%20%20%20%20%20%20%20%20%20%20%20%20this.iFrameDiv.style.display%20%3D%20%22block%22%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20this.updatePos%28%29%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsDebugLog%28%223%29%20LeoHighlightsPopup%28%29%20%28%22+this.topIframe.style.top+%22%2C%20%22+this.topIframe.style.left+%22%29%22%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsDebugLog%28%224%29%20LeoHighlightsPopup%28%29%20%28%22+this.bottomIframe.style.top+%22%2C%20%22+this.bottomIframe.style.left+%22%29%22%29%3B%0A%20%20%20%20%20%20%7D%20%20%20%20%20%20%20%0A%20%20%20%09this.scroll%3Dfunction%28%29%20%7B%20this.updatePos%28%29%3B%7D%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22new%20LeoHighlightsPopup%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20updates%20the%20url%20for%20the%20iFrame%0A%20*%20%0A%20*%20@param%20iFrame%0A%20*%20@param%20size%0A%20*%20@param%20clickId%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsUpdateUrl%28iFrame%2Csize%2CclickId%2CdestUrl%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHighlightsUpdateUrl%28%29%20%22+destUrl%29%3B%0A%20%20%20%20%20%20var%20url%3DiFrame.src%3B%0A%20%20%20%20%20%20var%20idx%3Durl.indexOf%28%22%26size%3D%22%29%3B%0A%20%20%20%20%20%20if%28idx%3E%3D0%29%0A%20%20%20%20%20%20%20%20%20url%3Durl.substring%280%2Cidx%29%3B%0A%20%20%20%20%20%20%0A//%20%20%20%20%20%20size%3D1%3B%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHighlightsUpdateUrl%28%29%20size%3D%22+size+%22%20%20%22+url%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20if%28size%21%3Dnull%29%0A%20%20%20%20%20%20%20%20%20url+%3D%28%22%26size%3D%22+size%29%3B%0A%20%20%20%20%20%20if%28clickId%21%3Dnull%29%0A%20%20%20%20%20%20%20%20%20url+%3D%28%22%26clickId%3D%22+clickId%29%3B%0A%20%20%20%20%20%20if%28destUrl%21%3Dnull%29%0A%20%20%20%20%20%20%20%20%20url+%3D%28%22%26url%3D%22+destUrl%29%3B%0A%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHighlightsUpdateUrl%28%29%20%22+url%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20iFrame.src%3Durl%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHighlightsUpdateUrl%28%29%22%2Ce%29%3B%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A%0A%0A/**%0A*%0A*%20This%20can%20be%20used%20to%20close%20an%20iframe%0A*%0A*%20@param%20id%0A*%20@return%0A*/%0Afunction%20leoHighlightsSetSize%28size%2CclickId%29%0A%7B%0A%09try%0A%09%7B%0A%09%09/*%20Get%20the%20element%20*/%0A%20%20%09%09var%20iFrameTop%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_TOP_ID%29%3B%0A%0A%20%20%09%09/*%20Figure%20out%20the%20correct%20sizes%20*/%0A%20%20%09%09var%20iFrameTopSize%3DLEO_HIGHLIGHTS_IFRAME_TOP_SIZE%3B%0A%20%20%09%09%0A%20%20%09%09/*%20Refresh%20the%20iFrame%27s%20url%2C%20by%20removing%20the%20size%20arg%20and%20adding%20it%20again%20*/%0A%20%20%09%09leoHighlightsUpdateUrl%28iFrameTop%2Csize%2CclickId%29%3B%0A%20%20%09%09%0A%20%20%09%09_leoHighlightsSetSize%28iFrameTop%2CiFrameTopSize%29%3B%0A%20%20%20%20%20%20_leoHighlightsSetBottomSize%28size%2CclickId%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Clear%20the%20hover%20flag%2C%20if%20the%20user%20shows%20this%20at%20full%20size%20*/%0A%20%20%20%20%20%20if%28size%3D%3D1%26%26_leoHighlightsPrevElem%29%0A%20%20%20%20%20%20%20%20%20_leoHighlightsPrevElem.hover%3Dfalse%3B%20%20%20%20%20%20%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22leoHighlightsSetSize%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A%0A/**%0A%20*%20Start%20the%20popup%20a%20little%20bit%20delayed.%0A%20*%20Somehow%20IE%20needs%20some%20time%20to%20find%20the%20element%20by%20id.%0A%20*%20%0A%20*%20@param%20anchorId%0A%20*%20@param%20size%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsShowPopup%28anchorId%2Csize%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%09%09var%20elem%3D_leoHighlightsFindElementById%28anchorId%29%3B%0A%20%20%09%09if%28_leoHighlightsPrevElem%26%26%28_leoHighlightsPrevElem%21%3Delem%29%29%0A%20%20%09%09%09_leoHighlightsPrevElem.shown%3Dfalse%3B%0A%20%20%09%09elem.shown%3Dtrue%3B%0A%09%09_leoHighlightsPrevElem%3Delem%3B%0A%09%09%0A%09%09_leoHighlightsDebugLog%28%22leoHighlightsShowPopup%28%29%20%22+_leoHighlightsPrevElem%29%3B%09%09%0A%20%20%20%09%0A%20%20%20%09/*%20FF%20needs%20to%20find%20the%20element%20first%20*/%0A%20%20%20%09_leoHighlightsFindElementById%28anchorId%29%3B%0A%20%20%20%09%0A%20%20%20%09setTimeout%28%22_leoHighlightsShowPopup%28%5C%27%22+anchorId+%22%5C%27%2C%5C%27%22+size+%22%5C%27%29%3B%22%2C10%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22leoHighlightsShowPopup%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A/**%0A*%0A*%20This%20can%20be%20used%20to%20close%20an%20iframe%0A*%0A*%20@param%20id%0A*%20@return%0A*/%0Afunction%20leoHighlightsHideElem%28id%29%0A%7B%0A%09try%0A%09%7B%0A%09%09/*%20Get%20the%20appropriate%20sizes%20*/%0A%20%20%09%09var%20elem%3D_leoHighlightsFindElementById%28id%29%3B%0A%20%20%09%09if%28elem%29%0A%20%20%09%09%09elem.style.visibility%3D%22hidden%22%3B%0A%20%20%09%09%0A%20%20%09%09/*%20Clear%20the%20page%20for%20the%20next%20run%20through%20*/%0A%20%20%09%09var%20iFrame%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_TOP_ID%29%3B%0A%20%20%09%09if%28iFrame%29%0A%20%20%09%09%09iFrame.src%3D%22about%3Ablank%22%3B%0A%20%20%20%20%20%20var%20iFrame%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID%29%3B%0A%20%20%20%20%20%20if%28iFrame%29%0A%20%20%20%20%20%20%20%20%20iFrame.src%3D%22about%3Ablank%22%3B%0A%20%20%09%09%0A%20%20%09%09%0A%20%20%09%09if%28_leoHighlightsPrevElem%29%0A%20%20%09%09%7B%0A%20%20%09%09%09_leoHighlightsPrevElem.shown%3Dfalse%3B%0A%20%20%09%09%09_leoHighlightsPrevElem%3Dnull%3B%0A%20%20%09%09%7D%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22leoHighlightsHideElem%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A%0A/**%0A*%0A*%20This%20can%20be%20used%20to%20close%20an%20iframe.%0A*%20Since%20the%20iFrame%20is%20reused%20the%20frame%20only%20gets%20hidden%0A*%0A*%20@return%0A*/%0Afunction%20leoHighlightsIFrameClose%28%29%0A%7B%0A%20%20try%0A%20%20%7B%0A%09%20%20_leoHighlightsSimpleGwCallBack%28%22LeoHighlightsHideIFrame%22%29%3B%0A%20%20%7D%0A%20%20catch%28e%29%0A%20%20%7B%0A%09%20%20_leoHighlightsReportExeception%28%22leoHighlightsIFrameClose%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20should%20handle%20the%20click%20events%0A%20*%20%0A%20*%20@param%20anchorId%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsHandleClick%28anchorId%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%09%09var%20anchor%3D_leoHighlightsFindElementById%28anchorId%29%3B%0A%20%20%09%09anchor.hover%3Dfalse%3B%0A%20%20%09%09if%28anchor.startTimer%29%0A%20%20%09%09%09clearTimeout%28anchor.startTimer%29%3B%0A%20%20%20%09%0A%20%20%20%20%20%20/*%20Report%20the%20click%20event%20*/%0A%20%20%20%20%20%20leoHighlightsReportEvent%28%22clicked%22%2C%20window.document.domain%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsGetAttrib%28anchor%2C%27leohighlights_keywords%27%29%2Cnull%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsGetAttrib%28anchor%2C%27leohighlights_accept%27%29%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsGetAttrib%28anchor%2C%27leohighlights_reject%27%29%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%09leoHighlightsShowPopup%28anchorId%2C1%29%3B%0A%20%20%20%09return%20false%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22leoHighlightsHandleClick%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A/**%0A%20*%20This%20should%20handle%20the%20hover%20events%0A%20*%20%0A%20*%20@param%20anchorId%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsHandleHover%28anchorId%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%09%09var%20anchor%3D_leoHighlightsFindElementById%28anchorId%29%3B%0A%20%20%09%09anchor.hover%3Dtrue%3B%0A%20%20%09%09%0A%20%20%20%20%20%20/*%20Report%20the%20hover%20event%20*/%0A%20%20%20%20%20%20leoHighlightsReportEvent%28%22hovered%22%2C%20window.document.domain%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsGetAttrib%28anchor%2C%27leohighlights_keywords%27%29%2Cnull%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsGetAttrib%28anchor%2C%27leohighlights_accept%27%29%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20_leoHighlightsGetAttrib%28anchor%2C%27leohighlights_reject%27%29%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%09leoHighlightsShowPopup%28anchorId%2C0%29%3B%0A%20%20%20%09return%20false%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22leoHighlightsHandleHover%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A/**%0A%20*%20This%20will%20handle%20the%20mouse%20over%20setup%20timers%20for%20the%20appropriate%20timers%0A%20*%20%0A%20*%20@param%20id%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsHandleMouseOver%28id%29%0A%7B%0A%09try%0A%09%7B%0A%09%09var%20anchor%3D_leoHighlightsFindElementById%28id%29%3B%09%09%0A%0A%09%09/*%20Clear%20the%20end%20timer%20if%20required%20*/%0A%09%09if%28anchor.endTimer%29%0A%09%09%09clearTimeout%28anchor.endTimer%29%3B%0A%09%09anchor.endTimer%3Dnull%3B%0A%09%09%0A%09%09anchor.style.background%3DLEO_HIGHLIGHTS_BACKGROUND_STYLE_HOVER%3B%0A%09%09%0A%09%09/*%20The%20element%20is%20already%20showing%20we%20are%20done%20*/%0A%09%09if%28anchor.shown%29%0A%09%09%09return%3B%0A%09%09%0A%09%09/*%20Setup%20the%20start%20timer%20if%20required%20*/%0A%09%09anchor.startTimer%3DsetTimeout%28function%28%29%7B%0A%09%09%09leoHighlightsHandleHover%28anchor.id%29%3B%0A%09%09%09anchor.hover%3Dtrue%3B%0A%09%09%09%7D%2C%0A%09%09%09LEO_HIGHLIGHTS_SHOW_DELAY_MS%29%3B%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22leoHighlightsHandleMouseOver%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20handle%20the%20mouse%20over%20setup%20timers%20for%20the%20appropriate%20timers%0A%20*%20%0A%20*%20@param%20id%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsHandleMouseOut%28id%29%0A%7B%0A%09try%0A%09%7B%09%0A%09%09var%20anchor%3D_leoHighlightsFindElementById%28id%29%3B%0A%09%09%0A%09%09/*%20Clear%20the%20start%20timer%20if%20required%20*/%0A%09%09if%28anchor.startTimer%29%0A%09%09%09clearTimeout%28anchor.startTimer%29%3B%0A%09%09anchor.startTimer%3Dnull%3B%0A%09%09%0A%09%09anchor.style.background%3DLEO_HIGHLIGHTS_BACKGROUND_STYLE_DEFAULT%3B%0A%09%09if%28%21anchor.shown||%21anchor.hover%29%0A%09%09%09return%3B%0A%09%09%0A%09%09/*%20Setup%20the%20start%20timer%20if%20required%20*/%0A%09%09anchor.endTimer%3DsetTimeout%28function%28%29%7B%0A%09%09%09leoHighlightsHideElem%28LEO_HIGHLIGHTS_IFRAME_DIV_ID%29%3B%0A%09%09%09anchor.shown%3Dfalse%3B%0A%09%09%09_leoHighlightsPrevElem%3Dnull%3B%0A%09%09%09%7D%2CLEO_HIGHLIGHTS_HIDE_DELAY_MS%29%3B%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22leoHighlightsHandleMouseOut%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A%0A/**%0A%20*%20This%20handles%20the%20mouse%20movement%20into%20the%20currently%20opened%20window.%0A%20*%20Just%20clear%20the%20close%20timer%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsHandleIFrameMouseOver%28%29%0A%7B%0A%09try%0A%09%7B%0A%09%09if%28_leoHighlightsPrevElem%26%26_leoHighlightsPrevElem.endTimer%29%0A%09%09%09clearTimeout%28_leoHighlightsPrevElem.endTimer%29%3B%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22leoHighlightsHandleIFrameMouseOver%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A%0A/**%0A%20*%20This%20handles%20the%20mouse%20movement%20into%20the%20currently%20opened%20window.%0A%20*%20Just%20clear%20the%20close%20timer%0A%20*%20%0A%20*%20@param%20id%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsHandleIFrameMouseOut%28%29%0A%7B%0A%09try%0A%09%7B%0A%09%09if%28_leoHighlightsPrevElem%29%0A%09%09%09leoHighlightsHandleMouseOut%28_leoHighlightsPrevElem.id%29%3B%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22leoHighlightsHandleIFrameMouseOut%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A/**%0A%20*%20This%20is%20a%20method%20is%20used%20to%20make%20the%20javascript%20within%20IE%20runnable%0A%20*/%0Avar%20leoHighlightsRanUpdateDivs%3Dfalse%3B%0Afunction%20leoHighlightsUpdateDivs%28%29%0A%7B%0A%09try%0A%09%7B%0A%09%09/*%20Check%20if%20this%20is%20an%20IE%20browser%20and%20if%20divs%20have%20been%20updated%20already%20*/%0A%09%09if%28document.all%26%26%21leoHighlightsRanUpdateDivs%29%0A%09%09%7B%0A%09%09%09leoHighlightsRanUpdateDivs%3Dtrue%3B%20//%20Set%20early%20to%20prevent%20running%20twice%0A%09%09%09for%28var%20i%3D0%3Bi%3CLEO_HIGHLIGHTS_MAX_HIGHLIGHTS%3Bi++%29%0A%09%09%09%7B%0A%09%09%09%09var%20id%3D%22leoHighlights_Underline_%22+i%3B%0A%09%09%09%09var%20elem%3D_leoHighlightsFindElementById%28id%29%3B%0A%09%09%09%09if%28elem%3D%3Dnull%29%0A%09%09%09%09%09break%3B%0A%09%09%09%09%0A%09%09%09%09if%28%21elem.leoChanged%29%0A%09%09%09%09%7B%0A%09%09%09%09%09elem.leoChanged%3Dtrue%3B%0A%09%09%09%09%0A%09%09%09%09%09/*%20This%20will%20make%20javaScript%20runnable%20*/%09%09%09%09%0A%09%09%09%09%09elem.outerHTML%3Delem.outerHTML%3B%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22leoHighlightsUpdateDivs%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A%0Aif%28document.all%29%0A%09setTimeout%28leoHighlightsUpdateDivs%2C200%29%3B%0A%0A%0A/**%0A%20*%20This%20is%20used%20to%20report%20events%20to%20the%20plugin%0A%20*%20@param%20key%0A%20*%20@param%20domain%0A%20*%20@param%20keywords%0A%20*%20@param%20vendorId%0A%20*%20@param%20accept%0A%20*%20@param%20reject%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsReportEvent%28key%2C%20domain%2Ckeywords%2CvendorId%2Caccept%2Creject%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20var%20gwObj%20%3D%20new%20Gateway%28%29%3B%0A%20%20%20%20%20%20gwObj.addParam%28%22key%22%2Ckey%29%3B%0A%20%20%20%20%20%20if%28domain%21%3Dnull%29%0A%20%20%20%20%20%20%20%20%20gwObj.addParam%28%22domain%22%2Cdomain%29%3B%0A%20%20%20%20%20%20if%28keywords%21%3Dnull%29%0A%20%20%20%20%20%20%20%20%20gwObj.addParam%28%22keywords%22%2Ckeywords%29%3B%0A%20%20%20%20%20%20if%28vendorId%21%3Dnull%29%0A%20%20%20%20%20%20%20%20%20gwObj.addParam%28%22vendorId%22%2CvendorId%29%3B%0A%20%20%20%20%20%20if%28accept%21%3Dnull%29%0A%20%20%20%20%20%20%20%20%20gwObj.addParam%28%22accept%22%2Caccept%29%3B%0A%20%20%20%20%20%20if%28reject%21%3Dnull%29%0A%20%20%20%20%20%20%20%20%20gwObj.addParam%28%22reject%22%2Creject%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20gwObj.callName%28%22LeoHighlightsEvent%22%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHighlights%28%29%22%2Ce%29%3B%20%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20expand%20or%20collapse%20the%20window%20base%20on%20it%20prior%20state%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsToggleSize%28clickId%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%20%20%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHighlightsToggleSize%28%29%20%22+_leoHighlightsPrevElem%29%3B%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Get%20the%20hover%20flag%20and%20change%20the%20status%20*/%0A%20%20%20%20%20%20var%20size%3D_leoHighlightsPrevElem.hover?1%3A0%3B%0A%20%20%20%20%20%20_leoHighlightsSetBottomSize%28size%2CclickId%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHighlightsToggleSize%28%29%22%2Ce%29%3B%20%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20Call%20into%20the%20kvm%20that%20will%20then%20do%20a%20callback%20into%20the%20top%20window%0A%20*%20The%20top%20window%20will%20then%20call%20leoH%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsSetSecondaryWindowUrl%28url%2C%20customerId%2C%20phraseId%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%20%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHighlightsSetSecondaryWindowUrl%28%29%20%22+url%29%3B%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20var%20gwObj%20%3D%20new%20Gateway%28%29%3B%0A%20%20%20%20%20%20gwObj.addParam%28%22url%22%2C%20url%29%3B%0A%20%20%20%20%20%20gwObj.addParam%28%22phraseId%22%2C%20phraseId%29%3B%0A%20%20%20%20%20%20gwObj.addParam%28%22customerId%22%2C%20customerId%29%3B%0A%20%20%20%20%20%20gwObj.callName%28%22LeoHighlightsSetSecondaryWindowUrl%22%29%3B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHighlightsSetSecondaryWindowUrl%28%29%22%2Ce%29%3B%20%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20Call%20into%20the%20kvm%20that%20will%20then%20do%20a%20callback%20into%20the%20top%20window%0A%20*%20The%20top%20window%20will%20then%20call%20leoH%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsSetSecondaryWindowUrlCallback%28url%2C%20customerId%2C%20phraseId%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%20%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHighlightsSetSecondaryWindowUrlCallback%28%29%20%22+url%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Clear%20the%20hover%20flag%2C%20if%20the%20user%20shows%20this%20at%20full%20size%20*/%0A%20%20%20%20%20%20var%20size%3D_leoHighlightsPrevElem.hover?0%3A1%3B%20%20%20%20%20%20%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHighlightsSetSecondaryWindowUrlCallback%28%29%20%22+_leoHighlightsPrevElem+%22%20--%20%22+_leoHighlightsPrevElem.hover%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Get%20the%20elements%20*/%0A%20%20%20%20%20%20var%20iFrameBottom%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID%29%3B%0A%20%20%20%20%20%20leoHighlightsUpdateUrl%28iFrameBottom%2Csize%2Cnull%2Curl%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHighlightsSetSecondaryWindowUrlCallback%28%29%20%22+url%29%3B%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHighlightsSetSecondaryWindowUrlCallback%28%29%22%2Ce%29%3B%20%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20set%20the%20text%20to%20the%20Top%20%0A%20*%20%0A%20*%20@param%20txt%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsSetExpandTxt%28txt%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%20%0A%20%20%20%20%20%20var%20topIFrame%20%3D%20_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_TOP_ID%29%3B%0A%20%20%20%20%20%20if%28topIFrame%3D%3Dnull%29%0A%20%20%20%20%20%20%20%20%20return%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Get%20the%20current%20url%20*/%0A%20%20%20%20%20%20var%20url%3DtopIFrame.src%3B%20%20%20%20%20%20%0A%20%20%20%20%20%20if%28url%3D%3Dnull%29%0A%20%20%20%20%20%20%20%20%20return%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Extract%20the%20previous%20hash%20if%20present%20*/%0A%20%20%20%20%20%20var%20idx%3D-1%3B%20%20%20%20%20%20%0A%20%20%20%20%20%20if%28%28idx%3Durl.indexOf%28%27%23%27%29%29%3E0%29%0A%20%20%20%20%20%20%20%20%20url%3Durl.substring%280%2Cidx%29%3B%0A%0A%20%20%20%20%20%20/*%20Append%20the%20text%20to%20the%20end%20*/%0A%20%20%20%20%20%20url+%3D%22%23%22+encodeURI%28txt%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Set%20the%20iframe%20with%20the%20new%20url%20that%20contains%20the%20hash%20tag%20*/%0A%20%20%20%20%20%20topIFrame.src%3Durl%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHighlightsSetExpandTxt%28%29%22%2Ce%29%3B%20%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A/*----------------------------------------------------------------------*/%0A/*%20Methods%20provided%20to%20the%20highlight%20providers...%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20*/%0A/*----------------------------------------------------------------------*/%0A%0A/**%0A%20*%20This%20will%20set%20the%20expand%20text%20for%20the%20Top%20window%0A%20*/%0Afunction%20leoHL_SetExpandTxt%28txt%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsDebugLog%28%22leoHL_SetExpandTxt%28%29%20%22+txt%29%3B%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20_leoHighlightsSimpleGwCallBack%28%22LeoHighlightsSetExpandTxt%22%2C%22expandTxt%22%2Ctxt%29%3B%20%20%20%20%20%20%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHL_SetExpandTxt%28%29%22%2Ce%29%3B%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20redirect%20the%20top%20window%20to%20the%20passed%20in%20url%0A%20*%20%0A%20*%20@param%20url%0A%20*%20@param%20parentId%0A%20*%20@return%0A%20*/%0Afunction%20leoHL_RedirectTop%28url%2CparentId%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%20%0A%20%20%20%20%20%20try%7B%0A%20%20%20%20%20%20%20%20%20var%20domain%3D_leoHighlightsGetUrlArg%28window.document.URL%2C%22domain%22%29%0A%20%20%20%20%20%20%20%20%20var%20keywords%3D_leoHighlightsGetUrlArg%28window.document.URL%2C%22keywords%22%29%0A%20%20%20%20%20%20%20%20%20var%20vendorId%3D_leoHighlightsGetUrlArg%28window.document.URL%2C%22vendorId%22%29%0A%20%20%20%20%20%20leoHighlightsReportEvent%28%22clickthrough%22%2C%20domain%2Ckeywords%2C%20vendorId%29%3B%0A%20%20%20%20%20%20%7Dcatch%28e%29%7B%0A%20%20%20%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHL_RedirectTop%28%29%22%2Ce%29%3B%20%20%20%20%0A%20%20%20%20%20%20%7D%0A%20%20%09%09%0A%20%20%20%09_leoHighlightsRedirectTop%28url%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22leoHL_RedirectTop%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20redirect%20the%20top%20window%20to%20the%20passed%20in%20url%0A%20*%20%0A%20*%20@param%20url%0A%20*%20@param%20parentId%0A%20*%20@return%0A%20*/%0Afunction%20LeoHL_RedirectTop%28url%2CparentId%29%0A%7B%0A%20%20%20leoHL_RedirectTop%28url%2CparentId%29%3B%0A%7D%0A%0A/**%0A%20*%20This%20will%20redirect%20the%20top%20window%20to%20the%20passed%20in%20url%0A%20*%20%0A%20*%20@param%20url%0A%20*%20@param%20parentId%0A%20*%20@return%0A%20*/%0Afunction%20leoHL_RedirectTopAd%28url%2CparentId%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%20%0A%20%20%20%20%20%20try%7B%0A%20%20%20%20%20%20%20%20%20var%20domain%3D_leoHighlightsGetUrlArg%28window.document.URL%2C%22domain%22%29%0A%20%20%20%20%20%20%20%20%20var%20keywords%3D_leoHighlightsGetUrlArg%28window.document.URL%2C%22keywords%22%29%0A%20%20%20%20%20%20%20%20%20var%20vendorId%3D_leoHighlightsGetUrlArg%28window.document.URL%2C%22vendorId%22%29%0A%20%20%20%20%20%20leoHighlightsReportEvent%28%22advertisement.click%22%2C%20domain%2Ckeywords%2C%20vendorId%29%3B%0A%20%20%20%20%20%20%7Dcatch%28e%29%7B%0A%20%20%20%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHL_RedirectTopAd%28%29%22%2Ce%29%3B%20%20%20%20%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20_leoHighlightsRedirectTop%28url%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHL_RedirectTopAd%28%29%22%2Ce%29%3B%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A%0A/**%0A%20*%20This%20will%20set%20the%20size%20of%20the%20iframe%0A%20*%20%0A%20*%20@param%20url%0A%20*%20@param%20parentId%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20leoHl_setSize%28size%2Curl%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%09/*%20Get%20the%20clickId%20*/%0A%20%20%20%09var%20clickId%3D_leoHighlightsGetUrlArg%28%20url%2C%22clickId%22%29%0A%20%20%20%09%0A%20%20%20%20%20%20var%20gwObj%20%3D%20new%20Gateway%28%29%3B%0A%20%20%20%20%20%20gwObj.addParam%28%22size%22%2Csize%29%3B%0A%20%20%20%20%20%20if%28clickId%29%0A%20%20%20%20%20%20%20%20%20gwObj.addParam%28%22clickId%22%2CclickId+%22_blah%22%29%3B%0A%20%20%20%20%20%20gwObj.callName%28%22LeoHighlightsSetSize%22%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22leoHl_setSize%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20toggle%20the%20size%20of%20the%20window%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20leoHl_ToggleSize%28%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20var%20gwObj%20%3D%20new%20Gateway%28%29%3B%0A%20%20%20%20%20%20gwObj.callName%28%22LeoHighlightsToggleSize%22%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%20%20%20_leoHighlightsReportExeception%28%22leoHl_ToggleSize%28%29%22%2Ce%29%3B%20%20%20%20%20%0A%20%20%20%7D%0A%7D%0A%0A&quot;);
&lt;/script&gt;&lt;span id=&quot;leoHighlights_iframe_modal_span_container&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/1470265456318130485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2010/03/wcf-and-http-error-4043.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/1470265456318130485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/1470265456318130485'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2010/03/wcf-and-http-error-4043.html' title='WCF and HTTP Error 404.3'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-t8IraWou0fkZknPaHAN_nkix1T8Mxeo_WVZJxpyHPIODveHpHKsAadpxFko7HNZFeoUJ8pY8W6dK5O7WS67P4fbDkEZDxd5uci7idoc1ZeeGMV0p9U8hRfwelkm7_LB6fbB77b0yI1A/s72-c/1234.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-839107245689440426</id><published>2010-03-16T00:13:00.000-07:00</published><updated>2011-09-16T07:18:53.794-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Health"/><title type='text'>Natural Remedy for Heart Block Vein Opening</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;I got this information from Email. It was very useful and I want to remember this information forever and also wanted to help others also by letting them know about this, so i am posting it in my blog. If you are reading this blog, hope you will find this useful. Please re-post or send it to your friends and relatives if you find this useful.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjush57nIzZUQq-gCev3BnHwRa1er7IN-APyl4Ez-xg-x1dmcZokptjIdRjXTniFcFD7Ku3jiE1d7pIbofDCwiF0AhUgbq_hzrknFH47P17Po69fP7glei5pSRUfMEjeUYiT_oJtrVGvk8f/s1600-h/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjush57nIzZUQq-gCev3BnHwRa1er7IN-APyl4Ez-xg-x1dmcZokptjIdRjXTniFcFD7Ku3jiE1d7pIbofDCwiF0AhUgbq_hzrknFH47P17Po69fP7glei5pSRUfMEjeUYiT_oJtrVGvk8f/s400/1.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp2flV0ZG8W9nBHOQ4q46W5nIa6lVozIRUMmzYU-5wLwh0kaVvqg6Bgv6-lKq7eZi7199gf0ru8vXC1ZOMaHnLFGhnLAy1VSZQJNlfAmGxaEpFRNh8s9YLL8SwyNprUyQWTH8yiazGxR4z/s1600-h/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp2flV0ZG8W9nBHOQ4q46W5nIa6lVozIRUMmzYU-5wLwh0kaVvqg6Bgv6-lKq7eZi7199gf0ru8vXC1ZOMaHnLFGhnLAy1VSZQJNlfAmGxaEpFRNh8s9YLL8SwyNprUyQWTH8yiazGxR4z/s400/2.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj786Waw6Jt-2BGVHT2HohgewaBcHNlJSjVA9mdJzu1v3so2WWxuqoewFLH7z3bLSoq6xABTsGNajQRQ7_DmLPFZPAYdvEfXxIrmbBg6vYGDjb-YKeuSTPHXKW2ymoAkf4yKdP5ZebOcOgo/s1600-h/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj786Waw6Jt-2BGVHT2HohgewaBcHNlJSjVA9mdJzu1v3so2WWxuqoewFLH7z3bLSoq6xABTsGNajQRQ7_DmLPFZPAYdvEfXxIrmbBg6vYGDjb-YKeuSTPHXKW2ymoAkf4yKdP5ZebOcOgo/s400/3.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr-_7BIDDyj8PN3FRZEw8UV06U2uxYykxNwK8U6FWd1zhQoj-STNaW2zIQMqjRyl45ozLjSDvWYH1di5JRl-0P0he4IXqrvJct3wZD4gzwbkRpLZLo6iaYku_g23MpgUKlqEG0sjm37RbP/s1600-h/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr-_7BIDDyj8PN3FRZEw8UV06U2uxYykxNwK8U6FWd1zhQoj-STNaW2zIQMqjRyl45ozLjSDvWYH1di5JRl-0P0he4IXqrvJct3wZD4gzwbkRpLZLo6iaYku_g23MpgUKlqEG0sjm37RbP/s400/4.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoeKccfHAZweqyGDVByEz8wbMOUJSzJxzS0W-5f7akHSTysQeo6CXNxOO7J3gmuh42crcajGCvsOSPZa1oq9RT5OxRht8YLJHKOg5f8KyKHlXri3GXTOPSLK5KdSsB6zLGEa2u7co904zO/s1600-h/8.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq3M7teiRzi9aWgrOBuWr0KjI1I2Z-lNhqAcYvbBmc1krfrEoCddS7bUPADJv5sJNUmTsBKpQO2NTkXdrDtLVbIIZcCV0mRMrXYKpJWrV2DnFkO5RW04GSNZulo3o55grkuDpXu82Jk_3u/s1600-h/5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq3M7teiRzi9aWgrOBuWr0KjI1I2Z-lNhqAcYvbBmc1krfrEoCddS7bUPADJv5sJNUmTsBKpQO2NTkXdrDtLVbIIZcCV0mRMrXYKpJWrV2DnFkO5RW04GSNZulo3o55grkuDpXu82Jk_3u/s400/5.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEU5nivjw9TMP_DOBfcj43fpl-9mZN0MwwHlGyCl6UiJBMcuAo1bScjlrZD20Jl2zq4ojSpYmO3WW6l2Y97izFVWUXeux2gLr5FzdHymu8H5FiCzvPzD2lqKgK4OhZ_aY5QSKeD5pbBYqb/s1600-h/6.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEU5nivjw9TMP_DOBfcj43fpl-9mZN0MwwHlGyCl6UiJBMcuAo1bScjlrZD20Jl2zq4ojSpYmO3WW6l2Y97izFVWUXeux2gLr5FzdHymu8H5FiCzvPzD2lqKgK4OhZ_aY5QSKeD5pbBYqb/s400/6.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqLc3pCQ6FoIdDcuv0tY2R1GH0j51PsUwu4MinxL8x6OjBHtHTDwVQrouSgbwsXE9Bzzy5lnW0e6PpQ7j8VdRSY4sHyJJMlKYTBHi2PRNcchw45PcsOnAmFC0MM2U-DKvg9pTSmGVSxW_s/s1600-h/7.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqLc3pCQ6FoIdDcuv0tY2R1GH0j51PsUwu4MinxL8x6OjBHtHTDwVQrouSgbwsXE9Bzzy5lnW0e6PpQ7j8VdRSY4sHyJJMlKYTBHi2PRNcchw45PcsOnAmFC0MM2U-DKvg9pTSmGVSxW_s/s400/7.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoeKccfHAZweqyGDVByEz8wbMOUJSzJxzS0W-5f7akHSTysQeo6CXNxOO7J3gmuh42crcajGCvsOSPZa1oq9RT5OxRht8YLJHKOg5f8KyKHlXri3GXTOPSLK5KdSsB6zLGEa2u7co904zO/s1600-h/8.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoeKccfHAZweqyGDVByEz8wbMOUJSzJxzS0W-5f7akHSTysQeo6CXNxOO7J3gmuh42crcajGCvsOSPZa1oq9RT5OxRht8YLJHKOg5f8KyKHlXri3GXTOPSLK5KdSsB6zLGEa2u7co904zO/s400/8.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR34nYJVUBNBxxgiiWTDCljM2DjMgC5MkHtx9rEY7Ev91pVEBNaYoqm0VnLgxqOAhQFflEJIxjKYdNjr4swpN8XTzMmofa8bVSb-60iftmzUc31sGGT2iXx63DrMHmP5r2QhJU8M9iJEOf/s1600-h/9.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR34nYJVUBNBxxgiiWTDCljM2DjMgC5MkHtx9rEY7Ev91pVEBNaYoqm0VnLgxqOAhQFflEJIxjKYdNjr4swpN8XTzMmofa8bVSb-60iftmzUc31sGGT2iXx63DrMHmP5r2QhJU8M9iJEOf/s400/9.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZYOj0Y2VGMx-HhyphenhyphenpxVE5VqdLQWre1r-bdrO4f87j8gIPEIiC4wtAWiEBnMwlQAqeW3oFDVbwh4zISZRprfzQJRRxq6ylwswnhq8-oAvLpVeewRl1gCXQS8gF1hB0pEscYUl-sRd8kcfEp/s1600-h/10.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZYOj0Y2VGMx-HhyphenhyphenpxVE5VqdLQWre1r-bdrO4f87j8gIPEIiC4wtAWiEBnMwlQAqeW3oFDVbwh4zISZRprfzQJRRxq6ylwswnhq8-oAvLpVeewRl1gCXQS8gF1hB0pEscYUl-sRd8kcfEp/s400/10.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB53yF7iWaTzy1RP2YwSrRaUbziCr75w36QY5JidY4fPbkOomffVnETJW16i-wLE_Hy-s2W2HC8wpO0N-WO0qR1pd418pZYtKp5jewOxa_ShQXZ-PopYXdQVpXgnzNPmQxgbPetnmroSz1/s1600-h/11.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB53yF7iWaTzy1RP2YwSrRaUbziCr75w36QY5JidY4fPbkOomffVnETJW16i-wLE_Hy-s2W2HC8wpO0N-WO0qR1pd418pZYtKp5jewOxa_ShQXZ-PopYXdQVpXgnzNPmQxgbPetnmroSz1/s400/11.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_erpQQvMlQnp6sL8SAcRwmHzmwRM1rYNsAGMxzEvKi1XIkMNm05McDoexWKRfaaGOagGD_q_PUqJ5QFH6Lu6R6LtapU_GnLIOZk7Xt0qhIOTgWp8XTMfzuSCGFwFJfDA5J8DpR5viA4gR/s1600-h/12.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_erpQQvMlQnp6sL8SAcRwmHzmwRM1rYNsAGMxzEvKi1XIkMNm05McDoexWKRfaaGOagGD_q_PUqJ5QFH6Lu6R6LtapU_GnLIOZk7Xt0qhIOTgWp8XTMfzuSCGFwFJfDA5J8DpR5viA4gR/s400/12.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUnYICTza_CNVeJmzUGOd4ro___oeTk66A3HKF5i72HKNRV2xyVCtbxxcKxQ6uMSMT1ugmUQMAmuNsq-jAO4CcVS5kjk1Gr2QpAbGb-S2Wq3nIontfz46V4W97a4PZ4CsmT2Rw1P7_rBWC/s1600-h/13.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUnYICTza_CNVeJmzUGOd4ro___oeTk66A3HKF5i72HKNRV2xyVCtbxxcKxQ6uMSMT1ugmUQMAmuNsq-jAO4CcVS5kjk1Gr2QpAbGb-S2Wq3nIontfz46V4W97a4PZ4CsmT2Rw1P7_rBWC/s400/13.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVTRCNwt5vXuM0L3XYHp0KY87fKeLyALPQb21aNHVonhHtZyk2hA82oNtLTICNA_vbaXj7IbcIblncs2GyEHV-vkW30-8Du9T29yFb_7N2KefwikOqVGT08wHSNFGKOqRk-ipBeU36WqL7/s1600-h/14.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVTRCNwt5vXuM0L3XYHp0KY87fKeLyALPQb21aNHVonhHtZyk2hA82oNtLTICNA_vbaXj7IbcIblncs2GyEHV-vkW30-8Du9T29yFb_7N2KefwikOqVGT08wHSNFGKOqRk-ipBeU36WqL7/s400/14.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYzOz7tq0_oaAe6QDbRc7bmFABKn44PYWFeS6yCLt4jQRWo4YslUeZpX2Pa4Q7T-v6IyvCWGK76gDa7L2S0QafQxRSAswkn9Ehmdcx9Ry_aWAb6qOO4b8WNNdrX6HM_GWfhhNxk5fgvIj6/s1600-h/15.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYzOz7tq0_oaAe6QDbRc7bmFABKn44PYWFeS6yCLt4jQRWo4YslUeZpX2Pa4Q7T-v6IyvCWGK76gDa7L2S0QafQxRSAswkn9Ehmdcx9Ry_aWAb6qOO4b8WNNdrX6HM_GWfhhNxk5fgvIj6/s400/15.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi11Dj2X99eN-hV5YV1DO_pVs9mOYtJ_DYj4hwM73YEQtwONbQ5U3C04GNvH2gQVCGQmjVwDIxP2FeQB2E9GS0vvDrUB3hrXWG49TSZUjI48voUHCWzsG3LVkHfhaI9MeBsfkDhj3POtCKn/s1600-h/16.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi11Dj2X99eN-hV5YV1DO_pVs9mOYtJ_DYj4hwM73YEQtwONbQ5U3C04GNvH2gQVCGQmjVwDIxP2FeQB2E9GS0vvDrUB3hrXWG49TSZUjI48voUHCWzsG3LVkHfhaI9MeBsfkDhj3POtCKn/s400/16.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz2IWW3Pw2XvErkpntzA7iNw-uFFUpBNO72iHDmYeY0h42vtmIHwlsPNtdM9jclkZP-Lf_PjfuX4kn-MHgFQHTzXMXDM0YpKLX45Hx6jFox7g3Y3x0wA9zzX27Xn_lGBBuAPkTPBmwipnN/s1600-h/17.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz2IWW3Pw2XvErkpntzA7iNw-uFFUpBNO72iHDmYeY0h42vtmIHwlsPNtdM9jclkZP-Lf_PjfuX4kn-MHgFQHTzXMXDM0YpKLX45Hx6jFox7g3Y3x0wA9zzX27Xn_lGBBuAPkTPBmwipnN/s400/17.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIz7XglUcBvGcZn272dmPum2vL1to4LfqhQj129K74HTpc8gey-aSrpfH_LDpzcoAohRL93qr3BueHLiHiFbIy_ii1JzEHPWtVEckffk7_4wq9wyCW_n2f-xHhfLqg-9l6XwNketO4MoQK/s1600-h/18.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIz7XglUcBvGcZn272dmPum2vL1to4LfqhQj129K74HTpc8gey-aSrpfH_LDpzcoAohRL93qr3BueHLiHiFbIy_ii1JzEHPWtVEckffk7_4wq9wyCW_n2f-xHhfLqg-9l6XwNketO4MoQK/s400/18.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;&lt;/div&gt;&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;&lt;/div&gt;&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/839107245689440426/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2010/03/heart-block-vein-opening-natural-remedy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/839107245689440426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/839107245689440426'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2010/03/heart-block-vein-opening-natural-remedy.html' title='Natural Remedy for Heart Block Vein Opening'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjush57nIzZUQq-gCev3BnHwRa1er7IN-APyl4Ez-xg-x1dmcZokptjIdRjXTniFcFD7Ku3jiE1d7pIbofDCwiF0AhUgbq_hzrknFH47P17Po69fP7glei5pSRUfMEjeUYiT_oJtrVGvk8f/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-557315445664115884</id><published>2010-03-15T03:13:00.000-07:00</published><updated>2011-09-16T07:19:13.271-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Science"/><title type='text'>Most Insane Coincidences You Won&#39;t Believe Actually Happened</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;I read an interesting Blog about Six insane coincidences and I have selected two most striking and amazing out of the six. I would like to share in my blog as well because its just awesome. Just read and see...&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;A Terrifyingly Accurate Prediction by Edgar Allan Poe&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
In 1838, future horror-god &quot;Edgar Allan Poe&quot; released a book called &lt;i&gt;The Narrative of &lt;leo_highlight id=&quot;leoHighlights_Underline_0&quot; leohighlights_keywords=&quot;arthur&quot; leohighlights_underline=&quot;true&quot; leohighlights_url_bottom=&quot;http%3A//shortcuts.thebrowserhighlighter.com/leonardo/plugin/highlights/3_1/tbh_highlightsBottom.jsp?keywords%3Darthur%26domain%3Dwww.cracked.com&quot; leohighlights_url_top=&quot;http%3A//shortcuts.thebrowserhighlighter.com/leonardo/plugin/highlights/3_1/tbh_highlightsTop.jsp?keywords%3Darthur%26domain%3Dwww.cracked.com&quot; onclick=&quot;leoHighlightsHandleClick(&#39;leoHighlights_Underline_0&#39;)&quot; onmouseout=&quot;leoHighlightsHandleMouseOut(&#39;leoHighlights_Underline_0&#39;)&quot; onmouseover=&quot;leoHighlightsHandleMouseOver(&#39;leoHighlights_Underline_0&#39;)&quot; style=&quot;-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: transparent none repeat scroll 0% 50%; border-bottom: 2px solid rgb(255, 255, 150); cursor: pointer; display: inline;&quot;&gt;Arthur&lt;/leo_highlight&gt; Gordon Pym of Nantucket&lt;/i&gt;, his only full novel. The book was such a bomb that Poe eventually agreed with his critics that it was &quot;a very silly book&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Title&quot;&gt;Where it Gets Weird:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Title&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvX7Ntx5zves0Ud07uPQknalKNORISa45DAlY5ZFcJuJxsnWs0xhF-qfZkFE8nFwKKeI0yoPb_7ON48gzbVB9mRAgyRKDy9UUENJ_OehEY4Pz9WDhQajlYAoWhudT30tTIPbC5EMGwLX7a/s1600-h/18960.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;132&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvX7Ntx5zves0Ud07uPQknalKNORISa45DAlY5ZFcJuJxsnWs0xhF-qfZkFE8nFwKKeI0yoPb_7ON48gzbVB9mRAgyRKDy9UUENJ_OehEY4Pz9WDhQajlYAoWhudT30tTIPbC5EMGwLX7a/s400/18960.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;Poe did a &lt;i&gt;Blair Witch&lt;/i&gt; thing with his novel, which claimed to be based on true events. This turned out to be a half-truth: The real life events simply had not happened yet.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiZgVy0CQLTCmlJ8gpqKcfl-RVPJtZlyAsJgBV1-ujVMXg_DXKOG-uYoBwAPNkpISaP3OCut9KzxZIWu96VBPePVudlroGqapJtBt7rrFoNDvBl-XQ34sImwz5Z_OFilGrDTZkETAXo59/s1600-h/18936.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiZgVy0CQLTCmlJ8gpqKcfl-RVPJtZlyAsJgBV1-ujVMXg_DXKOG-uYoBwAPNkpISaP3OCut9KzxZIWu96VBPePVudlroGqapJtBt7rrFoNDvBl-XQ34sImwz5Z_OFilGrDTZkETAXo59/s320/18936.jpg&quot; width=&quot;241&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
One scene in &lt;i&gt;The Narrative of &lt;leo_highlight id=&quot;leoHighlights_Underline_3&quot; leohighlights_keywords=&quot;arthur&quot; leohighlights_underline=&quot;true&quot; leohighlights_url_bottom=&quot;http%3A//shortcuts.thebrowserhighlighter.com/leonardo/plugin/highlights/3_1/tbh_highlightsBottom.jsp?keywords%3Darthur%26domain%3Dwww.cracked.com&quot; leohighlights_url_top=&quot;http%3A//shortcuts.thebrowserhighlighter.com/leonardo/plugin/highlights/3_1/tbh_highlightsTop.jsp?keywords%3Darthur%26domain%3Dwww.cracked.com&quot; onclick=&quot;leoHighlightsHandleClick(&#39;leoHighlights_Underline_3&#39;)&quot; onmouseout=&quot;leoHighlightsHandleMouseOut(&#39;leoHighlights_Underline_3&#39;)&quot; onmouseover=&quot;leoHighlightsHandleMouseOver(&#39;leoHighlights_Underline_3&#39;)&quot; style=&quot;-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: transparent none repeat scroll 0% 50%; border-bottom: 2px solid rgb(255, 255, 150); cursor: pointer; display: inline;&quot;&gt;Arthur&lt;/leo_highlight&gt; Gordon Pym of Nantucket&lt;/i&gt; visits a whaling ship lost at sea, taking with it all but four crewmen. Out of food, the men drew lots to see who would be eaten, the unfortunate decision landing on a young cabin boy named Richard Parker.&lt;br /&gt;
&lt;br /&gt;
Forty-six years later, there was an actual disaster at sea involving the &lt;i&gt;Mignonette&lt;/i&gt;. It became famous due to the legal consequences of some gruesome events on board, specifically the way the men drew lots and decided to eat their cabin boy...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Title&quot;&gt;Where it Gets Even Weirder:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The bizarre story was discovered decades later by &#39;Nigel Parker&#39;, a distant cousin of the Richard Parker who got eaten. You can only imagine what the &lt;i&gt;fuck&lt;/i&gt; went through his mind when he stumbled upon the connection. And that would go down as the freakiest unintentional prediction of future events in a work of fiction, if it were not completely blown away by the below incident.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Morgan Robertson Writes About the &lt;i&gt;Titanic&lt;/i&gt; 14 Years Early&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
James Cameron made it to Oscars with an incident which took place about hundred years ago. American author Morgan Robertson wrote a shitty book called &quot;&lt;a href=&quot;http://en.wikipedia.org/wiki/Futility,_or_the_Wreck_of_the_Titan&quot; target=&quot;c&quot;&gt;Futility, or the Wreck of the Titan&lt;/a&gt;&quot;, about the sinking of an &quot;unskinkable&quot; ocean liner. When you see the cover, you figure you&#39;re pretty clearly looking at a fictionalized version of the Titanic story. No surprise there. It&#39;s a story that&#39;s been told over and over (there were 13 Titanic movies before Cameron&#39;s, including one by the Nazis) but Robertson&#39;s book was first.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Title&quot;&gt;Where it Gets Weird:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uQvs9bp4Msz0uFa0XLn6pLO1_74lIOlNOE7R9tqqPk0Y7M4U-XD-6p7dIQxdBkBsT5DbDBJT6Muf5-mDQLAAB8X-vUaUTg0k8eSbFPHrn_yrMVSoZQJ4R7OVQERHtTtxdwdJQyZ60J3h/s1600-h/18938.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uQvs9bp4Msz0uFa0XLn6pLO1_74lIOlNOE7R9tqqPk0Y7M4U-XD-6p7dIQxdBkBsT5DbDBJT6Muf5-mDQLAAB8X-vUaUTg0k8eSbFPHrn_yrMVSoZQJ4R7OVQERHtTtxdwdJQyZ60J3h/s320/18938.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;Title&quot;&gt;&lt;/span&gt;He was so eager to be first, apparently, that he didn&#39;t bother to wait for the Titanic to actually sink before writing about it. &lt;i&gt;The Wreck of the Titan&lt;/i&gt; was published in 1898, 14 years before &lt;i&gt;Titanic&lt;/i&gt; was even finished.&lt;br /&gt;
&lt;br /&gt;
The similarities between Robertson&#39;s work and the &lt;i&gt;Titanic&lt;/i&gt; disaster are so astounding that one has to imagine if White Star Line built &lt;i&gt;Titanic&lt;/i&gt; to Robertson&#39;s specs as a dare. The &lt;i&gt;Titan&lt;/i&gt; was described as &quot;the largest craft a float and the greatest of the works of men&quot;, &quot;equal to that of a first class hotel&quot; and, of course, &quot;unsinkable&quot;.&lt;br /&gt;
&lt;br /&gt;
Both ships were British-owned steel vessels, both around 800 feet long and sank after hitting an iceberg in the North Atlantic, in April, &quot;around midnight.&quot; Sound like enough to keep you up at night? Maybe that&#39;s why Robertson republished the book in 1912 just in case enough people didn&#39;t know that he wrote it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Title&quot;&gt;Where it Gets Even Weirder:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGg_9YRDv-2Vbsz4bOvRjBryIn4tj9shTZW8nDqQYmONBMaB0aHHfOKBX-qaFFm2vIwV0h3jxVm8K3i6W_80Kud16LTwiorLH9y8YR_vxbQqSVd8rOQZxu2nqolr91DHGcR0CQUX6zDquE/s1600-h/18959.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;131&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGg_9YRDv-2Vbsz4bOvRjBryIn4tj9shTZW8nDqQYmONBMaB0aHHfOKBX-qaFFm2vIwV0h3jxVm8K3i6W_80Kud16LTwiorLH9y8YR_vxbQqSVd8rOQZxu2nqolr91DHGcR0CQUX6zDquE/s400/18959.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
While the novel does bear some curious coincidences with the &lt;i&gt;Titanic&lt;/i&gt; disaster, there are quite a few things that Robertson got flat wrong. For one, the &lt;i&gt;Titanic&lt;/i&gt; did not crash into an iceberg &quot;400 miles from Newfoundland&quot; at 25 knots. It crashed into an iceberg 400 miles from Newfoundland at 22.5 knots.&lt;br /&gt;
Wait, what the fuck? That&#39;s one hell of a lucky guess!&lt;br /&gt;
&lt;br /&gt;
But maybe the weirdest thing about &lt;i&gt;Titan&lt;/i&gt; were points that had nothing to do with the story, For one, both the &lt;i&gt;Titan&lt;/i&gt; and the &lt;i&gt;Titanic&lt;/i&gt; had too few lifeboats to accommodate every passenger on board; the &lt;i&gt;Titan&lt;/i&gt; carrying &quot;as few as the law allowed.&quot; While Robertson decided to be generous and include four lifeboats more on his ship than Titanic, it&#39;s an odd point to bring up when you consider that lifeboats had &lt;i&gt;nothing to do with the story&lt;/i&gt;. When &lt;i&gt;Titan&lt;/i&gt; hit the iceberg, the ship sank immediately, making the point made about &quot;lifeboats inconsequential&lt;i&gt;&quot;.&lt;/i&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/557315445664115884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2010/03/most-insane-coincidences-you-wont.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/557315445664115884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/557315445664115884'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2010/03/most-insane-coincidences-you-wont.html' title='Most Insane Coincidences You Won&#39;t Believe Actually Happened'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvX7Ntx5zves0Ud07uPQknalKNORISa45DAlY5ZFcJuJxsnWs0xhF-qfZkFE8nFwKKeI0yoPb_7ON48gzbVB9mRAgyRKDy9UUENJ_OehEY4Pz9WDhQajlYAoWhudT30tTIPbC5EMGwLX7a/s72-c/18960.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1731912580709708317.post-3291936068472481072</id><published>2010-03-12T02:04:00.000-08:00</published><updated>2011-09-16T07:19:38.440-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LINQ"/><category scheme="http://www.blogger.com/atom/ns#" term="MS SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Technology"/><title type='text'>Using LINQ to SQL Template - Part Two</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;112&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-t8IraWou0fkZknPaHAN_nkix1T8Mxeo_WVZJxpyHPIODveHpHKsAadpxFko7HNZFeoUJ8pY8W6dK5O7WS67P4fbDkEZDxd5uci7idoc1ZeeGMV0p9U8hRfwelkm7_LB6fbB77b0yI1A/s200/1234.jpg&quot; width=&quot;200&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;i&gt;This post has reference to &lt;a href=&quot;http://shasath.blogspot.com/2010/03/using-linq-to-sql-template-part-one.html&quot;&gt;part one&lt;/a&gt; of this Article.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;Create a new Class with the name &quot;MyLinq&quot;. We are going to use the DataContextFactory Class which we created in Part One. Also assume in our database we have Table with name &quot;User&quot; and with the following Definition.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAc72wVhc-X0HfFO4Frc42GPGeslfGnk-i509KpLNRKNnGIU3D49cZP2g51reiscN6SluLktYTFxmlBx2G4MHDak4QbI-T-1UHn9lbF7ppXmNI6W7ChEIdWHaMmMpgBPCfLWqpqibEf3kK/s1600-h/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAc72wVhc-X0HfFO4Frc42GPGeslfGnk-i509KpLNRKNnGIU3D49cZP2g51reiscN6SluLktYTFxmlBx2G4MHDak4QbI-T-1UHn9lbF7ppXmNI6W7ChEIdWHaMmMpgBPCfLWqpqibEf3kK/s320/Untitled-1.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also inside the &quot;Linq to Sql&quot; Template, the name of the &quot;User&quot; Table interface is &quot;UserEntity&quot;. Now lets see how we can INSERT or UPDATE Data Rows in the User Table. Use the following block of code within MyLinq class,&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #f6b26b;&quot;&gt;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&amp;nbsp;&amp;nbsp; public void InsertOrUpdateUserProfile(string userName, string phoneNumber)&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; using (DataDataContext db = DataContextFactory.CreateContext())&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InsertUpdateUser(db, userName, phoneNumber);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; db.SubmitChanges();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&amp;nbsp; private void InsertUpdateUser(DataDataContext db, string userName, string phonenumber)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var userentity = (from entity in db.UserEntities&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where entity.UserName == userName&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select entity)&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; List&amp;lt;UserEntity&amp;gt; uE = userentity.ToList();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (uE.Count == 0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserEntity userE = new UserEntity();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; userE.UserName = userName;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; userE.PhoneNumber = phonenumber;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; db.UserEntities.InsertOnSubmit(userE);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;  &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;  &lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Not more than one element is considered&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #f6b26b;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserEntity userE = userentity.Single();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; userE.PhoneNumber = phonenumber;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch(Exception)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new Exception(&quot;Unable to Insert or Update the Database&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
Now use the below Two methods to DELETE option,&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #f6b26b;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;public void DeleteUserProfile(string userName)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; using (DataDataContext db = DataContextFactory.CreateContext())&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DeleteUser(db, userName);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; db.SubmitChanges();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&lt;i&gt;&lt;br /&gt;
&lt;/i&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #f6b26b;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&amp;nbsp;&amp;nbsp; private void DeleteUser(DataDataContext db, string userName)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; db.UserEntities.DeleteAllOnSubmit(from entity in db.UserEntities&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where entity.UserName == userName&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select entity);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch (Exception)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new Exception(&quot;Unable to Delete&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div id=&quot;refHTML&quot;&gt;&lt;/div&gt;&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;&lt;/div&gt;&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;&lt;/div&gt;&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shasath.blogspot.com/feeds/3291936068472481072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shasath.blogspot.com/2010/03/using-linq-to-sql-template-part-two.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/3291936068472481072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1731912580709708317/posts/default/3291936068472481072'/><link rel='alternate' type='text/html' href='http://shasath.blogspot.com/2010/03/using-linq-to-sql-template-part-two.html' title='Using LINQ to SQL Template - Part Two'/><author><name>Sathish R</name><uri>http://www.blogger.com/profile/07347385218445021362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd278BBXf4nvJqITqQ0V8QCJdaO8h3GIRehNtUO40XpAlHU98pUXH44rII8h2jq03DPq_C5LIq8QoxhFq5eQY1ESCsCTlKNzVKEzD3WFbi5tmbjY3tPysHXHres5rlho8/s113/ProfilePic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-t8IraWou0fkZknPaHAN_nkix1T8Mxeo_WVZJxpyHPIODveHpHKsAadpxFko7HNZFeoUJ8pY8W6dK5O7WS67P4fbDkEZDxd5uci7idoc1ZeeGMV0p9U8hRfwelkm7_LB6fbB77b0yI1A/s72-c/1234.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>