/*
 * JSMin
 * Javascript Compressor
 * http://www.crockford.com/
 * http://www.smallsharptools.com/
*/

(function(){function autoheightIFrame()
{var m_iframe=this;function m_autoheightIFrame()
{try
{if(this.body)
{var objIFrame=$ektron(m_iframe);var ht=this.body.offsetHeight;var maxht=objIFrame.css("max-height");if("none"==maxht)maxht="";if(maxht&&-1==maxht.indexOf("px"))
{if(objIFrame.height()!=ht)
{objIFrame.height(ht);}}
else if(objIFrame.height()!=ht)
{m_iframe.style.overflow="hidden";objIFrame.height(ht);if(maxht)
{if(parseInt("0"+maxht,10)<ht)
{m_iframe.style.overflowY="auto";}}}}}
catch(ex)
{Ektron.OnException($ektron.fn.autoheight,null,ex,arguments);}};try
{if(this.contentWindow)
{var oDoc=this.contentWindow.document;oDoc.documentElement.style.height="";if(oDoc.body)oDoc.body.style.height="";$ektron(oDoc).keyup(m_autoheightIFrame).click(m_autoheightIFrame).each(m_autoheightIFrame);}}
catch(ex)
{Ektron.OnException($ektron.fn.autoheight,null,ex,arguments);}};$ektron.fn.autoheight=function()
{this.filter("iframe").load(autoheightIFrame).each(autoheightIFrame);return this;};$ektron.fn.autoheight.onexception=Ektron.OnException.ignoreException;})();
