Some of these signs and symptoms can be caused by various underlying factors, including medication side effects, obstructive sleep apnea, thyroid problems, diabetes and depression. It's also possible that these conditions may be the cause of low testosterone levels, and treatment of these problems may cause testosterone levels to rise. A blood test is the only way to diagnose a low testosterone level.
There are no studies showing its effects on healthy males, but it has been shown to drastically improve testosterone in infertile males (ref 77). It's also packed full of minerals, so is a great superfood nevertheless. I use the Sunfoods brand. Make sure you buy from a quality brand, as there are a lot of poor shilajit products out there, also some have been shown to be high in heavy metals. 
“I’m a retired firefighter going on 65 and noticed I was getting soft and bigger in the belly even though I do regular exercise (jogging 3-4 miles 4 to 5 times a week). Since using Andro400, I’ve lost 2 inches off my waist and 12-13 pounds. I did not diet, ate what I normally do (here in Vegas, lots of buffets). Started out with a 38 inch waist, now 36; 195 lbs., now in the 182 range.”

Men on long-term testosterone appear to have a higher risk of cardiovascular problems, like heart attacks, strokes, and deaths from heart disease. For example, in 2010, researchers halted the Testosterone in Older Men study when early results showed that men on hormone treatments had noticeably more heart problems. "In older men, theoretical cardiac side effects become a little more immediate," Dr. Pallais says.
If you're completely inactive, or if you're completely burned out from overly intense training, neither one is going to help your T-levels. And when it comes to nutrition, eating enough—and getting adequate dietary fats—are both essential for healthy testosterone levels, and for general health.[2] In "All About Testosterone," Chris Lockwood, Ph.D., notes that extreme low-calorie dieting and fasting will hinder testosterone levels from staying at their peak, along with better-known villains like chronic stress.
Many studies showed the property of garlic in the proliferation and restoration effects on testosterone levels. It’s thought that this is due to a chemical in garlic known as diallyl sulfide. Diallyl-disulfide stimulates the synthesis of luteinizing hormone in the pituitary gland. Luteinizing hormone causes an increase in testosterone production in the Leydig cells of the testis.
The most common "out of balance" testosterone levels are found to be on the low side of normal; this occurs because a male's highest testosterone level usually peaks at about age 20, and then it decreases slowly with age. It has been suggested that a 1% decrease in testosterone level per year is not unusual for middle-aged (30 to 50 years old) and older males. While this decrease may not be noticeable in some men, others may experience significant changes starting in their middle-aged years or more commonly at age 60 and above. This drop in testosterone levels is sometimes termed hypogonadism, "male menopause" or andropause.
In over two decades of medical practice, I've come to realize that the majority my patients' complaints stem from issues that are within their control—meaning diet and lifestyle changes can help them greatly. And that goes for hormonal imbalances, like low testosterone and high estrogen, as well. In previous articles I've outlined what men can do to address this common issue, including eating lots of healthy fats, HIIT exercises, and controlling stress. Once the easy stuff has been taken care of, it's time to tackle testing, bioidentical hormones, and supplements that can also help with low T.
Acne and Allergic Reactions: The testosterone is universally regarded as one of the triggering factors for acne. It stimulates the activity of oil glands making the skin more oily and vulnerable to acne. This body hormone might also cause allergic reactions, such as hives, rash, difficulty breathing, itching, chest tightness, and big swelling of the facial parts.
We start with plastic. A lot of plastic contains bisphenol A (BPA); BPA is a weak synthetic estrogen. Like many other chemicals used in making plastics, BPA is a hormone disruptor and can block or mimic hormones and how they act in the body (34). If you think you’re safe with BPA plastic, think again. Research shows that BPA free plastic has similar estrogen-like effects on the body.
Avoid stressful situations – It is actually that simple. If you can avoid stressful situations, then you can significantly improve your overall testosterone production. Why is that? Well, you should know that stress makes our bodies to produce cortisol that is a notorious and well-known testosterone killer. So, what can you do about it? Well, you should definitely try deep breathing, meditating, exercising, and other lifestyle changes that can help you deal with the stressful situations the right way.
Individuals with metabolic syndrome are at increased risk for developing coronary artery disease and diabetes mellitus. Predicting who might develop the metabolic syndrome would allow preventive measures to be taken in addition to weight control and other lifestyle modifications such as cessation of smoking and increased exercise. It is known that with decreasing testosterone availability in aging males there is an increase in fat mass and decrease in lean body mass (van den Beld et al 2000), there are disorders of insulin and glucose metabolism (Haffner et al 1996) and dyslipidemia (Tsai et al 2004). Kupelian and colleagues (2006) in analyzing data from the Massachusetts Male Aging Study demonstrated that men with low levels of testosterone, sex hormone-binding globulin, or clinical androgen deficiency, especially men with a BMI of greater than 25, were at increased risk of developing the metabolic syndrome and hence, diabetes mellitus and/or coronary artery disease.

Another recent development is the production of adhesive tablets which are applied twice daily to the buccal mucosa on the gum above the incisor teeth. The tablets gradually release testosterone into the systemic venous circulation and steady state physiological concentrations are achieved in most patients within two days (Ross et al 2004). Some patients do not like the feeling of the tablet in the mouth or find that there is an abnormal taste in the mouth, but local adverse effects are usually mild and transient (Wang, Swerdloff et al 2004).
The mineral zinc is important for testosterone production, and supplementing your diet for as little as six weeks has been shown to cause a marked improvement in testosterone among men with low levels.1 Likewise, research has shown that restricting dietary sources of zinc leads to a significant decrease in testosterone, while zinc supplementation increases it2 -- and even protects men from exercised-induced reductions in testosterone levels.3
It doesn’t get more natural than getting a good night’s sleep. Research published in the Journal of the American Medical Association showed that lack of sleep can greatly reduce a healthy young man’s testosterone levels. That effect is clear after only one week of reduced sleep. Testosterone levels were particularly low between 2 and 10 p.m. on sleep-restricted days. Study participants also reported a decreased sense of wellbeing as their blood testosterone levels dropped.
The natural production of DHEA is also age-dependent. Prior to puberty, the body produces very little DHEA. Production of this prohormone peaks during your late 20’s or early 30’s. With age, DHEA production begins to decline. The adrenal glands also manufacture the stress hormone cortisol, which is in direct competition with DHEA for production because they use the same hormonal substrate known as pregnenolone. Chronic stress basically causes excessive cortisol levels and impairs DHEA production, which is why stress is another factor for low testosterone levels.

Testosterone is a hormone that is secreted in both men and women. It is responsible for sex drive, as well as protein processing for muscle mass development and strength. Testosterone declines with age, illness and poor nutrition in both genders, though this change may be more marked in men. Synthetic hormone replacement therapy can cause adverse side effects. A natural way to raise the body’s testosterone levels safely include supplementing the diet with specific nutrients and physical exercise.
Intracoronary artery infusion of testosterone causes significant coronary artery dilatation and not constriction as previously thought (Webb et al 1999). When degree of coronary obstruction is assessed by angiography, there is a direct relationship between degree of coronary artery narrowing and reduced testosterone levels (Phillips et al 1994). Men with low testosterone levels have been observed to have: premature atherosclerosis, increased visceral adipose tissue, hyperinsulinemia, and other risk factors for myocardial infarction (Phillips 2005). Insulin resistance has been shown to be associated with a decrease in Leydig cell secretion of testosterone (Pitteloud et al 2005). Muller and colleagues suggest that low endogenous total testosterone and SHBG levels increase the risk of metabolic syndrome in aging and aged men. They demonstrated that low levels of testosterone are related to lower insulin sensitivity and higher fasting insulin levels (Muller et al 2005). These authors speculate that testosterone might play a protective role in the development of metabolic syndrome, insulin resistance, diabetes mellitus and cardiovascular disease in aging men.
Yeah, you could do expensive hormone replacement. Or you could take a synthetic test booster. But at the end of the day, neither of these compare to being able to boost testosterone naturally. Nature didn’t intend for you to inject yourself with hormones. Somewhere along the line something went wrong. At your natural level, you are designed to flourish. And the world has everything available for you and your testosterone levels to do so.
The changes in average serum testosterone levels with aging mean that the proportion of men fulfilling a biochemically defined diagnosis of hypogonadism increases with aging. Twenty percent of men aged over 60 have total testosterone levels below the normal range and the figure rises to 50% in those aged over 80. The figures concerning free testosterone are even higher as would be expected in view of the concurrent decrease in SHBG levels (Harman et al 2001).
Sprinting has been shown numerous times that it has positive effects on testosterone levels. One 2011 study (ref 84) looked at weightlifters who performed 4x35m sprints twice a week. In contrast to the control group (who continued lifting but did not sprint), it was found that “After the 4-week training program, total testosterone and the total testosterone/cortisol ratio increased significantly in the (sprinters) EXP group”.
Reordering. My husband has been very tired (lazy), but unable to sleep, and quickly started gaining a belly. I give him his vitamins so he never knows what he is taking. Only 3 days after taking this, he played an entire soccer game and commented on how much more energy he had and how he just feels better all around. I then told him what he was taking. He has continued taking and he is like his old self again. His energy has not only come back on the soccer field, but in other areas, as well.

In addition to weight training, combining this with interval training like burst training is the best overall combo to increase HGH. In fact, Burst training has been proven to not only boost T-levels, it helps keeps your testosterone elevated and can prevent its decline. Burst training involves exercising at 90–100 percent of your maximum effort for a short interval in order to burn your body’s stored sugar (glycogen), followed by a period of low impact for recovery.

Cross-sectional studies have found a positive association between serum testosterone and some measures of cognitive ability in men (Barrett-Connor, Goodman-Gruen et al 1999; Yaffe et al 2002). Longitudinal studies have found that free testosterone levels correlate positively with future cognitive abilities and reduced rate of cognitive decline (Moffat et al 2002) and that, compared with controls, testosterone levels are reduced in men with Alzheimer’s disease at least 10 years prior to diagnosis (Moffat et al 2004). Studies of the effects of induced androgen deficiency in patients with prostate cancer have shown that profoundly lowering testosterone leads to worsening cognitive functions (Almeida et al 2004; Salminen et al 2004) and increased levels of serum amyloid (Gandy et al 2001; Almeida et al 2004), which is central to the pathogenesis of Alzheimer’s disease (Parihar and Hemnani 2004). Furthermore, testosterone reduces amyloid-induced hippocampal neurotoxity in vitro (Pike 2001) as well as exhibiting other neuroprotective effects (Pouliot et al 1996). The epidemiological and experimental data propose a potential role of testosterone in protecting cognitive function and preventing Alzheimer’s disease.


There are positive correlations between positive orgasm experience in women and testosterone levels where relaxation was a key perception of the experience. There is no correlation between testosterone and men's perceptions of their orgasm experience, and also no correlation between higher testosterone levels and greater sexual assertiveness in either sex.[34]
Directions — SUGGESTED USE: As a dietary supplement take 3 capsules daily, preferably with a meal, or as directed by a healthcare professional. — Take two capsules with a meal twice a day. On days that you are not training, take two capsules in the morning and two capsules at night. On days that you train, take two capsules about an hour before workouts and take two capsules in the morning or at night depending on when you train.
Pellets. Your doctor will place the testosterone pellets under the skin of your upper hip or buttocks. Your doctor will give a shot of local anesthesia to numb your skin, then make a small cut and place the pellets inside the fatty tissues underneath your skin. This medication dissolves slowly and is released over about 3-6 months, depending on the number of pellets. 
In fact, testosterone supplements might cause more problems than they solve. Studies have suggested a connection between supplements and heart problems. A 2010 study reported in The New England Journal of Medicine showed that some men over age 65 had an increase in heart problems when they used testosterone gel. A later of men younger than 65 at risk for heart problems and heart-healthy older men showed that both groups had a greater risk of heart attack when taking testosterone supplements.
Elevated testosterone levels have been demonstrated to increase the growth of body muscles and contribute to better activation of the nervous system, resulting in more power and strength, a better mood, enhanced libido, and many other benefits.[3] Previous researches done on the anabolic role of testosterone and its impact on muscular strength in training-induced adaptations has provided rather conflicting findings, and a positive correlation between testosterone-mediated responses and both functional performance and body composition was found.[4,5] There are a number of naturally occurring substances that can boost testosterone levels in the body. Foods containing such substances are known as testosterone-foods; and they tend to be rich in vitamins, antioxidants, and minerals like zinc, which plays a key role in testosterone production.[2,6-8]
Also, due to the intake of these synthetic substances, men start behaving in a very excited way, as well as demonstrate high levels of aggression and even violence. So, the men’s behavior may be antisocial. In addition, the men will experience breast enlargement and testicular shrinkage. The other adverse effects include hypertension, tumor growth, heart attacks and strokes, as well as development of liver disorders. It’s obvious that the numerous dangers of steroid use far outweigh a few benefits which they bring.
This supplier is located in north sumatra (but they ship from Amazon via the U.S). They harvest the tongkat ali from the sumatra jungle and use roots of trees >10 years of age. I know this supplier is the best because he used to purchase from Tongkatali.org, which if you search Google you will find is the most reputable stuff. But he tests every batch before sending it out and became unhappy with the quality of their product. He now purchases from a new supplier who get tongkat ali extract from the same jungle, with the same extraction process, but who performs chemical and microbiological analysis of every batch they produce, which brings me peace of mind.

Get plenty of vitamin D. Vitamin D is a very important nutrient when it comes to testosterone production. This makes sense when you realize that vitamin D acts more like a steroidal hormone than it does like any typical vitamin. A 2010 study looked at the relationship between vitamin D supplementation and testosterone levels in men and found that those with higher levels of the vitamin also had higher levels of testosterone in their blood.[12] Vitamin D is made by human skin in response to intense summer sunshine, but a lack of going outdoors has triggered near epidemic levels of deficiency in American teenagers. Compounding this problem is that most northern states don't get enough sunshine to trigger vitamin D production for many months of the year.
Fenugreek is often found in Indian, Turkish, and Persian cuisine. Multiple studies have found it to improve testosterone levels, and in particular, sexual performance. Scientists at Babu Banarasi Das University and King George’s Medical University in India have found that fenugreek improved testosterone levels. Testosterone levels increased for 90% of the volunteers, sperm morphology (the size and shape of sperm) improved for 14.6%, and more than 50% of volunteers experienced improvements in mental alertness, mood, and libido.
Now that we know chronic insulin spikes lead to lower Testosterone production, I hope I haven’t sent you running into the low carb camp! There are a few studies out there showing that long term low carb or ketogenic dieting leads to higher cortisol levels (especially with subjects who are training), and decreased testosterone levels (28 & 29). I have used low carb diets in the past with successful results (winning a national bodybuilding title), however the key is to use cyclical carb re-feeds. If you’re going to go on a low carb diet for whatever reason, be sure to work in a large carb reefed once a week.
We’ll be honest. Testosterone boosters don’t really boost. The best testosterone booster is like taking a multivitamin with extra herbs that might slightly and temporarily increase your testosterone levels. Like all supplements, finding the right testosterone booster means wading into a sea of ingredients, all promising to help. Of 133 testosterone boosters, we found only one with the right ingredients to help raise your testosterone levels: Beast Sports Nutrition - Super Test ($45.88 for 180 capsules, or $2.04 per day).

Yeah a lot of information has come out in the last decade or so proving that cholesterol is in fact good for you, and actually has no correlation to heart disease. But I think it will be a few more years until the world will shift such a strong belief that cholesterol is the enemy. If you are interested in this you should read grain brain. It talks all about (and proves) how high carbohydrates are actually the reason for “high cholesterol” and a high fat low carb diet is great for your body, and more importantly your brain.
Osteoporosis refers to pathological loss of bone density and strength. It is an important condition due to its prevalence and association with bone fractures; most commonly of the hip, vertebra and forearm. Men are relatively protected from the development of osteoporosis by a higher peak bone mass compared with women (Campion and Maricic 2003). Furthermore, women lose bone at an accelerated rate immediately following the menopause. Nevertheless, men start to lose bone mass during early adult life and experience an increase in the rate of bone loss with age (Scopacasa et al 2002). Women of a given age have a higher prevalence of osteoporosis in comparison to men but the prevalence increases with age in both sexes. As a result, men have a lower incidence of osteoporotic fractures than women of a given age but the gap between the sexes narrows with advancing age (Chang et al 2004) and there is evidence that hip fractures in men are associated with greater mortality than in women (Campion and Maricic 2003).
Does the diminution that age brings with it in both total and bioavailable T have any clinical significance? This question leads us to the theme of this paper, “The Many Faces of Testosterone”. If testosterone were simply a “sex hormone” involved only with sexual desire and arousal we might tend to dismiss testosterone treatment in the aging man as merely a “life-style” therapy without any substantive basis for broad physiological necessity. The fact is, however, that the sexual attributes of testosterone are the least of its physiological necessities and that testosterone has a broad spectrum of demonstrated physiological functions as well as a wide variety of physiological and pathophysiological associations about which we are just learning.
It seems like today it’s a badge of honor to train every day until exhaustion. The ethos is to push yourself harder and harder every day. If that’s your philosophy towards exercise, you might be sabotaging your testosterone levels (as well as your 20 Mile March). Studies have shown that overtraining can reduce testosterone levels significantly. Yes, it’s important to exercise hard, but it’s even more important to give your body rest so it can recuperate from the damage you inflicted upon it.
If your levels are indeed low, there are a number of synthetic and bioidentical testosterone products on the market, as well as DHEA, which is the most abundant androgen precursor prohormone in the human body, meaning that it is the largest raw material your body uses to produce other vital hormones, including testosterone in men and estrogen in women.

A study out of the University of Mary Hardin-Baylor in Belton, Texas, examined the effects of fenugreek supplementation on strength and body composition in resistance-trained men. Researchers found that while both the placebo and fenugreek groups significantly increased their strength during the first four weeks, only the fenugreek group saw significant increases in strength after eight weeks of training and supplementation.[5]
12)  Use Aswaghanda and Collagen Protein:  This adaptogenic herb has been shown to reduce stress hormone, increase DHEA and boost testosterone levels.  You can take the Cortisol Defense to help you get restorative sleep at night which will support your testosterone.  In addition, I personally enjoy using the Organic Bone Broth Collagen in addition to the Amino Strong for a post weight training shake.  This protein powder has all the benefits of collagen protein and it has 500 mg of high potency ashwagandha in each serving!
Bhatia et al (2006) studied 70 male patients with type2 diabetes mellitus (age range 24–78 years). Thirty-seven subjects were found to have hypogonadism based on a calculated free testosterone level of less than 6.5 μg/dl. The hypogonadal group had a statistically significant lower hematocrit. Anemia was observed in 23% of the patients (16 out of 70). In 14 of 15 anemic patients calculated free testosterone was low.
Prime Male is a highly effective testosterone supplement that is designed specifically for aging men. It is a carefully formulated supplement you’ve been looking for that can catapult your libido into overdrive, improve bedroom performance, spike energy levels to where they were in your 20’s, harden your body with quality muscle mass, melt unnecessary body fat, and more. The high quality scientifically backed ingredients are the secret to this powerful testosterone booster.
The normal development of the prostate gland is dependent on the action of testosterone via the androgen receptor, and abnormal biosynthesis of the hormone or inactivating mutations of the androgen receptor are associated with a rudimentary prostate gland. Testosterone also requires conversion to dihydrotestosterone in the prostate gland for full activity. In view of this link between testosterone and prostate development, it is important to consider the impact that testosterone replacement may have on the prevalence and morbidity associated with benign prostatic hypertrophy (BPH) and prostate cancer, which are the common conditions related to pathological growth of the prostate gland.
Having low T is associated with decreased sex drive and less muscle mass, and one new study even found that lower levels of testosterone may raise the risk of depression. Fortunately, strength training spikes T, and living a healthy lifestyle also goes a long way toward keeping your levels topped off. But there are some completely natural compounds that can help as well.
[quote]You see there is a difference between your free testosterone levels and your total testosterone levels. As testosterone flows through your blood, free testosterone is chemically active and available for your body to use as it will. While other testosterone is floating around bound to SHGB (Sex Hormone Binding Globulin). This testosterone is inactive and unable to be used by your body because the SHGB renders it inert. So while you may have a high amount of “total testosterone,” much of it may be unavailable to be used by your body. So it is really the amount of free testosterone in your body that you should be concerned with.”[/quote]
Attention, memory, and spatial ability are key cognitive functions affected by testosterone in humans. Preliminary evidence suggests that low testosterone levels may be a risk factor for cognitive decline and possibly for dementia of the Alzheimer's type,[100][101][102][103] a key argument in life extension medicine for the use of testosterone in anti-aging therapies. Much of the literature, however, suggests a curvilinear or even quadratic relationship between spatial performance and circulating testosterone,[104] where both hypo- and hypersecretion (deficient- and excessive-secretion) of circulating androgens have negative effects on cognition.
“The Andro 400 has been a plus to my daily requirements of energy, stamina and weight loss. I have seen a noticeable reduction in my waistline from a 40" waist to a 37" waist. I am 6'6" and weighed 252, I now weigh 238 and feel much better. Without too much information, my sex drive and performance has been positively enhanced with greater sensitivity and stamina during those intimate times with my wife. Greater sensation, pleasure and results are evident.”
While I do have a pretty manly mustache, I’m not a doctor or a medical expert. I’m a guy with a law degree he’s never used who blogs about manliness. What I’m about to share shouldn’t be taken as a substitute for qualified medical expertise. It’s simply my experience and views on the subject. Before you make any changes in lifestyle or diet, talk to your doctor or healthcare provider. Be smart.
Grass-fed beef and commercially produced beef are best foods that boost testosterone. Both contain minerals and other nutrients essential for boosting your testosterone levels. The major advantage of grass-fed beef over their commercial variant is the amount of omega 3 fats present in them. The grass-fed beef had higher omega 3 fats to omega 6 fats. As you know omega 3 fats are the healthy one and keeping the ratio higher will be healthy.
The maximum hormone concentration in the blood is reported immediately after the workout. And the effect lasts throughout the day. However, it’s important to ensure that your physical activity is moderate. The matter is that too much high-intensity exercise can give an undesirable result. But even if for any reason you can’t attend a gym, it’s not a problem. Just move as much as possible during the day. Even simple walking will be of great benefit.
Cross-sectional studies have found a positive association between serum testosterone and some measures of cognitive ability in men (Barrett-Connor, Goodman-Gruen et al 1999; Yaffe et al 2002). Longitudinal studies have found that free testosterone levels correlate positively with future cognitive abilities and reduced rate of cognitive decline (Moffat et al 2002) and that, compared with controls, testosterone levels are reduced in men with Alzheimer’s disease at least 10 years prior to diagnosis (Moffat et al 2004). Studies of the effects of induced androgen deficiency in patients with prostate cancer have shown that profoundly lowering testosterone leads to worsening cognitive functions (Almeida et al 2004; Salminen et al 2004) and increased levels of serum amyloid (Gandy et al 2001; Almeida et al 2004), which is central to the pathogenesis of Alzheimer’s disease (Parihar and Hemnani 2004). Furthermore, testosterone reduces amyloid-induced hippocampal neurotoxity in vitro (Pike 2001) as well as exhibiting other neuroprotective effects (Pouliot et al 1996). The epidemiological and experimental data propose a potential role of testosterone in protecting cognitive function and preventing Alzheimer’s disease.
There are many ways to naturally boost testosterone without steroid use. In fact, taking steroid hormones such as testosterone and its chemical analogs actually shuts down the body's natural production of this important muscle-building hormone. The way you train and eat can drastically affect the amount of testosterone your body produces. In addition, there are a few natural supplements that may also boost testosterone.

A large number of side-effects have been attributed to testosterone. In our clinical experience, the incidence of significant adverse effects with treatment producing physiological testosterone levels is low, and many side effects attributed to testosterone are mainly relevant to supraphysiological replacement. Some adverse effects are specific to a given mode of delivery and have already been described. Potential adverse effects concerning the prostate have also been discussed and require appropriate monitoring of symptoms, PSA and digital rectal examination. Other tumors which may be androgen responsive include cancer of the breast and primary liver tumors, and these are both contraindications to testosterone treatment
Most studies support a link between adult criminality and testosterone, although the relationship is modest if examined separately for each sex. Nearly all studies of juvenile delinquency and testosterone are not significant. Most studies have also found testosterone to be associated with behaviors or personality traits linked with criminality such as antisocial behavior and alcoholism. Many studies have also been done on the relationship between more general aggressive behavior/feelings and testosterone. About half the studies have found a relationship and about half no relationship.[66]
$(function(){ SocialButtonRound_OnLoad(); }); function OpenPopup(a, b, c, d, e, f) { var g, h, i, j, k, l = ""; if (1 == e) if ("REST" == f.toUpperCase() ? (j = rest_width, k = rest_height) : (j = onet_width, k = onet_height), navigator.userAgent.toUpperCase().indexOf("OPERA") == -1 && navigator.userAgent.toUpperCase().indexOf("MAC") == -1 || (k += 15), document.all) { var m = "no"; d && (m = "yes"), h = 0, i = 0, j = screen.width, k = screen.height; var n = "fullscreen=yes"; g = window.open(a, l, n) } else { j += 20, h = 0, i = 0, j = screen.width, k = screen.height; var n = "fullscreen=yes"; g = window.open(a, l, n) } else if (document.all) { var m = "no"; d && (m = "yes"), h = (screen.width - b) / 2, i = (screen.height - c) / 2; var n = "left=" + h + ",top=" + i + ",width=" + b + ",height=" + c + ",menu=no,address=no,resize=no,scrollbars=" + m + ",titlebar=no,status=no"; g = window.open(a, l, n) } else { b += 20, h = (screen.width - b) / 2, i = (screen.height - c) / 2; var n = "left=" + h + ",top=" + i + ",width=" + b + ",height=" + c + ",menu=no,address=no,resize=no,status=no"; g = window.open(a, l, n) } return g } function SocialButtonRound_OnLoad() { try { addLinksToShareIcon(), generateShareCount(document.location.href), $("ul.social-icons > li > a").not("a.mailtolink").click(function (a) { a.preventDefault(), etafScrollPos = $(document).scrollTop(), window._vis_opt_queue = window._vis_opt_queue || [], window._vis_opt_queue.push(function () { _vis_opt_goal_conversion(243) }); var b = $(this).parent("li").attr("data-social-btn"), c = $(this).attr("href"); switch (b) { case "facebook": OpenPopup(c, 670, 340, !1, 0, ""); break; case "print": window.print(); break; case "chat": break; default: console.log("Unsupported data-social-btn type: " + b) } return !1 }) } catch (a) { } } function addLinksToShareIcon() { var a = window.location, a.indexOf("?") >= 0 && (a = a.substring(0, a.indexOf("?"))); a.indexOf("#") >= 0 && (a = a.substring(0, a.indexOf("#"))); $('ul.social-icons > li[data-social-btn="facebook"] > a').attr("href", "https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent(a)); } function generateShareCount(a) { a.indexOf("?") >= 0 && (a = a.substring(0, a.indexOf("?"))); a.indexOf("#") >= 0 && (a = a.substring(0, a.indexOf("#"))); if (a.indexOf("https://") > -1) { var b = encodeURIComponent(a); getFBCount(b) }; } function getFBCount(a) { $.ajax({ url: "https://graph.facebook.com/?fields=share&id=" + a, dataType: "jsonp", success: function (a) { a.share && ($("#shareCountContainer").val(Number($("#shareCountContainer").val()) + Number(a.share.share_count)), addToShareCountAndUpdate()) } }) } function addToShareCountAndUpdate() { if (!isNaN($("#shareCountContainer").val())) { var a = Number($("#shareCountContainer").val()); a >= 1e3 && (a = parseFloat((a / 1e3).toFixed(1)) + "K"), $("span[data-share-counter]").html(a) } }
×