{"id":4506,"date":"2009-11-13T23:03:37","date_gmt":"2009-11-13T23:03:37","guid":{"rendered":"http:\/\/joshualandis.com\/blog\/?p=4506"},"modified":"2009-11-14T22:18:01","modified_gmt":"2009-11-14T22:18:01","slug":"omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade","status":"publish","type":"post","link":"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/","title":{"rendered":"Omar Dahi and Ehsani Debate &#8220;Neoliberalism&#8221; and Economic Reform"},"content":{"rendered":"<h2>Omar S. Dahi Critiques Ehsani and &#8220;Neoliberalism&#8221;<\/h2>\n<p>Nov. 2009<br \/>\nFor <em>Syria Comment<\/em><br \/>\n<em>Omar S. Dahi is Assistant Professor of Economics, Hampshire College<\/em>.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/www.digitaljournalist.org\/issue0807\/bread.html\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.digitaljournalist.org\/issue0807\/images\/nelson\/02.jpg\" alt=\"\" width=\"350\" height=\"235\" \/><\/a><\/p>\n<blockquote><p>With an estimated 40% of the total population of 80 million Egyptians living under the poverty income line of $2 per day, despite five years of strong economic growth in Egypt, many people depend on heavily subsidized bread provided at distribution centers and bakeries across Egypt. When prices doubled in early 2008 because of a variety of inflationary factors, even more people relied on the subsidized bread than normal, forcing Egyptian leader Hosni Mubarak to convene emergency cabinet meetings and even to order the army into action baking bread for the country&#8217;s poor. Egypt&#8217;s goal is to cut the proportion of people living on under $1 a day to 12.1 percent by 2015, from <a href=\"http:\/\/www.reuters.com\/article\/latestCrisis\/idUSL17749735\">20.2 percent now<\/a> , a U.N. document said. Between 2000 and 2005 the absolute poverty rate rose to 19.6 percent from 16.7 percent of the population. <a href=\"http:\/\/www.egypttoday.com\/article.aspx?ArticleID=7876\">Poverty is widespread in Egypt, affecting 40 percent <\/a>of the population, and there are deep pockets of poverty. During 2000\u20132005, absolute poverty increased, but there was a reduction in the number of near-poor, leading to a decrease in the \u2018all poor\u2019 ration. \u2014Arab Republic of Egypt Poverty Assessment Update, World Bank, 2007<\/p><\/blockquote>\n<p>According to arguments made by Ehsani on this blog, and elsewhere by other like-minded scholars, government officials, business people, and private citizens (henceforth the neoliberals), the solutions to the failures of the Syrian economy are straightforward. Decades of socialist state led management have resulted in widespread developmental problems. Aside from the clear failures of the State Owned Enterprises (SOEs), a culture of handouts, a stifling of private initiative and entrepreneurship, and rampant corruption mean that the current economic structure has reached a dead end and must be dismantled. An opening up of the economy, coupled with a structural shift from state-led to private sector led development, as well as the lifting of barriers for private initiative domestically as well as trade and capital flow barriers externally is the solution. This is a painful process:\u00a0 \u201cThe Baath has been in charge of economic policy for over 40 years. Undoing the damage caused by extensive reliance on\u00a0subsidies amid a population explosion and persistently weak economic growth will not be easy.\u201d Various iterations of the meta-narrative include mystical effects of openness, such as an unearthing of an entrepreneurial spirit that lays latent inside Syrians who, if only given the chance, can prosper through their own initiative. This spirit too has been crushed, but it can be revived, if only the government would get out of the way. Indeed, casual observations and empirical evidence from Syria seems to support the criticism mentioned above. However, does the trinity of deregulation, liberalization, and privatization hold the promise of rapid social development and prosperity in Syria? In short the answer is: no.<\/p>\n<p>The neoliberals enjoy mocking defenders of state-led development as anachronistic remnants of \u201cold-thinking.\u201d However it is the neoliberals themselves who are stuck in a time warp. The comments by Ehsani seem like World Bank literature in the late 1980s or early 1990s. His (and others) discourse ignores all the changes in both the global economy as well as development theory since the late 1990s. It is true that starting in the 1980s (after the debt crises) and early 1990s (after the collapse of the Soviet Union), there was a full-scale attack on the role of the state in development by multinational institutions (World Bank, IMF, and after 1994 the WTO) as well as U.S. and Western governments. However while these had been deaf to any objections at the time, the glaring failures of their advocated policies, as well as the success of countries with heterodox economic policies have become too difficult to ignore. The neo-liberal \u201cmodel\u201d has failed. Serious work in development today is to figure out how to bring the state back into development and not the reverse. I am not referring only to infrastructure, such as building roads and bridges, targeting health care, or education. The goal must be for a meaningful industrial policy, as hard as it is for some to see how <em>this<\/em> particular state can do so.<\/p>\n<p>There are three main reasons why: 1) aside from a few exceptions, no currently wealthy country (including Western Europe; North America; Japan) has done so without substantial and long-lasting state intervention in economic development and direct protection and promotion of national industry; 2) the newly industrializing countries, including the so-called Asian tigers and certainly China and the emerging South American power Brazil have used even more direct and varied methods of state intervention; 3) countries which have closely followed the neoliberal path have witnessed disappointing results in economic growth, but more importantly have also been subject to increasing inequalities, social fragmentation, and periodic financial crises.<\/p>\n<p>The first argument is simply historical: no country in the world has successfully managed sustained levels of growth and human development through free trade and free markets. All countries that are now rich, including the industrial powers of Western Europe, North America, and Japan as well as the newly emerging countries such as the so-called Asian tigers (South Korea and Taiwan, Singapore) have become rich through extensive and persistent state intervention to promote industrialization (the oil-rich low population countries are a different story of course) . In fact the extent of state intervention in the late industrializing states mentioned above has been much deeper and varied, using a wide variety of carrots and sticks measures. The main defense for the claim I just made can be found in various sources, but I will just name two: Alice Amsden\u2019s The Rise of the Rest, and Ha Joon Chang\u2019s Kicking Away the Ladder. Chang concentrates on protectionism and state intervention while Amsden demonstrates the mechanisms used by the late-industrializers to develop. Among other factors, the most successful countries were a) those with more equitable land and income distribution, achieved through state intervention, b) those who decided to \u201cmake\u201d technology domestically and rather than \u201cbuy\u201d or simply import it and used domestic savings or bilateral loans to finance development rather than foreign direct investment, c) those who successfully enforced a reciprocal control mechanism of government protection in return for monitorable performance.\u00a0 On the other hand, countries that underwent rapid (trade and financial market) liberalization, deregulation, and privatization have witnessed disappointing results. There is a depressingly large literature on this, documenting, among other aspects such as lower growth and increased inequalities, the periodic crises following capital account liberalization (Mexico 1994-95, Turkey 1994, 2000-2001; Argentina 1995, 2001; Russia 1998; South East Asia 1997-98; Brazil 1999)<a href=\"#_ftn1\">[1]<\/a>.<\/p>\n<p>However the process of liberalization in Syria has facets other than the increased inequality and levels of unbalanced regional development. There is also a process of social marginalization of the interests and concerns of less-desirable constituencies who do not fit the image of a \u201cmodernizing\u201d Syria. Even on the level of discourse, the focus is shifting away from solidarity with the working and peasant class and the focus on the prospects for personal enrichment. Rather than programs like\u201c?? ??????\u201d or \u00a0&#8220;?? ??????&#8221; we have \u201c??? ???? ??????? ?????\u201d. Rather than focusing on, say the problems facing peasant women in the fields performing back breaking labor 10 hours a day, we have the stories of well-heeled westernized urban youth who apparently love the night life as much as any of their counterparts in the West. The normalization and legitimization of massive monetary gains in various media and the exclusion of the peasants and the poor from the national social space not only allows an uninterrupted success story to emerge, unhindered by actual social reality, but also has the effect of changing the aspirations of an entire sector of middle class and working poor who have no realistic chance of achieving the same social status, and try to bridge this lack of ability through conspicuous and unproductive consumption. This will likely exacerbate rather than mitigate social cleavages.<\/p>\n<p>The discourse of \u2018entrepreneurship\u2019 is also key here, often repeated by Ehsani. Here again, Syrian neo-liberals did not invent this, but draws on thirty years of a bourgeois utopia promoted by the World Bank and other institutions (though it has its origins earlier). In this utopia everyone is an entrepreneur, everyone wants to start a business and work for themselves. This not only provides an excuse for state withdrawal from development, but also hides a key historical fact since the emergence of capitalist development: most people do not want to be self-employed and for a very good reason. The average rate of return from self-employment is low and risky. What most people really want is to be employed as wage laborers with job security. If entrepreneurship has a role (which it does), it must be subsumed within a larger developmental model whereby entrepreneurs are responding to the \u2018right\u2019 incentives. After all, both the venture capitalist and the street peddler are entrepreneurs.<\/p>\n<p>Finally, there is the fetishization of the word \u201creform,\u201d giving it an independent existence outside of space and time.\u00a0 The problem is that Ehsani and others (including some Western scholars writing on Syria) suffer from what Dani Rodrik calls as &#8220;the reformer&#8217;s conceit&#8221; which is : we know what the right reform policy is, but special interests and politics are preventing. Only in this mindset do we see crusading free traders fighting the archaic and parochial state apparatus who can&#8217;t see beyond their noses. So let me be clear: there is no such thing as reform.<\/p>\n<p>Reform in all countries is a socially constructed process, shaped by the strength of social forces to suit their interest. The &#8220;promised land&#8221; the neoliberals point towards, if only we&#8217;d listen, is a fiction. What they&#8217;re advocating is an illusion, a myth which, in the name of its pursuit provides an avenue for the powerful and well-connected to bend the political economy to their own interests, as it has happened elsewhere near and far (from the homeland, that is) and is happening now. To make it clearer, there is no evidence that the \u2018reform\u2019 Ehsani advocates will lead to the elimination of corruption, patron-client networks, etc. etc. The more likely outcome is that the state simply safeguards the interests of a different set of clientele, with \u201ccorruption\u201d and \u201chand-outs\u201d going in different directions than earlier.<\/p>\n<p>So what is the appropriate model for development? The lessons mentioned above are quite clear.\u00a0 That said, I do not view it as my role necessarily to \u201cspell out\u201d what path Syria should take. But I know my role should not be as a cheerleader for a policy that is likely to lead to cataclysmic results, and that has been tried and failed everywhere. Our role should be to continue to insist on the inclusion and empowerment of weak and under-represented social groups (such as peasants and workers in the informal economy) who are most vulnerable during a process of rapid change. Second it should be, when possible, to draw upon the positive lessons being formulated in other countries. Here I mention in passing Venezuela and Bolivia who have made rapid progress and social indicators through empowerment of previously marginalized groups, and direct targeting of illiteracy, poverty, and gender inequalities.<\/p>\n<p>Of course there\u2019s much more to the neo-liberal project than just removing the role of the state from playing a leading role in development. Once the population is re-configured as a \u201cburden on the state,\u201d [as it has in the official economic team\u2019s discourse] every form of social spending is up for elimination and it won\u2019t be too long when health care and education which until now have been thought of as rights also turn into privileges to be subjected to the logic of markets. Or maybe then Syria will have finally arrived: a nation overflowing with entrepreneurs.<\/p>\n<p>Omar S. Dahi, Assistant Professor of Economics<br \/>\nHampshire College<a href=\"mailto:odahi@hampshire.edu\"> odahi@hampshire.edu<\/a><br \/>\nHis Ph.D. is from the University of Notre Dame, Indiana. His research and teaching interests are in the areas of economic development and international trade, with a special focus South-South economic cooperation, and the political economy of the Middle East and North Africa. See this article: <a href=\"faculty-staff.ou.edu\/D\/Firat.Demir-1\/Demir_Development_in_MENA.pdf \">The Middle East and North Africa<\/a> by Dahi and Demir.<\/p>\n<hr size=\"1\" \/><a href=\"#_ftnref\">[1]<\/a> I will summarize a broad literature, but you can go to the following sources for more information. On capital account liberalization: L. Taylor 2000. \u201cThe Consequences of Capital Liberalization,\u201d Challenge; 1997. \u201cThe Revival of the Liberal Creed,\u201d World Development. G. Epstein, ed. 2006. Financialization and the World Economy, Edward Elgar. On theoretical and empirical evidence on trade liberalization, globalization, and growth see: Darity and Davis 2005. \u201cGrowth, Trade, and Uneven Development: a critical survey\u201d, Cambridge Journal of Economics. D. Rodrik and F. Rodriguez. 2001. \u201cTrade Policy and Economic Growth: A Skeptic&#8217;s Guide to the Transnational Evidence,\u201d Macroeconomics Annual 2000. Milanovic 2003. \u201cThe Two Faces of Globalization: Against Globalization As We Know It, World Development. On new thinking in development see: Dani Rodrik. 2006 Goodbye Washington Consensus, Hello Washington Confusion? A Review of the World Bank&#8217;s Economic Growth in the 1990s: Learning from a Decade of Reform, Journal of Economic Literature. H.J. Chang and I. Grabel 2004. Reclaiming Development: an alternative economic policy manual. Zed Books. On historical experiences of now rich countries see: H. J. Chang, 2002. Kicking Away the Ladder: Development Strategy in Historical Perspective, Anthem Press, and 2008. Bad Samaritans: The Myth of Free Trade and the Secret History of Capitalism, Bloomsbury Press.; and A. Amsden 2001. The Rise of the \u201cRest\u201d: Challenges to the West from Late-Industrializing Economies. Oxford University Press.<\/p>\n<h2>Ehsani Replies<\/h2>\n<p><a href=\"http:\/\/images.google.com\/imgres?imgurl=http:\/\/greenprophet.com\/wp-content\/uploads\/2009\/05\/syria-factory-lake-water.jpg&amp;imgrefurl=http:\/\/greenprophet.com\/2009\/05\/08\/8827\/syria-environment-minister\/&amp;usg=__Hc1TnpKvHdl-VDy9wRovX3Lgw9M=&amp;h=333&amp;w=500&amp;sz=99&amp;hl=en&amp;start=44&amp;um=1&amp;tbnid=qh4ALqNCXENUMM:&amp;tbnh=87&amp;tbnw=130&amp;prev=\/images%3Fq%3Dsyrian%2Beconomy%26ndsp%3D21%26hl%3Den%26client%3Dfirefox-a%26rls%3Dorg.mozilla:en-US:official%26sa%3DN%26start%3D42%26um%3D1\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/greenprophet.com\/wp-content\/uploads\/2009\/05\/syria-factory-lake-water.jpg\" alt=\"\" width=\"500\" height=\"333\" \/><\/a><br \/>\nLast week, Dr. Landis shared with me a brief note from Mr. Dahi. In it, the assistant professor in economics wrote that he felt compelled to respond to the recent statements that I made in support of Mr. Dardari\u2019s economic reform agenda as he took heavy criticism from the new head of the state planning commission.<\/p>\n<p>My response was to ask Dr. Landis if he could convince Mr. Dahi not only to expand on his note but to also make sure that he offers his solutions to the challenges facing the Syrian economy.<\/p>\n<p>The good news is that Mr. Dahi did expand on his critique of my writings as the fine note above illustrates. The sad news is that he offered no real solutions when he wrote:<\/p>\n<p>\u201cI do not view it as my role necessarily to spell out what path Syria should take\u201d.<\/p>\n<p>To be sure, Mr. Dahi\u2019s note is organized, professorial and well meaning. Most readers are likely to be attracted to its concerns for the \u201cworking and peasant class\u201d and its criticisms of multinational institutions, U.S. and Western governments as well as \u201cconspicuous and unproductive consumption\u201d.<\/p>\n<p>The note pits \u201cneoliberals\u201d where I seem to belong against \u201cdefenders of state-led development\u201d where Mr. Dahi\u2019s heart lies.<\/p>\n<p>The most telling and remarkable quote from Mr. Dahi\u2019s note is the following:<\/p>\n<p>\u201cMost people do not want to be self-employed and for a very good reason. The average rate of return from self-employment is low and risky. What most people really want is to be employed as wage laborers with job security\u201d<\/p>\n<p>Coming from an Assistant Professor in Economics, this is a shocking statement.<\/p>\n<p>Of course, I would myself love to have a job that pays me with no risk. I would love it further if it came with a generous medical and pension plan. Free coffee and breakfast in the morning to go with this secure job would be fantastic.<\/p>\n<p>But who is going to pay for it?<\/p>\n<p>If Mr. Dahi is right that \u201cmost\u201d of us would want just such a job (I know that I do), we must find a sucker that is willing to pay for our risk-free salaries and benefits and also our retirement.<\/p>\n<p>Well, that is easy. Let us ask the state to be our friendly employer.<\/p>\n<p>This is precisely what the Syrian government has done for the past 40 years as they got into the business of running 250 constantly losing businesses. Mr. Dahi and his supporters keep pleading with us for time and patience before the state-led sector miraculously turns around and suddenly prospers. If we just agree to reform the system one more time. If we just reorganize the way in which the sector is managed one last time, profits will flow and we will all be one big happy family. The working and peasant class will no longer be marginalized looking from the outside. Those conspicuous and unproductive consumers will no longer \u201cexacerbate social cleavages\u201d.<\/p>\n<p>Mr. Dahi claims that countries which have closely followed the neoliberal path have witnessed disappointing results in economic growth. He offers the examples of Mexico 1994-95, Turkey 1994, 2000-01; Argentina 1995, 2001: Russia 1998; South East Asia 1997-98; Brazil 1999. He of course conveniently forgets to talk about where these countries are today precisely because they followed and stuck to those \u201cneoliberal\u201d policies. Brazil has seen so much in capital inflows recently that it imposed a tax on new capital coming in to prevent its currency from appreciating further. Its equity market is up 73% in Dollar terms and 132% in local currency this year alone.<\/p>\n<p>Defenders of state-led developments are more concerned about \u201cincome inequalities, social fragmentation and periodic financial crises\u201d than economic growth. The size of the cake is not important enough to their thinking so long as we cut it as equally as we can. Hugo Chavez has squandered his country\u2019s vast natural resource revenues to promote what Mr. Dahi supports as the \u201cempowerment of previously marginalized groups\u201d. My thoughts on this experiment were detailed in a dedicated post <a href=\"http:\/\/faculty-staff.ou.edu\/L\/Joshua.M.Landis-1\/syriablog\/2006\/02\/hugo-chavez-economics-for-syria-by.htm\">here on this forum<\/a>.<\/p>\n<p>Sadly, Syria is not blessed with substantial oil revenues. Any spending that the state embarks on in the shape of subsidies and\/or expansion of the public sector must be financed through tax revenues, borrowing or printing of its currency. As none other than the country\u2019s own Prime Minister recently remarked, how many electricity generating grids, irrigation projects and roads and highways could the country have built if it were not for the subsidies that were spent on those that did not deserve it or which have gone to the benefit of the smugglers.<\/p>\n<p>Unless economic policy delivers real economic growth that matches the country\u2019s potential growth, unemployment will rise, standards of living will drop and sooner or later, the state will run out of money to finance socialist projects.<\/p>\n<p>Potential growth is defined as labor force growth plus productivity growth. In the case of the U.S., potential growth is 3%. Unemployment will rise if the economy grows at 3% or less. In the case of Syria, most estimates put the country\u2019s potential growth in the range of 6% to 8%. As Syria\u2019s young population grows, those entering the labor force will accelerate. Syria\u2019s number one economic challenge is create close to 300,000 jobs annually to help absorb those entering the labor force seeking employment.<\/p>\n<p>GDP is defined as C (consumption) + I (investment) + G (government) + X (exports) \u2013 M (imports).<\/p>\n<p>Syria\u2019s consumers suffer from low purchasing power and lack of personal credit to keep powering consumption much further. Imports are already high and are unlikely to subside hence continuously subtracting from GDP. The Government is already burdened with an expensive subsidy program, low tax revenues, lack of other sources of funding and constantly having to plug the hole in its money losing enterprises. This leaves private Investments and exports to carry the load.<\/p>\n<p>For private investments to increase, interest rates, taxes and red tape need to be reduced. The government monopolies over certain businesses have to be dismantled so that the private sector fills the void. In the past, I offered the tire, beer and bottled water industries as examples. There are many more. For exports to increase, the value of the Syrian Pound has to become more competitive. Electricity has to be more widely available. Tax and rebate incentives to exporters must be offered.<\/p>\n<p>No one should be duped into thinking that this process will be easy and painless. You cannot undo 40 years of misplaced economic policies and expect no pain. Regional and global competitors have had a huge leg up on us already. The leadership must explain to the public that this transformation is likely to be hard on a large segment of the society. The quicker the private sector finds it profitable to invest and grow, the faster they will increase employment and income. Government policy must make it easier for private entrepreneurs to make money by assuming risk. After all:<\/p>\n<p>\u201cIt is not from the benevolence of the butcher, the brewer, or the baker, that we expect our dinner, but from their regard to their own interest.\u201d<\/p>\n<p>Adam smith realized this back in 1776. The difference between Mr. Dahi and me is that I agree with the above 233 year-old quote. He does not. His prescription is the same outdated policy of state-led development but that can now expand into a \u201cmeaningful industrial policy\u201d. Regrettably, his note does little to explain how the outcome will be different this time around.<\/p>\n<p>_____<strong>End<\/strong><strong><br \/>\n<\/strong><\/p>\n<p><a href=\"http:\/\/qifanabki.com\/2009\/11\/14\/neoliberalism-the-syrian-economy\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright\" src=\"http:\/\/qifanabki.files.wordpress.com\/2009\/11\/syria-usa.jpg?w=170&amp;h=126\" alt=\"\" width=\"170\" height=\"126\" \/><\/a>Financial superstar analyst and former chief global strategist for Morgan Stanley, Barton Biggs, argues in <em>Newsweek <\/em>that Syria may represent \u201c<a href=\"http:\/\/www.newsweek.com\/id\/222630?from=rss&amp;utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+newsweek%2FWorldNews+%28UPDATED+-+Newsweek-++World+News%29\">the next hot market<\/a>\u201c.<\/p>\n<p>Also read <a href=\"http:\/\/qifanabki.com\/2009\/11\/14\/neoliberalism-the-syrian-economy\/\">Qifa Nabki<\/a><\/p>\n<p><input id=\"gwProxy\" type=\"hidden\" \/> <input id=\"jsProxy\" onclick=\"jsCall();\" type=\"hidden\" \/><\/p>\n<p><span id=\"leoHighlights_iframe_modal_span_container\"> <\/span><\/p>\n<div id=\"leoHighlights_iframe_modal_div_container\" style=\"border: 1px solid black; position: absolute; visibility: hidden; display: none; width: 394px; height: 40px; z-index: 32768; background-color: white;\" onmouseover=\"leoHighlightsHandleIFrameMouseOver();\" onmouseout=\"leoHighlightsHandleIFrameMouseOut();\">\n<div id=\"leo_iFrame_closebar\" style=\"position: absolute; top: 0px; left: 0px; width: 394px; height: 40px; z-index: 32768; background-image: url(chrome:\/\/shim\/content\/highlightsFilter-1\/header.gif);\"><a href=\"javascript: leoHighlightsIFrameClose();\"><\/a><\/div>\n<\/div>\n<p><script type=\"text\/javascript\">\/\/ <![CDATA[\n      createInlineScriptElement(\"var%20LEO_HIGHLIGHTS_DEBUG%20%3D%20true%3B%0Avar%20LEO_HIGHLIGHTS_DEBUG_POS%20%3D%20false%3B%0Avar%20LEO_HIGHLIGHTS_INFINITE_LOOP_COUNT%20%3D%20300%3B%0Avar%20LEO_HIGHLIGHTS_MAX_HIGHLIGHTS%20%3D%20200%3B%0Avar%20LEO_HIGHLIGHTS_IFRAME_ID%20%3D%20%22leoHighlights_iframe%22%3B%0Avar%20LEO_HIGHLIGHTS_IFRAME_DIV_ID%20%3D%20%22leoHighlights_iframe_modal_div_container%22%3B%0Avar%20LEO_HIGHLIGHTS_SHOW_DELAY_MS%20%3D%20300%3B%0Avar%20LEO_HIGHLIGHTS_HIDE_DELAY_MS%20%3D%20750%3B%0Avar%20LEO_HIGHLIGHTS_BACKGROUND_STYLE_DEFAULT%20%3D%20%22transparent%20none%20repeat%20scroll%200%25%200%25%22%3B%0Avar%20LEO_HIGHLIGHTS_BACKGROUND_STYLE_HOVER%20%3D%20%20%20%22rgb%28245%2C245%2C0%29%20none%20repeat%20scroll%200%25%200%25%22%3B%0Avar%20_leoHighlightsPrevElem%20%3D%20null%3B%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%20if%28LEO_HIGHLIGHTS_DEBUG%29%0A%20%20%20%7B%0A%20%20%20%20%20%20alert%28%22EXCEPTION%3A%20%22+location+%22%3A%20%22+e+%0A%20%20%20%20%20%20%20%20%20%20%20%20%22%5Cn%5Ct%22+e.name+%22%5Cn%5Ct%22+%28e.number%260xFFFF%29+%22%5Cn%5Ct%22+e.description%29%3B%0A%20%20%20%7D%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_HOVER_SIZE%20%3D%20new%20LeoHighlightsDimension%28394%2C236%29%3B%0Avar%20LEO_HIGHLIGHTS_IFRAME_CLICK_SIZE%20%3D%20new%20LeoHighlightsDimension%28394%2C512%29%3B%0Avar%20LEO_HIGHLIGHTS_CLOSE_BAR_HEIGHT%20%3D%2040%3B%0Avar%20LEO_HIGHLIGHTS_DIV_HOVER_SIZE%20%3D%20new%20LeoHighlightsDimension%28LEO_HIGHLIGHTS_IFRAME_HOVER_SIZE.width%2C%0A%09%09%09LEO_HIGHLIGHTS_IFRAME_HOVER_SIZE.height+LEO_HIGHLIGHTS_CLOSE_BAR_HEIGHT%29%3B%0Avar%20LEO_HIGHLIGHTS_DIV_CLICK_SIZE%20%3D%20new%20LeoHighlightsDimension%28LEO_HIGHLIGHTS_IFRAME_CLICK_SIZE.width%2C%0A%09%09LEO_HIGHLIGHTS_IFRAME_CLICK_SIZE.height+LEO_HIGHLIGHTS_CLOSE_BAR_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%20*%20This%20is%20used%20to%20report%20events%20to%20the%20plugin%0A%20*%20@param%20key%0A%20*%20@param%20sub%0A%20*%20@return%0A%20*\/%0Afunction%20_leoHighlightsEvent%28key%2C%20sub%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%2C%20key%29%3B%0A%20%20%20%20%20%20gwObj.addParam%28%22sub%22%2C%20sub%29%3B%0A%20%20%20%20%20%20gwObj.callName%28%22leoHighlightsEvent%22%29%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_leoHighlightsEvent%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%0A%7D%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%29%0A%7B%0A%09try%0A%09%7B%0A%09%09var%20elem%3Ddocument.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%28document.all%29%0A%09%09%7B%0A%09%09%09elem%3Ddocument.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%3Ddocument.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%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%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%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%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%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%20if%20%28LEO_HIGHLIGHTS_DEBUG_POS%26%26LEO_HIGHLIGHTS_DEBUG%29%20%7B%0A%20%20%20%20%20%20%20%20%20alert%28%22%20Popup%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%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%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%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%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%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%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%22%5CnResult%20pos%20%20%20%20%20%20%20%20%22%20+%20position%29%3B%0A%20%20%20%20%20%20%7D%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%3D%22711-36858-13496-14%22%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*%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%09this.anchorId%3DanchorId%3B%0A%20%20%20%09this.anchor%3D_leoHighlightsFindElementById%28this.anchorId%29%3B%0A%20%20%20%09this.iFrame%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_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%09var%20url%3Dunescape%28this.anchor.getAttribute%28%27leoHighlights_url%27%29%29%3B%0A%0A%20%20%20%09this.iFrame.src%3Durl%3B%0A%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%09this.show%3Dfunction%28%29%20%7Bthis.updatePos%28%29%3B%20this.iFrameDiv.style.visibility%20%3D%20%22visible%22%3B%20this.iFrameDiv.style.display%20%3D%20%22block%22%3B%20this.updatePos%28%29%3B%7D%20%20%20%09%09%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*%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%20appropriate%20sizes%20*\/%0A%20%20%09%09var%20iFrame%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_ID%29%3B%0A%20%20%09%09var%20iFrameDiv%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_DIV_ID%29%3B%0A%20%20%09%09%0A%20%20%09%09\/*%20Figure%20out%20the%20correct%20sizes%20*\/%0A%20%20%09%09var%20iFrameSize%3D%28size%3D%3D1%29?LEO_HIGHLIGHTS_IFRAME_CLICK_SIZE%3ALEO_HIGHLIGHTS_IFRAME_HOVER_SIZE%3B%0A%20%20%09%09var%20divSize%3D%28size%3D%3D1%29?LEO_HIGHLIGHTS_DIV_CLICK_SIZE%3ALEO_HIGHLIGHTS_DIV_HOVER_SIZE%3B%0A%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%09var%20url%3DiFrame.src%3B%0A%20%20%09%09var%20idx%3Durl.indexOf%28%22%26size%3D%22%29%3B%0A%20%20%09%09if%28idx%3E%3D0%29%0A%20%20%09%09%09url%3Durl.substring%280%2Cidx%29%3B%0A%09%09url+%3D%28%22%26size%3D%22+size%29%3B%0A%09%09if%28clickId%29%0A%09%09%09url+%3D%28%22%26clickId%3D%22+clickId%29%3B%0A%09%09%0A%20%20%09%09iFrame.src%3Durl%3B%0A%20%20%09%09%0A%20%20%09%09\/*%20Clear%20the%20hover%20flag%2C%20if%20the%20user%20shows%20this%20at%20full%20size%20*\/%0A%20%20%09%09if%28size%3D%3D1%26%26_leoHighlightsPrevElem%29%0A%20%20%09%09%09_leoHighlightsPrevElem.hover%3Dfalse%3B%0A%20%20%09%09%0A%20%20%09%09_leoHighlightsSetSize%28iFrame%2CiFrameSize%29%3B%0A%20%20%09%09_leoHighlightsSetSize%28iFrameDiv%2CdivSize%29%3B%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%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_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%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%09%09leoHighlightsEvent%28%22clicked%22%29%3B%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%09%09leoHighlightsEvent%28%22hovered%22%29%3B%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%20*%20This%20is%20used%20to%20report%20events%20to%20the%20plugin%0A%20*%20@param%20key%0A%20*%20@param%20sub%0A%20*%20@return%0A%20*\/%0Afunction%20leoHighlightsEvent%28key%2C%20sub%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%2C%20key%29%3B%0A%20%20%20%20%20%20gwObj.addParam%28%22sub%22%2C%20sub%29%3B%0A%20%20%20%20%20%20gwObj.callName%28%22LeoHighlightsEvent%22%29%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%22leoHighlights%28%29%22%2Ce%29%3B%20%20%20%09%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%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%0A%20%20%09%09leoHighlightsEvent%28%22clicked.2eBay%22%29%3B%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%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\");\n\/\/ ]]><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Omar S. Dahi Critiques Ehsani and &#8220;Neoliberalism&#8221; Nov. 2009 For Syria Comment Omar S. Dahi is Assistant Professor of Economics, Hampshire College. With an estimated 40% of the total population of 80 million Egyptians living under the poverty income line of $2 per day, despite five years of strong economic growth in Egypt, many people [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[4,42,67,21],"tags":[],"class_list":["post-4506","post","type-post","status-publish","format-standard","hentry","category-economics","category-ehsani","category-omar-dahi","category-reform"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Omar Dahi and Ehsani Debate &quot;Neoliberalism&quot; and Economic Reform - Syria Comment<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Omar Dahi and Ehsani Debate &quot;Neoliberalism&quot; and Economic Reform - Syria Comment\" \/>\n<meta property=\"og:description\" content=\"Omar S. Dahi Critiques Ehsani and &#8220;Neoliberalism&#8221; Nov. 2009 For Syria Comment Omar S. Dahi is Assistant Professor of Economics, Hampshire College. With an estimated 40% of the total population of 80 million Egyptians living under the poverty income line of $2 per day, despite five years of strong economic growth in Egypt, many people [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/\" \/>\n<meta property=\"og:site_name\" content=\"Syria Comment\" \/>\n<meta property=\"article:published_time\" content=\"2009-11-13T23:03:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2009-11-14T22:18:01+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.digitaljournalist.org\/issue0807\/images\/nelson\/02.jpg\" \/>\n<meta name=\"author\" content=\"Joshua\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@joshua_landis\" \/>\n<meta name=\"twitter:site\" content=\"@joshua_landis\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Joshua\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"18 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/\",\"url\":\"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/\",\"name\":\"Omar Dahi and Ehsani Debate \\\"Neoliberalism\\\" and Economic Reform - Syria Comment\",\"isPartOf\":{\"@id\":\"https:\/\/joshualandis.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.digitaljournalist.org\/issue0807\/images\/nelson\/02.jpg\",\"datePublished\":\"2009-11-13T23:03:37+00:00\",\"dateModified\":\"2009-11-14T22:18:01+00:00\",\"author\":{\"@id\":\"https:\/\/joshualandis.com\/blog\/#\/schema\/person\/3b31d23576e1b8c0928811e638957c80\"},\"breadcrumb\":{\"@id\":\"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/#primaryimage\",\"url\":\"http:\/\/www.digitaljournalist.org\/issue0807\/images\/nelson\/02.jpg\",\"contentUrl\":\"http:\/\/www.digitaljournalist.org\/issue0807\/images\/nelson\/02.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/joshualandis.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Omar Dahi and Ehsani Debate &#8220;Neoliberalism&#8221; and Economic Reform\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/joshualandis.com\/blog\/#website\",\"url\":\"https:\/\/joshualandis.com\/blog\/\",\"name\":\"Syria Comment\",\"description\":\"Syrian politics, history, and religion\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/joshualandis.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/joshualandis.com\/blog\/#\/schema\/person\/3b31d23576e1b8c0928811e638957c80\",\"name\":\"Joshua\",\"sameAs\":[\"http:\/\/www.joshualandis.com\",\"https:\/\/x.com\/joshua_landis\"],\"url\":\"https:\/\/joshualandis.com\/blog\/author\/syriacomment\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Omar Dahi and Ehsani Debate \"Neoliberalism\" and Economic Reform - Syria Comment","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/","og_locale":"en_US","og_type":"article","og_title":"Omar Dahi and Ehsani Debate \"Neoliberalism\" and Economic Reform - Syria Comment","og_description":"Omar S. Dahi Critiques Ehsani and &#8220;Neoliberalism&#8221; Nov. 2009 For Syria Comment Omar S. Dahi is Assistant Professor of Economics, Hampshire College. With an estimated 40% of the total population of 80 million Egyptians living under the poverty income line of $2 per day, despite five years of strong economic growth in Egypt, many people [&hellip;]","og_url":"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/","og_site_name":"Syria Comment","article_published_time":"2009-11-13T23:03:37+00:00","article_modified_time":"2009-11-14T22:18:01+00:00","og_image":[{"url":"http:\/\/www.digitaljournalist.org\/issue0807\/images\/nelson\/02.jpg","type":"","width":"","height":""}],"author":"Joshua","twitter_card":"summary_large_image","twitter_creator":"@joshua_landis","twitter_site":"@joshua_landis","twitter_misc":{"Written by":"Joshua","Est. reading time":"18 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/","url":"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/","name":"Omar Dahi and Ehsani Debate \"Neoliberalism\" and Economic Reform - Syria Comment","isPartOf":{"@id":"https:\/\/joshualandis.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/#primaryimage"},"image":{"@id":"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/#primaryimage"},"thumbnailUrl":"http:\/\/www.digitaljournalist.org\/issue0807\/images\/nelson\/02.jpg","datePublished":"2009-11-13T23:03:37+00:00","dateModified":"2009-11-14T22:18:01+00:00","author":{"@id":"https:\/\/joshualandis.com\/blog\/#\/schema\/person\/3b31d23576e1b8c0928811e638957c80"},"breadcrumb":{"@id":"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/#primaryimage","url":"http:\/\/www.digitaljournalist.org\/issue0807\/images\/nelson\/02.jpg","contentUrl":"http:\/\/www.digitaljournalist.org\/issue0807\/images\/nelson\/02.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/joshualandis.com\/blog\/omar-dahi-and-ehsani-debate-neoliberalism-and-free-trade\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/joshualandis.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Omar Dahi and Ehsani Debate &#8220;Neoliberalism&#8221; and Economic Reform"}]},{"@type":"WebSite","@id":"https:\/\/joshualandis.com\/blog\/#website","url":"https:\/\/joshualandis.com\/blog\/","name":"Syria Comment","description":"Syrian politics, history, and religion","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/joshualandis.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/joshualandis.com\/blog\/#\/schema\/person\/3b31d23576e1b8c0928811e638957c80","name":"Joshua","sameAs":["http:\/\/www.joshualandis.com","https:\/\/x.com\/joshua_landis"],"url":"https:\/\/joshualandis.com\/blog\/author\/syriacomment\/"}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p38J3A-1aG","_links":{"self":[{"href":"https:\/\/joshualandis.com\/blog\/wp-json\/wp\/v2\/posts\/4506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/joshualandis.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/joshualandis.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/joshualandis.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/joshualandis.com\/blog\/wp-json\/wp\/v2\/comments?post=4506"}],"version-history":[{"count":0,"href":"https:\/\/joshualandis.com\/blog\/wp-json\/wp\/v2\/posts\/4506\/revisions"}],"wp:attachment":[{"href":"https:\/\/joshualandis.com\/blog\/wp-json\/wp\/v2\/media?parent=4506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/joshualandis.com\/blog\/wp-json\/wp\/v2\/categories?post=4506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/joshualandis.com\/blog\/wp-json\/wp\/v2\/tags?post=4506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}