// developer: Let's create ML namespace; ML stands for current developing company
var ML;
!ML ? ML = {} : alert('ML object alredy exist :\(, please solve namespace issue...');

//catch IE6, IE7 mode
	ML.ie7mode = ML.ie6 = false;

	if( navigator.appVersion.search('MSIE') !== -1 ) {
		if('IE6Browser' in window) ML.ie6 = true;
		(function() {
			if(ML.ie6) return false;
			var metas = document.getElementsByTagName('meta');
			for (var i = 0, il = metas.length; i < il; i++) {
				if(metas[i].content == "IE=7") {
					ML.ie7mode = true;
					break;
				}
			};
		})();
	}
//catch IE6, IE7 mode End

// search classname in body and return true if exist
	ML.classInBody = function(classname) {
		var fname = '\'classInBody\'';
		if(typeof classname != 'string') throw fname+' reqire string as an argument';
		
		if( document.body.className == classname ) {return true;}
		else if( document.body.className.search(" "+classname+" ") !== -1 ) {return true;}
		else if( document.body.className.search(" "+classname) !== -1 ) {return true;}
		else if( document.body.className.search(classname+" ") !== -1 ) {return true;}
		return false;
	};
// search classname in body End

// jQuery is required
	if( !('$' in window) ) {
		throw 'jQuery is required for this project';
	}

// Check that Jquery html object(s) exist
	ML.$empty = function(element) {
		var fname = '\'$empty\'';
		
		if(typeof element != 'object') throw 'object should be passed to '+fname+' function';
		
		if( $.isArray(element) ) {
			for (var i=0, il = element.length; i < il; i++) {
				if( element[i].length === 0 ) {
					return true;
					break;
				}
			}
		}
		
		if(element.length !== 0) {
			return false;
		}
		return true;
	}
// Check that Jquery html object(s) exist End

ML.langId = $('html').attr('id').toLowerCase() == 'lang-en'?1:2;
ML.baseUrl = ('https:' == document.location.protocol ? 'https://' : 'http://')+document.location.host+'/';
ML.curLangBaseURL = ML.baseUrl+(ML.langId==1?'en/':'fr/');

ML.init = function(fname) {
switch(fname) {

case 'sIFR':
if( !(fname in window) ) {
/*****************************************************************************
scalable Inman Flash Replacement (sIFR) version 3, revision 436.
Copyright 2006 – 2008 Mark Wubben, <http://novemberborn.net/>
See also <http://novemberborn.net/sifr3> and <http://wiki.novemberborn.net/sifr3>.
This software is licensed and provided under the CC-GNU LGPL.
See <http://creativecommons.org/licenses/LGPL/2.1/>
*****************************************************************************/

sIFR=new function(){var O=this;var E={ACTIVE:"sIFR-active",REPLACED:"sIFR-replaced",IGNORE:"sIFR-ignore",ALTERNATE:"sIFR-alternate",CLASS:"sIFR-class",LAYOUT:"sIFR-layout",FLASH:"sIFR-flash",FIX_FOCUS:"sIFR-fixfocus",DUMMY:"sIFR-dummy"};E.IGNORE_CLASSES=[E.REPLACED,E.IGNORE,E.ALTERNATE];this.MIN_FONT_SIZE=6;this.MAX_FONT_SIZE=126;this.FLASH_PADDING_BOTTOM=5;this.VERSION="436";this.isActive=false;this.isEnabled=true;this.fixHover=true;this.autoInitialize=true;this.setPrefetchCookie=true;this.cookiePath="/";this.domains=[];this.forceWidth=true;this.fitExactly=false;this.forceTextTransform=true;this.useDomLoaded=true;this.useStyleCheck=false;this.hasFlashClassSet=false;this.repaintOnResize=true;this.replacements=[];var L=0;var R=false;function Y(){}function D(c){function d(e){return e.toLocaleUpperCase()}this.normalize=function(e){return e.replace(/\n|\r|\xA0/g,D.SINGLE_WHITESPACE).replace(/\s+/g,D.SINGLE_WHITESPACE)};this.textTransform=function(e,f){switch(e){case"uppercase":return f.toLocaleUpperCase();case"lowercase":return f.toLocaleLowerCase();case"capitalize":return f.replace(/^\w|\s\w/g,d)}return f};this.toHexString=function(e){if(e.charAt(0)!="#"||e.length!=4&&e.length!=7){return e}e=e.substring(1);return"0x"+(e.length==3?e.replace(/(.)(.)(.)/,"$1$1$2$2$3$3"):e)};this.toJson=function(g,f){var e="";switch(typeof(g)){case"string":e='"'+f(g)+'"';break;case"number":case"boolean":e=g.toString();break;case"object":e=[];for(var h in g){if(g[h]==Object.prototype[h]){continue}e.push('"'+h+'":'+this.toJson(g[h]))}e="{"+e.join(",")+"}";break}return e};this.convertCssArg=function(e){if(!e){return{}}if(typeof(e)=="object"){if(e.constructor==Array){e=e.join("")}else{return e}}var l={};var m=e.split("}");for(var h=0;h<m.length;h++){var k=m[h].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(!k||k.length!=3){continue}if(!l[k[1]]){l[k[1]]={}}var g=k[2].split(";");for(var f=0;f<g.length;f++){var n=g[f].match(/\s*([^:\s]+)\s*\:\s*([^;]+)/);if(!n||n.length!=3){continue}l[k[1]][n[1]]=n[2].replace(/\s+$/,"")}}return l};this.extractFromCss=function(g,f,i,e){var h=null;if(g&&g[f]&&g[f][i]){h=g[f][i];if(e){delete g[f][i]}}return h};this.cssToString=function(f){var g=[];for(var e in f){var j=f[e];if(j==Object.prototype[e]){continue}g.push(e,"{");for(var i in j){if(j[i]==Object.prototype[i]){continue}var h=j[i];if(D.UNIT_REMOVAL_PROPERTIES[i]){h=parseInt(h,10)}g.push(i,":",h,";")}g.push("}")}return g.join("")};this.escape=function(e){return escape(e).replace(/\+/g,"%2B")};this.encodeVars=function(e){return e.join("&").replace(/%/g,"%25")};this.copyProperties=function(g,f){for(var e in g){if(f[e]===undefined){f[e]=g[e]}}return f};this.domain=function(){var f="";try{f=document.domain}catch(g){}return f};this.domainMatches=function(h,g){if(g=="*"||g==h){return true}var f=g.lastIndexOf("*");if(f>-1){g=g.substr(f+1);var e=h.lastIndexOf(g);if(e>-1&&(e+g.length)==h.length){return true}}return false};this.uriEncode=function(e){return encodeURI(decodeURIComponent(e))};this.delay=function(f,h,g){var e=Array.prototype.slice.call(arguments,3);setTimeout(function(){h.apply(g,e)},f)}}D.UNIT_REMOVAL_PROPERTIES={leading:true,"margin-left":true,"margin-right":true,"text-indent":true};D.SINGLE_WHITESPACE=" ";function U(e){var d=this;function c(g,j,h){var k=d.getStyleAsInt(g,j,e.ua.ie);if(k==0){k=g[h];for(var f=3;f<arguments.length;f++){k-=d.getStyleAsInt(g,arguments[f],true)}}return k}this.getBody=function(){return document.getElementsByTagName("body")[0]||null};this.querySelectorAll=function(f){return window.parseSelector(f)};this.addClass=function(f,g){if(g){g.className=((g.className||"")==""?"":g.className+" ")+f}};this.removeClass=function(f,g){if(g){g.className=g.className.replace(new RegExp("(^|\\s)"+f+"(\\s|$)"),"").replace(/^\s+|(\s)\s+/g,"$1")}};this.hasClass=function(f,g){return new RegExp("(^|\\s)"+f+"(\\s|$)").test(g.className)};this.hasOneOfClassses=function(h,g){for(var f=0;f<h.length;f++){if(this.hasClass(h[f],g)){return true}}return false};this.ancestorHasClass=function(g,f){g=g.parentNode;while(g&&g.nodeType==1){if(this.hasClass(f,g)){return true}g=g.parentNode}return false};this.create=function(f,g){var h=document.createElementNS?document.createElementNS(U.XHTML_NS,f):document.createElement(f);if(g){h.className=g}return h};this.getComputedStyle=function(h,i){var f;if(document.defaultView&&document.defaultView.getComputedStyle){var g=document.defaultView.getComputedStyle(h,null);f=g?g[i]:null}else{if(h.currentStyle){f=h.currentStyle[i]}}return f||""};this.getStyleAsInt=function(g,i,f){var h=this.getComputedStyle(g,i);if(f&&!/px$/.test(h)){return 0}return parseInt(h)||0};this.getWidthFromStyle=function(f){return c(f,"width","offsetWidth","paddingRight","paddingLeft","borderRightWidth","borderLeftWidth")};this.getHeightFromStyle=function(f){return c(f,"height","offsetHeight","paddingTop","paddingBottom","borderTopWidth","borderBottomWidth")};this.getDimensions=function(j){var h=j.offsetWidth;var f=j.offsetHeight;if(h==0||f==0){for(var g=0;g<j.childNodes.length;g++){var k=j.childNodes[g];if(k.nodeType!=1){continue}h=Math.max(h,k.offsetWidth);f=Math.max(f,k.offsetHeight)}}return{width:h,height:f}};this.getViewport=function(){return{width:window.innerWidth||document.documentElement.clientWidth||this.getBody().clientWidth,height:window.innerHeight||document.documentElement.clientHeight||this.getBody().clientHeight}};this.blurElement=function(g){try{g.blur();return}catch(h){}var f=this.create("input");f.style.width="0px";f.style.height="0px";g.parentNode.appendChild(f);f.focus();f.blur();f.parentNode.removeChild(f)}}U.XHTML_NS="http://www.w3.org/1999/xhtml";function H(r){var g=navigator.userAgent.toLowerCase();var q=(navigator.product||"").toLowerCase();var h=navigator.platform.toLowerCase();this.parseVersion=H.parseVersion;this.macintosh=/^mac/.test(h);this.windows=/^win/.test(h);this.linux=/^linux/.test(h);this.quicktime=false;this.opera=/opera/.test(g);this.konqueror=/konqueror/.test(g);this.ie=false/*@cc_on||true@*/;this.ieSupported=this.ie&&!/ppc|smartphone|iemobile|msie\s5\.5/.test(g)/*@cc_on&&@_jscript_version>=5.5@*/;this.ieWin=this.ie&&this.windows/*@cc_on&&@_jscript_version>=5.1@*/;this.windows=this.windows&&(!this.ie||this.ieWin);this.ieMac=this.ie&&this.macintosh/*@cc_on&&@_jscript_version<5.1@*/;this.macintosh=this.macintosh&&(!this.ie||this.ieMac);this.safari=/safari/.test(g);this.webkit=!this.konqueror&&/applewebkit/.test(g);this.khtml=this.webkit||this.konqueror;this.gecko=!this.khtml&&q=="gecko";this.ieVersion=this.ie&&/.*msie\s(\d\.\d)/.exec(g)?this.parseVersion(RegExp.$1):"0";this.operaVersion=this.opera&&/.*opera(\s|\/)(\d+\.\d+)/.exec(g)?this.parseVersion(RegExp.$2):"0";this.webkitVersion=this.webkit&&/.*applewebkit\/(\d+).*/.exec(g)?this.parseVersion(RegExp.$1):"0";this.geckoVersion=this.gecko&&/.*rv:\s*([^\)]+)\)\s+gecko/.exec(g)?this.parseVersion(RegExp.$1):"0";this.konquerorVersion=this.konqueror&&/.*konqueror\/([\d\.]+).*/.exec(g)?this.parseVersion(RegExp.$1):"0";this.flashVersion=0;if(this.ieWin){var l;var o=false;try{l=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(m){try{l=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");this.flashVersion=this.parseVersion("6");l.AllowScriptAccess="always"}catch(m){o=this.flashVersion==this.parseVersion("6")}if(!o){try{l=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(m){}}}if(!o&&l){this.flashVersion=this.parseVersion((l.GetVariable("$version")||"").replace(/^\D+(\d+)\D+(\d+)\D+(\d+).*/g,"$1.$2.$3"))}}else{if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){var n=navigator.plugins["Shockwave Flash"].description.replace(/^.*\s+(\S+\s+\S+$)/,"$1");var p=n.replace(/^\D*(\d+\.\d+).*$/,"$1");if(/r/.test(n)){p+=n.replace(/^.*r(\d*).*$/,".$1")}else{if(/d/.test(n)){p+=".0"}}this.flashVersion=this.parseVersion(p);var j=false;for(var k=0,c=this.flashVersion>=H.MIN_FLASH_VERSION;c&&k<navigator.mimeTypes.length;k++){var f=navigator.mimeTypes[k];if(f.type!="application/x-shockwave-flash"){continue}if(f.enabledPlugin){j=true;if(f.enabledPlugin.description.toLowerCase().indexOf("quicktime")>-1){c=false;this.quicktime=true}}}if(this.quicktime||!j){this.flashVersion=this.parseVersion("0")}}}this.flash=this.flashVersion>=H.MIN_FLASH_VERSION;this.transparencySupport=this.macintosh||this.windows||this.linux&&(this.flashVersion>=this.parseVersion("10")&&(this.gecko&&this.geckoVersion>=this.parseVersion("1.9")||this.opera));this.computedStyleSupport=this.ie||!!document.defaultView.getComputedStyle;this.fixFocus=this.gecko&&this.windows;this.nativeDomLoaded=this.gecko||this.webkit&&this.webkitVersion>=this.parseVersion("525")||this.konqueror&&this.konquerorMajor>this.parseVersion("03")||this.opera;this.mustCheckStyle=this.khtml||this.opera;this.forcePageLoad=this.webkit&&this.webkitVersion<this.parseVersion("523");this.properDocument=typeof(document.location)=="object";this.supported=this.flash&&this.properDocument&&(!this.ie||this.ieSupported)&&this.computedStyleSupport&&(!this.opera||this.operaVersion>=this.parseVersion("9.61"))&&(!this.webkit||this.webkitVersion>=this.parseVersion("412"))&&(!this.gecko||this.geckoVersion>=this.parseVersion("1.8.0.12"))&&(!this.konqueror)}H.parseVersion=function(c){return c.replace(/(^|\D)(\d+)(?=\D|$)/g,function(f,e,g){f=e;for(var d=4-g.length;d>=0;d--){f+="0"}return f+g})};H.MIN_FLASH_VERSION=H.parseVersion("8");function F(c){this.fix=c.ua.ieWin&&window.location.hash!="";var d;this.cache=function(){d=document.title};function e(){document.title=d}this.restore=function(){if(this.fix){setTimeout(e,0)}}}function S(l){var e=null;function c(){try{if(l.ua.ie||document.readyState!="loaded"&&document.readyState!="complete"){document.documentElement.doScroll("left")}}catch(n){return setTimeout(c,10)}i()}function i(){if(l.useStyleCheck){h()}else{if(!l.ua.mustCheckStyle){d(null,true)}}}function h(){e=l.dom.create("div",E.DUMMY);l.dom.getBody().appendChild(e);m()}function m(){if(l.dom.getComputedStyle(e,"marginLeft")=="42px"){g()}else{setTimeout(m,10)}}function g(){if(e&&e.parentNode){e.parentNode.removeChild(e)}e=null;d(null,true)}function d(n,o){l.initialize(o);if(n&&n.type=="load"){if(document.removeEventListener){document.removeEventListener("DOMContentLoaded",d,false)}if(window.removeEventListener){window.removeEventListener("load",d,false)}}}function j(){l.prepareClearReferences();if(document.readyState=="interactive"){document.attachEvent("onstop",f);setTimeout(function(){document.detachEvent("onstop",f)},0)}}function f(){document.detachEvent("onstop",f);k()}function k(){l.clearReferences()}this.attach=function(){if(window.addEventListener){window.addEventListener("load",d,false)}else{window.attachEvent("onload",d)}if(!l.useDomLoaded||l.ua.forcePageLoad||l.ua.ie&&window.top!=window){return}if(l.ua.nativeDomLoaded){document.addEventListener("DOMContentLoaded",i,false)}else{if(l.ua.ie||l.ua.khtml){c()}}};this.attachUnload=function(){if(!l.ua.ie){return}window.attachEvent("onbeforeunload",j);window.attachEvent("onunload",k)}}var Q="sifrFetch";function N(c){var e=false;this.fetchMovies=function(f){if(c.setPrefetchCookie&&new RegExp(";?"+Q+"=true;?").test(document.cookie)){return}try{e=true;d(f)}catch(g){}if(c.setPrefetchCookie){document.cookie=Q+"=true;path="+c.cookiePath}};this.clear=function(){if(!e){return}try{var f=document.getElementsByTagName("script");for(var g=f.length-1;g>=0;g--){var h=f[g];if(h.type=="sifr/prefetch"){h.parentNode.removeChild(h)}}}catch(j){}};function d(f){for(var g=0;g<f.length;g++){document.write('<script defer type="sifr/prefetch" src="'+f[g].src+'"><\/script>')}}}function b(e){var g=e.ua.ie;var f=g&&e.ua.flashVersion<e.ua.parseVersion("9.0.115");var d={};var c={};this.fixFlash=f;this.register=function(h){if(!g){return}var i=h.getAttribute("id");this.cleanup(i,false);c[i]=h;delete d[i];if(f){window[i]=h}};this.reset=function(){if(!g){return false}for(var j=0;j<e.replacements.length;j++){var h=e.replacements[j];var k=c[h.id];if(!d[h.id]&&(!k.parentNode||k.parentNode.nodeType==11)){h.resetMovie();d[h.id]=true}}return true};this.cleanup=function(l,h){var i=c[l];if(!i){return}for(var k in i){if(typeof(i[k])=="function"){i[k]=null}}c[l]=null;if(f){window[l]=null}if(i.parentNode){if(h&&i.parentNode.nodeType==1){var j=document.createElement("div");j.style.width=i.offsetWidth+"px";j.style.height=i.offsetHeight+"px";i.parentNode.replaceChild(j,i)}else{i.parentNode.removeChild(i)}}};this.prepareClearReferences=function(){if(!f){return}__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}};this.clearReferences=function(){if(f){var j=document.getElementsByTagName("object");for(var h=j.length-1;h>=0;h--){c[j[h].getAttribute("id")]=j[h]}}for(var k in c){if(Object.prototype[k]!=c[k]){this.cleanup(k,true)}}}}function K(d,g,f,c,e){this.sIFR=d;this.id=g;this.vars=f;this.movie=null;this.__forceWidth=c;this.__events=e;this.__resizing=0}K.prototype={getFlashElement:function(){return document.getElementById(this.id)},getAlternate:function(){return document.getElementById(this.id+"_alternate")},getAncestor:function(){var c=this.getFlashElement().parentNode;return !this.sIFR.dom.hasClass(E.FIX_FOCUS,c)?c:c.parentNode},available:function(){var c=this.getFlashElement();return c&&c.parentNode},call:function(c){var d=this.getFlashElement();if(!d[c]){return false}return Function.prototype.apply.call(d[c],d,Array.prototype.slice.call(arguments,1))},attempt:function(){if(!this.available()){return false}try{this.call.apply(this,arguments)}catch(c){if(this.sIFR.debug){throw c}return false}return true},updateVars:function(c,e){for(var d=0;d<this.vars.length;d++){if(this.vars[d].split("=")[0]==c){this.vars[d]=c+"="+e;break}}var f=this.sIFR.util.encodeVars(this.vars);this.movie.injectVars(this.getFlashElement(),f);this.movie.injectVars(this.movie.html,f)},storeSize:function(c,d){this.movie.setSize(c,d);this.updateVars(c,d)},fireEvent:function(c){if(this.available()&&this.__events[c]){this.sIFR.util.delay(0,this.__events[c],this,this)}},resizeFlashElement:function(c,d,e){if(!this.available()){return}this.__resizing++;var f=this.getFlashElement();f.setAttribute("height",c);this.getAncestor().style.minHeight="";this.updateVars("renderheight",c);this.storeSize("height",c);if(d!==null){f.setAttribute("width",d);this.movie.setSize("width",d)}if(this.__events.onReplacement){this.sIFR.util.delay(0,this.__events.onReplacement,this,this);delete this.__events.onReplacement}if(e){this.sIFR.util.delay(0,function(){this.attempt("scaleMovie");this.__resizing--},this)}else{this.__resizing--}},blurFlashElement:function(){if(this.available()){this.sIFR.dom.blurElement(this.getFlashElement())}},resetMovie:function(){this.sIFR.util.delay(0,this.movie.reset,this.movie,this.getFlashElement(),this.getAlternate())},resizeAfterScale:function(){if(this.available()&&this.__resizing==0){this.sIFR.util.delay(0,this.resize,this)}},resize:function(){if(!this.available()){return}this.__resizing++;var g=this.getFlashElement();var f=g.offsetWidth;if(f==0){return}var e=g.getAttribute("width");var l=g.getAttribute("height");var m=this.getAncestor();var o=this.sIFR.dom.getHeightFromStyle(m);g.style.width="1px";g.style.height="1px";m.style.minHeight=o+"px";var c=this.getAlternate().childNodes;var n=[];for(var k=0;k<c.length;k++){var h=c[k].cloneNode(true);n.push(h);m.appendChild(h)}var d=this.sIFR.dom.getWidthFromStyle(m);for(var k=0;k<n.length;k++){m.removeChild(n[k])}g.style.width=g.style.height=m.style.minHeight="";g.setAttribute("width",this.__forceWidth?d:e);g.setAttribute("height",l);if(sIFR.ua.ie){g.style.display="none";var j=g.offsetHeight;g.style.display=""}if(d!=f){if(this.__forceWidth){this.storeSize("width",d)}this.attempt("resize",d)}this.__resizing--},replaceText:function(g,j){var d=this.sIFR.util.escape(g);if(!this.attempt("replaceText",d)){return false}this.updateVars("content",d);var f=this.getAlternate();if(j){while(f.firstChild){f.removeChild(f.firstChild)}for(var c=0;c<j.length;c++){f.appendChild(j[c])}}else{try{f.innerHTML=g}catch(h){}}return true},changeCSS:function(c){c=this.sIFR.util.escape(this.sIFR.util.cssToString(this.sIFR.util.convertCssArg(c)));this.updateVars("css",c);return this.attempt("changeCSS",c)},remove:function(){if(this.movie&&this.available()){this.movie.remove(this.getFlashElement(),this.id)}}};var X=new function(){this.create=function(p,n,j,i,f,e,g,o,l,h,m){var k=p.ua.ie?d:c;return new k(p,n,j,i,f,e,g,o,["flashvars",l,"wmode",h,"bgcolor",m,"allowScriptAccess","always","quality","best"])};function c(s,q,l,h,f,e,g,r,n){var m=s.dom.create("object",E.FLASH);var p=["type","application/x-shockwave-flash","id",f,"name",f,"data",e,"width",g,"height",r];for(var o=0;o<p.length;o+=2){m.setAttribute(p[o],p[o+1])}var j=m;if(h){j=W.create("div",E.FIX_FOCUS);j.appendChild(m)}for(var o=0;o<n.length;o+=2){if(n[o]=="name"){continue}var k=W.create("param");k.setAttribute("name",n[o]);k.setAttribute("value",n[o+1]);m.appendChild(k)}l.style.minHeight=r+"px";while(l.firstChild){l.removeChild(l.firstChild)}l.appendChild(j);this.html=j.cloneNode(true)}c.prototype={reset:function(e,f){e.parentNode.replaceChild(this.html.cloneNode(true),e)},remove:function(e,f){e.parentNode.removeChild(e)},setSize:function(e,f){this.html.setAttribute(e,f)},injectVars:function(e,g){var h=e.getElementsByTagName("param");for(var f=0;f<h.length;f++){if(h[f].getAttribute("name")=="flashvars"){h[f].setAttribute("value",g);break}}}};function d(p,n,j,h,f,e,g,o,k){this.dom=p.dom;this.broken=n;this.html='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="'+f+'" width="'+g+'" height="'+o+'" class="'+E.FLASH+'"><param name="movie" value="'+e+'"></param></object>';var m="";for(var l=0;l<k.length;l+=2){m+='<param name="'+k[l]+'" value="'+k[l+1]+'"></param>'}this.html=this.html.replace(/(<\/object>)/,m+"$1");j.style.minHeight=o+"px";j.innerHTML=this.html;this.broken.register(j.firstChild)}d.prototype={reset:function(f,g){g=g.cloneNode(true);var e=f.parentNode;e.innerHTML=this.html;this.broken.register(e.firstChild);e.appendChild(g)},remove:function(e,f){this.broken.cleanup(f)},setSize:function(e,f){this.html=this.html.replace(e=="height"?/(height)="\d+"/:/(width)="\d+"/,'$1="'+f+'"')},injectVars:function(e,f){if(e!=this.html){return}this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,"$1"+f)}}};this.errors=new Y(O);var A=this.util=new D(O);var W=this.dom=new U(O);var T=this.ua=new H(O);var G={fragmentIdentifier:new F(O),pageLoad:new S(O),prefetch:new N(O),brokenFlashIE:new b(O)};this.__resetBrokenMovies=G.brokenFlashIE.reset;var J={kwargs:[],replaceAll:function(d){for(var c=0;c<this.kwargs.length;c++){O.replace(this.kwargs[c])}if(!d){this.kwargs=[]}}};this.activate=function(){if(!T.supported||!this.isEnabled||this.isActive||!C()||a()){return}G.prefetch.fetchMovies(arguments);this.isActive=true;this.setFlashClass();G.fragmentIdentifier.cache();G.pageLoad.attachUnload();if(!this.autoInitialize){return}G.pageLoad.attach()};this.setFlashClass=function(){if(this.hasFlashClassSet){return}W.addClass(E.ACTIVE,W.getBody()||document.documentElement);this.hasFlashClassSet=true};this.removeFlashClass=function(){if(!this.hasFlashClassSet){return}W.removeClass(E.ACTIVE,W.getBody());W.removeClass(E.ACTIVE,document.documentElement);this.hasFlashClassSet=false};this.initialize=function(c){if(!this.isActive||!this.isEnabled){return}if(R){if(!c){J.replaceAll(false)}return}R=true;J.replaceAll(c);if(O.repaintOnResize){if(window.addEventListener){window.addEventListener("resize",Z,false)}else{window.attachEvent("onresize",Z)}}G.prefetch.clear()};this.replace=function(x,u){if(!T.supported){return}if(u){x=A.copyProperties(x,u)}if(!R){return J.kwargs.push(x)}if(this.onReplacementStart){this.onReplacementStart(x)}var AM=x.elements||W.querySelectorAll(x.selector);if(AM.length==0){return}var w=M(x.src);var AR=A.convertCssArg(x.css);var v=B(x.filters);var AN=x.forceSingleLine===true;var AS=x.preventWrap===true&&!AN;var q=AN||(x.fitExactly==null?this.fitExactly:x.fitExactly)===true;var AD=q||(x.forceWidth==null?this.forceWidth:x.forceWidth)===true;var s=x.ratios||[];var AE=x.pixelFont===true;var r=parseInt(x.tuneHeight)||0;var z=!!x.onRelease||!!x.onRollOver||!!x.onRollOut;if(q){A.extractFromCss(AR,".sIFR-root","text-align",true)}var t=A.extractFromCss(AR,".sIFR-root","font-size",true)||"0";var e=A.extractFromCss(AR,".sIFR-root","background-color",true)||"#FFFFFF";var o=A.extractFromCss(AR,".sIFR-root","kerning",true)||"";var AW=A.extractFromCss(AR,".sIFR-root","opacity",true)||"100";var k=A.extractFromCss(AR,".sIFR-root","cursor",true)||"default";var AP=parseInt(A.extractFromCss(AR,".sIFR-root","leading"))||0;var AJ=x.gridFitType||(A.extractFromCss(AR,".sIFR-root","text-align")=="right")?"subpixel":"pixel";var h=this.forceTextTransform===false?"none":A.extractFromCss(AR,".sIFR-root","text-transform",true)||"none";t=/^\d+(px)?$/.test(t)?parseInt(t):0;AW=parseFloat(AW)<1?100*parseFloat(AW):AW;var AC=x.modifyCss?"":A.cssToString(AR);var AG=x.wmode||"";if(!AG){if(x.transparent){AG="transparent"}else{if(x.opaque){AG="opaque"}}}if(AG=="transparent"){if(!T.transparencySupport){AG="opaque"}else{e="transparent"}}else{if(e=="transparent"){e="#FFFFFF"}}for(var AV=0;AV<AM.length;AV++){var AF=AM[AV];if(W.hasOneOfClassses(E.IGNORE_CLASSES,AF)||W.ancestorHasClass(AF,E.ALTERNATE)){continue}var AO=W.getDimensions(AF);var f=AO.height;var c=AO.width;var AA=W.getComputedStyle(AF,"display");if(!f||!c||!AA||AA=="none"){continue}c=W.getWidthFromStyle(AF);var n,AH;if(!t){var AL=I(AF);n=Math.min(this.MAX_FONT_SIZE,Math.max(this.MIN_FONT_SIZE,AL.fontSize));if(AE){n=Math.max(8,8*Math.round(n/8))}AH=AL.lines}else{n=t;AH=1}var d=W.create("span",E.ALTERNATE);var AX=AF.cloneNode(true);AF.parentNode.appendChild(AX);for(var AU=0,AT=AX.childNodes.length;AU<AT;AU++){var m=AX.childNodes[AU];if(!/^(style|script)$/i.test(m.nodeName)){d.appendChild(m.cloneNode(true))}}if(x.modifyContent){x.modifyContent(AX,x.selector)}if(x.modifyCss){AC=x.modifyCss(AR,AX,x.selector)}var p=P(AX,h,x.uriEncode);AX.parentNode.removeChild(AX);if(x.modifyContentString){p.text=x.modifyContentString(p.text,x.selector)}if(p.text==""){continue}var AK=Math.round(AH*V(n,s)*n)+this.FLASH_PADDING_BOTTOM+r;if(AH>1&&AP){AK+=Math.round((AH-1)*AP)}var AB=AD?c:"100%";var AI="sIFR_replacement_"+L++;var AQ=["id="+AI,"content="+A.escape(p.text),"width="+c,"renderheight="+AK,"link="+A.escape(p.primaryLink.href||""),"target="+A.escape(p.primaryLink.target||""),"size="+n,"css="+A.escape(AC),"cursor="+k,"tunewidth="+(x.tuneWidth||0),"tuneheight="+r,"offsetleft="+(x.offsetLeft||""),"offsettop="+(x.offsetTop||""),"fitexactly="+q,"preventwrap="+AS,"forcesingleline="+AN,"antialiastype="+(x.antiAliasType||""),"thickness="+(x.thickness||""),"sharpness="+(x.sharpness||""),"kerning="+o,"gridfittype="+AJ,"flashfilters="+v,"opacity="+AW,"blendmode="+(x.blendMode||""),"selectable="+(x.selectable==null||AG!=""&&!sIFR.ua.macintosh&&sIFR.ua.gecko&&sIFR.ua.geckoVersion>=sIFR.ua.parseVersion("1.9")?"true":x.selectable===true),"fixhover="+(this.fixHover===true),"events="+z,"delayrun="+G.brokenFlashIE.fixFlash,"version="+this.VERSION];var y=A.encodeVars(AQ);var g=new K(O,AI,AQ,AD,{onReplacement:x.onReplacement,onRollOver:x.onRollOver,onRollOut:x.onRollOut,onRelease:x.onRelease});g.movie=X.create(sIFR,G.brokenFlashIE,AF,T.fixFocus&&x.fixFocus,AI,w,AB,AK,y,AG,e);this.replacements.push(g);this.replacements[AI]=g;if(x.selector){if(!this.replacements[x.selector]){this.replacements[x.selector]=[g]}else{this.replacements[x.selector].push(g)}}d.setAttribute("id",AI+"_alternate");AF.appendChild(d);W.addClass(E.REPLACED,AF)}G.fragmentIdentifier.restore()};this.getReplacementByFlashElement=function(d){for(var c=0;c<O.replacements.length;c++){if(O.replacements[c].id==d.getAttribute("id")){return O.replacements[c]}}};this.redraw=function(){for(var c=0;c<O.replacements.length;c++){O.replacements[c].resetMovie()}};this.prepareClearReferences=function(){G.brokenFlashIE.prepareClearReferences()};this.clearReferences=function(){G.brokenFlashIE.clearReferences();G=null;J=null;delete O.replacements};function C(){if(O.domains.length==0){return true}var d=A.domain();for(var c=0;c<O.domains.length;c++){if(A.domainMatches(d,O.domains[c])){return true}}return false}function a(){if(document.location.protocol=="file:"){if(O.debug){O.errors.fire("isFile")}return true}return false}function M(c){if(T.ie&&c.charAt(0)=="/"){c=window.location.toString().replace(/([^:]+)(:\/?\/?)([^\/]+).*/,"$1$2$3")+c}return c}function V(d,e){for(var c=0;c<e.length;c+=2){if(d<=e[c]){return e[c+1]}}return e[e.length-1]||1}function B(g){var e=[];for(var d in g){if(g[d]==Object.prototype[d]){continue}var c=g[d];d=[d.replace(/filter/i,"")+"Filter"];for(var f in c){if(c[f]==Object.prototype[f]){continue}d.push(f+":"+A.escape(A.toJson(c[f],A.toHexString)))}e.push(d.join(","))}return A.escape(e.join(";"))}function Z(d){var e=Z.viewport;var c=W.getViewport();if(e&&c.width==e.width&&c.height==e.height){return}Z.viewport=c;if(O.replacements.length==0){return}if(Z.timer){clearTimeout(Z.timer)}Z.timer=setTimeout(function(){delete Z.timer;for(var f=0;f<O.replacements.length;f++){O.replacements[f].resize()}},200)}function I(f){var g=W.getComputedStyle(f,"fontSize");var d=g.indexOf("px")==-1;var e=f.innerHTML;if(d){f.innerHTML="X"}f.style.paddingTop=f.style.paddingBottom=f.style.borderTopWidth=f.style.borderBottomWidth="0px";f.style.lineHeight="2em";f.style.display="block";g=d?f.offsetHeight/2:parseInt(g,10);if(d){f.innerHTML=e}var c=Math.round(f.offsetHeight/(2*g));f.style.paddingTop=f.style.paddingBottom=f.style.borderTopWidth=f.style.borderBottomWidth=f.style.lineHeight=f.style.display="";if(isNaN(c)||!isFinite(c)||c==0){c=1}return{fontSize:g,lines:c}}function P(c,g,s){s=s||A.uriEncode;var q=[],m=[];var k=null;var e=c.childNodes;var o=false,p=false;var j=0;while(j<e.length){var f=e[j];if(f.nodeType==3){var t=A.textTransform(g,A.normalize(f.nodeValue)).replace(/</g,"&lt;");if(o&&p){t=t.replace(/^\s+/,"")}m.push(t);o=/\s$/.test(t);p=false}if(f.nodeType==1&&!/^(style|script)$/i.test(f.nodeName)){var h=[];var r=f.nodeName.toLowerCase();var n=f.className||"";if(/\s+/.test(n)){if(n.indexOf(E.CLASS)>-1){n=n.match("(\\s|^)"+E.CLASS+"-([^\\s$]*)(\\s|$)")[2]}else{n=n.match(/^([^\s]+)/)[1]}}if(n!=""){h.push('class="'+n+'"')}if(r=="a"){var d=s(f.getAttribute("href")||"");var l=f.getAttribute("target")||"";h.push('href="'+d+'"','target="'+l+'"');if(!k){k={href:d,target:l}}}m.push("<"+r+(h.length>0?" ":"")+h.join(" ")+">");p=true;if(f.hasChildNodes()){q.push(j);j=0;e=f.childNodes;continue}else{if(!/^(br|img)$/i.test(f.nodeName)){m.push("</",f.nodeName.toLowerCase(),">")}}}if(q.length>0&&!f.nextSibling){do{j=q.pop();e=f.parentNode.parentNode.childNodes;f=e[j];if(f){m.push("</",f.nodeName.toLowerCase(),">")}}while(j==e.length-1&&q.length>0)}j++}return{text:m.join("").replace(/^\s+|\s+$|\s*(<br>)\s*/g,"$1"),primaryLink:k||{}}}};

sIFR.repaintOnResize = false;

sIFR.gotham_book = {
	//src: ML.baseUrl+'flash/sifr/gotham_book.swf'
	src: ML.baseUrl+'flash/sifr/gotham_book_with_sup.swf'
};

sIFR.gotham_bold = {
	src: ML.baseUrl+'flash/sifr/gotham_bold.swf'
};

sIFR.gotham_medium = {
	//src: ML.baseUrl+'flash/sifr/gotham_medium.swf'
	src: ML.baseUrl+'flash/sifr/gotham_medium_with_sup.swf'
};

// You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
// sIFR.useStyleCheck = true;
sIFR.activate(sIFR.gotham_book, sIFR.gotham_bold, sIFR.gotham_medium);

} else { throw fname+' already initialized!' };
break; // case 'sIFR':

/*case 'Reflection':
if( !(fname in window) ) {
//
 //reflection.js v2.0
 //http://cow.neondragon.net/stuff/reflection/
 //Freely distributable under MIT-style license.
 //Check license here - http://cow.neondragon.net/stuff/reflection/reflection.zip
//
var Reflection={defaultHeight:0.5,defaultOpacity:0.5,add:function(image,options){Reflection.remove(image);doptions={"height":Reflection.defaultHeight,"opacity":Reflection.defaultOpacity};if(options){for(var i in doptions){if(!options[i]){options[i]=doptions[i]}}}else{options=doptions}try{var d=document.createElement('div');var p=image;var classes=p.className.split(' ');var newClasses='';for(j=0;j<classes.length;j++){if(classes[j]!="reflect"){if(newClasses){newClasses+=' '}newClasses+=classes[j]}}var reflectionHeight,divHeight;(function(height){if($(p).width()!=p.width){height=height*($(p).width()/p.width)}reflectionHeight=Math.floor(height*options['height']);divHeight=Math.floor(height*(1+options['height']))})(p.height);var canvas=document.createElement('canvas');var reflectionWidth=p.style.width?p.style.width.replace('px',''):p.width;if(document.all&&!window.opera&&!canvas.getContext){if(p.parentElement.tagName=='A'){var d=document.createElement('a');d.href=p.parentElement.href}d.className=newClasses;p.className='reflected';d.style.cssText=p.style.cssText;p.style.verticalAlign='bottom';var reflection=document.createElement('img');reflection.src=p.src;reflection.style.width=reflectionWidth+'px';reflection.style.display='block';reflection.style.height=p.height+"px";reflection.style.marginBottom="-"+(p.height-reflectionHeight)+'px';reflection.style.filter='flipv progid:DXImageTransform.Microsoft.Alpha(opacity='+(options['opacity']*100)+', style=1, finishOpacity=0, startx=0, starty=0, finishx=0, finishy='+(options['height']*100)+')';d.style.width=reflectionWidth+'px';d.style.height=divHeight+'px';p.parentNode.replaceChild(d,p);d.appendChild(p);d.appendChild(reflection)}else if(canvas.getContext){d.className=newClasses;p.className='reflected';d.style.cssText=p.style.cssText;p.style.verticalAlign='bottom';var context=canvas.getContext("2d");canvas.style.height=reflectionHeight+'px';canvas.style.width=reflectionWidth+'px';canvas.height=reflectionHeight;canvas.width=reflectionWidth;d.style.width=reflectionWidth+'px';d.style.height=divHeight+'px';p.parentNode.replaceChild(d,p);d.appendChild(p);d.appendChild(canvas);context.save();context.translate(0,image.height-1);context.scale(1,-1);context.drawImage(image,0,0,reflectionWidth,image.height);context.restore();context.globalCompositeOperation="destination-out";var gradient=context.createLinearGradient(0,0,0,reflectionHeight);gradient.addColorStop(1,"rgba(255, 255, 255, 1.0)");gradient.addColorStop(0,"rgba(255, 255, 255, "+(1-options['opacity'])+")");context.fillStyle=gradient;context.rect(0,0,reflectionWidth,reflectionHeight*2);context.fill()}}catch(e){}},remove:function(image){if(image.className=="reflected"){image.className=image.parentNode.className;image.parentNode.parentNode.replaceChild(image,image.parentNode)}},addReflections:function(){var rimages=$('img.reflect');for(i=0;i<rimages.length;i++){var rheight=null;var ropacity=null;var classes=rimages[i].className.split(' ');for(j=0;j<classes.length;j++){if(classes[j].indexOf("rheight")==0){var rheight=classes[j].substring(7)/100}else if(classes[j].indexOf("ropacity")==0){var ropacity=classes[j].substring(8)/100}}Reflection.add(rimages[i],{height:rheight,opacity:ropacity})}}};return Reflection;
} else { return Reflection };
break; // case 'Reflection':
*/
case 'TINY':
if( !(fname in window) ) {
// http://www.leigeber.com/2009/05/javascript-popup-box/
// TinyBox is a lightweight and standalone modal window script
TINY={};function T$(i){return document.getElementById(i)}TINY.box=function(){var p,m,b,fn,ic,iu,iw,ih,ia,f=0;return{show:function(c,u,w,h,a,t){if(!f){p=document.createElement('div');p.id='tinybox';m=document.createElement('div');m.id='tinymask';b=document.createElement('div');b.id='tinycontent';document.body.appendChild(m);document.body.appendChild(p);p.appendChild(b);m.onclick=TINY.box.hide;window.onresize=TINY.box.resize;f=1}if(!a&&!u){p.style.width=w?w+'px':'auto';p.style.height=h?h+'px':'auto';p.style.backgroundImage='none';b.innerHTML=c}else{b.style.display='none';p.style.width=p.style.height='100px'}this.mask();ic=c;iu=u;iw=w;ih=h;ia=a;this.alpha(m,1,60,3);if(t){setTimeout(function(){TINY.box.hide()},1000*t)}},fill:function(c,u,w,h,a){if(u){p.style.backgroundImage='';var x=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject('Microsoft.XMLHTTP');x.onreadystatechange=function(){if(x.readyState==4&&x.status==200){TINY.box.psh(x.responseText,w,h,a)}};x.open('GET',c,1);x.send(null)}else{this.psh(c,w,h,a)}},psh:function(c,w,h,a){if(a){if(!w||!h){var x=p.style.width,y=p.style.height;b.innerHTML=c;p.style.width=w?w+'px':'';p.style.height=h?h+'px':'';b.style.display='';w=parseInt(b.offsetWidth);h=parseInt(b.offsetHeight);b.style.display='none';p.style.width=x;p.style.height=y}else{b.innerHTML=c}this.size(p,w,h)}else{p.style.backgroundImage='none'}},hide:function(){TINY.box.alpha(p,-1,0,3)},resize:function(){TINY.box.pos();TINY.box.mask()},mask:function(){m.style.height=TINY.page.total(1)+'px';m.style.width='';m.style.width=TINY.page.total(0)+'px'},pos:function(){var t=(TINY.page.height()/2)-(p.offsetHeight/2);t=t<10?10:t;p.style.top=(t+TINY.page.top())+'px';p.style.left=(TINY.page.width()/2)-(p.offsetWidth/2)+'px'},alpha:function(e,d,a){clearInterval(e.ai);if(d==1){e.style.opacity=0;e.style.filter='alpha(opacity=0)';e.style.display='block';this.pos()}e.ai=setInterval(function(){TINY.box.ta(e,a,d)},20)},ta:function(e,a,d){var o=Math.round(e.style.opacity*100);if(o==a){clearInterval(e.ai);if(d==-1){e.style.display='none';e==p?TINY.box.alpha(m,-1,0,2):b.innerHTML=p.style.backgroundImage=''}else{e==m?this.alpha(p,1,100):TINY.box.fill(ic,iu,iw,ih,ia)}}else{var n=Math.ceil((o+((a-o)*.5)));n=n==1?0:n;e.style.opacity=n/100;e.style.filter='alpha(opacity='+n+')'}},size:function(e,w,h){e=typeof e=='object'?e:T$(e);clearInterval(e.si);var ow=e.offsetWidth,oh=e.offsetHeight,wo=ow-parseInt(e.style.width),ho=oh-parseInt(e.style.height);var wd=ow-wo>w?0:1,hd=(oh-ho>h)?0:1;e.si=setInterval(function(){TINY.box.ts(e,w,wo,wd,h,ho,hd)},20)},ts:function(e,w,wo,wd,h,ho,hd){var ow=e.offsetWidth-wo,oh=e.offsetHeight-ho;if(ow==w&&oh==h){clearInterval(e.si);p.style.backgroundImage='none';b.style.display='block'}else{if(ow!=w){var n=ow+((w-ow)*.5);e.style.width=wd?Math.ceil(n)+'px':Math.floor(n)+'px'}if(oh!=h){var n=oh+((h-oh)*.5);e.style.height=hd?Math.ceil(n)+'px':Math.floor(n)+'px'}this.pos()}}}}();TINY.page=function(){return{top:function(){return document.documentElement.scrollTop||document.body.scrollTop},width:function(){return self.innerWidth||document.documentElement.clientWidth||document.body.clientWidth},height:function(){return self.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},total:function(d){var b=document.body,e=document.documentElement;return d?Math.max(Math.max(b.scrollHeight,e.scrollHeight),Math.max(b.clientHeight,e.clientHeight)):Math.max(Math.max(b.scrollWidth,e.scrollWidth),Math.max(b.clientWidth,e.clientWidth))}}}();
///
// TinyBox End
///
} else { throw fname+' already initialized!' };
break; // case 'TINY':

case 'placeholder':
if( !(fname in $.fn) ) {
/*
* jquery-placeholder 1.1 - minimalistic jQuery plugin to add a placeholder text to a text field
* http://github.com/jgradim/jquery-placeholder/
* Copyright (c) 2009 João Gradim
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/
(function(a){a.fn.placeholder=function(b){var c=a.extend({},a.fn.placeholder.defaults,b);return this.each(function(){var d=a(this);d.focus(function(){d.removeClass(c.cls);if(d.val()==c.text){d.val("")}}).blur(function(){if(d.val()==""){d.addClass(c.cls).val(c.text)}});d.blur();d.parents("form:first").submit(function(){if(c.clearOnSubmit&&d.val()==c.text){d.val("")}})})};a.fn.placeholder.defaults={text:"enter text",cls:"placeholder",clearOnSubmit:true}})(jQuery);
} else {
	//console.log(fname+' already initialized');
}
break; // case 'placeholder':

case 'bxSlider':
if( !(fname in $.fn) ) {
/**
 * jQuery bxSlider v3.0
 * http://bxslider.com
 * Copyright 2010, Steven Wanderski
 * http://stevenwanderski.com
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 * 
 */
(function(a){a.fn.bxSlider=function(t){var F={mode:"horizontal",infiniteLoop:true,hideControlOnEnd:false,controls:true,speed:500,easing:"swing",pager:false,pagerSelector:null,pagerType:"full",pagerLocation:"bottom",pagerShortSeparator:"/",pagerActiveClass:"pager-active",nextText:"next",nextImage:"",nextSelector:null,prevText:"prev",prevImage:"",prevSelector:null,captions:false,captionsSelector:null,auto:false,autoDirection:"next",autoControls:false,autoControlsSelector:null,autoStart:true,autoHover:false,autoDelay:0,pause:3000,startText:"start",startImage:"",stopText:"stop",stopImage:"",ticker:false,tickerSpeed:5000,tickerDirection:"next",tickerHover:false,wrapperClass:"bx-wrapper",startingSlide:0,displaySlideQty:1,moveSlideQty:1,randomStart:false,onBeforeSlide:function(){},onAfterSlide:function(){},onLastSlide:function(){},onFirstSlide:function(){},onNextSlide:function(){},onPrevSlide:function(){},buildPager:null};var t=a.extend(F,t);var n=this;var j="";var y="";var N="";var x="";var C="";var b="";var S="";var l="";var W="";var G="";var e="";var Z="";var J="";var R="";var X="";var L=true;var z=false;var u=0;var K=0;var r=0;var Y=0;var w=0;var p=0;var s=0;var P=0;var g=0;var V=false;var O=0;var v=N.length-1;this.goToSlide=function(aa,ab){if(!V){V=true;r=aa;t.onBeforeSlide(r,N.length,N.eq(r));if(typeof(ab)=="undefined"){var ab=true;}if(ab){if(t.auto){n.stopShow(true);}}slide=aa;if(slide==O){t.onFirstSlide(r,N.length,N.eq(r));}if(slide==v){t.onLastSlide(r,N.length,N.eq(r));}if(t.mode=="horizontal"){j.animate({left:"-"+B(slide,"left")+"px"},t.speed,t.easing,function(){V=false;t.onAfterSlide(r,N.length,N.eq(r));});}else{if(t.mode=="vertical"){j.animate({top:"-"+B(slide,"top")+"px"},t.speed,t.easing,function(){V=false;t.onAfterSlide(r,N.length,N.eq(r));});}else{if(t.mode=="fade"){A();}}}d();if(t.moveSlideQty>1){aa=Math.floor(aa/t.moveSlideQty);}H(aa);T();}};this.goToNextSlide=function(ad){if(typeof(ad)=="undefined"){var ad=true;}if(ad){if(t.auto){n.stopShow(true);}}if(!t.infiniteLoop){if(!V){var aa=false;r=(r+(t.moveSlideQty));if(r<=v){d();t.onNextSlide(r,N.length,N.eq(r));n.goToSlide(r);}else{r-=t.moveSlideQty;}}}else{if(!V){V=true;var aa=false;r=(r+t.moveSlideQty);if(r>v){r=r%N.length;aa=true;}t.onNextSlide(r,N.length,N.eq(r));t.onBeforeSlide(r,N.length,N.eq(r));if(t.mode=="horizontal"){var ab=(t.moveSlideQty*S);j.animate({left:"-="+ab+"px"},t.speed,t.easing,function(){V=false;if(aa){j.css("left","-"+B(r,"left")+"px");}t.onAfterSlide(r,N.length,N.eq(r));});}else{if(t.mode=="vertical"){var ac=(t.moveSlideQty*K);j.animate({top:"-="+ac+"px"},t.speed,t.easing,function(){V=false;if(aa){j.css("top","-"+B(r,"top")+"px");}t.onAfterSlide(r,N.length,N.eq(r));});}else{if(t.mode=="fade"){A();}}}if(t.moveSlideQty>1){H(Math.ceil(r/t.moveSlideQty));}else{H(r);}T();}}};this.goToPreviousSlide=function(ad){if(typeof(ad)=="undefined"){var ad=true;}if(ad){if(t.auto){n.stopShow(true);}}if(!t.infiniteLoop){if(!V){var aa=false;r=r-t.moveSlideQty;if(r<0){r=0;if(t.hideControlOnEnd){a(".bx-prev",x).hide();}}d();t.onPrevSlide(r,N.length,N.eq(r));n.goToSlide(r);}}else{if(!V){V=true;var aa=false;r=(r-(t.moveSlideQty));if(r<0){negativeOffset=(r%N.length);if(negativeOffset==0){r=0;}else{r=(N.length)+negativeOffset;}aa=true;}t.onPrevSlide(r,N.length,N.eq(r));t.onBeforeSlide(r,N.length,N.eq(r));if(t.mode=="horizontal"){var ab=(t.moveSlideQty*S);j.animate({left:"+="+ab+"px"},t.speed,t.easing,function(){V=false;if(aa){j.css("left","-"+B(r,"left")+"px");}t.onAfterSlide(r,N.length,N.eq(r));});}else{if(t.mode=="vertical"){var ac=(t.moveSlideQty*K);j.animate({top:"+="+ac+"px"},t.speed,t.easing,function(){V=false;if(aa){j.css("top","-"+B(r,"top")+"px");}t.onAfterSlide(r,N.length,N.eq(r));});}else{if(t.mode=="fade"){A();}}}if(t.moveSlideQty>1){H(Math.ceil(r/t.moveSlideQty));}else{H(r);}T();}}};this.goToFirstSlide=function(aa){if(typeof(aa)=="undefined"){var aa=true;}n.goToSlide(O,aa);};this.goToLastSlide=function(){if(typeof(aa)=="undefined"){var aa=true;}n.goToSlide(v,aa);};this.getCurrentSlide=function(){return r;};this.getSlideCount=function(){return N.length;};this.stopShow=function(aa){clearInterval(e);if(typeof(aa)=="undefined"){var aa=true;}if(aa&&t.autoControls){Z.html(R).removeClass("stop").addClass("start");L=false;}};this.startShow=function(aa){if(typeof(aa)=="undefined"){var aa=true;}m();if(aa&&t.autoControls){Z.html(X).removeClass("start").addClass("stop");L=true;}};this.stopTicker=function(aa){j.stop();if(typeof(aa)=="undefined"){var aa=true;}if(aa&&t.ticker){Z.html(R).removeClass("stop").addClass("start");L=false;}};this.startTicker=function(aa){if(t.mode=="horizontal"){if(t.tickerDirection=="next"){var ac=parseInt(j.css("left"));var ae=(p+ac)+N.eq(0).width();}else{if(t.tickerDirection=="prev"){var ac=-parseInt(j.css("left"));var ae=(ac)-N.eq(0).width();}}var ad=(ae*t.tickerSpeed)/p;E(P,ae,ad);}else{if(t.mode=="vertical"){if(t.tickerDirection=="next"){var ab=parseInt(j.css("top"));var ae=(s+ab)+N.eq(0).height();}else{if(t.tickerDirection=="prev"){var ab=-parseInt(j.css("top"));var ae=(ab)-N.eq(0).height();}}var ad=(ae*t.tickerSpeed)/s;E(g,ae,ad);if(typeof(aa)=="undefined"){var aa=true;}if(aa&&t.ticker){Z.html(X).removeClass("start").addClass("stop");L=true;}}}};this.initShow=function(){j=a(this);y=j.clone();N=j.children();x="";C=j.children(":first");b=C.width();u=0;S=C.outerWidth();K=0;l=f();W=U();V=false;G="";r=0;Y=0;w=0;e="";Z="";J="";R="";X="";L=true;z=false;p=0;s=0;P=0;g=0;O=0;v=N.length-1;N.each(function(ab){if(a(this).outerHeight()>K){K=a(this).outerHeight();}if(a(this).outerWidth()>u){u=a(this).outerWidth();}});if(t.randomStart){var aa=Math.floor(Math.random()*N.length);r=aa;Y=S*(t.moveSlideQty+aa);w=K*(t.moveSlideQty+aa);}else{r=t.startingSlide;Y=S*(t.moveSlideQty+t.startingSlide);w=K*(t.moveSlideQty+t.startingSlide);}o();if(t.pager&&!t.ticker){if(t.pagerType=="full"){I("full");}else{if(t.pagerType=="short"){I("short");}}}if(t.controls&&!t.ticker){i();}if(t.auto||t.ticker){if(t.autoControls){q();}if(t.autoStart){setTimeout(function(){n.startShow(true);},t.autoDelay);}else{n.stopShow(true);}if(t.autoHover&&!t.ticker){D();}}if(t.moveSlideQty>1){H(Math.ceil(r/t.moveSlideQty));}else{H(r);}d();if(t.captions){T();}t.onAfterSlide(r,N.length,N.eq(r));};this.destroyShow=function(){clearInterval(e);a(".bx-next, .bx-prev, .bx-pager, .bx-auto",x).remove();j.unwrap().unwrap().removeAttr("style");j.children().removeAttr("style").not(".pager").remove();N.removeClass("pager");};this.reloadShow=function(){n.destroyShow();n.initShow();};function o(){Q(t.startingSlide);if(t.mode=="horizontal"){j.wrap('<div class="'+t.wrapperClass+'" style="width:'+l+'px; position:relative;"></div>').wrap('<div class="bx-window" style="position:relative; overflow:hidden; width:'+l+'px;"></div>').css({width:"99999px",position:"relative",left:"-"+(Y)+"px"});j.children().css({width:b,"float":"left",listStyle:"none"});x=j.parent().parent();N.addClass("pager");}else{if(t.mode=="vertical"){j.wrap('<div class="'+t.wrapperClass+'" style="width:'+u+'px; position:relative;"></div>').wrap('<div class="bx-window" style="width:'+u+"px; height:"+W+'px; position:relative; overflow:hidden;"></div>').css({height:"99999px",position:"relative",top:"-"+(w)+"px"});j.children().css({listStyle:"none",height:K});x=j.parent().parent();N.addClass("pager");}else{if(t.mode=="fade"){j.wrap('<div class="'+t.wrapperClass+'" style="width:'+u+'px; position:relative;"></div>').wrap('<div class="bx-window" style="height:'+K+"px; width:"+u+'px; position:relative; overflow:hidden;"></div>');j.children().css({listStyle:"none",position:"absolute",top:0,left:0,zIndex:98});x=j.parent().parent();N.not(":eq("+r+")").fadeTo(0,0);N.eq(r).css("zIndex",99);}}}if(t.captions&&t.captionsSelector==null){x.append('<div class="bx-captions"></div>');}}function Q(){if(t.mode=="horizontal"||t.mode=="vertical"){var ad=M(N,0,t.moveSlideQty,"backward");a.each(ad,function(af){j.prepend(a(this));});var ac=(N.length+t.moveSlideQty)-1;var ab=N.length-t.displaySlideQty;var aa=ac-ab;var ae=M(N,0,aa,"forward");if(t.infiniteLoop){a.each(ae,function(af){j.append(a(this));});}}}function i(){if(t.nextImage!=""){nextContent=t.nextImage;nextType="image";}else{nextContent=t.nextText;nextType="text";}if(t.prevImage!=""){prevContent=t.prevImage;prevType="image";}else{prevContent=t.prevText;prevType="text";}h(nextType,nextContent,prevType,prevContent);}function m(){if(t.auto){if(!t.infiniteLoop){if(t.autoDirection=="next"){e=setInterval(function(){r+=t.moveSlideQty;if(r>v){r=r%N.length;}n.goToSlide(r,false);},t.pause);}else{if(t.autoDirection=="prev"){e=setInterval(function(){r-=t.moveSlideQty;if(r<0){negativeOffset=(r%N.length);if(negativeOffset==0){r=0;}else{r=(N.length)+negativeOffset;}}n.goToSlide(r,false);},t.pause);}}}else{if(t.autoDirection=="next"){e=setInterval(function(){n.goToNextSlide(false);},t.pause);}else{if(t.autoDirection=="prev"){e=setInterval(function(){n.goToPreviousSlide(false);},t.pause);}}}}else{if(t.ticker){t.tickerSpeed*=10;a(".pager",x).each(function(aa){p+=a(this).width();s+=a(this).height();});if(t.tickerDirection=="prev"&&t.mode=="horizontal"){j.css("left","-"+(p+Y)+"px");}else{if(t.tickerDirection=="prev"&&t.mode=="vertical"){j.css("top","-"+(s+w)+"px");}}if(t.mode=="horizontal"){P=parseInt(j.css("left"));E(P,p,t.tickerSpeed);}else{if(t.mode=="vertical"){g=parseInt(j.css("top"));E(g,s,t.tickerSpeed);}}if(t.tickerHover){k();}}}}function E(ab,ac,aa){if(t.mode=="horizontal"){if(t.tickerDirection=="next"){j.animate({left:"-="+ac+"px"},aa,"linear",function(){j.css("left",ab);E(ab,p,t.tickerSpeed);});}else{if(t.tickerDirection=="prev"){j.animate({left:"+="+ac+"px"},aa,"linear",function(){j.css("left",ab);E(ab,p,t.tickerSpeed);});}}}else{if(t.mode=="vertical"){if(t.tickerDirection=="next"){j.animate({top:"-="+ac+"px"},aa,"linear",function(){j.css("top",ab);E(ab,s,t.tickerSpeed);});}else{if(t.tickerDirection=="prev"){j.animate({top:"+="+ac+"px"},aa,"linear",function(){j.css("top",ab);E(ab,s,t.tickerSpeed);});}}}}}function q(){if(t.startImage!=""){startContent=t.startImage;startType="image";}else{startContent=t.startText;startType="text";}if(t.stopImage!=""){stopContent=t.stopImage;stopType="image";}else{stopContent=t.stopText;stopType="text";}c(startType,startContent,stopType,stopContent);}function D(){x.find(".bx-window").hover(function(){if(L){n.stopShow(false);}},function(){if(L){n.startShow(false);}});}function k(){j.hover(function(){if(L){n.stopTicker(false);}},function(){if(L){n.startTicker(false);}});}function A(){N.not(":eq("+r+")").fadeTo(t.speed,0).css("zIndex",98);N.eq(r).css("zIndex",99).fadeTo(t.speed,1,function(){V=false;t.onAfterSlide(r,N.length,N.eq(r));});}function H(aa){if(t.pagerType=="full"&&t.pager){a("a",G).removeClass(t.pagerActiveClass);a("a",G).eq(aa).addClass(t.pagerActiveClass);}else{if(t.pagerType=="short"&&t.pager){a(".bx-pager-current",G).html(r+1);}}}function h(af,ae,aa,ab){var ac=a('<a href="" class="bx-next"></a>');var ad=a('<a href="" class="bx-prev"></a>');if(af=="text"){ac.html(ae);}else{ac.html('<img src="'+ae+'" />');}if(aa=="text"){ad.html(ab);}else{ad.html('<img src="'+ab+'" />');}if(t.prevSelector){a(t.prevSelector).append(ad);}else{x.append(ad);}if(t.nextSelector){a(t.nextSelector).append(ac);}else{x.append(ac);}ac.click(function(){n.goToNextSlide();return false;});ad.click(function(){n.goToPreviousSlide();return false;});}function I(ad){var ac=N.length;if(t.moveSlideQty>1){if(N.length%t.moveSlideQty!=0){ac=Math.ceil(N.length/t.moveSlideQty);}else{ac=N.length/t.moveSlideQty;}}var ae="";if(t.buildPager){for(var aa=0;aa<ac;aa++){ae+=t.buildPager(aa,N.eq(aa*t.moveSlideQty));}}else{if(ad=="full"){for(var aa=1;aa<=ac;aa++){ae+='<a href="" class="pager-link pager-'+aa+'">'+aa+"</a>";}}else{if(ad=="short"){ae='<span class="bx-pager-current">'+(t.startingSlide+1)+"</span> "+t.pagerShortSeparator+' <span class="bx-pager-total">'+N.length+"<span>";}}}if(t.pagerSelector){a(t.pagerSelector).append(ae);G=a(t.pagerSelector);}else{var ab=a('<div class="bx-pager"></div>');ab.append(ae);if(t.pagerLocation=="top"){x.prepend(ab);}else{if(t.pagerLocation=="bottom"){x.append(ab);}}G=a(".bx-pager",x);}G.children().click(function(){if(t.pagerType=="full"){var af=G.children().index(this);if(t.moveSlideQty>1){af*=t.moveSlideQty;}n.goToSlide(af);}return false;});}function T(){var aa=a("img",N.eq(r)).attr("title");if(aa!=""){if(t.captionsSelector){a(t.captionsSelector).html(aa);}else{a(".bx-captions",x).html(aa);}}else{if(t.captionsSelector){a(t.captionsSelector).html("Â ");}else{a(".bx-captions",x).html("Â ");}}}function c(ab,ac,aa,ad){Z=a('<a href="" class="bx-start"></a>');if(ab=="text"){R=ac;}else{R='<img src="'+ac+'" />';}if(aa=="text"){X=ad;}else{X='<img src="'+ad+'" />';}if(t.autoControlsSelector){a(t.autoControlsSelector).append(Z);}else{x.append('<div class="bx-auto"></div>');a(".bx-auto",x).html(Z);}Z.click(function(){if(t.ticker){if(a(this).hasClass("stop")){n.stopTicker();}else{if(a(this).hasClass("start")){n.startTicker();}}}else{if(a(this).hasClass("stop")){n.stopShow(true);}else{if(a(this).hasClass("start")){n.startShow(true);}}}return false;});}function d(){if(!t.infiniteLoop&&t.hideControlOnEnd){if(r==O){a(".bx-prev",x).hide();}else{a(".bx-prev",x).show();}if(r==v){a(".bx-next",x).hide();}else{a(".bx-next",x).show();}}}function B(ac,ab){if(ab=="left"){var aa=a(".pager",x).eq(ac).position().left;}else{if(ab=="top"){var aa=a(".pager",x).eq(ac).position().top;}}return aa;}function f(){var aa=C.outerWidth()*t.displaySlideQty;return aa;}function U(){var aa=C.outerHeight()*t.displaySlideQty;return aa;}function M(ag,af,ad,ae){var ac=[];var ab=ad;var aa=false;if(ae=="backward"){ag=a.makeArray(ag);ag.reverse();}while(ab>0){a.each(ag,function(ah,ai){if(ab>0){if(!aa){if(ah==af){aa=true;ac.push(a(this).clone());ab--;}}else{ac.push(a(this).clone());ab--;}}else{return false;}});}return ac;}this.each(function(){n.initShow();});return this;};})(jQuery);
} else {
	throw fname+' already initialized';
}
break; //case bxSlider

default:
throw 'Nothing to inialize!';
}
}; // ML.init


(function() {
	// let's create object to collect all temporary garbage in this
	// function (note, it will be deleted in the end of this function!):
	var cache = {};
	// developer: clear object from junk
	cache.clean = function() {
		for (p in this) {
			if (p == 'clean') continue;
			delete this[p];
		}
	};

	var live = {};

	//sIFR
		ML.init('sIFR');
		sIFR.fixIeSize = function(el) {
			if($.browser.msie && $.browser.version == '9.0') {
				el.attempt('resize', el.getFlashElement().width-1);
				/*setTimeout(function() {
					$(el.getFlashElement()).find('param').each(function() {
						var movie = el.getFlashElement();

						if(this.name == 'flashvars') {
							var flashvars = this.value.split('&');
							if(flashvars[2].split('=')[0] == 'width')
								movieWidth = flashvars[2].split('=')[1];
							if(flashvars[3].split('=')[0] == 'renderheight')
								movieHeight = flashvars[3].split('=')[1];

							if(movieWidth) {
								movie.width = movieWidth;
							}
							if(movieHeight) {
								var _movieheight = movie.height;
								movie.height = movieHeight;
								setTimeout(function() {
									movie.height = _movieheight;
								}, 10);
							}
						}
					});
				}, 0);*/
			}
		};

		//h1
		sIFR.replace(sIFR.gotham_book, {
			elements: $('h1.main'),
			css: ML.langId==1?[
				'.sIFR-root { color:#0f4622; }'
			]:[
				'.sIFR-root { color:#0f4622; }',
				'sup { font-family: "GG Superscript Sans"; display:inline; color:#0f4622; font-size:19px; }'
			],
			wmode: 'transparent',
			fitExactly: false,
			thickness: -50,
			onReplacement: function(e) {
				sIFR.fixIeSize(e);
			}
		});
		sIFR.replace(sIFR.gotham_book, {
			elements: $('h1.main-center'),
			css: ML.langId==1?[
				'.sIFR-root { color:#0f4622; text-align: center; }'
			]:[
				'.sIFR-root { color:#0f4622; text-align: center; }',
				'sup { font-family: "GG Superscript Sans"; display:inline; color:#0f4622; font-size:19px;  }'
			],
			wmode: 'transparent',
			fitExactly: false,
			thickness: -50,
			onReplacement: function(e) {
				sIFR.fixIeSize(e);
			}
		});
		sIFR.replace(sIFR.gotham_medium, {
			elements: $('h1.main-smaller'),
			css: ML.langId==1?[
				'.sIFR-root { color:#0f4622; font-size:20px; }'
			]:[
				'.sIFR-root { color:#0f4622; font-size:20px; }',
				'sup { font-family: "GG Superscript Sans"; display:inline; color:#0f4622; font-size:17px; }'
			],
			wmode: 'transparent',
			fitExactly: false,
			thickness: -50,
			onReplacement: function(e) {
				sIFR.fixIeSize(e);
			}
		});

		//h2
		sIFR.replace(sIFR.gotham_medium, {
			elements: $('h2.secondary'),
			css: ML.langId==1?[
				'.sIFR-root { color:#0f4622; }'
			]:[
				'.sIFR-root { color:#0f4622; }',
				'sup { font-family: "GG Superscript Sans"; display:inline; color:#0f4622; font-size:15px; }'
			],
			wmode: 'transparent',
			fitExactly: false,
			thickness: -50,
			onReplacement: function(e) {
				sIFR.fixIeSize(e);
			}
		});

		//top navigation
		sIFR.replace(sIFR.gotham_book, {
			elements: $('#top-nav a'),
			css: [
				'.sIFR-root {color:#ffffff; cursor:pointer; text-decoration:none; font-size:14px;}'
			],
			tuneWidth: 1,
			wmode: 'transparent',
			onRollOver: function(obj) {
				obj.changeCSS('.sIFR-root {color:#e8ea96;}')
			},
			onRollOut: function(obj) {
				obj.changeCSS('.sIFR-root {color:#ffffff;}')
			},
			//selectable: false,
			thickness: -300,
			fitExactly: true,
			forceClear: true,
			forceSingleLine: true,
			onRelease: function(fi) {
				document.location.href = $(fi.getAncestor()).get(0).href;
			},
			onReplacement: function(e) {
				//sIFR.fixIeSize(e);
			}
		});

		//language
		sIFR.replace(sIFR.gotham_bold, {
			elements: $('#top-toolbar .language a'),
			css: [
				'.sIFR-root { color:#729830; cursor:pointer; letter-spacing:-0.1; font-size:11px; }'
			],
			wmode: 'transparent',
			//selectable: false,
			fitExactly: true,
			forceClear: true,
			forceSingleLine: true,
			onRelease: function(fi) {
				document.location.href = $(fi.getAncestor()).get(0).href;
			},
			onReplacement: function(e) {
				//sIFR.fixIeSize(e);
			}
		});

		//search helper title
		sIFR.replace(sIFR.gotham_book, {
			elements: $('#sidebar div.search-helper h4'),
			css: [
				(
					ML.langId == 1?
					'.sIFR-root { color:#ffffff; }':
					'.sIFR-root { color:#ffffff; leading:-7; }'
				)
			],
			wmode: 'transparent',
			thickness: -60,
			fitExactly:true,
			forceClear:true,
			sharpness: 200,
			tuneHeight: -7,
			onReplacement: function(el) {
				if($.browser.msie && $.browser.version == '9.0') {
					if(ML.langId == 1)
						el.attempt('resize', el.getFlashElement().width+1);
					else
						el.attempt('resize', el.getFlashElement().width);
				}
			}
		});

		//call us title
		sIFR.replace(sIFR.gotham_book, {
			elements: $('.call-us-info h4'),
			css: [
				'.sIFR-root { color:#0f4622; letter-spacing:-0.3; }'
			],
			wmode: 'transparent',
			forceSingleLine: true
		});
	//sIFR End

	// sitemap-template
		//IMPORTANT NOTE: THIS BLOCK SHOULD GO BEFORE FAQ-LISTS, BECAUSE IN OTHER CASE HEIGHT WILL BE CALCULATED INCORRECTLY
		if(ML.classInBody('sitemap-template')) {
			cache.product_items = $('#content ul.faq-list ul li');
			if(!ML.$empty(cache.product_items)) {
				cache.first_product_items = [];
				cache.product_items.each(function() {
					$el = $(this);
					var typeName = $el.attr('data-sub-category-name');
					if(typeName && $el.prev().attr('data-sub-category-name') != typeName)
						$('<li><h4>'+typeName+'</h4></li>').insertBefore($el);
				});
			}
		}

	// sitemap-template End

	//faq-lists
		cache.faqs = $('ul.faq-list');
		if(!ML.$empty(cache.faqs)) {
			live.faqs = {};
			live.faqs.titles = cache.faqs.find('h3');
			cache.faqs.text = cache.faqs.find('div.text');
			cache.faqs.text.each(function() {
				this.height = $(this).height();
			});
			cache.faqs.text.css({
				'overflow':'hidden',
				'height':0
			});

			live.faqs.titles
			.append('<span />')
			.bind('click', function() {
				var el = this;
				el.trigger = el.trigger || false;
				var $el = $(el);
				var icon = $(el).find('span');
				var text = $el.next();

				if(el.trigger) {
					icon.removeClass('opened');

					text.animate(
						{
							height:0,
							'padding-bottom':0,
							'margin-bottom':0
						},
						500,
						function() {
							el.trigger = false;
						}
					);
				} else {
					icon.addClass('opened');

					text.animate(
						{
							height:text.get(0).height,
							'padding-bottom':10,
							'margin-bottom':10
						},
						500,
						function() {
							el.trigger = true;
						}
					);
				}
			});
		}
	//faq-lists End

	//tabs
		cache.tabs = $('#content .tab-containter');
		if(!ML.$empty(cache.tabs)) {
			live.tabs = {};
			live.tabs.switcher = $('.tab-switcher');
			live.tabs.items = cache.tabs.find('.tab-item');
			live.tabs.switchlinkclass = 'active-tab';
			live.tabs.switcher_lis = live.tabs.switcher.find('li');
			live.tabs.switcher_links = live.tabs.switcher.find('a');
			//calculate one tab length
			cache.tabs.tab_length = (function() {
				var spacing = 8; //space character width between tabs
				var padding = 15+15; //left-right padding
				return Math.round(live.tabs.switcher.width()/(live.tabs.switcher_lis.length-1))-spacing-padding;
			})();

			live.tabs.switcher_links.each(function(i, el) {
				var $el = $(el);
				var $el_p = $el.parent(); //get link parent
				var tab_content = $($el.attr('href')); //get related tab content
				tab_content.find('.product-type-list:first').addClass('first-of-type');

				//Sifr
				var oldhtml = el.innerHTML;
				if(typeof sIFR != 'undefined' && typeof sIFR.replace == 'function')
					el.innerHTML = '<span class="active-text">'+oldhtml+'</span><span class="unactive-text">'+oldhtml+'</span>';
				var activesifr = $el.find('span.active-text');
				var unactivesifr = $el.find('span.unactive-text');
				sIFR.replace(sIFR.gotham_medium, {
					elements: activesifr,
					css: [
						(
							ML.langId == 1?
							'.sIFR-root { color:#0f4622; text-align:center; font-size:16px; }':
							'.sIFR-root { color:#0f4622; text-align:center; font-size:14px; }'
						)
					],
					forceSingleLine: true,
					repaintOnResize:false,
					forceSingleLine:true,
					offsetLeft: -1,
					//selectable: false,
					//wmode: 'transparent',
					onReplacement: function() {
						if(!activesifr.hasClass('hidden-sifr')) {
							activesifr.addClass('hidden-sifr');
						}
					},
					onRelease: function() {
						$el.click();
					}
				});
				sIFR.replace(sIFR.gotham_medium, {
					elements: unactivesifr,
					css: [
						'.sIFR-root { color:#ffffff; text-align:center; font-size:14px; }'
					],
					forceSingleLine:true,
					repaintOnResize:false,
					offsetLeft:-1,
					fitExactly:true,
					//selectable:false,
					wmode: 'transparent',
					onReplacement: function() {
						if(i == 0) {//run it once
							live.tabs.switcher.addClass('tab-switcher-with-sifr');
						}
					},
					onRelease: function() {
						$el.click();
					}
				});

				//tabs h3
				var tab_content_header = tab_content.find('h3.product-type-list-title a');
				tab_content_header.params = {
					elements: tab_content_header,
					css: [
						'.sIFR-root { color:#94af26; text-decoration:none; }'
					],
					wmode: 'transparent',
					thickness: -60,
					forceSingleLine: true,
					selectable: false,
					repaintOnResize:false
				};
				sIFR.replace(sIFR.gotham_medium, tab_content_header.params);

				//set default width for tabs except for cases when we have just one tab or when we have auto width
				var extend = live.tabs.switcher.attr('data-tabs-tune-width');
				var auto_width = live.tabs.switcher.hasClass('tabs-auto-width');
				var force_single_line = live.tabs.switcher.hasClass('force-single-line');

				if(live.tabs.switcher_lis.length-1 > 1 && !auto_width)
					$el.css({
						'width' : cache.tabs.tab_length+'px'
					});
				else if(auto_width) {
					$el_p.addClass(live.tabs.switchlinkclass);
					$el.css({
						'width':$el.css('width')
					});
					$el_p.removeClass(live.tabs.switchlinkclass);
				}

				if(extend)
					$el.css({
						'margin-left' : extend+'px',
						'margin-right' : extend+'px'
					});

				if(force_single_line)
					$el.css({
						'white-space' : 'nowrap'
					});

				if(i>0) { //hide content for all tabs except for first
					tab_content.css({'display':'none'});
				}
				else //add active classname for the first tab
					$el_p.addClass(live.tabs.switchlinkclass);

				//switching logic
				$el.bind('click', function() {
					//If element don't have active classname - remove active classname from all elements
					//hide all content, then add active classname for selected item and show related content
					if(!$el_p.hasClass(live.tabs.switchlinkclass)) {
						live.tabs.switcher_lis.removeClass(live.tabs.switchlinkclass);
						live.tabs.items.css({'display':'none'});

						//Replace flash in tabs headers
						setTimeout(function() {
							sIFR.replace(sIFR.gotham_medium, tab_content_header.params);
						}, 0);

						$el_p.addClass(live.tabs.switchlinkclass);
						tab_content.css({'display':'block'});

						//in IE9 reflections will not show on switch - fix it:
						/*if($.browser.msie && document.createElement('canvas').getContext) {
							//If we have images reflected - no need to init Reflected,
							//in other case no need to use Reflected at all
							tab_content.find('img.reflected').each(function() {
								Reflection.add(this, {height:11/100});
							});
						}*/
					}

					return false;
				});

				//if active tab exists and not equal to first one (0) - activate active tab
				cache.tabs.active_tab = live.tabs.switcher.attr('data-active-tab-index');
				if(typeof cache.tabs.active_tab != 'undefined' && cache.tabs.active_tab !== 0) {
					$(live.tabs.switcher_links.get(cache.tabs.active_tab)).click();
				}
			});
		}
	//tabs End

	//image reflections
		/*cache.reflect_images = $('img.reflect');
		cache.product_info_img = $('#content .product-info-img img');
		if(!ML.$empty(cache.reflect_images) || !ML.$empty(cache.product_info_img)) {
			var Reflection = ML.init('Reflection');
			$(window).load(function() {
				Reflection.addReflections();
			});
		}*/
	//image reflections End

	//form
		cache.contact = $('div.form-container');
		if(!ML.$empty(cache.contact)) {
			ML.init('placeholder')

			cache.contact.inputs = cache.contact.find('input');
			cache.contact.inputs.each(function() {
				var el = this;
				var $el = $(el);
				var placeholder = $el.prev().get(0);
				var placeholder_config = {clearOnSubmit: true};
				if($('div.contact-form').length || $('div.newsletter-form').length)
					placeholder_config.clearOnSubmit = false;

				if(placeholder && placeholder.nodeName == 'NOSCRIPT' && placeholder.innerHTML) {
					placeholder_config.text = placeholder.innerHTML.replace(/&lt;\/?p&gt;/g,'').replace('Mot-cle','Mot-clé');
					$el.placeholder(placeholder_config);
				} else if(el.title) {
					placeholder_config.text = el.title.replace('Mot-cle','Mot-clé')
					$el.placeholder(placeholder_config);
				}
			});

			cache.captcha_refresh = $('#refreshCaptcha');
			if(!ML.$empty(cache.captcha_refresh)) {
				cache.captcha_refresh.bind('click', function () {
					$.post(ML.baseUrl+"Captcha/Captcha.aspx", "", function (data) {
						$("#hdnCaptcha").val(data);
						$("#imgCaptcha").attr("src", ML.baseUrl+"Captcha/Captcha.aspx?code=" + data);
						//alert(data);
					});
					return false;
				});
			}

			live.clear_checkbox_group = $('.deactivate-all-in-group input');
			live.clear_checkbox_group.bind('click', function() {
				var $el = $(this);
				var group_wrapper = $el.parent().parent().parent();
				if(group_wrapper.hasClass('checkboxes'))
					var group = group_wrapper.find('input');
					group.addClass('could-be-disabled');
					$el.removeClass('could-be-disabled');

					group_wrapper.find('input.could-be-disabled').each(function() {
						this.checked = false;

						if(!this.disabled)
							this.disabled = true;
						else
							this.disabled = false;
					});
			});
		}
	//form End

	//search-helper
		cache.search_helper = $('div.search-helper');

		if(!ML.$empty(cache.search_helper)) {
			ML.init('placeholder')

			cache.search_helper.input = cache.search_helper.find('input:first');
			if(cache.search_helper.input.placeholder) {
				cache.search_helper.input.placeholder({text: (ML.langId==1?'Keyword':'Mot-clé')});
				cache.search_helper.input.attr('title', (ML.langId==1?'Keyword':'Mot-clé'));
			}
		}
	//search-helper End

	// home-page
		if( ML.classInBody('home-template') ) {
			cache.slider_wrap = $('#home-slider');
			cache.slider = cache.slider_wrap.find('ul');

			if( !ML.$empty(cache.slider) ) {
				/*
				//h2
				sIFR.replace(sIFR.gotham_book, {
					elements: cache.slider_wrap.find('h2'),
					css: [
						'.sIFR-root { color:#0f4622; }'
					],
					thickness: -50,
					selectable: false,
					forceSingleLine: true
				});

				//h3
				sIFR.replace(sIFR.gotham_book, {
					elements: cache.slider_wrap.find('h3'),
					css: [
						'.sIFR-root { color:#bdd73c; }'
					],
					//thickness: -50,
					selectable: false,
					forceSingleLine: true
				});*/

				ML.init('bxSlider');

				live.slider_images = cache.slider.find('img');

				var slider_obj = cache.slider.bxSlider({
					buildPager: function(i, slideHtmlObject) {
						var temp = slideHtmlObject.find('img:first').clone();
						var temp_wrap = temp.wrap('<b />').parent();
						return '<a href="#">'+temp_wrap.html()+'</a>';
					},
					onBeforeSlide: function(i, totalSlideQty, currentSlideHtmlObject){
						var slide = $(currentSlideHtmlObject);
						var prev_slide_num = i-1 || 0;
						var prev_slide = $(slide.parent().find('li').get(prev_slide_num));
						var slides = slide.parent().find('li');
						//slides.find('h2').hide();
						//slide.find('h2').show();

						slides.find('h3').hide();
						slide.find('h3').show();


					},
					mode: 'fade',
					controls: false,
					pager: true,
					auto: true,
					autoHover: true,
					speed: 750,
					pause: 5000
				});
			}

			cache.clean();
		}
	// home-page End

	//recipe template
		if(ML.classInBody('recipe-template')) {
			cache.renees_tip = $('#content div.renees-tip');
			cache.renees_recommends = $('#content div.renees-recommends');
			cache.renees_directions = $('#content div.recipe-directions');
			if(!ML.$empty(cache.renees_tip)) {
				cache.renees_tip.find('ul').css({'margin-left':'0'}).addClass('square-markers').find('li').each(function() {
					this.innerHTML = '<span class="marker"></span>'+this.innerHTML;
				});
			}
			if(!ML.$empty(cache.renees_recommends)) {
				cache.renees_recommends.find('ul').css({'margin-left':'0'}).addClass('square-markers').find('li').each(function() {
					this.innerHTML = '<span class="marker"></span>'+this.innerHTML;
				});
			}
			if(!ML.$empty(cache.renees_directions)) {
				cache.renees_directions.find('ul').css({'margin-left':'0'}).addClass('square-markers').find('li').each(function() {
					this.innerHTML = '<span class="marker"></span>'+this.innerHTML;
				});
			}

			cache.flash_titles = $('#content h4.flash-replace');
			if(!ML.$empty(cache.flash_titles)) {
				sIFR.replace(sIFR.gotham_book, {
					elements: cache.flash_titles,
					css: [
						'.sIFR-root { color:#bdd73c; text-align:center; font-size:20px; }'
					],
					wmode: 'transparent',
					forceSingleLine: true
				});
			}

			$('a#recipe-print').bind('click', function() {
				window.print();
				return false;
			});

			(function() {
				var to_replace = $('div.recipe-item div.recipe-additional-info-item h3');
				if(!ML.$empty(to_replace)) {
					to_replace.each(function() {
						var $el = $(this);
						$el.html($el.html().replace('Renees', ''));
						var $span = $el.find('span');
						if($span.find('img').length) return false;

						var url = $el.find('span').css('background-image').replace(/^url\(\"?/, '').replace(/\"?\)$/, '');
						var img = $('<img />').attr('src', url).css({'margin-left':'4px'});
						$span.html(img).css({'background-image':'none'});
					});
				}
			})();

			$('a#recipe-send').bind('click', function() {
				if(typeof addthis_sendto == 'function')
					addthis_sendto('email');

				return false;
			});

			ML.init('TINY');

			$('#rate-this-recipe a').bind('click', function() {
				TINY.box.show($('#ratingDialog').html(), 0, 196, 0, 1);

				$('#tinycontent').find('input.rating-cancel').live('click', function() {
					$(this).die();
					TINY.box.hide();
					return false;
				});

				$('#tinycontent').find('ul.star-rating li a').live('click', function (e) {
					var $el = $(this);
					$el.die();
					$('#tinycontent input.hold-rating').val($el.attr('id'));
					e.preventDefault();
					$el.focus();
				});

				$('#tinycontent').find('input.rating-submit').live('click', function() {
					var rating_id = $('div.recipe-item:first').attr('data-recipe-id');
					//call ajax to rating recipe;
					$.post(
						ML.baseUrl+"Recipes/AJAX/insertRating.aspx",
						{
							RecipeID: rating_id,
							Rating: $('#tinycontent input.hold-rating').val()
						},
						function (result) {
							if (result != "ok")
								return $("#rate-this-recipe").html(result);
                            
                            window.location.reload();
                        }
					);

					$(this).die();
					TINY.box.hide();
					return false;
				});

				return false;
			});
		}
	//recipe template End

	//recipe search with random product image reset
		cache.images_wrapper = $('#content .recipe-search-with-random-product div.recipe-image-wrapper');
		if(!ML.$empty(cache.images_wrapper)) {
			cache.random_images_path = ML.curLangBaseURL+'images/recipes/';
			if(ML.langId == 1)
				cache.random_images = [
					'<img src="'+cache.random_images_path+'tangy_thai_meatballs.jpg" alt="tangy thai meatballs" class="recipe-image" data-recipe-url="'+ML.curLangBaseURL+'RecipeView.aspx?rid=310">',
					'<img src="'+cache.random_images_path+'hot_artichoke_dip.jpg" alt="hot artichoke dip" class="recipe-image" data-recipe-url="'+ML.curLangBaseURL+'RecipeView.aspx?rid=515" data-recipe-url-position="-9,5">',
					'<img src="'+cache.random_images_path+'chicken_and_brie_sandwich.jpg" alt="chicken and brie sandwich" class="recipe-image" data-recipe-url="'+ML.curLangBaseURL+'RecipeView.aspx?rid=815" data-recipe-url-position="0,0">',
					'<img src="'+cache.random_images_path+'shrimp_avacado_salad.jpg" alt="shrimp avacado salad" class="recipe-image" data-recipe-url="'+ML.curLangBaseURL+'RecipeView.aspx?rid=1296">',
					'<img src="'+cache.random_images_path+'tangy_thai_coleslaw.jpg" alt="tangy thai coleslaw" class="recipe-image" data-recipe-url="'+ML.curLangBaseURL+'RecipeView.aspx?rid=617" data-recipe-url-position="48,93">'
				];
			else
				cache.random_images = [
					'<img src="'+cache.random_images_path+'tangy_thai_meatballs.jpg" alt="tangy thai meatballs" class="recipe-image" data-recipe-url="'+ML.curLangBaseURL+'RecipeView.aspx?rid=311">',
					'<img src="'+cache.random_images_path+'hot_artichoke_dip.jpg" alt="hot artichoke dip" class="recipe-image" data-recipe-url="'+ML.curLangBaseURL+'RecipeView.aspx?rid=516" data-recipe-url-position="-9,5">',
					'<img src="'+cache.random_images_path+'chicken_and_brie_sandwich.jpg" alt="chicken and brie sandwich" class="recipe-image" data-recipe-url="'+ML.curLangBaseURL+'RecipeView.aspx?rid=816" data-recipe-url-position="0,0">',
					'<img src="'+cache.random_images_path+'shrimp_avacado_salad.jpg" alt="shrimp avacado salad" class="recipe-image" data-recipe-url="'+ML.curLangBaseURL+'RecipeView.aspx?rid=1297">',
					'<img src="'+cache.random_images_path+'tangy_thai_coleslaw.jpg" alt="tangy thai coleslaw" class="recipe-image" data-recipe-url="'+ML.curLangBaseURL+'RecipeView.aspx?rid=618" data-recipe-url-position="48,93">'
				];
			cache.random_images.selected = $(cache.random_images[( Math.floor( Math.random() * (cache.random_images.length) ) )]).css({'display':'none'});
			cache.images_wrapper.append(cache.random_images.selected);
			cache.random_images.selected.fadeIn();

			cache.recipe_link = $('a.view-recipe');
			cache.recipe_link.attr('href', cache.random_images.selected.attr('data-recipe-url'));

			cache.recipe_link_pos = cache.random_images.selected.attr('data-recipe-url-position');
			if(cache.recipe_link_pos) {
				cache.recipe_link_pos = cache.recipe_link_pos.split(',');
				cache.recipe_link.css({'bottom':cache.recipe_link_pos[0]+'px', 'right':cache.recipe_link_pos[1]+'px'});
			}
		}
	//recipe search with random product image reset End

	//recipe search fields reset
	(function(langId) {
		var product_category = $("#content-align div.search-category select");

		if(!ML.$empty(product_category)) {
			product_category.change(function() {
				//alert(search_product.attr('id'));
				var search_product = $("#content-align div.search-product select");
				search_product.html(""); //clear the options
				//if (product_category.val() != "") {
					//alert(product_category.val());
					$.ajax({
						url: "/Recipes/AJAX/GetProductDDLByType.aspx",
						global: false,
						type: "POST",
						data: { 'ProductTypeId': product_category.val(), 'LanguageId': langId },
						dataType: "html",
						success: function(ret) { search_product.html(ret) },
						error: function(XMLHttpRequest, textStatus, errorThrown) {
							alert("Operation failed.");
							var resp = XMLHttpRequest.responseText;
							alert(resp);
							search_product.html(resp)
						}
					});
				//}
			});
		}
	})(ML.langId);
	//recipe search fields reset End

	//product template
		if(ML.classInBody('product-template')) {
			//h3.product-full-name
			sIFR.replace(sIFR.gotham_medium, {
				elements: $('h3.product-full-name'),
				css: [
					'.sIFR-root { color:#54802a; }'
				]
				//wmode: 'transparent'
			});

			cache.tabs = $('#content .tab-item');
			cache.tabs.each(function() {
				var $el = $(this);
				var uls = $el.find('ul');
				if($el.attr('id') == 'nutritional-info') {
					uls.addClass('bird-markers');
				} else {
					uls.addClass('square-markers');
					uls.find('li').html(function() {
						return this.innerHTML = '<span class="marker"></span>'+ this.innerHTML;
					});
				}
			});
		}
	//product template End

	// IE code
	if ($.browser.msie) {
	}
	// IE code End

	//IE7 mode code
	if ($.browser.msie && ML.ie7mode) {
	}
	//IE7 mode code End

	//IE6 specific code
	if (ML.ie6) {
	}
	//IE6 specific code End

	//Addthis
		live.head = $('head').get(0);

		cache.addthis_script = $('<script />').get(0);
		(function(a) {
			a.links = $('#top-toolbar a.share-link');
			a.links.init = function() {
				this.each(function() {
					var link = $(this);
					link.bind('click', function() {
						if(link.hasClass('share-on-fb')) { //FACEBOOK
							var f = 'http://www.facebook.com/share',
								l = document.location,
								e = encodeURIComponent,
								p = '.php?src=bm&v=4&i=1300715415&u=' + e(l.href) + '&t=' + e(document.title);
								if(ML.langId==2)
									p+='&locale=fr_FR';
							
								a = function () {
									if (!window.open(f + 'r' + p, 'sharer', 'toolbar=0,status=0,resizable=1,width=626,height=436')) l.href = f + p
								};
								if (/Firefox/.test(navigator.userAgent))
									setTimeout(a, 0);
								else
									a();

							return false;

						} else if(link.hasClass('share-on-twitter-en')) { //TWITTER
							window.twttr = window.twttr || {};
							var D = 550,
								A = 450,
								C = screen.height,
								B = screen.width,
								H = Math.round((B / 2) - (D / 2)),
								G = 0,
								F = document,
								E;
							if (C > A) {
								G = Math.round((C / 2) - (A / 2))
							}
							window.twttr.shareWin = window.open('http://twitter.com/share?text=Ren%C3%A9e%E2%80%99s%20premium%20dressings%2C%20dips%20and%20sauces.%20Plus%2C%20tasty%20recipes%20and%20more%E2%80%A6', '', 'left=' + H + ',top=' + G + ',width=' + D + ',height=' + A + ',personalbar=0,toolbar=0,scrollbars=1,resizable=1');
							E = F.createElement('script');
							//E.src = 'http://platform.twitter.com/bookmarklets/share.js?v=1';
							live.head.appendChild(E);

							return false;

						} else if(link.hasClass('share-on-twitter-fr')) { //TWITTER
							window.twttr = window.twttr || {};
							var D = 550,
								A = 450,
								C = screen.height,
								B = screen.width,
								H = Math.round((B / 2) - (D / 2)),
								G = 0,
								F = document,
								E;
							if (C > A) {
								G = Math.round((C / 2) - (A / 2))
							}
							window.twttr.shareWin = window.open('http://twitter.com/share?text=Des%20vinaigrettes%2C%20des%20sauces%20et%20des%20trempettes%20Ren%C3%A9e%E2%80%99s%20de%20premi%C3%A8re%20qualit%C3%A9%2C%20ainsi%20que%20des%20recettes%20et%20plus%20encore%E2%80%A6', '', 'left=' + H + ',top=' + G + ',width=' + D + ',height=' + A + ',personalbar=0,toolbar=0,scrollbars=1,resizable=1');
							E = F.createElement('script');
							//E.src = 'http://platform.twitter.com/bookmarklets/share.js?v=1';
							live.head.appendChild(E);

							return false;

						} else if(link.hasClass('share-by-email')) { //EMAIL THROUGH ADDTHIS
							return addthis_sendto('email');
						}

						return false;
					});
				});
			};

			window.addthis_config = {
				'data_track_clickback':true,
				email_template:'sharing_email_template_01'
			};
			if(ML.langId == 2) {
				window.addthis_config.ui_language = "fr";
			}

			a.type = 'text/javascript';
			a.async = true;
			a.src = ('https:' == document.location.protocol ? 'https://' : 'http://')+'s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4dc998525ffc17bd';
			a.loaded = false;
			live.head.appendChild(a);

			a.onload = function() {
				if( !this.loaded ) {
					this.loaded = true;
					a.links.init();
				}
			};

			a.onreadystatechange = function() {
				if ( ( 'loaded' == this.readyState || 'complete' == this.readyState ) && !this.loaded ) {
					this.loaded = true;
					a.links.init();
				}
			};
		})(cache.addthis_script);
	//Addthis End

	//Firefox & Webkit image border radius fix
		cache.imgRounder = function(obj) {
			
			var options = {
				'display':'inline-block',
				'background-repeat':'no-repeat',
				'background-position':'center center',
				'-moz-border-radius':18,
				'-webkit-border-radius':18
			};

			if(typeof obj == 'object') {
				for(p in obj) options[p] = obj[p];
			}

			return function(i, el) {
				var $el = $(el);
				options['background-image'] = 'url('+el.src+')';
				var wrapper = $('<span>').css(options).addClass('webkit-ff3-old-img-rounding').addClass($el.attr('class'));
				$el.wrap(wrapper).css({'opacity':0, 'float':'left'}).attr('class', '');
			};
		};

		cache.ff_old_bdrs = typeof $('<img />').get(0).style.MozBorderRadius == 'string';
		cache.webkit_old_bdrs = typeof $('<img />').get(0).style.webkitBorderRadius == 'string';

		if(cache.ff_old_bdrs || cache.webkit_old_bdrs) {
			//Firefox only
			if(cache.ff_old_bdrs) {
				cache.imgs = $('.side-rounder img');
				if(!ML.$empty(cache.imgs)) {
					cache.imgs.each(cache.imgRounder());
				}

				if(!ML.$empty($('.slider'))) {
					cache.imgs = $('.slider li img');
					cache.imgs.each(cache.imgRounder());
				}
			}

			cache.rounded_imgs = $('.content-entry img.rounded');
			if(!ML.$empty(cache.rounded_imgs)) {
				cache.rounded_imgs.each(cache.imgRounder());
			}

			cache.table_imgs = $('.thumb-cell img');
			if(!ML.$empty(cache.table_imgs)) {
				if(cache.ff_old_bdrs)
					cache.table_imgs.each(cache.imgRounder({'-moz-background-size':'100% 100%'}));
				else
					cache.table_imgs.each(cache.imgRounder({'background-size':'100% 100%'}));
			}

			cache.recipe_img = $('#content div.recipe-meta-info img.recipe-img');
			if(!ML.$empty(cache.recipe_img)) {
				if(cache.ff_old_bdrs)
					cache.recipe_img.each(cache.imgRounder({'-moz-background-size':'100% 100%'}));
				else
					cache.recipe_img.each(cache.imgRounder({'background-size':'100% 100%'}));
			}

			cache.related_recipe_image = $('#content div.product-info div.related-recipe-image img');
			if(!ML.$empty(cache.related_recipe_image)) {
				cache.related_recipe_image.each(cache.imgRounder());
			}
		}
	//Firefox & Webkit image border radius fix End

	if($.browser.mozilla) {
		//Firefox input text vertical alignment
		cache.ff_style = $('<style />').get(0);
		(function(a) {
			a.type = 'text/css';
			live.head.appendChild(a);
			a.appendChild(document.createTextNode('.green-button::-moz-focus-inner {border:0;}'));
		})(cache.ff_style);
		//Firefox input text vertical alignment End
	}

	cache = null; // ! clean all garbage
})();
