var konalogMode=false;var konaMarkStartTime="KonaMark Enter Time= "+((new Date()).getTime()-window.konaJSEntryTime);logit("site: "+document.location.href+"~");var osMac=false;var dc_adLinkStyle=null;var iPageSize=2000;var iGetLimit=2065;var iMaxURL=250;var bAvant=(navigator.userAgent.toLowerCase().indexOf("avant")!=-1);var prev_page=escape(document.referrer.replace(/&/g,"|"));var TE_BASE="http://te.kontera.com/";var JAVASCRIPT_BASE=HTTP_KONTERA_BASE+"/javascript/lib/";var IMAGE_BASE="";var LOGO_IMAGE_BASE=TE_BASE+"images/";var KDAS_IMAGE_BASE="http://images.kontera.com/IMAGE_DIR/";var KDAS_IMAGE_BASE_WL="http://images.kontera.com/WL_IMAGE_DIR/";var STYLE_IMAGE_BASE=JAVASCRIPT_BASE+"imgs/";var FLASH_SWF_BASE=JAVASCRIPT_BASE+"flash/";var MS_KONABUILDER_URL=JAVASCRIPT_BASE+"MS_KonaBuilder.js"+konaSuffix;var NEW_EXPAND_KONABUILDER_URL=JAVASCRIPT_BASE+"newExpandKonaBuilder.js"+konaSuffix;var LAYER_PRELOAD_SRC=HTTP_KONTERA_BASE+"/javascript/lib/imgs/grey_loader.gif";var layerPreload=null;var layerPreloadSrc=HTTP_KONTERA_BASE+"/javascript/lib/imgs/grey_loader.gif";var CROSS_DOMAIN_FLASH_URL=FLASH_SWF_BASE+"konaCrossdomain.swf";var FLASH_PLAYER_URL=FLASH_SWF_BASE+"KonteraPlayer.swf";var FLASH_FLV_PLAYER_URL=FLASH_SWF_BASE+"KonteraFLVPlayer.swf";var FLASH_PROBE_URL=STYLE_IMAGE_BASE+"KonaFlashProbe.swf";var teUrl=TE_BASE+"ContentLink/ContentLink";var teUrlForBadAdv=TE_BASE+"ContentLink/ContentLink";var redirectUrl="http://te.kontera.com/redirectEngine/RedirectEngine";var testCenterUrl="http://localhost:8080/JSTestCenter/TestServlet?testReport=true";var sGetScriptName="KonaGet.js?";var sSendScriptName="KonaSend.js?";var dTemp=new Date();var sUnique=dTemp.getTime();var sRandomPerPage=Math.random();var GET_KEY_MODE=0;var GET_HTML_MODE=1;var DO_MARKUP_MODE=2;var FILTER_TAGS_REGULAR=0;var FILTER_TAGS_BY_GROUPS=1;var FILTER_TAGS_BY_EXPRESSION=2;var MINIMUM_TEXT_IN_PAGE=0;var layerByClick=null;var isAddScriptToDynamicPage=false;var isAddScriptToDynamicPageByIframe=false;var konaPostalCode="";var MIN_ELEMENT_FOR_ADLINK=20;var MIN_TEXT_FOR_CHUNK=650;var LOWER_BOUND_FOR_ELEMENT=2;var METHOD_TEXT_RANGE=0;var METHOD_TREE=1;var METHOD_JQUERY=2;var LAYER_MODE_POP=0;var LAYER_MODE_CLICK=1;var RE_MODE_REGULAR=1;var RE_MODE_CBL=2;var RE_MODE_SEARCH=3;var RE_MODE_DISAPPEAR=4;var RE_MODE_LAYER_CLICK=5;var RE_MODE_DATACAP_CLICK=6;var RE_MODE_DATACAP_BUG=7;var TWEAK_MODE_SINGLELINK=1;var TWEAK_MODE_REGULAR=2;var TWEAK_MODE_NO_REL_NO_SCR=3;var TWEAK_MODE_REL_SCR=4;var TWEAK_MODE_NO_REL_SCR=5;var TWEAK_MODE_REL_NO_SCR=6;var TWEAK_MODE_OVERTURE_MULTIKEYS=7;var TWEAK_MODE_OVERTURE_NO_MULTIKEYS=8;var TWEAK_MODE_EMV_REL_NO_SCR=9;var TE_UNFETCHED=0;var TE_AUTO_FETCH=1;var TE_DYNAMIC_FETCH=2;var TE_AUTO_DYNAMIC_FETCH=3;var HOST_TYPE_REG="$1te.kontera.com";var HOST_TYPE_100="$1te100.kontera.com";var HOST_TYPE_200="$1te200.kontera.com";var HOST_TYPE_300="$1te300.kontera.com";var HOST_TYPE_400="$1te400.kontera.com";var HOST_TYPE_EXT="$1te.konaext.com";var TAG_TYPE_CONTENT=0;var TAG_TYPE_FILTER=1;var LAYER_TYPE_LOADING=1;var LAYER_TYPE_SINGLE=2;var LAYER_TYPE_RM_TOP=3;var LAYER_TYPE_RM_LEFT=4;var LAYER_TYPE_RM_ONLY=5;var SPECIAL_TYPE_SEARCH_INFO=8;var SPECIAL_TYPE_SEARCH_WEBNARY=9;var SPECIAL_TYPE_FREE_DICTIONARY=14;var SPECIAL_TYPE_YAHOO_SHOPPING=19;var SPECIAL_TYPE_YAHOO_SPONSORED=22;var SPECIAL_TYPE_NEW_YAHOO=10;var SEARCH_LAYER=27;var FRAME_LAYER=24;var RM_FAMILY=25;var OUTER_LAYER_REG=0;var OUTER_LAYER_JUP=1;var EXTERNAL_TYPE_NONE=0;var EXTERNAL_TYPE_RTN=1;var EXTERNAL_TYPE_OPEN_AD=2;var EXTERNAL_TYPE_MEDIA_WHIZ=3;var COOKIE_EXPIRATION_DAYS=7;var TUV_CN=String.fromCharCode(105,65,115);if(typeof(Node)=="undefined"){var Node=new _Node()}var useRonLinks=false;var BROAD_MATCH="90";var TREE_CHUNK_TIMEOUT=850;var TREE_MARKUP_TIMEOUT=2200;var HARVEST_TIMEOUT=850;var PAGE_PROCESS_TIMEOUT=3500;var MAX_RONLINKS_ON_PAGE=2;var MAX_ADLINKS_ON_PAGE=10;var dc_jQuery_parsing_time_check=true;var JQUERY_GET_HTML_TIMEOUT=1000;var JQUERY_DO_MARKUP_TIMEOUT=50000;var dc_jsDebug=false;var dc_showAlerts=false;var dc_forceAnalysis=false;var dc_randomPageKey=false;var dc_jsTest=false;var dc_getCoreLinks=false;var dc_ArticalElements="TD P";var restrictedTags=["SELECT","SCRIPT","NOSCRIPT","TEXTAREA","IFRAME","PRE","META","MARQUEE","STYLE"];var restrictedTagsStr;var restrictedIDs=["_firebugConsole"];var KONA_LAYERS_ID="konaLayers";var KONA_LAYER_ID="konaLayer";var KONA_PLATE_CLASSNAME="konaPlate";var KONA_MS_MOVIE_LAYER_ID="konaMovieFlashWrap";var dc_exhibit=true;var curElementLen=0;var pageInfo;var chunkInfo;var kLang;var konaBuilder;var msKonaBuilder;var motifKonaBuilder;var msCashbackKonaBuilder;var newExpandKonaBuilder;var konaImages;var konaRichMedia;var movieLayer=null;var movieLayerIndex=null;var backup;var infoUnit;var oThisPara;var oLastPara;var bFirstPara;var specialTypeSurveyNum=-1;var adlinkEvent=null;var boldTags=["h1","h2","h3"];var boldTagsStr;var linksLimitingPercentage=[["background",90],["backgrounds",75],["myspace layout",7],["myspace layouts",20],["myspace background",20],["website",40],["websites",40],["free download",80],["free downloads",80],["password",80],["passwords",80],["back up",80],["back ups",80],["media player",80],["database",85],["databases",85],["photo gallery",80],["photo galleries",80],["photograph",40],["bikini",70],["photo",80],["magazine",70]];var keyA=17;var keyB=16;var speKey1=65;var speKey2=86;var keys=new Array(3);var tagNumberDoingProcess=-1;var dcAdlinksActive="1";var PAGE_NOT_READY="not_ready";var PAGE_READY="complete";var UNKNOWN=0;var LOADING=1;var LOADED=2;var IMAGE_LOADING=3;var IMAGE_DONE_LOADING=4;var YAHOO_LOADING=5;var DISABLED=-1;var NOT_MARKED=0;var MARKED=1;var NOT_VALID=2;var sCaption="ADVERTISEMENT";var windowStatusBarCaptionOnAdLinkMouseOver="ContentLink (TM)";var cookie_name="dc_PP_cap";var EXPANDABLE_LAYER_MS_OFFICE="http://view.atdmt.com/MRT/view/kntrtinf0250009683mrt/direct/01/";var EXPANDABLE_LAYER_MS_GHOST="http://ads.pointroll.com/PortalServe/?pid=582789O64120080220205200&pos=i&r=[RANDOM]";var KOSMIX_AD_URL="http://poweredby.kosmix.com/tools/kontera/";var KOSMIX_URL="http://www.kosmix.com/topic/";var HP_1_AD_URL="http://ad.doubleclick.net/adi/N5823.Kontera/B3677430;sz=300x250;ord=[timestamp]?";var HP_2_AD_URL="http://ad.doubleclick.net/adi/N5823.Kontera/B3677430.3;sz=300x250;ord=[timestamp]?";var YAHOO_SHOPPING="yahooShopping";var YAHOO_SPONSORED_SEARCH="YahooSponsoredSearch";var autoFecthMaxLinks=7;var autoFecthMaxLinks=4;var teTimeOut=1500;var teAutoFetchTimeOut=5500;var teLoadDataTimeOut=10000;var yahooLoadDataTimeOut=2000;var MIN_IMPRESSION_TIME=500;var ADV_CLICK_DELAY_TIME=500;var MAX_STYLE_ELEMENTS_ON_PAGE=31;var MAX_CHARS_FOR_TE_REQUEST=2053;var mouseOverAdlinkTimer=null;var generalIndex=-1;var aCustMeta=[];var DC_AL_NUMBER_DEF="1";var DC_AL_COLOR_DEF="#E67B00";var DC_AL_BORDER_COLOR_DEF="#FFCD69";var DC_AL_SINGLE_LINE="no";var DC_AL_LY_SHOWCAPTION_DEF="yes";var DC_AL_LY_CAPTION_TEXT_DEF="Advertisement";var DC_AL_LY_CAPTION_FONT_COLOR_DEF="#AFAFAF";var DC_AL_LY_BORDER_COLOR_DEF="BLACK";var DC_AL_LY_BG_COLOR_DEF="#FFFFF0";var DC_AL_LY_FONT_TYPE_DEF="verdana";var DC_AL_LY_ONMOUSEOVER_COLOR_DEF="#FFFFE0";var DC_AL_LY_TITLE_ACTIVE_DEF="yes";var DC_AL_LY_TITLE_FONT_COLOR_DEF="#00008B";var DC_AL_LY_TITLE_BOLOD_DEF="no";var DC_AL_LY_TITLE_FONT_SIZE_DEF="11px";var DC_AL_LY_DESC_ACTIVE_DEF="yes";var DC_AL_LY_DESC_FONT_SIZE_DEF="11px";var DC_TM_DESC_FONT_SIZE_DEF="11";var DC_AL_LY_URL_ACTIVE_DEF="yes";var DC_AL_LY_URL_FONT_COLOR_DEF="#00008B";var DC_AL_LY_URL_FONT_BOLD_DEF="no";var DC_AL_LY_URL_FONT_SIZE_DEF="10";var DC_AL_LY_EXPLAIN_ACTIVE_DEF="yes";var DC_AL_LY_EXPLAIN_TEXT_DEF="what's this?";var DC_AL_LY_EXPLAIN_URL_DEF="http://www.kontera.com/index.php";var DC_RON_DEF="SPORT";var DC_ADLINKS_ACTIVE_DEF="1";var DC_ADULT_DEF="0";var DC_PP_WIDHT_DEF="500";var DC_PP_HEIGHT_DEF="600";var DC_PP_CAP_DEF="3";var DC_PP_UNDER_DEF="0";var DC_AD_INDEX="0";var DC_AL_OPEN_NEW_WIN_DEF="no";var DC_AL_USE_VPP="no";var DC_AL_DELAY_TIME="0";var DC_AL_OFF_CLOSE_TIME="1000";var DC_AL_UNDERLINE_TYPE_DEF="solid";var DC_CLICK_DELAY_TIME_DEF="0";var DC_ADLINK_CLICK_ALLOWED_DEF=true;var DC_AL_CONTENT_TAG_DEF="span";var DC_AL_CONTENT_TAG_ATTR_DEF="name";var DC_AL_CONTENT_TAG_ATTR_VAL_DEF="konabody";var DC_REDIRECT3PARTY_URL_DEF="";var DC_LY_EFFECT_SPEED="20";var DC_AL_RESTRICTED_TAG_DEF="span";var DC_AL_RESTRICTED_TAG_ATTR_DEF="name";var DC_AL_RESTRICTED_TAG_ATTR_VAL_DEF="konafilter";var DC_AL_CONTENT_TAGS_DEF=new Array();var DC_AL_RESTRICTED_TAGS_DEF=new Array();var delayAdvertisers=new Array();var yahooAdvertisers=new Array();var alternativsAdvertisers=new Array();delayAdvertisers=[56115];yahooAdvertisers=[39905,39906,39907,54910,56116,56117,56118,56119,56120,56121,56526,57830,70485,70486,70487,70488];alternativsAdvertisers=[37647,47204];var maximumLinks=-1;var DC_AL_UNDERLINE_TYPE_ENUM=["dotted","solid","none","hidden","dashed","double","groove","ridge","inset","outset"];var doDemo=false;var showTail=true;var testingInfo;var kona_pub_limit=null;var puncChars="'"+String.fromCharCode(8217);var spaceChars="\\t\\f"+String.fromCharCode(9)+String.fromCharCode(13);var oddSpace=String.fromCharCode(160);var prgressBarNumber="";var statusBarStr="Loading";var harvestTimer=null;var useRelevancyTE=1;var generalGeneratedTimeOut=1500;var doRunOnPage=false;var forceRunOnPageTimeOut=5000;var crossDomainDiv;var relativeSizes=" larger smaller ";var traverseTimer=null;var movieLayer=null;var movieLayerIndex=null;var movieLayerShifting=50;var flashMovieOpenedTime=0;var isBigLayer=false;var expandCampainId;var baseCampaignUrl;collectExpandParams=new Array();var canShowLayer=true;var tailStatus="";(function(){var W=this,ab,F=W.jQuery,S=W.$,T=W.jQuery=W.$=function(b,a){return new T.fn.init(b,a)},M=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,ac=/^.[^:#\[\.,]*$/;T.fn=T.prototype={init:function(e,b){e=e||document;if(e.nodeType){this[0]=e;this.length=1;this.context=e;return this}if(typeof e==="string"){var c=M.exec(e);if(c&&(c[1]||!b)){if(c[1]){e=T.clean([c[1]],b)}else{var a=document.getElementById(c[3]);if(a&&a.id!=c[3]){return T().find(e)}var d=T(a||[]);d.context=document;d.selector=e;return d}}else{return T(b).find(e)}}else{if(T.isFunction(e)){return T(document).ready(e)}}if(e.selector&&e.context){this.selector=e.selector;this.context=e.context}return this.setArray(T.isArray(e)?e:T.makeArray(e))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(a){return a===ab?Array.prototype.slice.call(this):this[a]},pushStack:function(c,a,d){var b=T(c);b.prevObject=this;b.context=this.context;if(a==="find"){b.selector=this.selector+(this.selector?" ":"")+d}else{if(a){b.selector=this.selector+"."+a+"("+d+")"}}return b},setArray:function(a){this.length=0;Array.prototype.push.apply(this,a);return this},each:function(a,b){return T.each(this,a,b)},index:function(a){return T.inArray(a&&a.jquery?a[0]:a,this)},attr:function(c,a,b){var d=c;if(typeof c==="string"){if(a===ab){return this[0]&&T[b||"attr"](this[0],c)}else{d={};d[c]=a}}return this.each(function(e){for(c in d){T.attr(b?this.style:this,c,T.prop(this,d[c],b,e,c))}})},css:function(b,a){if((b=="width"||b=="height")&&parseFloat(a)<0){a=ab}return this.attr(b,a,"curCSS")},text:function(a){if(typeof a!=="object"&&a!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(a))}var b="";T.each(a||this,function(){T.each(this.childNodes,function(){if(this.nodeType!=8){b+=this.nodeType!=1?this.nodeValue:T.fn.text([this])}})});return b},wrapAll:function(b){if(this[0]){var a=T(b,this[0].ownerDocument).clone();if(this[0].parentNode){a.insertBefore(this[0])}a.map(function(){var c=this;while(c.firstChild){c=c.firstChild}return c}).append(this)}return this},wrapInner:function(a){return this.each(function(){T(this).contents().wrapAll(a)})},wrap:function(a){return this.each(function(){T(this).wrapAll(a)})},append:function(){return this.domManip(arguments,true,function(a){if(this.nodeType==1){this.appendChild(a)}})},prepend:function(){return this.domManip(arguments,true,function(a){if(this.nodeType==1){this.insertBefore(a,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this.nextSibling)})},end:function(){return this.prevObject||T([])},push:[].push,sort:[].sort,splice:[].splice,find:function(b){if(this.length===1){var a=this.pushStack([],"find",b);a.length=0;T.find(b,this[0],a);return a}else{return this.pushStack(T.unique(T.map(this,function(c){return T.find(b,c)})),"find",b)}},clone:function(b){var d=this.map(function(){if(!T.support.noCloneEvent&&!T.isXMLDoc(this)){var f=this.outerHTML;if(!f){var e=this.ownerDocument.createElement("div");e.appendChild(this.cloneNode(true));f=e.innerHTML}return T.clean([f.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(b===true){var a=this.find("*").andSelf(),c=0;d.find("*").andSelf().each(function(){if(this.nodeName!==a[c].nodeName){return}var g=T.data(a[c],"events");for(var e in g){for(var f in g[e]){T.event.add(this,e,g[e][f],g[e][f].data)}}c++})}return d},filter:function(a){return this.pushStack(T.isFunction(a)&&T.grep(this,function(b,c){return a.call(b,c)})||T.multiFilter(a,T.grep(this,function(b){return b.nodeType===1})),"filter",a)},closest:function(c){var a=T.expr.match.POS.test(c)?T(c):null,b=0;return this.map(function(){var d=this;while(d&&d.ownerDocument){if(a?a.index(d)>-1:T(d).is(c)){T.data(d,"closest",b);return d}d=d.parentNode;b++}})},not:function(b){if(typeof b==="string"){if(ac.test(b)){return this.pushStack(T.multiFilter(b,this,true),"not",b)}else{b=T.multiFilter(b,this)}}var a=b.length&&b[b.length-1]!==ab&&!b.nodeType;return this.filter(function(){return a?T.inArray(this,b)<0:this!=b})},add:function(a){return this.pushStack(T.unique(T.merge(this.get(),typeof a==="string"?T(a):T.makeArray(a))))},is:function(a){return !!a&&T.multiFilter(a,this).length>0},hasClass:function(a){return !!a&&this.is("."+a)},val:function(c){if(c===ab){var k=this[0];if(k){if(T.nodeName(k,"option")){return(k.attributes.value||{}).specified?k.value:k.text}if(T.nodeName(k,"select")){var e=k.selectedIndex,b=[],a=k.options,f=k.type=="select-one";if(e<0){return null}for(var h=f?e:0,d=f?e+1:a.length;h<d;h++){var g=a[h];if(g.selected){c=T(g).val();if(f){return c}b.push(c)}}return b}return(k.value||"").replace(/\r/g,"")}return ab}if(typeof c==="number"){c+=""}return this.each(function(){if(this.nodeType!=1){return}if(T.isArray(c)&&/radio|checkbox/.test(this.type)){this.checked=(T.inArray(this.value,c)>=0||T.inArray(this.name,c)>=0)}else{if(T.nodeName(this,"select")){var l=T.makeArray(c);T("option",this).each(function(){this.selected=(T.inArray(this.value,l)>=0||T.inArray(this.text,l)>=0)});if(!l.length){this.selectedIndex=-1}}else{this.value=c}}})},html:function(a){return a===ab?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(a)},replaceWith:function(a){return this.after(a).remove()},eq:function(a){return this.slice(a,+a+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(a){return this.pushStack(T.map(this,function(b,c){return a.call(b,c,b)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(d,a,b){if(this[0]){var e=(this[0].ownerDocument||this[0]).createDocumentFragment(),h=T.clean(d,(this[0].ownerDocument||this[0]),e),f=e.firstChild;if(f){for(var g=0,k=this.length;g<k;g++){b.call(c(this[g],f),this.length>1||g>0?e.cloneNode(true):e)}}if(h){T.each(h,E)}}return this;function c(m,l){return a&&T.nodeName(m,"table")&&T.nodeName(l,"tr")?(m.getElementsByTagName("tbody")[0]||m.appendChild(m.ownerDocument.createElement("tbody"))):m}}};T.fn.init.prototype=T.fn;function E(b,a){if(a.src){T.ajax({url:a.src,async:false,dataType:"script"})}else{T.globalEval(a.text||a.textContent||a.innerHTML||"")}if(a.parentNode){a.parentNode.removeChild(a)}}function ad(){return +new Date}T.extend=T.fn.extend=function(){var c=arguments[0]||{},e=1,d=arguments.length,h=false,f;if(typeof c==="boolean"){h=c;c=arguments[1]||{};e=2}if(typeof c!=="object"&&!T.isFunction(c)){c={}}if(d==e){c=this;--e}for(;e<d;e++){if((f=arguments[e])!=null){for(var g in f){var b=c[g],a=f[g];if(c===a){continue}if(h&&a&&typeof a==="object"&&!a.nodeType){c[g]=T.extend(h,b||(a.length!=null?[]:{}),a)}else{if(a!==ab){c[g]=a}}}}}return c};var ag=/z-?index|font-?weight|opacity|zoom|line-?height/i,Q=document.defaultView||{},L=Object.prototype.toString;T.extend({noConflict:function(a){W.$=S;if(a){W.jQuery=F}return T},isFunction:function(a){return L.call(a)==="[object Function]"},isArray:function(a){return L.call(a)==="[object Array]"},isXMLDoc:function(a){return a.nodeType===9&&a.documentElement.nodeName!=="HTML"||!!a.ownerDocument&&T.isXMLDoc(a.ownerDocument)},globalEval:function(a){if(a&&/\S/.test(a)){var b=document.getElementsByTagName("head")[0]||document.documentElement,c=document.createElement("script");c.type="text/javascript";if(T.support.scriptEval){c.appendChild(document.createTextNode(a))}else{c.text=a}b.insertBefore(c,b.firstChild);b.removeChild(c)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()==b.toUpperCase()},each:function(e,a,f){var g,d=0,c=e.length;if(f){if(c===ab){for(g in e){if(a.apply(e[g],f)===false){break}}}else{for(;d<c;){if(a.apply(e[d++],f)===false){break}}}}else{if(c===ab){for(g in e){if(a.call(e[g],g,e[g])===false){break}}}else{for(var b=e[0];d<c&&a.call(b,d,b)!==false;b=e[++d]){}}}return e},prop:function(b,a,c,d,e){if(T.isFunction(a)){a=a.call(b,d)}return typeof a==="number"&&c=="curCSS"&&!ag.test(e)?a+"px":a},className:{add:function(b,a){T.each((a||"").split(/\s+/),function(d,c){if(b.nodeType==1&&!T.className.has(b.className,c)){b.className+=(b.className?" ":"")+c}})},remove:function(b,a){if(b.nodeType==1){b.className=a!==ab?T.grep(b.className.split(/\s+/),function(c){return !T.className.has(a,c)}).join(" "):""}},has:function(a,b){return a&&T.inArray(b,(a.className||a).toString().split(/\s+/))>-1}},swap:function(b,c,a){var e={};for(var d in c){e[d]=b.style[d];b.style[d]=c[d]}a.call(b);for(var d in c){b.style[d]=e[d]}},css:function(e,g,c,h){if(g=="width"||g=="height"){var a,f={position:"absolute",visibility:"hidden",display:"block"},b=g=="width"?["Left","Right"]:["Top","Bottom"];function d(){a=g=="width"?e.offsetWidth:e.offsetHeight;if(h==="border"){return}T.each(b,function(){if(!h){a-=parseFloat(T.curCSS(e,"padding"+this,true))||0}if(h==="margin"){a+=parseFloat(T.curCSS(e,"margin"+this,true))||0}else{a-=parseFloat(T.curCSS(e,"border"+this+"Width",true))||0}})}if(e.offsetWidth!==0){d()}else{T.swap(e,f,d)}return Math.max(0,Math.round(a))}return T.curCSS(e,g,c)},curCSS:function(e,h,g){var b,k=e.style;if(h=="opacity"&&!T.support.opacity){b=T.attr(k,"opacity");return b==""?"1":b}if(h.match(/float/i)){h=H}if(!g&&k&&k[h]){b=k[h]}else{if(Q.getComputedStyle){if(h.match(/float/i)){h="float"}h=h.replace(/([A-Z])/g,"-$1").toLowerCase();var a=Q.getComputedStyle(e,null);if(a){b=a.getPropertyValue(h)}if(h=="opacity"&&b==""){b="1"}}else{if(e.currentStyle){var d=h.replace(/\-(\w)/g,function(m,l){return l.toUpperCase()});b=e.currentStyle[h]||e.currentStyle[d];if(!/^\d+(px)?$/i.test(b)&&/^\d/.test(b)){var f=k.left,c=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left;k.left=b||0;b=k.pixelLeft+"px";k.left=f;e.runtimeStyle.left=c}}}}return b},clean:function(g,b,d){b=b||document;if(typeof b.createElement==="undefined"){b=b.ownerDocument||b[0]&&b[0].ownerDocument||document}if(!d&&g.length===1&&typeof g[0]==="string"){var e=/^<(\w+)\s*\/?>$/.exec(g[0]);if(e){return[b.createElement(e[1])]}}var f=[],h=[],a=b.createElement("div");T.each(g,function(n,k){if(typeof k==="number"){k+=""}if(!k){return}if(typeof k==="string"){k=k.replace(/(<(\w+)[^>]*?)\/>/g,function(w,v,x){return x.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?w:v+"></"+x+">"});var q=k.replace(/^\s+/,"").substring(0,10).toLowerCase();var m=!q.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!q.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||q.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!q.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!q.indexOf("<td")||!q.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!q.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!T.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];a.innerHTML=m[1]+k+m[2];while(m[0]--){a=a.lastChild}if(!T.support.tbody){var l=/<tbody/i.test(k),t=!q.indexOf("<table")&&!l?a.firstChild&&a.firstChild.childNodes:m[1]=="<table>"&&!l?a.childNodes:[];for(var u=t.length-1;u>=0;--u){if(T.nodeName(t[u],"tbody")&&!t[u].childNodes.length){t[u].parentNode.removeChild(t[u])}}}if(!T.support.leadingWhitespace&&/^\s/.test(k)){a.insertBefore(b.createTextNode(k.match(/^\s*/)[0]),a.firstChild)}k=T.makeArray(a.childNodes)}if(k.nodeType){f.push(k)}else{f=T.merge(f,k)}});if(d){for(var c=0;f[c];c++){if(T.nodeName(f[c],"script")&&(!f[c].type||f[c].type.toLowerCase()==="text/javascript")){h.push(f[c].parentNode?f[c].parentNode.removeChild(f[c]):f[c])}else{if(f[c].nodeType===1){f.splice.apply(f,[c+1,0].concat(T.makeArray(f[c].getElementsByTagName("script"))))}d.appendChild(f[c])}}return h}return f},attr:function(c,f,b){if(!c||c.nodeType==3||c.nodeType==8){return ab}var e=!T.isXMLDoc(c),a=b!==ab;f=e&&T.props[f]||f;if(c.tagName){var g=/href|src|style/.test(f);if(f=="selected"&&c.parentNode){c.parentNode.selectedIndex}if(f in c&&e&&!g){if(a){if(f=="type"&&T.nodeName(c,"input")&&c.parentNode){throw"type property can't be changed"}c[f]=b}if(T.nodeName(c,"form")&&c.getAttributeNode(f)){return c.getAttributeNode(f).nodeValue}if(f=="tabIndex"){var d=c.getAttributeNode("tabIndex");return d&&d.specified?d.value:c.nodeName.match(/(button|input|object|select|textarea)/i)?0:c.nodeName.match(/^(a|area)$/i)&&c.href?0:ab}return c[f]}if(!T.support.style&&e&&f=="style"){return T.attr(c.style,"cssText",b)}if(a){c.setAttribute(f,""+b)}var h=!T.support.hrefNormalized&&e&&g?c.getAttribute(f,2):c.getAttribute(f);return h===null?ab:h}if(!T.support.opacity&&f=="opacity"){if(a){c.zoom=1;c.filter=(c.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(b)+""=="NaN"?"":"alpha(opacity="+b*100+")")}return c.filter&&c.filter.indexOf("opacity=")>=0?(parseFloat(c.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}f=f.replace(/-([a-z])/ig,function(l,k){return k.toUpperCase()});if(a){c[f]=b}return c[f]},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"")},makeArray:function(a){var c=[];if(a!=null){var b=a.length;if(b==null||typeof a==="string"||T.isFunction(a)||a.setInterval){c[0]=a}else{while(b){c[--b]=a[b]}}}return c},inArray:function(b,a){for(var d=0,c=a.length;d<c;d++){if(a[d]===b){return d}}return -1},merge:function(b,e){var d=0,c,a=b.length;if(!T.support.getAll){while((c=e[d++])!=null){if(c.nodeType!=8){b[a++]=c}}}else{while((c=e[d++])!=null){b[a++]=c}}return b},unique:function(a){var f=[],g={};try{for(var e=0,d=a.length;e<d;e++){var b=T.data(a[e]);if(!g[b]){g[b]=true;f.push(a[e])}}}catch(c){f=a}return f},grep:function(e,a,f){var d=[];for(var c=0,b=e.length;c<b;c++){if(!f!=!a(e[c],c)){d.push(e[c])}}return d},map:function(f,a){var e=[];for(var d=0,c=f.length;d<c;d++){var b=a(f[d],d);if(b!=null){e[e.length]=b}}return e.concat.apply([],e)}});var O=navigator.userAgent.toLowerCase();T.browser={version:(O.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(O),opera:/opera/.test(O),msie:/msie/.test(O)&&!/opera/.test(O),mozilla:/mozilla/.test(O)&&!/(compatible|webkit)/.test(O)};T.each({parent:function(a){return a.parentNode},parents:function(a){return T.dir(a,"parentNode")},next:function(a){return T.nth(a,2,"nextSibling")},prev:function(a){return T.nth(a,2,"previousSibling")},nextAll:function(a){return T.dir(a,"nextSibling")},prevAll:function(a){return T.dir(a,"previousSibling")},siblings:function(a){return T.sibling(a.parentNode.firstChild,a)},children:function(a){return T.sibling(a.firstChild)},contents:function(a){return T.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:T.makeArray(a.childNodes)}},function(b,a){T.fn[b]=function(d){var c=T.map(this,a);if(d&&typeof d=="string"){c=T.multiFilter(d,c)}return this.pushStack(T.unique(c),b,d)}});T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,a){T.fn[b]=function(h){var e=[],c=T(h);for(var d=0,g=c.length;d<g;d++){var f=(d>0?this.clone(true):this).get();T.fn[a].apply(T(c[d]),f);e=e.concat(f)}return this.pushStack(e,b,h)}});T.each({removeAttr:function(a){T.attr(this,a,"");if(this.nodeType==1){this.removeAttribute(a)}},addClass:function(a){T.className.add(this,a)},removeClass:function(a){T.className.remove(this,a)},toggleClass:function(a,b){if(typeof b!=="boolean"){b=!T.className.has(this,a)}T.className[b?"add":"remove"](this,a)},remove:function(a){if(!a||T.filter(a,[this]).length){T("*",this).add([this]).each(function(){T.event.remove(this);T.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){T(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(b,a){T.fn[b]=function(){return this.each(a,arguments)}});function Y(b,a){return b[0]&&parseInt(T.curCSS(b[0],a,true),10)||0}var aa="jQuery"+ad(),I=0,R={};T.extend({cache:{},data:function(c,d,b){c=c==W?R:c;var a=c[aa];if(!a){a=c[aa]=++I}if(d&&!T.cache[a]){T.cache[a]={}}if(b!==ab){T.cache[a][d]=b}return d?T.cache[a][d]:a},removeData:function(c,d){c=c==W?R:c;var a=c[aa];if(d){if(T.cache[a]){delete T.cache[a][d];d="";for(d in T.cache[a]){break}if(!d){T.removeData(c)}}}else{try{delete c[aa]}catch(b){if(c.removeAttribute){c.removeAttribute(aa)}}delete T.cache[a]}},queue:function(c,d,a){if(c){d=(d||"fx")+"queue";var b=T.data(c,d);if(!b||T.isArray(a)){b=T.data(c,d,T.makeArray(a))}else{if(a){b.push(a)}}}return b},dequeue:function(a,b){var d=T.queue(a,b),c=d.shift();if(!b||b==="fx"){c=d[0]}if(c!==ab){c.call(a)}}});T.fn.extend({data:function(d,b){var a=d.split(".");a[1]=a[1]?"."+a[1]:"";if(b===ab){var c=this.triggerHandler("getData"+a[1]+"!",[a[0]]);if(c===ab&&this.length){c=T.data(this[0],d)}return c===ab&&a[1]?this.data(a[0]):c}else{return this.trigger("setData"+a[1]+"!",[a[0],b]).each(function(){T.data(this,d,b)})}},removeData:function(a){return this.each(function(){T.removeData(this,a)})},queue:function(b,a){if(typeof b!=="string"){a=b;b="fx"}if(a===ab){return T.queue(this[0],b)}return this.each(function(){var c=T.queue(this,b,a);if(b=="fx"&&c.length==1){c[0].call(this)}})},dequeue:function(a){return this.each(function(){T.dequeue(this,a)})}});(function(){var b=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,h=0,n=Object.prototype.toString;var t=function(x,B,ao,an){ao=ao||[];B=B||document;if(B.nodeType!==1&&B.nodeType!==9){return[]}if(!x||typeof x!=="string"){return ao}var w=[],z,ak,D,C,am,A,y=true;b.lastIndex=0;while((z=b.exec(x))!==null){w.push(z[1]);if(z[2]){A=RegExp.rightContext;break}}if(w.length>1&&g.exec(x)){if(w.length===2&&m.relative[w[0]]){ak=l(w[0]+w[1],B)}else{ak=m.relative[w[0]]?[B]:t(w.shift(),B);while(w.length){x=w.shift();if(m.relative[x]){x+=w.shift()}ak=l(x,ak)}}}else{var al=an?{expr:w.pop(),set:u(an)}:t.find(w.pop(),w.length===1&&B.parentNode?B.parentNode:B,c(B));ak=t.filter(al.expr,al.set);if(w.length>0){D=u(ak)}else{y=false}while(w.length){var ai=w.pop(),aj=ai;if(!m.relative[ai]){ai=""}else{aj=w.pop()}if(aj==null){aj=B}m.relative[ai](D,aj,c(B))}}if(!D){D=ak}if(!D){throw"Syntax error, unrecognized expression: "+(ai||x)}if(n.call(D)==="[object Array]"){if(!y){ao.push.apply(ao,D)}else{if(B.nodeType===1){for(var v=0;D[v]!=null;v++){if(D[v]&&(D[v]===true||D[v].nodeType===1&&k(B,D[v]))){ao.push(ak[v])}}}else{for(var v=0;D[v]!=null;v++){if(D[v]&&D[v].nodeType===1){ao.push(ak[v])}}}}}else{u(D,ao)}if(A){t(A,B,ao,an);if(q){hasDuplicate=false;ao.sort(q);if(hasDuplicate){for(var v=1;v<ao.length;v++){if(ao[v]===ao[v-1]){ao.splice(v--,1)}}}}}return ao};t.matches=function(w,v){return t(w,null,null,v)};t.find=function(v,C,D){var w,y;if(!v){return[]}for(var z=0,A=m.order.length;z<A;z++){var x=m.order[z],y;if((y=m.match[x].exec(v))){var B=RegExp.leftContext;if(B.substr(B.length-1)!=="\\"){y[1]=(y[1]||"").replace(/\\/g,"");w=m.find[x](y,C,D);if(w!=null){v=v.replace(m.match[x],"");break}}}}if(!w){w=C.getElementsByTagName("*")}return{set:w,expr:v}};t.filter=function(am,an,aj,z){var A=am,D=[],v=an,x,C,w=an&&an[0]&&c(an[0]);while(am&&an.length){for(var ao in m.filter){if((x=m.match[ao].exec(am))!=null){var B=m.filter[ao],ai,ak;C=false;if(v==D){D=[]}if(m.preFilter[ao]){x=m.preFilter[ao](x,v,aj,D,z,w);if(!x){C=ai=true}else{if(x===true){continue}}}if(x){for(var y=0;(ak=v[y])!=null;y++){if(ak){ai=B(ak,x,y,v);var al=z^!!ai;if(aj&&ai!=null){if(al){C=true}else{v[y]=false}}else{if(al){D.push(ak);C=true}}}}}if(ai!==ab){if(!aj){v=D}am=am.replace(m.match[ao],"");if(!C){return[]}break}}}if(am==A){if(C==null){throw"Syntax error, unrecognized expression: "+am}else{break}}A=am}return v};var m=t.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(v){return v.getAttribute("href")}},relative:{"+":function(v,C,w){var y=typeof C==="string",D=y&&!/\W/.test(C),x=y&&!D;if(D&&!w){C=C.toUpperCase()}for(var z=0,A=v.length,B;z<A;z++){if((B=v[z])){while((B=B.previousSibling)&&B.nodeType!==1){}v[z]=x||B&&B.nodeName===C?B||false:B===C}}if(x){t.filter(C,v,true)}},">":function(A,x,z){var C=typeof x==="string";if(C&&!/\W/.test(x)){x=z?x:x.toUpperCase();for(var w=0,y=A.length;w<y;w++){var B=A[w];if(B){var v=B.parentNode;A[w]=v.nodeName===x?v:false}}}else{for(var w=0,y=A.length;w<y;w++){var B=A[w];if(B){A[w]=C?B.parentNode:B.parentNode===x}}if(C){t.filter(x,A,true)}}},"":function(v,x,z){var w=h++,y=a;if(!x.match(/\W/)){var A=x=z?x:x.toUpperCase();y=d}y("parentNode",x,w,v,A,z)},"~":function(v,x,z){var w=h++,y=a;if(typeof x==="string"&&!x.match(/\W/)){var A=x=z?x:x.toUpperCase();y=d}y("previousSibling",x,w,v,A,z)}},find:{ID:function(x,w,v){if(typeof w.getElementById!=="undefined"&&!v){var y=w.getElementById(x[1]);return y?[y]:[]}},NAME:function(w,A,z){if(typeof A.getElementsByName!=="undefined"){var x=[],B=A.getElementsByName(w[1]);for(var v=0,y=B.length;v<y;v++){if(B[v].getAttribute("name")===w[1]){x.push(B[v])}}return x.length===0?null:x}},TAG:function(w,v){return v.getElementsByTagName(w[1])}},preFilter:{CLASS:function(v,x,w,y,A,z){v=" "+v[1].replace(/\\/g,"")+" ";if(z){return v}for(var C=0,B;(B=x[C])!=null;C++){if(B){if(A^(B.className&&(" "+B.className+" ").indexOf(v)>=0)){if(!w){y.push(B)}}else{if(w){x[C]=false}}}}return false},ID:function(v){return v[1].replace(/\\/g,"")},TAG:function(w,x){for(var v=0;x[v]===false;v++){}return x[v]&&c(x[v])?w[1]:w[1].toUpperCase()},CHILD:function(w){if(w[1]=="nth"){var v=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(w[2]=="even"&&"2n"||w[2]=="odd"&&"2n+1"||!/\D/.test(w[2])&&"0n+"+w[2]||w[2]);w[2]=(v[1]+(v[2]||1))-0;w[3]=v[3]-0}w[0]=h++;return w},ATTR:function(B,x,w,y,A,z){var v=B[1].replace(/\\/g,"");if(!z&&m.attrMap[v]){B[1]=m.attrMap[v]}if(B[2]==="~="){B[4]=" "+B[4]+" "}return B},PSEUDO:function(A,x,w,y,z){if(A[1]==="not"){if(A[3].match(b).length>1||/^\w/.test(A[3])){A[3]=t(A[3],null,null,x)}else{var v=t.filter(A[3],x,w,true^z);if(!w){y.push.apply(y,v)}return false}}else{if(m.match.POS.test(A[0])||m.match.CHILD.test(A[0])){return true}}return A},POS:function(v){v.unshift(true);return v}},filters:{enabled:function(v){return v.disabled===false&&v.type!=="hidden"},disabled:function(v){return v.disabled===true},checked:function(v){return v.checked===true},selected:function(v){v.parentNode.selectedIndex;return v.selected===true},parent:function(v){return !!v.firstChild},empty:function(v){return !v.firstChild},has:function(v,w,x){return !!t(x[3],v).length},header:function(v){return/h\d/i.test(v.nodeName)},text:function(v){return"text"===v.type},radio:function(v){return"radio"===v.type},checkbox:function(v){return"checkbox"===v.type},file:function(v){return"file"===v.type},password:function(v){return"password"===v.type},submit:function(v){return"submit"===v.type},image:function(v){return"image"===v.type},reset:function(v){return"reset"===v.type},button:function(v){return"button"===v.type||v.nodeName.toUpperCase()==="BUTTON"},input:function(v){return/input|select|textarea|button/i.test(v.nodeName)}},setFilters:{first:function(v,w){return w===0},last:function(w,x,y,v){return x===v.length-1},even:function(v,w){return w%2===0},odd:function(v,w){return w%2===1},lt:function(v,w,x){return w<x[3]-0},gt:function(v,w,x){return w>x[3]-0},nth:function(v,w,x){return x[3]-0==w},eq:function(v,w,x){return x[3]-0==w}},filter:{PSEUDO:function(A,w,v,z){var x=w[1],C=m.filters[x];if(C){return C(A,v,w,z)}else{if(x==="contains"){return(A.textContent||A.innerText||"").indexOf(w[3])>=0}else{if(x==="not"){var B=w[3];for(var v=0,y=B.length;v<y;v++){if(B[v]===A){return false}}return true}}}},CHILD:function(C,z){var w=z[1],B=C;switch(w){case"only":case"first":while(B=B.previousSibling){if(B.nodeType===1){return false}}if(w=="first"){return true}B=C;case"last":while(B=B.nextSibling){if(B.nodeType===1){return false}}return true;case"nth":var A=z[2],D=z[3];if(A==1&&D==0){return true}var x=z[0],ai=C.parentNode;if(ai&&(ai.sizcache!==x||!C.nodeIndex)){var y=0;for(B=ai.firstChild;B;B=B.nextSibling){if(B.nodeType===1){B.nodeIndex=++y}}ai.sizcache=x}var v=C.nodeIndex-D;if(A==0){return v==0}else{return(v%A==0&&v/A>=0)}}},ID:function(v,w){return v.nodeType===1&&v.getAttribute("id")===w},TAG:function(v,w){return(w==="*"&&v.nodeType===1)||v.nodeName===w},CLASS:function(v,w){return(" "+(v.className||v.getAttribute("class"))+" ").indexOf(w)>-1},ATTR:function(A,v){var w=v[1],y=m.attrHandle[w]?m.attrHandle[w](A):A[w]!=null?A[w]:A.getAttribute(w),z=y+"",B=v[2],x=v[4];return y==null?B==="!=":B==="="?z===x:B==="*="?z.indexOf(x)>=0:B==="~="?(" "+z+" ").indexOf(x)>=0:!x?z&&y!==false:B==="!="?z!=x:B==="^="?z.indexOf(x)===0:B==="$="?z.substr(z.length-x.length)===x:B==="|="?z===x||z.substr(0,x.length+1)===x+"-":false},POS:function(A,x,w,z){var y=x[2],v=m.setFilters[y];if(v){return v(A,w,x,z)}}}};var g=m.match.POS;for(var e in m.match){m.match[e]=RegExp(m.match[e].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var u=function(v,w){v=Array.prototype.slice.call(v);if(w){w.push.apply(w,v);return w}return v};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(f){u=function(z,v){var x=v||[];if(n.call(z)==="[object Array]"){Array.prototype.push.apply(x,z)}else{if(typeof z.length==="number"){for(var w=0,y=z.length;w<y;w++){x.push(z[w])}}else{for(var w=0;z[w];w++){x.push(z[w])}}}return x}}var q;if(document.documentElement.compareDocumentPosition){q=function(w,x){var v=w.compareDocumentPosition(x)&4?-1:w===x?0:1;if(v===0){hasDuplicate=true}return v}}else{if("sourceIndex" in document.documentElement){q=function(w,x){var v=w.sourceIndex-x.sourceIndex;if(v===0){hasDuplicate=true}return v}}else{if(document.createRange){q=function(v,x){var w=v.ownerDocument.createRange(),y=x.ownerDocument.createRange();w.selectNode(v);w.collapse(true);y.selectNode(x);y.collapse(true);var z=w.compareBoundaryPoints(Range.START_TO_END,y);if(z===0){hasDuplicate=true}return z}}}}(function(){var w=document.createElement("form"),v="script"+(new Date).getTime();w.innerHTML="<input name='"+v+"'/>";var x=document.documentElement;x.insertBefore(w,x.firstChild);if(!!document.getElementById(v)){m.find.ID=function(B,A,z){if(typeof A.getElementById!=="undefined"&&!z){var y=A.getElementById(B[1]);return y?y.id===B[1]||typeof y.getAttributeNode!=="undefined"&&y.getAttributeNode("id").nodeValue===B[1]?[y]:ab:[]}};m.filter.ID=function(z,y){var A=typeof z.getAttributeNode!=="undefined"&&z.getAttributeNode("id");return z.nodeType===1&&A&&A.nodeValue===y}}x.removeChild(w)})();(function(){var v=document.createElement("div");v.appendChild(document.createComment(""));if(v.getElementsByTagName("*").length>0){m.find.TAG=function(y,z){var A=z.getElementsByTagName(y[1]);if(y[1]==="*"){var w=[];for(var x=0;A[x];x++){if(A[x].nodeType===1){w.push(A[x])}}A=w}return A}}v.innerHTML="<a href='#'></a>";if(v.firstChild&&typeof v.firstChild.getAttribute!=="undefined"&&v.firstChild.getAttribute("href")!=="#"){m.attrHandle.href=function(w){return w.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var w=t,v=document.createElement("div");v.innerHTML="<p class='TEST'></p>";if(v.querySelectorAll&&v.querySelectorAll(".TEST").length===0){return}t=function(A,B,y,x){B=B||document;if(!x&&B.nodeType===9&&!c(B)){try{return u(B.querySelectorAll(A),y)}catch(z){}}return w(A,B,y,x)};t.find=w.find;t.filter=w.filter;t.selectors=w.selectors;t.matches=w.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var v=document.createElement("div");v.innerHTML="<div class='test e'></div><div class='test'></div>";if(v.getElementsByClassName("e").length===0){return}v.lastChild.className="e";if(v.getElementsByClassName("e").length===1){return}m.order.splice(1,0,"CLASS");m.find.CLASS=function(y,x,w){if(typeof x.getElementsByClassName!=="undefined"&&!w){return x.getElementsByClassName(y[1])}}})()}function d(B,w,x,D,v,ai){var aj=B=="previousSibling"&&!ai;for(var z=0,A=D.length;z<A;z++){var C=D[z];if(C){if(aj&&C.nodeType===1){C.sizcache=x;C.sizset=z}C=C[B];var y=false;while(C){if(C.sizcache===x){y=D[C.sizset];break}if(C.nodeType===1&&!ai){C.sizcache=x;C.sizset=z}if(C.nodeName===w){y=C;break}C=C[B]}D[z]=y}}}function a(B,w,x,D,v,ai){var aj=B=="previousSibling"&&!ai;for(var z=0,A=D.length;z<A;z++){var C=D[z];if(C){if(aj&&C.nodeType===1){C.sizcache=x;C.sizset=z}C=C[B];var y=false;while(C){if(C.sizcache===x){y=D[C.sizset];break}if(C.nodeType===1){if(!ai){C.sizcache=x;C.sizset=z}if(typeof w!=="string"){if(C===w){y=true;break}}else{if(t.filter(w,[C]).length>0){y=C;break}}}C=C[B]}D[z]=y}}}var k=document.compareDocumentPosition?function(v,w){return v.compareDocumentPosition(w)&16}:function(v,w){return v!==w&&(v.contains?v.contains(w):true)};var c=function(v){return v.nodeType===9&&v.documentElement.nodeName!=="HTML"||!!v.ownerDocument&&c(v.ownerDocument)};var l=function(y,A){var v=[],C="",B,w=A.nodeType?[A]:A;while((B=m.match.PSEUDO.exec(y))){C+=B[0];y=y.replace(m.match.PSEUDO,"")}y=m.relative[y]?y+"*":y;for(var z=0,x=w.length;z<x;z++){t(y,w[z],v)}return t.filter(C,v)};T.find=t;T.filter=t.filter;T.expr=t.selectors;T.expr[":"]=T.expr.filters;t.selectors.filters.hidden=function(v){return v.offsetWidth===0||v.offsetHeight===0};t.selectors.filters.visible=function(v){return v.offsetWidth>0||v.offsetHeight>0};t.selectors.filters.animated=function(v){return T.grep(T.timers,function(w){return v===w.elem}).length};T.multiFilter=function(v,x,w){if(w){v=":not("+v+")"}return t.matches(v,x)};T.dir=function(w,x){var y=[],v=w[x];while(v&&v!=document){if(v.nodeType==1){y.push(v)}v=v[x]}return y};T.nth=function(z,y,w,v){y=y||1;var x=0;for(;z;z=z[w]){if(z.nodeType==1&&++x==y){break}}return z};T.sibling=function(v,w){var x=[];for(;v;v=v.nextSibling){if(v.nodeType==1&&v!=w){x.push(v)}}return x};return;W.Sizzle=t})();T.event={add:function(c,f,d,a){if(c.nodeType==3||c.nodeType==8){return}if(c.setInterval&&c!=W){c=W}if(!d.guid){d.guid=this.guid++}if(a!==ab){var e=d;d=this.proxy(e);d.data=a}var g=T.data(c,"events")||T.data(c,"events",{}),b=T.data(c,"handle")||T.data(c,"handle",function(){return typeof T!=="undefined"&&!T.event.triggered?T.event.handle.apply(arguments.callee.elem,arguments):ab});b.elem=c;T.each(f.split(/\s+/),function(m,l){var k=l.split(".");l=k.shift();d.type=k.slice().sort().join(".");var h=g[l];if(T.event.specialAll[l]){T.event.specialAll[l].setup.call(c,a,k)}if(!h){h=g[l]={};if(!T.event.special[l]||T.event.special[l].setup.call(c,a,k)===false){if(c.addEventListener){c.addEventListener(l,b,false)}else{if(c.attachEvent){c.attachEvent("on"+l,b)}}}}h[d.guid]=d;T.event.global[l]=true});c=null},guid:1,global:{},remove:function(b,e,c){if(b.nodeType==3||b.nodeType==8){return}var f=T.data(b,"events"),g,h;if(f){if(e===ab||(typeof e==="string"&&e.charAt(0)==".")){for(var d in f){this.remove(b,d+(e||""))}}else{if(e.type){c=e.handler;e=e.type}T.each(e.split(/\s+/),function(q,m){var k=m.split(".");m=k.shift();var n=RegExp("(^|\\.)"+k.slice().sort().join(".*\\.")+"(\\.|$)");if(f[m]){if(c){delete f[m][c.guid]}else{for(var l in f[m]){if(n.test(f[m][l].type)){delete f[m][l]}}}if(T.event.specialAll[m]){T.event.specialAll[m].teardown.call(b,k)}for(g in f[m]){break}if(!g){if(!T.event.special[m]||T.event.special[m].teardown.call(b,k)===false){if(b.removeEventListener){b.removeEventListener(m,T.data(b,"handle"),false)}else{if(b.detachEvent){b.detachEvent("on"+m,T.data(b,"handle"))}}}g=null;delete f[m]}}})}for(g in f){break}if(!g){var a=T.data(b,"handle");if(a){a.elem=null}T.removeData(b,"events");T.removeData(b,"handle")}}},trigger:function(d,b,e,h){var f=d.type||d;if(!h){d=typeof d==="object"?d[aa]?d:T.extend(T.Event(f),d):T.Event(f);if(f.indexOf("!")>=0){d.type=f=f.slice(0,-1);d.exclusive=true}if(!e){d.stopPropagation();if(this.global[f]){T.each(T.cache,function(){if(this.events&&this.events[f]){T.event.trigger(d,b,this.handle.elem)}})}}if(!e||e.nodeType==3||e.nodeType==8){return ab}d.result=ab;d.target=e;b=T.makeArray(b);b.unshift(d)}d.currentTarget=e;var c=T.data(e,"handle");if(c){c.apply(e,b)}if((!e[f]||(T.nodeName(e,"a")&&f=="click"))&&e["on"+f]&&e["on"+f].apply(e,b)===false){d.result=false}if(!h&&e[f]&&!d.isDefaultPrevented()&&!(T.nodeName(e,"a")&&f=="click")){this.triggered=true;try{e[f]()}catch(a){}}this.triggered=false;if(!d.isPropagationStopped()){var g=e.parentNode||e.ownerDocument;if(g){T.event.trigger(d,b,g,true)}}},handle:function(b){var c,h;b=arguments[0]=T.event.fix(b||W.event);b.currentTarget=this;var a=b.type.split(".");b.type=a.shift();c=!a.length&&!b.exclusive;var d=RegExp("(^|\\.)"+a.slice().sort().join(".*\\.")+"(\\.|$)");h=(T.data(this,"events")||{})[b.type];for(var f in h){var e=h[f];if(c||d.test(e.type)){b.handler=e;b.data=e.data;var g=e.apply(this,arguments);if(g!==ab){b.result=g;if(g===false){b.preventDefault();b.stopPropagation()}}if(b.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(c){if(c[aa]){return c}var e=c;c=T.Event(e);for(var d=this.props.length,a;d;){a=this.props[--d];c[a]=e[a]}if(!c.target){c.target=c.srcElement||document}if(c.target.nodeType==3){c.target=c.target.parentNode}if(!c.relatedTarget&&c.fromElement){c.relatedTarget=c.fromElement==c.target?c.toElement:c.fromElement}if(c.pageX==null&&c.clientX!=null){var b=document.documentElement,f=document.body;c.pageX=c.clientX+(b&&b.scrollLeft||f&&f.scrollLeft||0)-(b.clientLeft||0);c.pageY=c.clientY+(b&&b.scrollTop||f&&f.scrollTop||0)-(b.clientTop||0)}if(!c.which&&((c.charCode||c.charCode===0)?c.charCode:c.keyCode)){c.which=c.charCode||c.keyCode}if(!c.metaKey&&c.ctrlKey){c.metaKey=c.ctrlKey}if(!c.which&&c.button){c.which=(c.button&1?1:(c.button&2?3:(c.button&4?2:0)))}return c},proxy:function(a,b){b=b||function(){return a.apply(this,arguments)};b.guid=a.guid=a.guid||b.guid||this.guid++;return b},special:{ready:{setup:P,teardown:function(){}}},specialAll:{live:{setup:function(b,a){T.event.add(this,a[0],af)},teardown:function(a){if(a.length){var c=0,b=RegExp("(^|\\.)"+a[0]+"(\\.|$)");T.each((T.data(this,"events").live||{}),function(){if(b.test(this.type)){c++}});if(c<1){T.event.remove(this,a[0],af)}}}}}};T.Event=function(a){if(!this.preventDefault){return new T.Event(a)}if(a&&a.type){this.originalEvent=a;this.type=a.type}else{this.type=a}this.timeStamp=ad();this[aa]=true};function X(){return false}function J(){return true}T.Event.prototype={preventDefault:function(){this.isDefaultPrevented=J;var a=this.originalEvent;if(!a){return}if(a.preventDefault){a.preventDefault()}a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=J;var a=this.originalEvent;if(!a){return}if(a.stopPropagation){a.stopPropagation()}a.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=J;this.stopPropagation()},isDefaultPrevented:X,isPropagationStopped:X,isImmediatePropagationStopped:X};var ah=function(b){var c=b.relatedTarget;while(c&&c!=this){try{c=c.parentNode}catch(a){c=this}}if(c!=this){b.type=b.data;T.event.handle.apply(this,arguments)}};T.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(a,b){T.event.special[b]={setup:function(){T.event.add(this,a,ah,b)},teardown:function(){T.event.remove(this,a,ah)}}});T.fn.extend({bind:function(b,a,c){return b=="unload"?this.one(b,a,c):this.each(function(){T.event.add(this,b,c||a,c&&a)})},one:function(b,a,c){var d=T.event.proxy(c||a,function(e){T(this).unbind(e,d);return(c||a).apply(this,arguments)});return this.each(function(){T.event.add(this,b,d,c&&a)})},unbind:function(a,b){return this.each(function(){T.event.remove(this,a,b)})},trigger:function(b,a){return this.each(function(){T.event.trigger(b,a,this)})},triggerHandler:function(c,a){if(this[0]){var b=T.Event(c);b.preventDefault();b.stopPropagation();T.event.trigger(b,a,this[0]);return b.result}},toggle:function(a){var c=arguments,b=1;while(b<c.length){T.event.proxy(a,c[b++])}return this.click(T.event.proxy(a,function(d){this.lastToggle=(this.lastToggle||0)%b;d.preventDefault();return c[this.lastToggle++].apply(this,arguments)||false}))},hover:function(b,a){return this.mouseenter(b).mouseleave(a)},ready:function(a){P();if(T.isReady){a.call(document,T)}else{T.readyList.push(a)}return this},live:function(a,b){var c=T.event.proxy(b);c.guid+=this.selector+a;T(document).bind(Z(a,this.selector),this.selector,c);return this},die:function(a,b){T(document).unbind(Z(a,this.selector),b?{guid:b.guid+this.selector+a}:null);return this}});function af(a){var d=RegExp("(^|\\.)"+a.type+"(\\.|$)"),b=true,c=[];T.each(T.data(this,"events").live||[],function(g,f){if(d.test(f.type)){var e=T(a.target).closest(f.data)[0];if(e){c.push({elem:e,fn:f})}}});c.sort(function(e,f){return T.data(e.elem,"closest")-T.data(f.elem,"closest")});T.each(c,function(){if(this.fn.call(this.elem,a,this.fn.data)===false){return(b=false)}});return b}function Z(a,b){return["live",a,b.replace(/\./g,"`").replace(/ /g,"|")].join(".")}T.extend({isReady:false,readyList:[],ready:function(){if(!T.isReady){T.isReady=true;if(T.readyList){T.each(T.readyList,function(){this.call(document,T)});T.readyList=null}T(document).triggerHandler("ready")}}});var G=false;function P(){if(G){return}G=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);T.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);T.ready()}});if(document.documentElement.doScroll&&W==W.top){(function(){if(T.isReady){return}try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}T.ready()})()}}}T.event.add(W,"load",T.ready)}T.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(a,b){T.fn[b]=function(c){return c?this.bind(b,c):this.trigger(b)}});T(W).bind("unload",function(){for(var a in T.cache){if(a!=1&&T.cache[a].handle){T.event.remove(T.cache[a].handle.elem)}}});(function(){T.support={};var f=document.documentElement,e=document.createElement("script"),a=document.createElement("div"),b="script"+(new Date).getTime();a.style.display="none";a.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var d=a.getElementsByTagName("*"),g=a.getElementsByTagName("a")[0];if(!d||!d.length||!g){return}T.support={leadingWhitespace:a.firstChild.nodeType==3,tbody:!a.getElementsByTagName("tbody").length,objectAll:!!a.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/red/.test(g.getAttribute("style")),hrefNormalized:g.getAttribute("href")==="/a",opacity:g.style.opacity==="0.5",cssFloat:!!g.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};e.type="text/javascript";try{e.appendChild(document.createTextNode("window."+b+"=1;"))}catch(c){}f.insertBefore(e,f.firstChild);if(W[b]){T.support.scriptEval=true;delete W[b]}f.removeChild(e);if(a.attachEvent&&a.fireEvent){a.attachEvent("onclick",function(){T.support.noCloneEvent=false;a.detachEvent("onclick",arguments.callee)});a.cloneNode(true).fireEvent("onclick")}T(function(){var h=document.createElement("div");h.style.width=h.style.paddingLeft="1px";document.body.appendChild(h);T.boxModel=T.support.boxModel=h.offsetWidth===2;document.body.removeChild(h).style.display="none"})})();var H=T.support.cssFloat?"cssFloat":"styleFloat";T.props={"for":"htmlFor","class":"className","float":H,cssFloat:H,styleFloat:H,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};T.fn.extend({_load:T.fn.load,load:function(e,b,a){if(typeof e!=="string"){return this._load(e)}var c=e.indexOf(" ");if(c>=0){var g=e.slice(c,e.length);e=e.slice(0,c)}var d="GET";if(b){if(T.isFunction(b)){a=b;b=null}else{if(typeof b==="object"){b=T.param(b);d="POST"}}}var f=this;T.ajax({url:e,type:d,dataType:"html",data:b,complete:function(k,h){if(h=="success"||h=="notmodified"){f.html(g?T("<div/>").append(k.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(g):k.responseText)}if(a){f.each(a,[k.responseText,h,k])}}});return this},serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?T.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(c,b){var a=T(this).val();return a==null?null:T.isArray(a)?T.map(a,function(d,e){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});T.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(b,a){T.fn[a]=function(c){return this.bind(a,c)}});var N=ad();T.extend({get:function(d,b,a,c){if(T.isFunction(b)){a=b;b=null}return T.ajax({type:"GET",url:d,data:b,success:a,dataType:c})},getScript:function(b,a){return T.get(b,null,a,"script")},getJSON:function(c,b,a){return T.get(c,b,a,"json")},post:function(d,b,a,c){if(T.isFunction(b)){a=b;b={}}return T.ajax({type:"POST",url:d,data:b,success:a,dataType:c})},ajaxSetup:function(a){T.extend(T.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return W.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(m){m=T.extend(true,m,T.extend(true,{},T.ajaxSettings,m));var a,x=/=\?(&|$)/g,f,b,w=m.type.toUpperCase();if(m.data&&m.processData&&typeof m.data!=="string"){m.data=T.param(m.data)}if(m.dataType=="jsonp"){if(w=="GET"){if(!m.url.match(x)){m.url+=(m.url.match(/\?/)?"&":"?")+(m.jsonp||"callback")+"=?"}}else{if(!m.data||!m.data.match(x)){m.data=(m.data?m.data+"&":"")+(m.jsonp||"callback")+"=?"}}m.dataType="json"}if(m.dataType=="json"&&(m.data&&m.data.match(x)||m.url.match(x))){a="jsonp"+N++;if(m.data){m.data=(m.data+"").replace(x,"="+a+"$1")}m.url=m.url.replace(x,"="+a+"$1");m.dataType="script";W[a]=function(A){b=A;u();n();W[a]=ab;try{delete W[a]}catch(z){}if(v){v.removeChild(d)}}}if(m.dataType=="script"&&m.cache==null){m.cache=false}if(m.cache===false&&w=="GET"){var y=ad();var c=m.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+y+"$2");m.url=c+((c==m.url)?(m.url.match(/\?/)?"&":"?")+"_="+y:"")}if(m.data&&w=="GET"){m.url+=(m.url.match(/\?/)?"&":"?")+m.data;m.data=null}if(m.global&&!T.active++){T.event.trigger("ajaxStart")}var g=/^(\w+:)?\/\/([^\/?#]+)/.exec(m.url);if(m.dataType=="script"&&w=="GET"&&g&&(g[1]&&g[1]!=location.protocol||g[2]!=location.host)){var v=document.getElementsByTagName("head")[0];var d=document.createElement("script");d.src=m.url;if(m.scriptCharset){d.charset=m.scriptCharset}if(!a){var k=false;d.onload=d.onreadystatechange=function(){if(!k&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){k=true;u();n();d.onload=d.onreadystatechange=null;v.removeChild(d)}}}v.appendChild(d);return ab}var q=false;var t=m.xhr();if(m.username){t.open(w,m.url,m.async,m.username,m.password)}else{t.open(w,m.url,m.async)}try{if(m.data){t.setRequestHeader("Content-Type",m.contentType)}if(m.ifModified){t.setRequestHeader("If-Modified-Since",T.lastModified[m.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}t.setRequestHeader("X-Requested-With","XMLHttpRequest");t.setRequestHeader("Accept",m.dataType&&m.accepts[m.dataType]?m.accepts[m.dataType]+", */*":m.accepts._default)}catch(e){}if(m.beforeSend&&m.beforeSend(t,m)===false){if(m.global&&!--T.active){T.event.trigger("ajaxStop")}t.abort();return false}if(m.global){T.event.trigger("ajaxSend",[t,m])}var l=function(B){if(t.readyState==0){if(h){clearInterval(h);h=null;if(m.global&&!--T.active){T.event.trigger("ajaxStop")}}}else{if(!q&&t&&(t.readyState==4||B=="timeout")){q=true;if(h){clearInterval(h);h=null}f=B=="timeout"?"timeout":!T.httpSuccess(t)?"error":m.ifModified&&T.httpNotModified(t,m.url)?"notmodified":"success";if(f=="success"){try{b=T.httpData(t,m.dataType,m)}catch(z){f="parsererror"}}if(f=="success"){var A;try{A=t.getResponseHeader("Last-Modified")}catch(z){}if(m.ifModified&&A){T.lastModified[m.url]=A}if(!a){u()}}else{T.handleError(m,t,f)}n();if(B){t.abort()}if(m.async){t=null}}}};if(m.async){var h=setInterval(l,13);if(m.timeout>0){setTimeout(function(){if(t&&!q){l("timeout")}},m.timeout)}}try{t.send(m.data)}catch(e){T.handleError(m,t,null,e)}if(!m.async){l()}function u(){if(m.success){m.success(b,f)}if(m.global){T.event.trigger("ajaxSuccess",[t,m])}}function n(){if(m.complete){m.complete(t,f)}if(m.global){T.event.trigger("ajaxComplete",[t,m])}if(m.global&&!--T.active){T.event.trigger("ajaxStop")}}return t},handleError:function(c,a,d,b){if(c.error){c.error(a,d,b)}if(c.global){T.event.trigger("ajaxError",[a,c,b])}},active:0,httpSuccess:function(a){try{return !a.status&&location.protocol=="file:"||(a.status>=200&&a.status<300)||a.status==304||a.status==1223}catch(b){}return false},httpNotModified:function(b,d){try{var a=b.getResponseHeader("Last-Modified");return b.status==304||a==T.lastModified[d]}catch(c){}return false},httpData:function(a,c,d){var e=a.getResponseHeader("content-type"),f=c=="xml"||!c&&e&&e.indexOf("xml")>=0,b=f?a.responseXML:a.responseText;if(f&&b.documentElement.tagName=="parsererror"){throw"parsererror"}if(d&&d.dataFilter){b=d.dataFilter(b,c)}if(typeof b==="string"){if(c=="script"){T.globalEval(b)}if(c=="json"){b=W["eval"]("("+b+")")}}return b},param:function(d){var b=[];function a(f,e){b[b.length]=encodeURIComponent(f)+"="+encodeURIComponent(e)}if(T.isArray(d)||d.jquery){T.each(d,function(){a(this.name,this.value)})}else{for(var c in d){if(T.isArray(d[c])){T.each(d[c],function(){a(c,this)})}else{a(c,T.isFunction(d[c])?d[c]():d[c])}}}return b.join("&").replace(/%20/g,"+")}});var V={},U,ae=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function K(b,c){var a={};T.each(ae.concat.apply([],ae.slice(0,c)),function(){a[this]=b});return a}T.fn.extend({show:function(c,a){if(c){return this.animate(K("show",3),c,a)}else{for(var e=0,g=this.length;e<g;e++){var h=T.data(this[e],"olddisplay");this[e].style.display=h||"";if(T.css(this[e],"display")==="none"){var f=this[e].tagName,b;if(V[f]){b=V[f]}else{var d=T("<"+f+" />").appendTo("body");b=d.css("display");if(b==="none"){b="block"}d.remove();V[f]=b}T.data(this[e],"olddisplay",b)}}for(var e=0,g=this.length;e<g;e++){this[e].style.display=T.data(this[e],"olddisplay")||""}return this}},hide:function(b,a){if(b){return this.animate(K("hide",3),b,a)}else{for(var c=0,d=this.length;c<d;c++){var e=T.data(this[c],"olddisplay");if(!e&&e!=="none"){T.data(this[c],"olddisplay",T.css(this[c],"display"))}}for(var c=0,d=this.length;c<d;c++){this[c].style.display="none"}return this}},_toggle:T.fn.toggle,toggle:function(a,b){var c=typeof a==="boolean";return T.isFunction(a)&&T.isFunction(b)?this._toggle.apply(this,arguments):a==null||c?this.each(function(){var d=c?a:T(this).is(":hidden");T(this)[d?"show":"hide"]()}):this.animate(K("toggle",3),a,b)},fadeTo:function(c,a,b){return this.animate({opacity:a},c,b)},animate:function(a,d,b,c){var e=T.speed(d,b,c);return this[e.queue===false?"each":"queue"](function(){var g=T.extend({},e),k,f=this.nodeType==1&&T(this).is(":hidden"),h=this;for(k in a){if(a[k]=="hide"&&f||a[k]=="show"&&!f){return g.complete.call(this)}if((k=="height"||k=="width")&&this.style){g.display=T.css(this,"display");g.overflow=this.style.overflow}}if(g.overflow!=null){this.style.overflow="hidden"}g.curAnim=T.extend({},a);T.each(a,function(u,m){var n=new T.fx(h,g,u);if(/toggle|show|hide/.test(m)){n[m=="toggle"?f?"show":"hide":m](a)}else{var q=m.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),l=n.cur(true)||0;if(q){var v=parseFloat(q[2]),t=q[3]||"px";if(t!="px"){h.style[u]=(v||1)+t;l=((v||1)/n.cur(true))*l;h.style[u]=l+t}if(q[1]){v=((q[1]=="-="?-1:1)*v)+l}n.custom(l,v,t)}else{n.custom(l,m,"")}}});return true})},stop:function(b,c){var a=T.timers;if(b){this.queue([])}this.each(function(){for(var d=a.length-1;d>=0;d--){if(a[d].elem==this){if(c){a[d](true)}a.splice(d,1)}}});if(!c){this.dequeue()}return this}});T.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(b,a){T.fn[b]=function(d,c){return this.animate(a,d,c)}});T.extend({speed:function(b,a,c){var d=typeof b==="object"?b:{complete:c||!c&&a||T.isFunction(b)&&b,duration:b,easing:c&&a||a&&!T.isFunction(a)&&a};d.duration=T.fx.off?0:typeof d.duration==="number"?d.duration:T.fx.speeds[d.duration]||T.fx.speeds._default;d.old=d.complete;d.complete=function(){if(d.queue!==false){T(this).dequeue()}if(T.isFunction(d.old)){d.old.call(this)}};return d},easing:{linear:function(b,a,d,c){return d+c*b},swing:function(b,a,d,c){return((-Math.cos(b*Math.PI)/2)+0.5)*c+d}},timers:[],fx:function(b,c,a){this.options=c;this.elem=b;this.prop=a;if(!c.orig){c.orig={}}}});T.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(T.fx.step[this.prop]||T.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var b=parseFloat(T.css(this.elem,this.prop,a));return b&&b>-10000?b:parseFloat(T.curCSS(this.elem,this.prop))||0},custom:function(a,b,c){this.startTime=ad();this.start=a;this.end=b;this.unit=c||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=this;function d(f){return e.step(f)}d.elem=this.elem;if(d()&&T.timers.push(d)&&!U){U=setInterval(function(){var f=T.timers;for(var g=0;g<f.length;g++){if(!f[g]()){f.splice(g--,1)}}if(!f.length){clearInterval(U);U=ab}},13)}},show:function(){this.options.orig[this.prop]=T.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());T(this.elem).show()},hide:function(){this.options.orig[this.prop]=T.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(c){var d=ad();if(c||d>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var f=true;for(var e in this.options.curAnim){if(this.options.curAnim[e]!==true){f=false}}if(f){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(T.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){T(this.elem).hide()}if(this.options.hide||this.options.show){for(var b in this.options.curAnim){T.attr(this.elem.style,b,this.options.orig[b])}}this.options.complete.call(this.elem)}return false}else{var a=d-this.startTime;this.state=a/this.options.duration;this.pos=T.easing[this.options.easing||(T.easing.swing?"swing":"linear")](this.state,a,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};T.extend(T.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){T.attr(a.elem.style,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null){a.elem.style[a.prop]=a.now+a.unit}else{a.elem[a.prop]=a.now}}}});if(document.documentElement.getBoundingClientRect){T.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return T.offset.bodyOffset(this[0])}var f=this[0].getBoundingClientRect(),c=this[0].ownerDocument,g=c.body,h=c.documentElement,a=h.clientTop||g.clientTop||0,b=h.clientLeft||g.clientLeft||0,d=f.top+(self.pageYOffset||T.boxModel&&h.scrollTop||g.scrollTop)-a,e=f.left+(self.pageXOffset||T.boxModel&&h.scrollLeft||g.scrollLeft)-b;return{top:d,left:e}}}else{T.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return T.offset.bodyOffset(this[0])}T.offset.initialized||T.offset.initialize();var f=this[0],k=f.offsetParent,l=f,a=f.ownerDocument,c,h=a.documentElement,e=a.body,d=a.defaultView,m=d.getComputedStyle(f,null),b=f.offsetTop,g=f.offsetLeft;while((f=f.parentNode)&&f!==e&&f!==h){c=d.getComputedStyle(f,null);b-=f.scrollTop,g-=f.scrollLeft;if(f===k){b+=f.offsetTop,g+=f.offsetLeft;if(T.offset.doesNotAddBorder&&!(T.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(f.tagName))){b+=parseInt(c.borderTopWidth,10)||0,g+=parseInt(c.borderLeftWidth,10)||0}l=k,k=f.offsetParent}if(T.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"){b+=parseInt(c.borderTopWidth,10)||0,g+=parseInt(c.borderLeftWidth,10)||0}m=c}if(m.position==="relative"||m.position==="static"){b+=e.offsetTop,g+=e.offsetLeft}if(m.position==="fixed"){b+=Math.max(h.scrollTop,e.scrollTop),g+=Math.max(h.scrollLeft,e.scrollLeft)}return{top:b,left:g}}}T.offset={initialize:function(){if(this.initialized){return}var c=document.body,k=document.createElement("div"),g,h,a,f,b,l,e=c.style.marginTop,d='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';b={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(l in b){k.style[l]=b[l]}k.innerHTML=d;c.insertBefore(k,c.firstChild);g=k.firstChild,h=g.firstChild,f=g.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(h.offsetTop!==5);this.doesAddBorderForTableAndCells=(f.offsetTop===5);g.style.overflow="hidden",g.style.position="relative";this.subtractsBorderForOverflowNotVisible=(h.offsetTop===-5);c.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(c.offsetTop===0);c.style.marginTop=e;c.removeChild(k);this.initialized=true},bodyOffset:function(c){T.offset.initialized||T.offset.initialize();var a=c.offsetTop,b=c.offsetLeft;if(T.offset.doesNotIncludeMarginInBodyOffset){a+=parseInt(T.curCSS(c,"marginTop",true),10)||0,b+=parseInt(T.curCSS(c,"marginLeft",true),10)||0}return{top:a,left:b}}};T.fn.extend({position:function(){var b=0,c=0,e;if(this[0]){var d=this.offsetParent(),a=this.offset(),f=/^body|html$/i.test(d[0].tagName)?{top:0,left:0}:d.offset();a.top-=Y(this,"marginTop");a.left-=Y(this,"marginLeft");f.top+=Y(d,"borderTopWidth");f.left+=Y(d,"borderLeftWidth");e={top:a.top-f.top,left:a.left-f.left}}return e},offsetParent:function(){var a=this[0].offsetParent||document.body;while(a&&(!/^body|html$/i.test(a.tagName)&&T.css(a,"position")=="static")){a=a.offsetParent}return T(a)}});T.each(["Left","Top"],function(b,c){var a="scroll"+c;T.fn[a]=function(d){if(!this[0]){return null}return d!==ab?this.each(function(){this==W||this==document?W.scrollTo(!b?d:T(W).scrollLeft(),b?d:T(W).scrollTop()):this[a]=d}):this[0]==W||this[0]==document?self[b?"pageYOffset":"pageXOffset"]||T.boxModel&&document.documentElement[a]||document.body[a]:this[0][a]}});T.each(["Height","Width"],function(b,d){var f=b?"Left":"Top",c=b?"Right":"Bottom",e=d.toLowerCase();T.fn["inner"+d]=function(){return this[0]?T.css(this[0],e,false,"padding"):null};T.fn["outer"+d]=function(g){return this[0]?T.css(this[0],e,false,g?"margin":"border"):null};var a=d.toLowerCase();T.fn[a]=function(g){return this[0]==W?document.compatMode=="CSS1Compat"&&document.documentElement["client"+d]||document.body["client"+d]:this[0]==document?Math.max(document.documentElement["client"+d],document.body["scroll"+d],document.documentElement["scroll"+d],document.body["offset"+d],document.documentElement["offset"+d]):g===ab?(this.length?T.css(this[0],a):null):this.css(a,typeof g==="string"?g:g+"px")}})})();var kona_jQuery=jQuery.noConflict(true);(function(c){c.fn.konText=function(m,l,k){if(typeof m!=="object"&&m!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(m))}var g="";c.each(m||this,function(){c.each(this.childNodes,function(){if(dc_jQuery_parsing_time_check&&!k.isThereTime(l)){return g}if(this.nodeType!=8&&a(this,l)){switch(l){case GET_KEY_MODE:g+=this.nodeType!=1?this.nodeValue:c(this).konText(m,l,k);break;case GET_HTML_MODE:g+=b(this);g+=this.nodeType!=1?d(this.nodeValue):d(c(this).konText(m,l,k),this);break;case DO_MARKUP_MODE:if(this.nodeType!=1){k.setNode(this);markAdLinkInNode(k)}else{c(this).konText(m,l,k)}break}}})});if(l==GET_HTML_MODE){var h=new RegExp("(?:@* *_ + *@*)+","g");var f=new RegExp("(?:@+ *)+","g");var e=new RegExp(" B (?: *@*)+","g");g=g.replace(e," B ").replace(f," @ ").replace(h," _ ")}return g};function b(e){var f=e.nodeName.toUpperCase();if(isBoldNode(e)){return" B"}if("P"==f||"TD"==f){return"_"}return"@"}function a(e,g){nodeName=e.tagName?e.tagName.toUpperCase():e.nodeName.toUpperCase();if("undefined"!=typeof(g)&&DO_MARKUP_MODE==g){if("A"==nodeName||(isBoldActive==1&&isBoldNode(e))){return false}}var f=new RegExp("\\S{100}");if(e.nodeValue&&e.nodeValue.search(f)>-1){return false}if(isUserRestrictedNode(e)||(checkHiddenNodes&&isHiddenNode(e))){return false}if(isSkipNode(e)){return false}var h=(-1)!=c.inArray(c(e).attr("id"),restrictedIDs);return !isSkipNode(e)&&!isRestrictedNode(e)&&!h}function d(k,g){if(g!=undefined&&g.tagName&&g.tagName.toUpperCase()=="A"){var h=countWordsNew(k);if(0==h){return""}return" L "+h}var f=new RegExp("\\s+","g");var e=new RegExp("[\\n\\r\\n]+","g");return k.replace(e," ").replace(f," ")}})(kona_jQuery);var siteSearchWordRegExp=new RegExp("#WORD#","g");var xhtmlRegExp=new RegExp("XHTML(.)+strict","i");var apostrophesRegExp=new RegExp("\\'s\\b","gi");var pRfrRegExp=new RegExp("pRfr=([^&]*)&","i");var apRegExp=new RegExp("ap=([^&]*)&","i");var httpTEServRegExp=new RegExp("(http://)(te.kontera.com)","i");var httpTE100ServRegExp=new RegExp("(http://)(te100.kontera.com)","i");var httpTE200ServRegExp=new RegExp("(http://)(te200.kontera.com)","i");var countryRegExp=new RegExp("&cn=([^&]+)&");var IEPuncRegExp1=new RegExp("(^|[a-zA-Z0-9\\xC0-\\xFF"+puncChars+"]+?)([^a-zA-Z0-9\\xC0-\\xFF\\s"+puncChars+"]+?)","g");var IEPuncRegExp2=new RegExp("([^a-zA-Z0-9\\xC0-\\xFF\\s"+puncChars+"]+?)([a-zA-Z0-9\\xC0-\\xFF"+puncChars+"]+?|$)","g");var slash1RegExp=new RegExp("([\\\\])","g");var slash2RegExp=new RegExp("([\\/]+)","g");var wSpaceRegExp=new RegExp("(["+spaceChars+"])","g");var oddSpaceRegExp=new RegExp("[\\"+oddSpace+"]","g");var fixPuncRegExp1=new RegExp("(\\w)([\\,:\\.\\?!\\)\"'])([\\240\\s]|$)","g");var fixPuncRegExp2=new RegExp('(^|[\\240\\s])(["\\(])(\\w)',"g");var fixPuncRegExp3=new RegExp("(\\w)([\\,:])(\\w)","g");var clearSpacesRegex=new RegExp("(([\\s])+)","g");var spacesRegExp=new RegExp("(^[\\240\\s]+)|([\\240\\s]+$)","g");var tailorByCookieRegExp=new RegExp("([^:]+):(.+)");var goodDecimalRegExp=new RegExp("^[-+]?\\d*$","");var nodeWordRegExp=new RegExp("(\\*|\\^|\\$|\\+|\\?|\\.|\\(|\\)|\\||\\{|\\}|\\,|\\[|\\]|\\\\|\\/)","g");var dashRegExp=new RegExp("[\\s]-[\\s]","g");if(typeof deconcept=="undefined"){var deconcept=new Object()}if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}deconcept.SWFObject=function(t,b,u,e,l,m,g,f,d,n){if(!kona$){return}this.DETECT_KEY=n?n:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(t){this.setAttribute("swf",t)}if(b){this.setAttribute("id",b)}if(u){this.setAttribute("width",u)}if(e){this.setAttribute("height",e)}if(l){this.setAttribute("version",new deconcept.PlayerVersion(l.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true}if(m){this.addParam("bgcolor",m)}var a=g?g:"high";this.addParam("quality",a);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var k=(f)?f:window.location;this.setAttribute("xiRedirectUrl",k);this.setAttribute("redirectUrl","");if(d){this.setAttribute("redirectUrl",d)}};deconcept.SWFObject.prototype={useExpressInstall:function(a){this.xiSWFPath=!a?"expressinstall.swf":a;this.setAttribute("useExpressInstall",true)},setAttribute:function(a,b){this.attributes[a]=b},getAttribute:function(a){return this.attributes[a]},addParam:function(b,a){this.params[b]=a},getParams:function(){return this.params},addVariable:function(b,a){this.variables[b]=a},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},getVariablePairs:function(){var c=new Array();var b;var a=this.getVariables();for(b in a){c[c.length]=b+"="+a[b]}return c},getSWFHTML:function(){var b="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}b='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';b+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var f=this.getParams();for(var e in f){b+=[e]+'="'+f[e]+'" '}var d=this.getVariablePairs().join("&");if(d.length>0){b+='flashvars="'+d+'"'}b+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}b='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';b+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var c=this.getParams();for(var e in c){b+='<param name="'+e+'" value="'+c[e]+'" />'}var a=this.getVariablePairs().join("&");if(a.length>0){b+='<param name="flashvars" value="'+a+'" />'}b+="</object>"}return b},write:function(b){if(this.getAttribute("useExpressInstall")){var a=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(a)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var c=(typeof b=="string")?kona$(b):b;c.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var f=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];if(a&&a.description){f=new deconcept.PlayerVersion(a.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var b=1;var c=3;while(b){try{c++;b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+c);f=new deconcept.PlayerVersion([c,0,0])}catch(d){b=null}}}else{try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(d){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");f=new deconcept.PlayerVersion([6,0,21]);b.AllowScriptAccess="always"}catch(d){if(f.major==6){return f}}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(d){}}if(b!=null){f=new deconcept.PlayerVersion(b.GetVariable("$version").split(" ")[1].split(","))}}}return f};deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.major<a.major){return false}if(this.major>a.major){return true}if(this.minor<a.minor){return false}if(this.minor>a.minor){return true}if(this.rev<a.rev){return false}return true};deconcept.util={getRequestParameter:function(c){var d=document.location.search||document.location.hash;if(c==null){return d}if(d){var b=d.substring(1).split("&");for(var a=0;a<b.length;a++){if(b[a].substring(0,b[a].indexOf("="))==c){return b[a].substring((b[a].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var b=document.getElementsByTagName("OBJECT");for(var c=b.length-1;c>=0;c--){b[c].style.display="none";for(var a in b[c]){if(typeof b[c][a]=="function"){b[c][a]=function(){}}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}}if(!kona$&&document.all){kona$=function(a){return document.all[a]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;function konaLog(){if(!konalogMode){this.error=function(a){};this.info=function(a){};this.warn=function(a){};this.temp=function(a){};this.func=function(a){};return}this.init=function(){this.logCounter=0;this.sendDelimeter=function(){this.write("+",'<span style="color:#9999ff">- - - - - - - - - - - - - - - - - - - - - - - - - -</span><br>')};this.clearWindow=function(){this.write("","")};this.write=function(f,g){if(konalogMode=="console"){console.log(g)}else{if(f=="+"){b.innerHTML+=g}else{b.innerHTML=g}}};var c=document.createElement("div");var d=document.createElement("span");var b=document.createElement("div");var e=document.createElement("div");e.id="titleDiv";e.innerHTML="<span id='title'style='font-size:12px;font-weight:bold;color:#ccccff;text-decoration:underline;font-family:arial;'>Kona Log Debugger</span>";c.id="logger";c.className="konafilter";c.style.backgroundColor="#000";c.style.padding="2px";if(bIE){c.style.position="absolute";c.style.top="5px";c.style.right="5px"}else{c.style.position="fixed";c.style.bottom="5px";c.style.left="5px"}c.style.zIndex="100";c.style.width="700px";c.style.height="120px";d.innerHTML+="<input type='button' name='delimit' value='delimit' onclick='konalog.sendDelimeter();'>";d.innerHTML+="<input type='button' name='clear' value='clear' onclick='konalog.clearWindow();'>";b.id="textDiv";b.style.overflow="auto";b.style.font='12px "Arial"';b.style.height="80px";b.style.width="700px";c.appendChild(e);c.appendChild(b);c.appendChild(d);var a=document.getElementsByTagName("body").item(0);a.appendChild(c);document.getElementById("textDiv").innerHTML=""};this.init();this.error=function(a){this.logCounter++;this.write("+","<span id='logNum"+this.logCounter+"' style='color:#ff0000'>"+a+"</span><br>")};this.info=function(a){this.logCounter++;this.write("+","<span id='logNum"+this.logCounter+"' style='color:#ffffff'>"+a+"</span><br>")};this.warn=function(a){this.logCounter++;this.write("+","<span id='logNum"+this.logCounter+"' style='color:#ffff00'>"+a+"</span><br>")};this.temp=function(a){this.logCounter++;this.write("+","<span id='logNum"+this.logCounter+"' style='color:#0000ff'>"+a+"</span><br>")};this.func=function(a){this.logCounter++;this.write("+","<span id='logNum"+this.logCounter+"' style='color:#00ffff'>Called:  "+a+"</span><br>")}}if(getQueryVariable("konalog")!=""){konalogMode=getQueryVariable("konalog")}konalog=new konaLog();function _Node(){this.ELEMENT_NODE=1;this.TEXT_NODE=3}function Positions(a,d,b,c){this.left=a;this.right=a+b;this.top=d;this.bottom=d+c}function getScreenBox(){var b=document.body;var e=document.documentElement;if(e.clientHeight==0||e.clientWidth==0){e=b}var a=(bSafari&&self)?self.innerHeight:Math.min(b.clientHeight,e.clientHeight);var d=(bSafari&&self)?self.innerWidth:Math.min(b.clientWidth,e.clientWidth);var c=Math.max(b.scrollTop,e.scrollTop);var f=Math.max(b.scrollLeft,e.scrollLeft);return new Positions(f,c,d,a)}function sendHttpRequest(a){var b=new Image();redirectLock.addListeners(b);b.src=a}function isValidArgument(a){return(typeof(a)!="undefined"&&a!=null&&a.length>0&&a!="null")}function AdlinkEvent(c,b,a){this.e=c;this.obj=b;this.adlinkID=a}function initKonaPaint(){if(konaLayers==null){konaLayers=new KonaLayers();appendKonaLayer();if(siteSearchUrl!=null){addSearchInfo(0,siteSearchUrl)}}}function getIsXHTMLPage(){if(document.doctype&&document.doctype.publicId){return(document.doctype.publicId.search(xhtmlRegExp)!=-1)}return false}function removeApostrophes(a){return a.replace(apostrophesRegExp,"")}function getReformatedTEUrl(b){if(b.indexOf("?")==-1){b+="?publisherId="+(!isExternalPublisher?dc_PublisherID:extConvertedPubId)+"&creative=L&"}var a=b.match(apRegExp);var d=exhibits.getApprovedStr();var c=(a!=null&&a.length>0);if(c){d+=(a[1].length==0?"":"%2B")+a[1]}d=removeApostrophes(d);if(d!=""){if(c){b=b.replace(apRegExp,"ap="+d+"&")}else{b+="&ap="+d+"&ap="}}a=b.match(pRfrRegExp);c=(a!=null&&a.length>0);if(c){b=b.replace(pRfrRegExp,"pRfr="+escape(document.location.href)+"&")}else{b+="&pRfr="+escape(document.location.href)+"&pRfr="}return b.replace(/#/g,"%23")}function getReformatedTMUrl(c){var b=new RegExp("(http://)(te100)","i");var a=new RegExp("/ContentLink","g");c=c.replace(a,"/ListingTransform").replace(b,"$1tm");return c}function sendTeRequest(b){var a=document.createElement("script");a.setAttribute("id","sendTeRequestTag");a.setAttribute("type","text/javascript");if(typeof(__solutionTestVar_overrideFuncs__)=="undefined"){a.setAttribute("src",b)}else{a.text=testTEResult}kona$("konasapn0").appendChild(a)}function getCountryStr(){var a=teUrl.match(countryRegExp);if(a!=null&&a.length==2){return a[1]}return"ERR"}function LoadByDemandAdLinkData(a){LoadDynamicAdLinkData(konaLinks.get(a).taxonomyKey,a)}function loadScript(a,c){if(c||(bIE&&document.readyState!="complete")){document.writeln("<script type='text/javascript' src='"+a+"'><\/script>")}else{var b=document.createElement("script");b.setAttribute("type","text/javascript");b.setAttribute("src",a);if(kona$("konasapn0")!=null){kona$("konasapn0").appendChild(b)}else{document.body.appendChild(b)}}}function getBrowserType(){var a=99;if(bIE){a=1}else{if(bMozilla){if(bFireFox2){a=22}else{if(bFireFox3){a=23}else{a=2}}}else{if(bOpera){a=3}else{if(bSafari){if(!bChrome){a=4}else{a=5}}else{if(bFlock){a=6}else{a=99}}}}}return a}function getIEPunc(a){a=a.replace(IEPuncRegExp1,"$1 $2").replace(IEPuncRegExp2,"$1 $2");return a.replace(wSpaceRegExp," . ").replace(slash1RegExp," $1").replace(slash2RegExp,"$1 ")}function countSimpleWords(a){return a.replace(/\S+/g,"a").replace(/\s+/g,"").length}function shortenSpaces(a){return a.replace(clearSpacesRegex," ")}function trim(a){return a.replace(spacesRegExp,"")}function OptionallyGetUrl(){return"&l="+urlEncode(document.location.href.substring(0,iMaxURL))}function isAlternativ(a){return isInArray(alternativsAdvertisers,a)}function getBoxXYpositions(b){var e=new Positions(0,0,0,0);if(!b){return e}var g=(bSafari&&b.className&&b.className=="kLink"&&getKonaComputedStyleProp(b,"position")=="relative");var h=0,f=0,a=b,l=a,d=null;var c=0;while(a){if(ignoreRelativePositions||relativePositionBug){d=getKonaComputedStyleProp(a,"position")}if((a.tagName!="TR")&&(!g||c>=2)&&(!ignoreRelativePositions||!bIE||d!="relative")){if(!ignoreNegativePositions||(a.offsetLeft>=0&&a.offsetTop>=0)){h+=a.offsetLeft;f+=a.offsetTop}if(relativePositionBug&&l.offsetLeft==a.offsetLeft&&a==l.parentNode&&d=="relative"){var k=(l.offsetTop>a.offsetTop?a:l);h-=k.offsetLeft;f-=k.offsetTop}}l=a;a=a.offsetParent;c++}e.left=h;e.top=f;e.right=h+b.offsetWidth;e.bottom=f+b.offsetHeight;return e}function getBoxXYScrollPositions(d){var c=new Positions(0,0,0,0);if(!d){return c}var a=0,e=0,b=d;while(b&&(!b.nodeName||b.nodeName!="BODY")){a+=b.offsetLeft;e+=b.offsetTop;b=b.offsetParent}b=d;while(b&&(!b.nodeName||b.nodeName!="BODY")){a-=b.scrollLeft;e-=b.scrollTop;b=b.parentNode}c.left=a;c.top=e;c.right=a+d.offsetWidth;c.bottom=e+d.offsetHeight;return c}function SerealizePositions(d,b,c,a){var e=new Positions(0,0,0,0);e.left=d;e.right=b;e.top=c;e.bottom=a;return e}function firstLetterUpperCase(d){var c=d.split(" ");var b="";for(var a=0;a<c.length;a++){if(c[a].length>0){b+=(b.length>0?" ":"")+c[a].replace(c[a].charAt(0),c[a].charAt(0).toUpperCase())}}return b}function isLinkNode(a){try{if(a!=null&&((a.tagName=="A"&&a.href)||exhibits.isExhibitNode(a)||(a.tagName!="BODY"&&a.onclick!="undefined"&&a.onclick!=null))){return true}}catch(b){return false}return false}function isLink(b,a){for(var c=1;c<=b&&isProperNode(a);c++){if(isLinkNode(a)){return true}a=a.parentNode}return false}function konaScreenScroll(d){for(var a=0;a<konaLinks.size();a++){if(konaLinks.get(a).status!=DISABLED){var c=konaLinks.getNode(konaLinks.get(a).wordIndex);if(c!=null){var b=getSpans(c)[0];b.style.borderBottomWidth="2px";b.style.borderBottomWidth="1px";break}}}}function isChildOf(c,b,a){var d=1;while(d<c){if(b.tagName.search(a)!=-1){return true}else{d++;b=b.parentNode;if(b==null||typeof(b)=="undefined"||b.nodeName=="#document"){return false}}}return false}function addEvent(c,b,a){if(c.addEventListener){c.addEventListener(b,a,false);return true}else{if(c.attachEvent){return c.attachEvent("on"+b,a)}}return false}function getPageContentLength(){if(document.body.innerText){return countSimpleWords(document.body.innerText)}else{if(document.body.textContent){return countSimpleWords(document.body.textContent)}}return -1}function removeEntry(c,b){for(var a=0;a<c.length;a++){if(c[a]==b){c.splice(a,1);break}}}function ensureEntry(c,b){for(var a=0;a<c.length;a++){if(c[a]==b){return}}c.push(b)}function isInArray(c,b){for(var a=0;a<c.length;a++){if(c[a]==b){return true}}return false}function isBoolean(a){return(typeof a)==types.Boolean}function checkOS(){if(navigator.userAgent.indexOf("IRIX")!=-1){var a="Irix"}else{if((navigator.userAgent.indexOf("Win")!=-1)&&(navigator.userAgent.indexOf("95")!=-1)){var a="Windows95"}else{if(navigator.userAgent.indexOf("Win")!=-1){var a="Windows3.1 or NT"}else{if(navigator.userAgent.indexOf("Mac")!=-1){var a="Macintosh"}else{var a="other"}}}}return a}function parseFloatString(c,a){if(isNaN(parseInt(c))){return}var b=c.indexOf(".");if(b==-1){return}if(c.substring(b+1).length>a){return c.substring(0,b+a+1)}else{return c}}function cutString(c,b){if(typeof(c)=="undefined"){return""}var a=c;if(a.match("^\\. ")){a=a.substring(2,a.length)}a=a.replace(/\'/g,"&#39;");if(a.length>b){a=a.substring(0,b);if(a.lastIndexOf(" ")!=-1){a=a.substring(0,a.lastIndexOf(" "))+"..."}else{a+="..."}}return a}function replaceCommas(b){if(typeof(b)=="undefined"){return""}var a=b.replace(/&/g,"&amp;");a=a.replace(/"/g,"&quot;");a=a.replace(/'/g,"&#39;");return a}function insertToObject(c,b,a){c[b]=a}function removePX(a){var b=(a.substring(0,a.length-2));return b}function tailorForPublisher(){if(typeof(initPubTailorConfig)!="undefined"){try{initPubTailorConfig()}catch(c){}}try{reactionBase="http://kona5.kontera.com/";analysisBase="http://kona25.kontera.com/";teReplacementStr=HOST_TYPE_REG;var b=Math.random()*100;var a=new KonaHash(7792,1,10747,1,32100,1,52730,1,38144,1,64727,1,70447,1,70448,1,73310,1,87143,1,104203,1,104204,1);var d=new KonaHash(373,1,44861,1,2750,1,741,1,923,1,23724,1,8406,1,1732,1);if(a.hasItem(dc_PublisherID)){konaTweakMode|=2}else{if(b<=10){konaTweakMode|=2}else{if(b<=55){konaTweakMode|=19}else{if(b<=100){konaTweakMode|=27}}}}a=null;if(!d.hasItem(dc_PublisherID)){maximumLinks=-1}problematicAdverisers=[];if(!isExternalPublisher){switch(dc_PublisherID){case 57:case 281:case 710:case 1135:case 1136:case 1137:case 1434:case 1033:dc_doHalt=true;break;case 7:useMetaTags=false;break;case 67:infoUnit.dc_restrictedTag="span";infoUnit.dc_restrictedTagAttr="className";infoUnit.dc_restrictedTagAttrVal="style5";break;case 68:adlinkWordStyle="position:static;";break;case 79:infoUnit.dc_delayTime=250;break;case 173:boldFontSize=6;break;case 227:case 238:case 239:case 240:case 246:case 250:isBoldActive="0";teTimeOut=3000;teLoadDataTimeOut=5000;break;case 242:infoUnit.dc_delayTime="500";break;case 275:adlinkWordStyle="position:static;";break;case 332:isBoldActive="0";colorChangeLink=true;infoUnit.dc_AdLinkBorderColor="rgb(72,94,255)";teTimeOut=3000;teLoadDataTimeOut=5000;break;case 347:adlinkWordStyle="position:relative;";break;case 349:hiddenDepth=Number.MAX_VALUE;break;case 351:hiddenDepth=12;break;case 366:ensureEntry(boxesToAvoid,"iframe");break;case 453:isBoldActive="0";break;case 460:filterSmallNodes=true;break;case 487:useMetaTags=false;break;case 531:useMetaTags=false;useRonLinks=true;publisherIdInKey=true;break;case 564:adlinkWordStyle="position:static;";break;case 679:adlinkWordStyle="position:static;";break;case 841:adlinkWordStyle="position:static;";break;case 861:dc_z_index=1000;hiddenDepth=12;break;case 911:removeEntry(restrictedTags,"PRE");break;case 923:adlinkWordStyle="position:static;";infoUnit.dc_delayTime="250";doRemoveEmbeddedAdlinks=true;doStaticStyle=true;checkRestrictedNodes=true;isBoldActive="0";break;case 935:doStaticStyle=true;infoUnit.dc_contentTag="DIV";infoUnit.dc_contentTagAttr="id";infoUnit.dc_contentTagAttrVal="post_message_";break;case 953:isBoldActive="0";colorChangeLink=true;infoUnit.dc_AdLinkBorderColor="rgb(0,6,221)";teTimeOut=3000;teLoadDataTimeOut=5000;break;case 981:boldFontSize=4;break;case 994:removeEntry(boldTags,"h3");break;case 1140:maxLinksOnPage=2;maxLinksMode=1;break;case 1174:if(!bIE){dc_tmReload=false}break;case 1483:adlinkWordStyle="position:static;";break;case 1613:isBoldActive="0";checkBoldOnInsertion=true;adlinkWordStyle="position:static;";maxLinksMode=1;if(bIE){checkLinkVisibility=true}break;case 1642:MIN_ELEMENT_FOR_ADLINK=12;dc_urlPageKey=true;doStaticStyle=true;break;case 1645:dc_doTHLoop=false;break;case 1721:adlinkWordStyle="position:static;";break;case 1733:filterSmallNodes=true;break;case 1846:case 1847:useMetaTags=false;publisherIdInKey=true;break;case 1850:isBoldActive="0";useScrolledPosition=true;colorChangeLink=true;infoUnit.dc_AdLinkBorderColor="rgb(255,79,58)";teTimeOut=3000;teLoadDataTimeOut=5000;siteSearchUrl="http://www.google.com/custom?domains=BonaFideReviews.com&q=#WORD#&sa=Search&sitesearch=BonaFideReviews.com&client=pub-6981244736900730&forid=1&ie=ISO-8859-1&oe=ISO-8859-1&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3AFFFFFF%3BALC%3A000000%3BLC%3A000000%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BLH%3A90%3BLW%3A500%3BL%3Ahttp%3A%2F%2Fwww.bonafidereviews.com%2Fimages%2FTitle.jpg%3BS%3Ahttp%3A%2F%2Fwww.bonafidereviews.com%2F%3BFORID%3A1%3B&hl=en";break;case 1867:isBoldActive="0";colorChangeLink=true;infoUnit.dc_AdLinkBorderColor="rgb(72,94,255)";teTimeOut=3000;teLoadDataTimeOut=5000;doStaticStyle=true;break;case 1996:boldFontSize=4;break;case 2018:adlinkWordStyle="position:static;";break;case 2032:MIN_ELEMENT_FOR_ADLINK=11;break;case 2071:maxLinksOnPage=15;break;case 2207:adlinkWordStyle="position:static;";break;case 2468:adlinkWordStyle="position:static;";doStaticStyle=true;break;case 2471:textFromRange=false;break;case 2523:MIN_ELEMENT_FOR_ADLINK=19;break;case 2654:isBoldActive="0";break;case 2735:checkBoldOnInsertion=true;break;case 2797:isBoldActive="0";checkBoldOnInsertion=true;break;case 2829:restrictedTags.push("H4","STRONG");isBoldActive="0";break;case 2834:dc_ALTimeout=1000;doStaticStyle=true;break;case 2847:isBoldActive="0";checkBoldOnInsertion=true;break;case 2889:adlinkWordStyle="position:static;";break;case 2895:linksFontFamily="arial";break;case 2947:adlinkWordStyle="position:static;";break;case 2953:removeEntry(restrictedTags,"PRE");if(bOpera){dc_doHalt=true}break;case 3012:adlinkWordStyle="position:static;";refreshCSSOnScroll=true;isBoldActive="0";checkBoldOnInsertion=true;teTimeOut=3000;teLoadDataTimeOut=5000;break;case 3062:forceFontSizeCheck=true;break;case 3119:maxLinksOnPage=4;break;case 3340:adlinkWordStyle="position:static;";break;case 3362:doRemoveEmbeddedAdlinks=true;break;case 3366:isXHTMLPage=true;break;case 3388:isXHTMLPage=true;adlinkWordStyle="position:static;";if(bIE){refreshCSSOnScroll=true;removeFirstWordLinks=true}break;case 3414:adlinkFontCheck=false;adlinkWordStyle="position:static;";break;case 3463:ensureEntry(boxesToAvoid,"iframe");break;case 3464:adlinkFontCheck=false;isBoldActive="0";checkBoldOnInsertion=true;break;case 3465:boldFontSize=4;break;case 3467:case 3468:isBoldActive="0";adlinkWordStyle="position:static;";break;case 3512:isBoldActive="0";break;case 3517:maxLinksOnPage=2;maxLinksMode=1;break;case 3577:isBoldActive="0";break;case 3644:break;case 3652:adlinkWordStyle="position:static;";break;case 3693:isXHTMLPage=true;adlinkWordStyle="position:static;";break;case 3695:adlinkWordStyle="position:static;";useScrolledPosition=true;isXHTMLPage=true;break;case 3758:restrictedTags.push("H1");checkRestrictedNodes=true;break;case 3900:maxLinksOnPage=4;maxLinksMode=1;break;case 3952:adlinkWordStyle="position:static;";break;case 3968:adlinkFontCheck=false;break;case 3976:adlinkWordStyle="position:static;";break;case 4022:contentMarkTimeOut=10000;contentProcessTimeOut=10000;break;case 4023:isXHTMLPage=true;break;case 4024:maxLinksOnPage=4;maxLinksMode=1;break;case 4171:maxLinksOnPage=2;maxLinksMode=1;break;case 4172:maxLinksOnPage=2;maxLinksMode=1;break;case 4185:maxLinksOnPage=2;maxLinksMode=1;break;case 4213:marginBotForSearchInputField="4px";checkBoldOnInsertion=true;break;case 4348:isBoldActive="0";break;case 4464:maxLinksOnPage=3;break;case 4496:adlinkWordStyle="position:static;";break;case 4534:maxLinksOnPage=4;maxLinksMode=1;boldFontSize=5;break;case 4576:if(bMozilla){adlinkWordStyle+="line-height:1.3em; position:relative;z-index:3000;"}removeEntry(restrictedTags,"PRE");break;case 4645:maxLinksOnPage=4;maxLinksMode=1;break;case 4644:adlinkWordStyle="position:static;";relativePositionBug=true;break;case 4646:maxLinksOnPage=4;maxLinksMode=1;break;case 4712:PAGE_PROCESS_TIMEOUT=2000;dc_ALTimeout=1100;break;case 4715:adlinkWordStyle="position:static;";isBoldActive="0";if(bIE){refreshCSSOnScroll=true;removeFirstWordLinks=true}break;case 4754:trafficPercentage=20;break;case 4867:isXHTMLPage=true;dc_ALTimeout=900;break;case 4913:adlinkWordStyle="position:static;";break;case 5004:if(bIE){linksFontFamily="Times New Roman";isBoldActive="0"}break;case 5016:dc_ALTimeout=1100;break;case 5023:PAGE_PROCESS_TIMEOUT=2000;dc_ALTimeout=1100;break;case 5073:adlinkWordStyle="position:static;";checkBoldOnInsertion=true;break;case 5108:isXHTMLPage=true;adlinkWordStyle="position:static;";break;case 5158:adlinkWordStyle="position:static;";break;case 5175:isXHTMLPage=true;break;case 5255:adlinkWordStyle="position:static;";break;case 5257:adlinkWordStyle="position:static;";break;case 5268:maxLinksOnPage=5;break;case 5463:boldTags.push("h4");break;case 5537:adlinkWordStyle="position:static;";break;case 5545:adlinkWordStyle="position:static;";relativePositionBug=true;break;case 5671:adlinkWordStyle="position:static;";if(bIE){refreshCSSOnScroll=true}boldFontSize=4;break;case 5789:linksFontFamily="Times New Roman";checkBoldOnInsertion=true;break;case 5838:isBoldActive="0";break;case 5925:checkBoldOnInsertion=true;break;case 5939:break;case 6019:adlinkWordStyle="position:static;";break;case 6051:ignoreRelativeFonts=false;break;case 6079:boldFontSize=4;break;case 6162:adlinkWordStyle="position:static;";break;case 6184:adlinkWordStyle="position:static;";useScrolledPosition=true;if(bIE){refreshCSSOnScroll=true}break;case 6259:adlinkWordStyle="position:static;";if(bIE){refreshCSSOnScroll=true}break;case 6272:adlinkWordStyle="position:static;";break;case 6343:ignoreNegativePositions=true;break;case 6418:adlinkWordStyle="position:static;";break;case 6452:if(bIE){checkLinkVisibility=true}break;case 6491:adlinkWordStyle="position:static;";break;case 6503:adlinkWordStyle="position:static;";break;case 6567:adlinkWordStyle="position:static;";if(bIE){refreshCSSOnScroll=true}break;case 6610:adlinkWordStyle="position:static;";break;case 6648:adlinkWordStyle="position:static;";ignoreRelativePositions=true;break;case 6682:adLinkTextAlign="text-align:left;";break;case 6692:case 6693:adlinkWordStyle="position:static;";break;case 6740:adlinkWordStyle+="white-space:nowrap;";break;case 6754:adlinkWordStyle="position:static;";break;case 6773:if(bIE){adlinkWordStyle="position:static;"}break;case 6853:adlinkWordStyle="position:static;";if(bIE){refreshCSSOnScroll=true}break;case 6859:layerAreaOrder=[1,2,3,0];break;case 6860:infoUnit.dc_restrictedTags.push("<strong >");infoUnit.dc_restrictedTags.push("<h1 >");break;case 6865:boldFontSize=4;break;case 6946:maxLinksOnPage=4;adlinkWordStyle="position:static;";break;case 6999:useScrolledPosition=true;break;case 7089:adlinkWordStyle="position:static;";break;case 7120:siteSearchUrl="http://www.bookrags.com/#WORD#";break;case 7195:checkBoldOnInsertion=true;break;case 7230:isXHTMLPage=true;useScrolledPosition=true;break;case 7582:boldFontSize=4;break;case 7763:isBoldActive="0";break;case 7792:infoUnit.dc_delayTime="250";if(bIE){infoUnit.dc_restrictedTags.push("<div id=gallery1.pic>");adlinkWordStyle+="white-space:nowrap;";ignoreRelativeFonts=false}isBoldActive="0";break;case 7857:konaOuterLayerStyle=OUTER_LAYER_JUP;konaBottomHeight=[50,23];checkBoldOnInsertion=true;break;case 8043:adlinkWordStyle="position:static;";break;case 8079:checkBoldOnInsertion=true;adlinkWordStyle+="white-space:nowrap;";break;case 8080:checkBoldOnInsertion=true;break;case 8112:doRemoveEmbeddedAdlinks=true;break;case 8242:infoUnit.dc_restrictedTags.push("<div id=lb>");boldFontSize=4;break;case 8284:boldFontSize=5;break;case 8363:adlinkWordStyle="position:static;";break;case 9515:adlinkWordStyle="position:static;";break;case 9520:adlinkWordStyle="position:static;";refreshCSSOnScroll=true;break;case 9808:isBoldActive="0";break;case 10064:adlinkWordStyle="position:static;";break;case 10082:checkBoldOnInsertion=true;adlinkWordStyle+="white-space:nowrap;";break;case 10382:infoUnit.dc_delayTime="250";break;case 104771:boldFontSize=6;break;case 10483:adlinkWordStyle="position:static;";break;case 10963:adlinkWordStyle="position:static;";if(bIE){refreshCSSOnScroll=true}break;case 11007:useScrolledPosition=true;break;case 11434:restrictedTags.push("H1");break;case 11526:restrictedTags.push("H4");break;case 11527:checkBoldOnInsertion=true;break;case 11614:if(bIE){adlinkWordStyle="position:static;"}break;case 11823:isBoldActive="0";break;case 11968:adlinkWordStyle="position:static;";break;case 12420:isBoldActive="0";break;case 12605:adlinkWordStyle="position:static;";refreshCSSOnScroll=true;useScrolledPosition=true;break;case 12799:ignoreNegativePositions=true;break;case 12965:adlinkWordStyle+="white-space:nowrap;";break;case 13246:adlinkWordStyle+="line-height:1.3em;";searchLogoImage="stele180x20.gif";break;case 13413:searchLogoImage="answerbag180x20.gif";break;case 13451:ignoreNegativePositions=true;break;case 13660:adlinkWordStyle="position:static;";refreshCSSOnScroll=true;break;case 13802:linksFontFamily="Times New Roman";break;case 13999:checkBoldOnInsertion=true;break;case 14042:isBoldActive="0";break;case 14101:konaOuterLayerStyle=OUTER_LAYER_JUP;konaBottomHeight=[50,23];restrictedTags.push("B","STRONG","H1","H2");break;case 14102:konaOuterLayerStyle=OUTER_LAYER_JUP;konaBottomHeight=[50,23];if(bIE){adlinkChildStyle+="font-size:1em;"}restrictedTags.push("B","STRONG","H1","H2");break;case 14103:checkBoldOnInsertion=true;isBoldActive="0";konaOuterLayerStyle=OUTER_LAYER_JUP;konaBottomHeight=[50,23];if(bIE){adlinkChildStyle+="font-size:1em;"}restrictedTags.push("B","STRONG","H1","H2");break;case 14104:konaOuterLayerStyle=OUTER_LAYER_JUP;konaBottomHeight=[50,23];if(bIE){adlinkChildStyle+="font-size:1em;"}restrictedTags.push("B","STRONG","H1","H2");break;case 14105:konaOuterLayerStyle=OUTER_LAYER_JUP;konaBottomHeight=[50,23];if(bIE){adlinkChildStyle+="font-size:1em;"}restrictedTags.push("B","STRONG","H1","H2");break;case 14106:konaOuterLayerStyle=OUTER_LAYER_JUP;konaBottomHeight=[50,23];if(bIE){adlinkChildStyle+="font-size:1em;"}restrictedTags.push("B","STRONG","H1","H2");break;case 14107:isBoldActive="0";konaOuterLayerStyle=OUTER_LAYER_JUP;konaBottomHeight=[50,23];break;case 14108:konaOuterLayerStyle=OUTER_LAYER_JUP;konaBottomHeight=[50,23];restrictedTags.push("B","STRONG","H1","H2");break;case 14179:adlinkWordStyle="position:static;white-space:nowrap;";if(bIE){refreshCSSOnScroll=true}break;case 14421:isBoldActive="0";break;case 14532:infoUnit.dc_restrictedTags.push("<div style=font-size: 200%>");break;case 14608:adlinkWordStyle="position:static;";useScrolledPosition=true;break;case 14846:adlinkWordStyle+="padding:0px !important;";break;case 15043:adlinkWordStyle="position:static;";refreshCSSOnScroll=true;break;case 15072:isBoldActive="0";break;case 15075:isBoldActive="0";break;case 15587:open_new_win_search="no";searchLogoImage="britannica2.gif";break;case 15588:if(bIE){cssForStrangeProblems=[["* HTML .googleSubLinksClass","WIDTH:100%;"]]}open_new_win_search="no";searchLogoImage="britannica2.gif";break;case 15844:adlinkWordStyle+="line-height:1.3em;";adlinkWordStyle+="white-space:nowrap;";checkBoldOnInsertion=true;searchLogoImage="stele180x20.gif";break;case 15847:case 15849:adlinkWordStyle+="white-space:nowrap;";checkBoldOnInsertion=true;searchLogoImage="stele180x20.gif";break;case 15966:adlinkWordStyle="position:static;";break;case 16004:adlinkWordStyle="position:static;";break;case 16315:searchLogoImage="healthline1.gif";break;case 17022:adlinkWordStyle="position:static;";break;case 17115:useScrolledPosition=true;adlinkWordStyle="position:static;";break;case 17204:removeEntry(restrictedTags,"PRE");break;case 17262:adlinkWordStyle="position:static;";refreshCSSOnScroll=true;break;case 18093:boldFontSize=4;break;case 18424:boldFontSize=4;break;case 18778:adlinkWordStyle+="white-space:nowrap;";break;case 18835:case 18836:case 18837:case 18838:case 18839:case 18840:case 18841:case 18842:case 18843:adlinkWordStyle="position:static;";break;case 19189:adlinkWordStyle="position:static;";refreshCSSOnScroll=true;break;case 19190:adlinkWordStyle="position:static;";refreshCSSOnScroll=true;isBoldActive="0";restrictedTags.push("H4");break;case 19342:useScrolledPosition=true;break;case 19857:isKonaBodyPositionChanged=true;break;case 19871:if(bMozilla){infoUnit.dc_restrictedTags.push("<p align=left>");infoUnit.dc_restrictedTags.push("<p align=justify>")}break;case 20509:useScrolledPosition=true;doRemoveEmbeddedAdlinks=true;break;case 20769:infoUnit.dc_delayTime="500";break;case 20913:searchLogoImage="hardOCP1.gif";break;case 21262:infoUnit.dc_delayTime="500";adlinkWordStyle+="white-space:nowrap;";break;case 21552:adlinkWordStyle="position:static;";restrictedTags.push("H3");checkRestrictedNodes=true;break;case 22156:adlinkWordStyle+="white-space:nowrap;";break;case 22350:adlinkWordStyle="position:static;";break;case 22506:useScrolledPosition=true;break;case 22266:konaOuterLayerStyle=OUTER_LAYER_JUP;konaBottomHeight=[50,23];logoImageForJupStyle="kna_wood.png";frameBarCell_leftSize="108px";paddingLeftPub="10px";break;case 22337:infoUnit.dc_delayTime="750";break;case 22338:infoUnit.dc_delayTime="750";break;case 22339:infoUnit.dc_delayTime="750";break;case 22340:infoUnit.dc_delayTime="750";break;case 22506:useScrolledPosition=true;break;case 22639:isBoldActive="0";checkBoldOnInsertion=true;break;case 22678:if(bIE){refreshCSSOnScroll=true}break;case 23031:open_new_win_search="no";searchLogoImage="britannica2.gif";useScrolledPosition=true;adlinkWordStyle="position:static;";break;case 23357:useScrolledPosition=true;break;case 24790:adlinkWordStyle="position:static;";break;case 25130:linksFontFamily="arial";break;case 25324:cssForStrangeProblems=[["ul.home-right li img.preloadImg, ul.home-left li img.preloadImg, ul.home-bottom li img.preloadImg","width:22px !important; height:22px !important;margin:0px !important; display:inline;float:none !important;border:none !important;"]];break;case 28577:if(bFireFox3){layerOffsetLeftAddition=220}break;case 29104:infoUnit.dc_delayTime="1000";break;case 31107:useScrolledPosition=true;break;case 31109:if(bFireFox3){delayJSFlowBY=3000}break;case 31439:infoUnit.dc_delayTime="1000";break;case 32102:infoUnit.dc_delayTime="250";isBoldActive="1";break;case 32103:infoUnit.dc_delayTime="250";break;case 32104:adlinkWordStyle+="white-space:nowrap;";break;case 32106:adlinkWordStyle+="white-space:nowrap;";break;case 32691:boldFontSize=5;break;case 34704:removeEntry(boldTags,"h3");removeEntry(boldTags,"h1");break;case 35490:isBoldActive="1";boldFontSize=5;break;case 36257:useScrolledPosition=true;adlinkWordStyle="position:static;";break;case 38144:infoUnit.dc_underlineType="dashed";paddingLeftPub="10px";frameBarCell_leftSize="108px";isSpecialKonaImage=true;siteLogoImage="huffington_logo.gif";break;case 40051:if(bIE){adlinkChildStyle+="font-size:1em;"}break;case 40109:infoUnit.dc_open_new_win="yes";break;case 40110:useScrolledPosition=true;break;case 40238:checkBoldOnInsertion=true;break;case 43492:removeEntry(restrictedTags,"PRE");break;case 44914:adlinkWordStyle+="white-space:nowrap;";isBoldActive="0";break;case 45760:isKonaBodyPositionChanged=true;break;case 46507:if(bIE){layerOffsetLeftAddition=-445}break;case 46613:checkBoldOnInsertion=true;break;case 47839:adlinkWordStyle="position:static;";break;case 49983:adlinkChildStyle+="padding:0px;margin:0px;border:0px;";if(bIE){ignoreRelativeFonts=false}break;case 50198:isBoldActive="0";checkBoldOnInsertion=true;adlinkWordStyle+="white-space:nowrap;";break;case 50635:delayJSFlowBY=6000;break;case 50201:delayJSFlowBY=6000;break;case 7986:delayJSFlowBY=6000;break;case 50416:if(bIE){ignoreRelativeFonts=false}break;case 50591:checkBoldOnInsertion=true;break;case 52730:checkBoldOnInsertion=true;isBoldActive="0";restrictedTags.push("B");break;case 53430:infoUnit.dc_restrictedTags.push("<td align=left valign=top>");infoUnit.dc_restrictedTags.push("<td align=center>");infoUnit.dc_restrictedTags.push("<div style=padding: 1px; width: 100%;>");break;case 57662:if((konaThisURL.indexOf("http://blog.aboutus.org/")==-1)&&!bIE8){layerOffsetLeftAddition=130}break;case 60237:if(bIE){layerOffsetLeftAddition=-240}break;case 64381:checkBoldOnInsertion=true;isBoldActive="0";restrictedTags.push("B");break;case 72647:adlinkWordStyle=bIE?"position:static;":"position:relative;";break;case 73386:if(bIE){adlinkChildStyle+="font-size:1em;"}break;case 77201:checkBoldOnInsertion=true;isBoldActive="0";restrictedTags.push("B","STRONG","H1","H2","H3");break;case 74751:infoUnit.dc_restrictedTags.push("<form >");infoUnit.dc_restrictedTags.push("<table >");infoUnit.dc_restrictedTags.push("<blockquote >");break;case 87143:case 104203:case 104204:infoUnit.dc_restrictedTags.push("<h1 class=h1_sec_subtitlex>");infoUnit.dc_restrictedTags.push("<div class=goog_4x>");infoUnit.dc_restrictedTags.push("<span class=goog_desc>");restrictedTags.push("H1");break;case 97997:MIN_ELEMENT_FOR_ADLINK=10;infoUnit.dc_restrictedTags.push("<caption >");infoUnit.dc_restrictedTags.push("<div id=sidebar-left>");break;case 100262:if(bFireFox2||bFireFox3){adlinkChildStyle="position:relative;"}break;case 102013:contentlinkLogo="pix";contentlinkLogoO="pix";contentlinkLogoParams="width='1' height='1' alt=''";searchInputTbParams="style='width:137px;'";searchLogoImageParams="width='46' height='30' alt='' style='float:right;margin-right:0px;'";searchButtonImage="ask_search_b";searchButtonImageO="ask_search_b_o";searchButtonImageParams="width='63' height='20' border='0' alt='Search'";searchButtonTbParams="style='width:85px;'";searchTransTbParams="style='width:27px;'";searchLogoTbParams="style='width:63px;'";frameBarCell_leftSize="0px";paddingLeftPub="110px";infoUnit.dc_restrictedTags.push("<b >");infoUnit.dc_restrictedTags.push("<span class=T10>");infoUnit.dc_restrictedTags.push("<div id=navbar_resultinfo>");handleTdParams="width:265px;";if(bFireFox2||bFireFox3||bChrome){searchButtonImageParams+="style='margin-top:3px;'"}moreInfoImage="pix.gif";moreInfoImageParams="width='1' height='1' alt=''";break;case 112738:restrictedTags.push("H1","H2","H3","STRONG","B");break;case 115101:if(bIE){adlinkWordStyle="position:relative;margin-left:0px;";overrideFontSize=true}else{adlinkWordStyle="margin-left:0px;"}adlinkChildStyle+="margin:0px;";cssForStrangeProblems=[["span.preLoadWrap","margin:0px; display:inline;"]];if(bMozilla){cssForStrangeProblems=[["span#konasapn0","margin-bottom:0;"],["span.preLoadWrap","margin:0px; display:inline;"]]}break;case 75:case 90:case 1295:case 1296:case 1297:case 1298:break;default:break}}else{switch(dc_PublisherID){case 2316:extExternalType=EXTERNAL_TYPE_RTN;konaLayerTitleTextColor="#739cc8";frameBarCell_leftSize="42px";moreInfoImage="moreinfo_blue.gif";layerTitleImage="realtech_title.gif";break;case 17986:extExternalType=EXTERNAL_TYPE_OPEN_AD;break;case 42887:extExternalType=EXTERNAL_TYPE_MEDIA_WHIZ;break;default:break}}if(bOpera){adlinkWordStyle="position:static;"}if(dc_jsDebug){dc_limitHarvestTime=false}infoUnit.dc_useVPP="no"}catch(c){}}function customSetJqueryParsingMethod(){if(window.location.search.match("konajp=1")){return true}var a=[450,503,680,681,763,923,2750,2829,2836,2902,2903,3961,3968,4022,4192,4342,4700,4913,5108,5425,5671,5974,7611,8357,9514,9808,11433,11434,11435,11526,11881,11815,11816,11823,11742,12420,12751,12752,12753,12754,13179,13246,13636,13801,14101,14108,14250,14533,15072,15588,15966,16115,16445,17696,17787,18778,18835,18836,18837,18838,18839,18840,18841,18842,18843,19911,20980,22491,25324,31107,32102,33690,38144,44914,50416,97483,77201,77204,77288,73386,77703,85196,89062,94263,95378,98392,98267,100262,104880,112738,113247,119756,122635];if(isInArray(a,dc_PublisherID)){return true}if(dc_PublisherID%20==0){return true}return false}function buildGeneralTeStr(){var a="&cbl="+(konaLayerMode==LAYER_MODE_CLICK?1:0);a+="&ab="+(konaTweakMode!=TWEAK_MODE_REGULAR?1:0);a+="&onf="+(doOvertureNewFeed?"1":"0");a+="&omk="+(doOvertureMultikeys?"1":"0");a+="&resultNum="+aInfoUnits[0].dcAL_number+"&time="+teAutoFetchTimeOut+"&dc_aff_id="+aInfoUnits[0].dc_aff_id;a+="&bt="+getBrowserType();a+=(isExternalPublisher?("&extId="+dc_ExtId):"");a+="&mod="+konaTweakMode;a+="&rId="+(String.format("{0}_{1}_{2}",(!isExternalPublisher?dc_PublisherID:extConvertedPubId),sUnique,sRandomPerPage)).replace(".","");if(prev_page!=""){a+=String.format("&prev_page={0}",prev_page)}if(typeof(dc_ChannelID)!="undefined"&&dc_ChannelID!=null){a+=String.format("&cId={0}",dc_ChannelID)}return a}function getRootElems(){if(rootsLock){return}else{rootsLock=true}if(typeof(KonterDynamicContextDemoState)!="undefined"){var l=kona$("KonaBeginBody");aRootElems[0]=[l==null?document.body:l,null]}else{var g=null;var a=null;var c=0;var d=0;do{g=kona$("KonaBody"+(d==0?"":d));if(g!=null){g.isRoot=true;c++}else{if(d>0){break}}d++}while(true);if(c==0){var m=contentTags.getByType(TAG_TYPE_CONTENT);var q=null;for(var e=0;e<m.length;e++){q=m[e];a=document.getElementsByTagName(q.tagName);for(var f=0;f<a.length;f++){var h=null;if(q.isAttrMatch(a[f])){a[f].isRoot=true;c++}}}}if(c==0){aRootElems[0]=[document.body,null];c++}else{a=document.getElementsByTagName("*");nodesLen=a.length;for(var f=0;f<nodesLen;f++){if(a[f].isRoot){aRootElems.push([a[f],null])}}}}exhibits.getExhibitElems()}function urlEncode(a){return escape(a.replace(/[\240\s]+/g,"+"))}function cleanseIEstring(a){return a.replace(oddSpaceRegExp," ")}function toIEFormatArray(a){var a=getIEPunc(cleanseIEstring(a));return a.split(/[\n\240\s ]/)}function fixPuncs(a){var b;b=a.replace(fixPuncRegExp1,"$1+$2$3");b=b.replace(fixPuncRegExp2,"$1$2+$3");b=b.replace(fixPuncRegExp3,"$1+$2+$3");return b}function getMetaTags(){if(!useMetaTags){return"&m1=&m2="}var a=document.getElementsByTagName("META");var g="";var e="";var b="";for(var d=0;d<a.length;d++){var f=a[d].name;if(f.toLowerCase()=="keywords"){g+=a[d].content}if(f.toLowerCase()=="description"){e+=a[d].content}for(var c=0;c<aCustMeta.length;c++){if(f.toLowerCase()==aCustMeta[c]){b+=f+"="+fixPuncs(a[d].content)+";"}}}g="&m1="+(g!=""?urlEncode(fixPuncs(g.substr(0,500))):"");e="&m2="+(e!=""?urlEncode(fixPuncs(e.substr(0,500))):"");if(b!=""){b="&m3="+urlEncode(b.substr(0,500))}return g+e+b}function getKwdMetaOnly(){if(!useMetaTags){return""}var a=document.getElementsByTagName("META");var b="";for(var c=0;c<a.length;c++){var d=a[c].name;if(d.toLowerCase()=="keywords"){b="&m1="+urlEncode(fixPuncs(a[c].content.substr(0,100)))}}return b}function showTimedTitle(){if(konaLinks.get(adlinkEvent.adlinkID).mouseIsOverAdlink&&adlinkEvent!=null){showTitle(adlinkEvent.e,adlinkEvent.obj,adlinkEvent.adlinkID)}}function showTitle(c,b,a){logit("showTitle start:"+((new Date()).getTime()-konaLinks.get(a).linkHoverStartTime)+"~");updateAdLinksStatus();handleDynamicFetch(a);if(bIE||bOpera||bSafari){b=c.srcElement}else{b=c.originalTarget}if(b.tagName!="SPAN"){spans=getSpans(b);if(spans){b=spans[Math.floor(spans.length/2)]}}konaLinks.get(a).preLoader=new konaPreloader(konaLinks.get(a));var d=useScrolledPosition?getBoxXYScrollPositions(b):getBoxXYpositions(b);showListings(a,d)}function showCoreDebugInfo(){var e=new RegExp("^([^;]+)(;|$)","i");var a=konaLinks.links;var f="<table style='border: 1px #96BF00 solid;'><tr><td><table cellspacing=5 ><tr><TH>Keyword</TH><TH>CPC List</TH><TH>Score List</TH><TH>Offset</TH><TH>Multple Score</TH></tr>";for(var b=0;b<a.length;b++){var d=parseFloat(a[b].cpcList.match(e)[1]);f+="<tr style='background-color:"+(a[b].linkType==0?"orange":"#96BF00")+";'><td>"+a[b].highlighttext+"</td><td>"+a[b].cpcList+"</td><td>"+a[b].scoreList+"</td><td>"+a[b].getWordNumber()+"</td><td>"+d*parseInt(a[b].scoreList)+"</td></tr>"}f+="</table></td></tr><tr><td style='background-color:#06BF00;font-weight:bold;text-align:center;'>Page Score : "+pageLayoutScore+"</td></tr>";f+="</table>";var c=document.createElement("div");c.innerHTML=f;kona$("konasapn0").appendChild(c)}function containsDOM(a,d){var b=false;try{do{b=(a==d);if(b){break}d=d.parentNode}while(d!=null)}catch(c){}return b}function getRandomUrl(){return"?r="+Math.random()}function isMouseLeave(b,a){if(!bSafari&&a.contains&&b.toElement){return !a.contains(b.toElement)}else{if(b.relatedTarget){return !containsDOM(a,b.relatedTarget)}}return false}function getVPPImage(a){var b=bIE?window.frames.VPPFrame:(kona$("VPPFrame")?kona$("VPPFrame").contentWindow:null);if(b&&b.GetVppUrl){return b.GetVppUrl(a.keyword,a.landingUrl)}else{if(GetIAProductImage){return GetIAProductImage(a.keyword,a.landingUrl,"border=0",false)}}return""}function paintKonaLayer(b){var c=null;var a=null;a=konaLinks.getInfo(b,0);a.prepareForShow(b);if(konaLinks.get(b).IsNewExpandableLayer()){c=newExpandKonaBuilder.getLayer(b,0,a)}else{if(!konaBuilder){konaBuilder=new KonaBuilder()}c=konaBuilder.getLayer(b,0,a)}return c}function addScriptToDynamicPageByIframe(b){var a=document.getElementById("caterpilarID").contentWindow.document.getElementsByTagName("head")[0];if(bIE){document.getElementById("caterpilarID").contentWindow.document.write('<script language="javascript" src="'+b+'"><\/script>');window.onbeforeunload=currKonteraOnUnLoad}else{var c=document.createElement("script");c.type="text/javascript";c.src=b;a.appendChild(c)}}function currKonteraOnUnLoad(){document.getElementById("caterpilarID").contentWindow.document.close()}function linkInfoToFamily(a){if(a.isSpecialType("SPECIAL_TYPE_SEARCH_INFO")){return SPECIAL_TYPE_SEARCH_INFO}else{if(a.isSpecialType("SPECIAL_TYPE_SEARCH_WEBNARY")){return SPECIAL_TYPE_SEARCH_WEBNARY}else{if(a.isSpecialType("SPECIAL_TYPE_FREE_DICTIONARY")){return SPECIAL_TYPE_FREE_DICTIONARY}else{if(a.isSpecialType("SPECIAL_TYPE_YAHOO_SHOPPING")){return SPECIAL_TYPE_YAHOO_SHOPPING}else{if(a.isSpecialType("SPECIAL_TYPE_YAHOO_SPONSORED")){return SPECIAL_TYPE_YAHOO_SPONSORED}else{if(a.isSpecialType("SPECIAL_TYPE_NEW_YAHOO")){return SPECIAL_TYPE_NEW_YAHOO}else{if(a.isRM()){return RM_FAMILY}}}}}}}}function updateAdLinkTimedLayer(b,f,c,e,a){var d=new Positions(0,0,0,0);d.left=f;d.top=e;d.right=c;d.bottom=a;updateAdLinkLayer(b,d)}function isLayerLoaded(a){return konaLinks.get(a).hasGoodLinkInfo()}function updateAdLinkLayer(a,d){var b=konaLinks.get(a);if(isLayerLoaded(a)){b.status=LOADED;b.teCounter=0;showListings(a,d,true);window.status="Dynamic Context Loaded!";statusBarStr="Loading"}else{b.teCounter+=200;statusBarStr+=".";window.status=statusBarStr;if(b.teCounter>teLoadDataTimeOut){clearTimeout(b.teTimer);b.teCounter=0;removeAdLink(a);window.status=window.defaultStatus}else{var c="updateAdLinkTimedLayer("+a+","+d.left+","+d.right+","+d.top+","+d.bottom+")";b.teTimer=setTimeout(c,200)}}}function resizeKey(d){var c="";var a=parseInt(d.length/100)+1;for(var b=0;b<d.length;++b){if(b%a==0){c+=d.charAt(b)}}return c}function getPargraph(a,c,b){var d=1;while(d<b){if(isArticleNode(c)&&c.uniqueID!=a){return c}else{d++;c=c.parentNode;if(c==null||typeof(c)=="undefined"||c.nodeName=="#document"){return false}}}return false}function filterAnalysisMarks(a){return a.replace(kLang.analysisMarksRegExp," . ")}function getLastWord(a){a.match(/([\s|^][^\s]+[\s]*$) /)}function KonaLang(){this.LINK=0;this.BOLD=1;this.PARA=2;this.LINE=4;this.FILTER=5;this.OK=-1;this.OUT_OF_ROOT=0;this.OUT_OF_WORDS=1;this.CHUNK_FULL=2;this.OUT_OF_TIME=3;this.TRASHING=4;this.ENOUGH_WORDS=5;this.ALL_MARKED=6;this.ALL_TRIED=7;this.analysisMarksRegExp=new RegExp("\\s([BLF@_])\\s","g");this.res;this.isMark=function(a){return(a=="F"||a=="L"||a=="B"||a=="@"||a=="_")};this.getMark=function(a){switch(a){case this.LINK:this.res="L";break;case this.BOLD:this.res="B";break;case this.PARA:this.res="_";break;case this.LINE:this.res="@";break;case this.FILTER:this.res="L";break}return this.res}}function countWordsNew(c){var b=urlEncode(fixPuncs(c)).split("+");var a=0;for(i=0;i<b.length;i++){if(unescape(b[i]).length>1){a++}}return a}function fillArray(c,b){for(var a=0;a<c.length;a++){c[a]=b}return c}function tailorByCookie(){try{var str=readCookie("konaTailor");if(str.length>0){var pairs=str.split("|");var match=null;for(var i=0;i<pairs.length;i++){match=pairs[i].match(tailorByCookieRegExp);if(match&&match.length==3){eval(match[1]+"="+match[2]+";")}}}}catch(e){}}function isRestrictedNode(a){return(restrictedTagsStr.indexOf("|"+a.nodeName+"|")!=-1||a.id=="konaLayers"||a.className=="konaRestrictedArea")}function isProperNode(a){return(a!=null&&typeof(a)!="undefined"&&a.nodeName!="#document")}function isUserRestrictedNode(a){return contentTags.isMatch(a,TAG_TYPE_FILTER)}function isRestricted(c,b){for(var a=1;a<=c&&isProperNode(b);a++){if(isRestrictedNode(b)){return true}b=b.parentNode}return false}function isArticleNode(a){return(dc_ArticalElements.indexOf(a.nodeName.toUpperCase())!=-1)}function isSkipNode(a){return(a.nodeValue&&skipNode(a.nodeValue))}function skipNode(a){if(!bIE&&trim(a).length<2){return true}if(a.search(/copyright[\s]*[\xA9]/i)!=-1){return true}if(a.search(/All rights reserved/i)!=-1){return true}if(a.search(/are registered trademarks/i)!=-1){return true}return false}function iframeUrlManipolation(c,a){var b;b=c+"&";b=b.replace(/&terms=[^&]*/g,"");b=b.replace(/&keywords=[^&]*/g,"");b=b.replace(/&sId=[^&]*/g,"");return b+"keywords="+a}function Exhibits(){this.exhibitElems=new Array();this.embedLock=false;this.showLock=false;this.getApprovedStr=function(){var b="";for(var a=0;a<konaLinks.size();a++){if(this.isExhibit(konaLinks.get(a))){b+=konaLinks.get(a).highlighttext+"%2B"}}return(b==""?b:b.substr(0,b.length-3))};this.isExhibitNode=function(a){return(a.getAttribute&&a.getAttribute("name")!=null&&typeof(a.getAttribute("name"))=="string"&&a.getAttribute("name").toLowerCase()=="konteraml")};this.getExhibitElems=function(){if(!dc_exhibit){return}var c=document.getElementsByTagName("SPAN");var a=0;for(var b=0;b<c.length;b++){if(this.isExhibitNode(c[b])){this.exhibitElems[a]=c[b];a++}}};this.embedExhibits=function(a){if(this.embedLock&&a!=true){return false}else{this.embedLock=true}var d=null;var c=null;for(var b=0;b<this.exhibitElems.length;b++){if(!bIE){d=this.exhibitElems[b].firstChild.nodeValue;if(d==null){this.exhibitElems.splice(b,1);b--;continue}}else{d=this.exhibitElems[b].innerText}d=trim(d);c=new Links(-1*b,-1,d,-1*b,d,"666");c.marked=MARKED;konaLinks.addLink(c)}return this.exhibitElems.length>0};this.getExhibit=function(a){return this.exhibitElems[(konaLinks.get(a).IEwordNumber*-1)]};this.size=function(){return this.exhibitElems.length};this.isExhibit=function(a){return(a.taxonomyKwd==-1&&a.taxonomyKey=="666")};this.showExhibits=function(){if(!dc_exhibit||this.showLock){return}this.showLock=true;var b=bIE?document.body.createTextRange():null;for(var a=0;a<konaLinks.size();a++){if(this.isExhibit(konaLinks.get(a))){this.showExhibit(b,a)}}};this.wasMarked=function(a){return false};this.showExhibit=function(c,b){if(this.wasMarked(this.getExhibit(b))){return}var a=createAdLinkStr(this.getExhibit(b),b,konaLinks.get(b).highlighttext);if(bIE){c.moveToElementText(this.getExhibit(b));c.findText(konaLinks.get(b).highlighttext);c.pasteHTML(a)}else{this.getExhibit(b).innerHTML=a}}}function DoIFrame(b,e,g,a,d,f){d=d.replace(/'/g,"%27");if(aInfoUnits[b].dc_Keywords!=null&&aInfoUnits[b].dc_Keywords!=""){d=iframeUrlManipolation(d,aInfoUnits[b].dc_Keywords)}var a=0;var c="<IFRAME frameborder='no'  id=KonaIFrame"+b+" scrolling=no src='";c=c+d+"' width=";c=c+e+"px height=";c=c+g+"px frameBorder=";c=c+a+"px style='background-color:";c=c+f+"' marginWidth=0 marginHeight=0 vspace=0 hspace=0 ";c=c+"allowTransparency='true'></IFRAME>";kona$("konasapn"+b).innerHTML=c}function writeLayerMode(a){if(!layerModeLock){layerModeLock=true;konaLayerMode=(a?LAYER_MODE_CLICK:LAYER_MODE_POP);if(konaLayerMode==LAYER_MODE_CLICK){var c=null;for(var b=0;b<konaLinks.size();b++){applyLayerMode(b,konaLayerMode)}}}}function applyLayerMode(b,a){info=konaLinks.getInfo(b,0);if(a==LAYER_MODE_CLICK&&info!=null&&!info.isDirect()){info.setLayerMode(a);if(konaLinks.getNode(b)!=null){konaLinks.getNode(b).className+=" CBL"}}}function applyTweakMode(){switch(konaTweakMode){case TWEAK_MODE_SINGLELINK:numOfBestLinks=1;break;case TWEAK_MODE_OVERTURE_MULTIKEYS:doOvertureMultikeys=true;break;case TWEAK_MODE_OVERTURE_NO_MULTIKEYS:doOvertureMultikeys=false;break;case TWEAK_MODE_NO_REL_NO_SCR:newRelevancyActivation=false;newLayoutSelection=false;break;case TWEAK_MODE_REL_SCR:newRelevancyActivation=true;newLayoutSelection=true;break;case TWEAK_MODE_NO_REL_SCR:newRelevancyActivation=false;newLayoutSelection=true;break;case TWEAK_MODE_EMV_REL_NO_SCR:newRelevancyActivation=true;newLayoutSelection=false;reactionBase="http://kona6.kontera.com/";analysisBase="http://kona7.kontera.com/";break}}function teDataHere(a,c,b){if(typeof(c)!="undefined"){konaEPid=c}if(typeof(a)!="undefined"){writeLayerMode(a)}if(doReportMissingAds&&typeof(b)!="undefined"&&b==TE_AUTO_FETCH){reportMissingAds()}}function imageCampsHere(){}function checkPublisherLimits(b,d,a){var c=getTimeInSF();if(c>=d&&c<=a){if(Math.random()*100>b){return true}}return false}function getTimeInSF(){var f=new Date();var d=f.getHours();var a=f.getTimezoneOffset();var c=0;var e=a/60;var b=e-8;c=d+b;if(c>24){c-=24}else{if(c<0){c+=24}}return c}function ArrayIterator(a){this.i=0;this.array=a;this.reset=function(){this.i=0};this.hasNext=function(){return(this.i<this.array.length)};this.next=function(){return this.array[this.i++]};this.remove=function(){this.i--;this.array.splice(this.i,1)}}function showAdlinks(h){if(adlinkMarked){return}if(bIE){pageStatus=document.readyState}if(konaLinks.size()>0||useRonLinks){adlinkMarked=true;updateAdLinksStatus();if(!autoFetchAdLinkDataEvent&&!useRonLinks){autoFetchReq()}if(docBadRanges==null){docBadRanges=new BadRanges(document.body)}if(!dc_analysis){return}if(pageInfo==null||fetchMethod==METHOD_TREE||fetchMethod==METHOD_JQUERY){pageInfo=new PageInfo(h)}if(fetchMethod==METHOD_TREE||fetchMethod==METHOD_JQUERY){backup=new BackUpLinks();if(fetchMethod==METHOD_TREE){walkTheTree(DO_MARKUP_MODE)}else{newWalkTheTree(DO_MARKUP_MODE)}if(backup.hasLinks()){backup.mark()}else{if(useRonLinks){konaLinks.clear()}}testingInfo.setMarkedNum(markedLinks,backup.backupCounter)}else{if(useRonLinks){}else{var a=new Date();var e=new RootIterator();totalOffset=e.offset+1;var d=null;var g=null;for(var c=0;c<konaLinks.size()&&(markedLinks<maxLinksOnPage);c++){g=konaLinks.get(c);if(exhibits.isExhibit(g)){continue}e.findRootRange(g);if(e.isNewRange){totalOffset=e.offset+1}insertAdLink(e,g,c,false)}var b=markedLinks;if(markedLinks<maxLinksOnPage&&markedLinks<konaLinks.size()){var f=new Array();e=new RootIterator();var k=null;for(var c=0;(c<konaLinks.size())&&(markedLinks<maxLinksOnPage);c++){g=konaLinks.get(c);if(exhibits.isExhibit(g)||g.marked==NOT_VALID){continue}if(!g.marked){e.findRootRange(g);if(!e.isNewRange){e.range.moveToBookmark(e.bookmark)}totalOffset=e.offset+1;insertAdLink(e,g,c,true);if(!g.marked){f.push(c)}}}if(f.length>0){insertGlobalLinks(new ArrayIterator(f),false)}}testingInfo.setMarkedNum(markedLinks,markedLinks-b)}}}linksMarkingEnded()}function runOnPage_ReAanalysis(a,b){if(((pageStatus!=PAGE_READY&&document.readyState!="complete")&&!doRunOnPage)||dcDOMLock){window.setTimeout("runOnPage_ReAanalysis("+a+',"'+b+'")',150);return}isReAnalysis=true;iKonaResultCode=0;dcDOMLock=true;if(dc_analysis||b=="S"||b=="D"){doAnalysis=false;dc_forceAnalysis=false;if(!bIE){pageInfo=null;pageInfo=new PageInfo(0)}processPageContent(a)}dcDOMLock=false}function linksMarkingEnded(){impressions.adlinksShown();if(refreshCSSOnScroll){addEvent(window,"scroll",konaScreenScroll)}if(removeFirstWordLinks){var c=null;var d=null;var e=null;for(var b=0;b<konaLinks.size();b++){e=konaLinks.getNode(b);if(e!=null){c=getSpans(e);for(var a=0;a<c.length;a++){d=c[a];if(d.offsetLeft==0){removeAdLink(b);break}}}}}if(checkLinkVisibility){konaLinks.ensureLinksVisibility()}if(dc_getCoreLinks){showCoreDebugInfo()}}function createViewParamQueryForIFream(iTagNum){var params=["dc_numberAds","dc_bg_color1","dc_bg_color2","dc_description_font_color","dc_InBorder","dc_OutBorder","dc_aff_id","dc_external_border","dc_internal_border","dc_sm_type","dc_default","dc_bg_img","dc_align","dc_show_caption","dc_caption_text","dc_caption_font","dc_caption_font_size","dc_caption_font_color","dc_caption_font_bgColor","dc_show_title","dc_title_font","dc_title_font_size","dc_title_font_bold","dc_title_font_color","dc_show_description","dc_description_font","dc_description_font_size","dc_description_font_bold","dc_description_font_color","dc_show_url","dc_url_font","dc_url_font_size","dc_url_font_bold","dc_url_font_color","dc_titLinesNumberFactor","dc_descLinesNumberFactor","dc_descCharsFactor","dc_titCharsFactor","dc_caption_position","dc_adIndex","dc_is_image","dc_aff_id"];var results="";for(i=0;i<params.length;i++){var paramValue=eval("aInfoUnits["+iTagNum+"]."+params[i]);if(paramValue!=""){results+="&"+params[i]+"="+escape(paramValue)}}return results}function ProcessResults(b,g){if(typeof(aKonaResults)=="undefined"||typeof(aKonaResults[b])=="undefined"){return}var a=aKonaResults[b].split("|");if(a[0]!="L"&&b==0&&maxLinksOnPage>0&&!alGotFactor){requestCounter++;alGotFactor=true}var h=true;var e=kona$("KonaIFrame"+b);if(e!=null){h=false}switch(a[0]){case"S":if(!h&&!dc_tmReload){break}IFrameForSearchMatch(b,a,h);break;case"D":IFrameForSearchMatch(b,a,h);break;case"H":var f=a[5];for(var c=1;c<=aURLParams.length;c++){var d=new RegExp("<"+c+">","g");f=f.replace(d,aURLParams[c])}if(dc_width!=0&&dc_height!=0){DoIFrame(b,dc_Width,dc_height,a[3],f,a[4])}else{DoIFrame(b,a[1],a[2],a[3],f,a[4])}break}return a[0]}function getLastMark(d,b){var c;if(b-1>=0){c=d.charAt(b-1);if(kLang.isMark(c)){if(b-2>=0&&d.charAt(a-2)=="+"){return c}}}for(var a=b-1;a>=0;a--){if(d.charAt(a)=="+"&&(a-2>=0)&&d.charAt(a-2)=="+"){c=d.charAt(a-1);if(kLang.isMark(c)){return c}}}if(kLang.isMark(d.charAt(0))&&d.charAt(1)=="+"){return d.charAt(0)}return""}function KonaStringBuffer(){this.buffer=[];this.size=0;this.append=function a(d){this.buffer.push(d);this.size+=d.length;return this};this.toString=function c(){return this.buffer.join("")};this.length=function b(){return this.size}}function getLastPlusIndex(c,b){var a=c.lastIndexOf("+",b);if(a==-1){a=b}return a}function ParametersUrl(a){this.str=a;this.set=function(d,c){var b=new RegExp("([?|&]{1}"+d+"=)[#]+");this.str=this.str.replace(b,"$1"+c)}}function THInfo(a){this.ths=new Array();this.init=function(c){for(var b=0;b<c+1;b++){this.ths[b]=new Array()}};this.getLen=function(){var c=0;for(var b=0;b<this.ths.length;b++){c+=this.ths[b].length*b}return c};this.stack=function(d,c,b){this.ths[d.length].push(new THDao(d,c,b))};this.stackLength=function(c){if(!this.ths[c]){for(var b=this.ths.length;b<=c;b++){this.ths[b]=new Array()}}this.ths[c].push(new THDao("",-1))};this.getNewTH=function(c){var d=this.ths.length-1;var b=c;while(c>0&&d>=0){c-=(this.ths[d]?(this.ths[d].length*d):0);d--}d++;return(d>=0&&b>c?d:-1)};this.fillWithTH=function(k,b,c){var e=this.ths.slice(b);var g=new Array();for(var f=0;f<e.length;f++){for(var d=0;d<e[f].length;d++){g.push(e[f][d])}}g.sort(function(n,m){return(m.offset-n.offset)});var h="";var l=0;for(var f=0;f<g.length;f++){l=g[f].offset-c;h=g[f].text+k.substring(l+g[f].getSymbolLen())+h;k=k.substring(0,l)}h=k.substring(0,g.pop().offset-c)+h;return h};this.init(a)}function THDao(c,b,a){this.text=c;this.offset=b;this.wordsNum=new Number(a);this.getSymbolLen=function(){return(5+this.wordsNum.toString().length)}}function addAdditionalInfo(c,a,b){switch(a){case YAHOO_SHOPPING:konaLinks.getInfo(c).price=b.getItem("price");break}}function setMaxLinksOnPage(a){logit("got results from reaction: "+((new Date()).getTime()-window.konaJSEntryTime)+"~");if(maxLinksOnPage==MAX_ADLINKS_ON_PAGE){maxLinksOnPage=a}}function setPageLayoutScore(a){pageLayoutScore=a}function setKonaResults(a,b,c){aKonaResults[b]=c;iKonaResultCode=a}function onKonaReturn(a){if(isReAnalysis&&a==1){return}a=parseInt(a);a=0;var b="";if(iKonaResultCode==0||iKonaResultCode==1){b=ProcessResults(a,iKonaResultCode)}runOnPage(a,iKonaResultCode,b);return}function removeEmbeddedAdlinks(){var f=null;for(var e=0;e<10;e++){f=kona$("KonaLink"+e);if(f!=null){if(!bIE){if(f.firstChild.nodeType==3&&trim(f.firstChild.textContent)==""){f.removeChild(f.firstChild)}}if(f.firstChild){var a=f.firstChild;var d="";while(a!=null&&a.firstChild&&a.nodeName.toUpperCase()!="SPAN"){if(a.size){d=a.size}a=a.firstChild}if(a==null){return}else{a=a.parentNode}var g="";for(var b=0;b<a.childNodes.length;b++){if(a.childNodes[b].nodeName=="SPAN"&&a.innerHTML){g+=""+a.childNodes[b].innerHTML}}var c=document.createElement("FONT");if(d!=""){c.setAttribute("size",d)}if(g!=""){c.innerHTML=g;if(bIE){f.replaceNode(c)}else{f.parentNode.replaceChild(c,f)}}}}}}function poweredByKonteraClick(){window.open("http://www.kontera.com/","kontera")}function whatsThisClick(a){if(a){a.href=infoUnit.dcAL_explainURL+"/explanation?sr=100720&epid="+konaEPid+"&url="+escape(document.location.href)}else{window.location.href=infoUnit.dcAL_explainURL+"/explanation?sr=100720&epid="+konaEPid+"&url="+escape(document.location.href)}return false}function appendKonaLayer(b){if(bIE&&!b){if(document.readyState!="complete"){appendKonaLayerTime+=200;window.setTimeout("appendKonaLayer(false)",200);return false}}if(!konaLayers.hasLayersNode()){var a;if((bIE&&document.readyState!="complete")){document.write("<div id='konaLayers' class='konaLayers'></div>");a=document.getElementById("konaLayers")}else{a=document.createElement("DIV");a.id="konaLayers";a.className="konaLayers";document.body.appendChild(a)}konaLayers.setLayersNode(a)}}function createTagUrl(){var f="u="+sUnique+"&p="+dc_PublisherID+"&k="+urlEncode(sKey)+"&al="+dcAdlinksActive;var b="&d=1";if(typeof(KonterDynamicContextDemoState)!="undefined"){f+=b}f=f+OptionallyGetUrl();var g=document.title;if(g!=null){if(g.length>100){g=g.substring(0,100)}}else{g=""}var l=urlEncode(fixPuncs(g));var a=getKwdMetaOnly();var c="";if(l==""||a==""){var e=document.body;if(e.innerText){c="&m2="+urlEncode(fixPuncs(e.innerText.substr(0,100)))}else{if(document.createRange){var d=document.createRange();d.selectNodeContents(e);c="&m2="+urlEncode(fixPuncs(d.toString().substr(0,100)))}}}var k=(String.format("{0}_{1}_{2}",(!isExternalPublisher?dc_PublisherID:extConvertedPubId),sUnique,sRandomPerPage)).replace(".","");f=f+"&t="+l+a+c+"&rId="+k;if(prev_page!=""){f+=String.format("&prev_page={0}",prev_page)}f+=((maximumLinks==-1)?"":"&ml="+maximumLinks);if(typeof(dc_ChannelID)!="undefined"&&dc_ChannelID!=null){f+=String.format("&cId={0}",dc_ChannelID)}f+="&rl=0";return f}function validateInfoUnit(infoUnit){var i=0;for(i=0;i<DC_AL_UNDERLINE_TYPE_ENUM.length;i++){if(infoUnit.dc_underlineType.toLowerCase()==DC_AL_UNDERLINE_TYPE_ENUM[i]){infoUnit.dc_underlineType=DC_AL_UNDERLINE_TYPE_ENUM[i];i=-1;break}}if(i!=-1){infoUnit.dc_underlineType=DC_AL_UNDERLINE_TYPE_DEF}var numRegExp=new RegExp("^[0-9]");var charRegExp=new RegExp("^[a-fA-F]");var colorAttr=["dc_AdLinkColor","dcAL_LY_urlFontColor","dcAL_LY_titleFontColor","dcAL_LY_bgColor"];var str="";for(var i=0;i<colorAttr.length;i++){str=eval("infoUnit."+colorAttr[i]);str=trim(str);if(str.search(numRegExp)>-1){str="#"+str}else{if(str.search(charRegExp)>-1){str=str.substring(1);if(str!=null&&(str.search(charRegExp)>-1||str.search(numRegExp)>-1)){str="#"+eval("infoUnit."+colorAttr[i])}else{continue}}}eval("infoUnit."+colorAttr[i]+"=str;")}}function konaToCharHash(c){if(typeof(c)=="undefined"||c==null){return""}var b="";for(var a=0;a<c.length;a++){b+=""+c.charCodeAt(a)+a}return b}function checkCookieChange(){var c=document.location.href;var d=c.lastIndexOf("dcc=");if(d<0){return}var b=c.substring(d+4);c=c.substring(0,d-1);var e=dc_PublisherID.toString()+","+c;var a=konaToCharHash(e);if(a==b.substr(0,b.length-1)){var f=b.charAt(b.length-1);createCookie("dc_op_code",f,COOKIE_EXPIRATION_DAYS)}}function cookieFeed(){var a=readCookie("dc_op_code");if(a=="0"){dc_doHalt=true}}function haltcheck(){if(trafficPercentage<100){dc_doHalt|=(Math.random()*100>trafficPercentage)}dc_doHalt|=konaGatewayCheck();return dc_doHalt}function getPageKey(){logit("build PageKey: "+((new Date()).getTime()-window.konaJSEntryTime)+"~");if(typeof(KonterDynamicContextDemoState)!="undefined"){sKey+=(""+sUnique+Math.random()).replace(".","");return}if(dc_urlPageKey){sKey=getPageUrlAsKey()}else{if(fetchMethod==METHOD_JQUERY){newWalkTheTree(GET_KEY_MODE)}else{walkTheTree(GET_KEY_MODE)}}if(publisherIdInKey){sKey+=":pid:"+dc_PublisherID}if(bIE){sKey+="IE"}else{if(bOpera){sKey+="OPERA"}else{sKey+="MOZILLA"}}if(dc_randomPageKey){sKey+=Math.random()}logit("build PageKey ended: "+((new Date()).getTime()-window.konaJSEntryTime)+"~")}function sendKonaGet(){if(!isReAnalysis){sendPageKey()}}function sendPageKey(){var e=createTagUrl();var c=e+getCoresParamsString(0);var d=reactionBase+""+sGetScriptName+""+c+"&add=FlashVer_"+getFlashFullVersion()+"|user_"+konaUserID+"|session_"+konaSessionID+"&"+(new Date()).getTime();var b=document.createElement("SPAN");b.setAttribute("id","konasapn0");var a=document.createElement("SCRIPT");a.setAttribute("type","text/javascript");a.setAttribute("src",d);b.appendChild(a);document.body.appendChild(b);logit("sendPageKey (CALL REACTION): "+((new Date()).getTime()-window.konaJSEntryTime)+"~")}function getCoresParamsString(b){var a="";if(typeof(KonterDynamicContextDemoState)!="undefined"){a="&ds="+kona_demo_ds+"&dr="+kona_demo_direct+"&rl="+kona_demo_relevancy+"&rt="+kona_demo_relevancy_type+"&st="+(newLayoutSelection?1:0)}else{a="&rt="+(newRelevancyActivation?1:0)+"&st="+(newLayoutSelection?1:0)}return"&i=14&n="+b+"&dc_aff_id="+aInfoUnits[b].dc_aff_id+"&cl="+numOfBestLinks+"&mp="+maxLinksMode+"&rm="+(hasRMFlashSupport?"1":"0")+(dc_getCoreLinks?"&pw=1":"")+"&mod="+konaTweakMode+(isExternalPublisher?("&extId="+dc_ExtId):"")+a}function getPageUrlAsKey(){if(typeof(KonterDynamicContextDemoState)=="undefined"){return document.location.href}else{return dc_publisherUrl}}function getScriptUrl(a){return a}function getAndSendPageKeyOnFly(){if(!konaInit(false)){return}var f="";if(bIE){f="IE"}else{f="MOZILLA"}sKey=getPageUrlAsKey()+f;keyAdjustments();var h=createTagUrl();var e=h+"&1=14&mod="+konaTweakMode+"&rm="+(hasRMFlashSupport?"1":"0")+(isExternalPublisher?("&extId="+dc_ExtId):"")+"&dc_aff_id="+aInfoUnits[0].dc_aff_id;var g=reactionBase+""+sGetScriptName+""+e+"&add=FlashVer_"+getFlashFullVersion()+"|user_"+konaUserID+"|session_"+konaSessionID;if(delayJSFlowBY>0){var d=document.createElement("SPAN");d.setAttribute("id","konasapn0");var c=document.createElement("SCRIPT");c.setAttribute("type","text/javascript");var b=getScriptUrl(g);c.setAttribute("src",b);d.appendChild(c);document.body.appendChild(d)}else{var b=getScriptUrl(g);var a='<SPAN ID=konasapn0><SCRIPT type="text/javascript" src="'+b+'"></SCRIPT>';+"</SPAN>";document.writeln(a)}logit("CALL REACTION FIRST TIME: "+((new Date()).getTime()-window.konaJSEntryTime)+"~")}function validateNumeric(b){var a=/(^-?\d\d*\.\d*$)|(^-?\d\d*$)|(^-?\.\d\d*$)/;return a.test(b)}function selectRandomValue(a,b){var c;if(typeof(toEscape)=="undefined"){toEscape=false}if(typeof(b)=="undefined"){b=true}c=a;if(b&&!validateNumeric(c)&&c.toLowerCase){c=c.toLowerCase()}return c}function support_1_3_Ver_Params(){if(aInfoUnits[0].dc_sm_type==""){if(Number(aInfoUnits[0].dc_width)>Number(aInfoUnits[iTagNumber].dc_height)){aInfoUnits[0].dc_sm_type="horizontal"}else{aInfoUnits[0].dc_sm_type="vertical"}}}function support_1_3_Ver_ParamsNameing(){if(typeof(this["dc_Width"])!="undefined"){eval("this['dc_width'] = dc_Width")}if(typeof(this["dc_Height"])!="undefined"){eval("this['dc_height'] = dc_Height")}if(typeof(this["dc_BorderColor"])!="undefined"){eval("this['dc_external_border'] = dc_BorderColor");eval("this['dc_OutBorder'] = 'yes' ");eval("this['dc_internal_border'] = dc_BorderColor");eval("this['dc_InBorder'] = 'yes' ")}if(typeof(this["dc_BackgroundColor1"])!="undefined"){eval("this['dc_bg_color1'] = dc_BackgroundColor1")}if(typeof(this["dc_BackgroundColor2"])!="undefined"){eval("this['dc_bg_color2'] = dc_BackgroundColor2")}if(typeof(this["dc_TitleColor"])!="undefined"){eval("this['dc_title_font_color'] = dc_TitleColor")}if(typeof(this["dc_TextColor"])!="undefined"){eval("this['dc_description_font_color'] = dc_TextColor")}if(typeof(this["dc_URLColor"])!="undefined"){eval("this['dc_url_font_color'] = dc_URLColor")}}function keyAdjustments(){if(networkByHash){}}function addKonaLoadEvent(a){var b=window.onload;if(typeof window.onload!="function"){window.onload=a}else{window.onload=function(){if(b){try{b()}catch(c){}}a()}}}function getKonaPostalCode(){var a=(konaPostalCode);if(!isNaN(a)){return konaPostalCode}else{return""}}function isIntersecting(b,a){if(b.bottom>=a.top){if(b.top<=a.bottom){if(b.right>=a.left){if(b.left<=a.right){return true}}}}return false}function dcInit(){logit("dcInit starts: "+((new Date()).getTime()-window.konaJSEntryTime)+"~");if(isKonaInited){return}isKonaInited=true;if(bIE){pageStatus=document.readyState}else{pageStatus=PAGE_READY}if(isDelayPageKey){konaInit(false);getRootElems();getPageKey();sendPageKey()}setTimeout("checkDoRunOnPage()",forceRunOnPageTimeOut)}function checkDoRunOnPage(){if(!doRunOnPage){doRunOnPage=true}}function ensureDefined(varName,varValue){if(typeof(this[varName])=="undefined"){eval("window."+varName+" = "+varValue)}}function defineAsWell(originName,varName){if(typeof(this[originName])!="undefined"){eval("window."+varName+" = "+originName)}}function getInfoUnitVal(varName,defaultVal,toLowerCase){if(typeof(toLowerCase)=="undefined"){var toLowerCase=true}return(typeof(this[varName])!="undefined")?eval("selectRandomValue("+varName+","+toLowerCase+");"):defaultVal}function crossDomainFlash(b){logit("USING CROSS DOMAIN: "+((new Date()).getTime()-window.konaJSEntryTime)+"~");crossDomainDiv=document.createElement("div");crossDomainDiv.id="crossDomainDiv";crossDomainDiv.style.position="absolute";crossDomainDiv.style.left="0px";crossDomainDiv.style.top="0px";document.body.appendChild(crossDomainDiv);var a=new SWFObject(CROSS_DOMAIN_FLASH_URL,"crossdomain","10","10","8","#ff0000");a.addParam("wmode","transparent");a.addParam("allowScriptAccess","always");a.addVariable("analysisBase",analysisBase);a.addVariable("query",escape(b));a.write("crossDomainDiv")}function hideCrossDomainFlash(){crossDomainDiv.style.visibility="hidden"}function returnFlashData(theData){logit("GOT RESPONSE FROM FLASH: "+((new Date()).getTime()-window.konaJSEntryTime)+"~");eval(theData)}function validateAndSet(paramName,paramVal){var isValid=false;switch(paramName){case"infoUnit.dc_underlineType":isValid=paramVal=="solid"||paramVal=="dashed"||paramVal=="dotted"||paramVal=="none";break;case"infoUnit.dc_clickDelayTime":isValid=parseInt(paramVal)>=0&&parseInt(paramVal)<=1000;break;case"infoUnit.dc_adLinkClickAllowed":isValid=(typeof eval(paramVal))=="boolean";break;case"infoUnit.dc_offCloseTime":isValid=parseInt(paramVal)>=0&&parseInt(paramVal)<=2000;break;case"infoUnit.dc_delayTime":isValid=parseInt(paramVal)>=0&&parseInt(paramVal)<=1000;break;case"infoUnit.dc_open_new_win":isValid=paramVal=="yes"||paramVal=="no";break;case"infoUnit.dc_AdLinkColor":case"siteLogoImage":case"searchLogoImage":case"boldTags":isValid=true;break}if(isValid){eval(paramName+" = paramVal")}}function setABTests_PT(){tailorForPublisher()}function getKonaComputedStyle(b){var a=null;if(b.currentStyle){a=b.currentStyle}else{if(document.defaultView&&document.defaultView.getComputedStyle){try{a=document.defaultView.getComputedStyle(b,null)}catch(c){}}}if(!a&&b.style){a=b.style}return a}function getKonaComputedStyleProp(b,c){var a=getKonaComputedStyle(b);return(a==null)?null:a[c]}function getKonaComputedStyleNamedProp(d,e){if(d.currentStyle){var a=e.match(/\w[^-]*/g);var c=a[0];for(var b=1;b<a.length;++b){c+=a[b].replace(/\w/,a[b].charAt(0).toUpperCase())}return d.currentStyle[c]}else{if(document.defaultView&&document.defaultView.getComputedStyle){return document.defaultView.getComputedStyle(d,null).getPropertyValue(e)}else{return d.style[c]}}}function GoodDecimal(a){return goodDecimalRegExp.test(a)}function isHiddenNode(b){if(b.nodeType==Node.ELEMENT_NODE){var a=getKonaComputedStyle(b);if(a&&(a.visibility=="hidden"||a.visibility=="hide"||a.display=="none")){return true}}return false}function isHiddenElement(c,b){var d=1;var a="";while(d<c){if(globalHiddenElements.indexOf("|"+b.uniqueID+"|")!=-1){return true}if(b.uniqueID){a+="|"+b.uniqueID+"|"}if(b.currentStyle.visibility=="hidden"||b.currentStyle.visibility=="hide"||b.currentStyle.display=="none"){globalHiddenElements+=a;return true}else{d++;b=b.parentNode;if(b==null||typeof(b)=="undefined"||b.nodeName=="#document"){return false}}}return false}function ValueInfo(c,b,a){this.value=c;this.percentage=b;this.mask=a}function KonaLinkBuilder(){this.getContentLink=function(c,g,d){dc_adLinkStyle=createAdLinkStyle(c);var l=document.createElement("a");l.href="#";l.setAttribute("style","text-decoration: underline !important;"+adlinkChildStyle);l.className="kLink";l.target=this.target;l.id="KonaLink"+g;l.onmouseover=function(m){adlinkMouseOver(m?m:window.event,this,g)};l.onclick=function(m){adlinkMouseClick(m?m:window.event,this,g)};l.onmouseout=function(m){adlinkMouseOut(m?m:window.event,this,g)};l.oncontextmenu=function(){return false};var e=(konaLinks.get(g).linkType==1);var a="color: "+unescape(e?kCoreLinkColor:infoUnit.dc_AdLinkColor)+" !important; "+dc_adLinkStyle.styleStr;var k="";var b=d.split(" ");for(var f=0;f<b.length;f++){k+="<span class='kLink' style='"+a+adlinkWordStyle+"' >"+b[f]+(f==b.length-1?"":" ")+"</span>"}var h="<font "+dc_adLinkStyle.fontSizeStr+" style='"+a+adlinkChildStyle+"' color='"+infoUnit.dc_AdLinkColor+"' >"+k+"</font>";l.innerHTML=h;return l}}function adLinkInRange(a){if(typeof(a.getWordNumber())=="undefined"){return false}var b=a.getWordNumber();if((b>=wordsCounterStart&&b<=wordsCounterEnd)){return true}else{return false}}function BackUpLinks(){this.nodes=null;this.links=null;this.temp=null;this.regExps=null;this.ronItr=null;this.backupCounter=0;this.markedCounter=0;this.init=function(){if(useRonLinks){konaLinks.resetLinks(dcRonLinks)}this.links=new Array(konaLinks.size());for(var a=0;a<konaLinks.size();a++){this.links[a]=konaLinks.get(a)}this.nodes=new Array(konaLinks.size());fillArray(this.nodes,null);this.regExps=new Array(konaLinks.size());for(var a=0;a<this.regExps.length;a++){this.regExps[a]=new RegExp("(\\b)+"+konaLinks.get(a).highlighttext+"(\\b)+","g")}};this.stack=function(b){for(var a=0;a<this.links.length;a++){this.stackNode(a,b)}};this.stackNode=function(a,b){if(this.links[a]==null||this.nodes[a]!=null){return false}this.temp=b.nodeValue.search(this.regExps[a]);if(this.temp!=-1){if(!isBoldNode(b.parentNode)){this.nodes[a]=b;this.backupCounter++;return true}}return false};this.stackForRon=function(a){if(this.links.length<=0){return}while(this.ronItr.hasNext()&&!this.hasEnoughRons()){if(this.stackNode(this.ronItr.next(),a)){this.ronItr.remove()}}this.ronItr.reset()};this.marked=function(a){if(this.nodes[a]!=null){this.backupCounter--}this.nodes[a]=null;this.links[a]=null;this.markedCounter++};this.hasEnoughRons=function(){return((this.backupCounter>=MAX_RONLINKS_ON_PAGE)||(this.backupCounter>=maxLinksOnPage))};this.allMarked=function(){return(this.markedCounter>=(this.links.length-exhibits.size()))||this.markedCounter>=maxLinksOnPage};this.hasLinks=function(){return this.backupCounter>0&&!this.allMarked()};this.mark=function(){var b=new Array();var c=new Array();var d=new Array();for(var a=0;a<this.nodes.length;a++){if(this.nodes[a]!=null){b.push(this.links[a]);c.push(this.nodes[a]);if(useRonLinks){d.push(this.links[a])}}}for(var a=0;a<c.length;a++){if(c[a]!=null){doBackupMark(c[a],this.getNodeLinks(c[a],c,b))}}};this.getNodeLinks=function(e,d,b){var c=new Array();for(var a=0;a<d.length;a++){if(d[a]!=null&&d[a].nodeValue==e.nodeValue&&d[a].parentNode==e.parentNode){c.push(b[a]);d[a]=null}}return c};this.init()}function checkExitCond(a){switch(a.iMode){case GET_KEY_MODE:if(a.iWordNumber>1000){return kLang.OUT_OF_WORDS}break;case GET_HTML_MODE:if(!dc_jsDebug){dTemp=new Date();if((dTemp.getTime()-traverseTimer)>TREE_CHUNK_TIMEOUT){return kLang.OUT_OF_TIME}}break;case DO_MARKUP_MODE:if(!dc_jsDebug){dTemp=new Date();if((dTemp.getTime()-traverseTimer)>TREE_MARKUP_TIMEOUT){return kLang.OUT_OF_TIME}}if(useRonLinks&&backup.hasEnoughRons()){return kLang.ENOUGH_WORDS}else{if(backup.allMarked()){return kLang.ALL_MARKED}else{if(dc_jsDebug&&(iCurrMU>=konaLinks.size())){return kLang.ALL_TRIED}}}break}return kLang.OK}function doBackupMark(b,a){return doBackupMarkBy(b,a,document.createRange?true:false)}function doBackupMarkBy(f,c,b){var e=new Array();c.sort(function(l,k){return(l.getWordNumber()-k.getWordNumber())});var g=c.length-1;while(maxLinksOnPage>adLinksOnPageCounter&&(g>=0)){var d=c[g].highlighttext;var a=searchKeywordInNode(f,d);var h=a[0];if(h>=0){if(b){f=insertByRange(f,h,d,c[g].wordIndex)}else{f=insertBySplit(f,h,d,c[g].wordIndex)}c[g].marked=MARKED;adLinksOnPageCounter++;markedLinks++}g--}}function doMark(a){return doMarkBy(a,false)}function doMarkBy(b,q){var a=b.getNode();var m=getAdLinksForNodeNumber();if(exhibits.isExhibitNode(a.parentNode)){for(var f=0;f<m.length;f++){m[f].marked=NOT_VALID}return}var d=m.length-1;var c=a;var h=null;var n=c.nodeValue.length;while((maxLinksOnPage>adLinksOnPageCounter)&&(d>=0)&&c!=null){var g=m[d].highlighttext;var e=m[d].getWordNumber()-wordsCounterStart;var k=searchKeywordInNode(c,g,e);var l=k[0];if(l>=0){g=k[1];m[d].highlighttext=g;if(q){c=insertByRange(c,l,g,m[d].wordIndex)}else{c=insertBySplit(c,l,g,m[d].wordIndex)}m[d].marked=MARKED;backup.marked(m[d].wordIndex);adLinksOnPageCounter++;markedLinks++}d--}iCurrMU=Math.max(iCurrMU,m.pop().wordIndex+1);return c}function getAdLinksForNodeNumber(){var b=new Array();for(var a=0;a<konaLinks.size();a++){if(konaLinks.get(a).marked==NOT_MARKED&&adLinkInRange(konaLinks.get(a))){b.push(konaLinks.get(a))}}b.sort(function(d,c){return(d.getWordNumber()-c.getWordNumber())});return b}function insertByRange(e,f,d,c){e.nodeValue=e.nodeValue.substring(0,f)+e.nodeValue.substring(f+d.length);var a=createAdLinkNode(e.parentNode,c,d);var b=document.createRange();b.setStart(e,f);b.insertNode(a);return e}function insertBySplit(b,f,d,h){var c=b.nodeValue.substring(0,f);var k=b.nodeValue.substring(f+d.length);var g=null;var a=null;var e=createAdLinkNode(b.parentNode,h,d);if(c==null){c=""}g=document.createTextNode(c);b.parentNode.insertBefore(g,b);b.parentNode.insertBefore(e,b);if(k){a=document.createTextNode(k);b.parentNode.insertBefore(a,b)}b.parentNode.removeChild(b);return g}function Junction(a){this.node=a;this.isLink=false;this.isBold=false;this.isInLink=false;this.isInBold=false;this.isArticle=false;this.isInArticle=false;this.childNode=null;this.getNextChild=function(){if(this.childNode==null){this.childNode=this.node.firstChild}else{this.childNode=this.childNode.nextSibling}return this.childNode};this.duplicate=function(){var b=new Junction(this.node);b.node=this.node;b.isLink=this.isLink;b.isBold=this.isBold;b.isInLink=this.isInLink;b.isInBold=this.isInBold;b.isArticle=this.isArticle;b.isInArticle=this.isInArticle;b.childNode=this.childNode;return b};this.inherit=function(b){this.isInBold=(b.isBold||b.isInBold);this.isInLink=(b.isLink||b.isInLink);this.isInArticle=(b.isArticle||b.isInArticle)}}function markAdLinkInNode(d){var a=d.getNode();var b=a.nodeValue;var c=countWordsNew(b);if(c==0){return""}wordsCounterStart=wordsCounterEnd+1;wordsCounterEnd+=c;if(!useRonLinks){while(iCurrMU<konaLinks.size()&&exhibits.isExhibit(konaLinks.get(iCurrMU))){iCurrMU++}if(iCurrMU<konaLinks.size()){if(typeof(konaLinks.get(iCurrMU).getWordNumber())!="undefined"){if(adLinkInRange(konaLinks.get(iCurrMU))&&konaLinks.get(iCurrMU).marked==NOT_MARKED){a=doMark(d)}}}}if(a.nodeType==Node.TEXT_NODE&&!d.isInLink()){if(useRonLinks){backup.stackForRon(a)}else{backup.stack(a)}}}function searchKeywordInNode(c,h,f){var n=c.nodeValue;var t=0;var m=-1;var b=0;var a=null;if(typeof(f)!="undefined"&&f>=1){var d=new RegExp("(((^|\\s)+[^\\s]+){"+(f-1)+"})");n=n.replace(d,"");t=c.nodeValue.length-n.length}var q=h.replace(nodeWordRegExp,"\\$1");var g=new RegExp("(\\b"+q+")(?!</font></A><)\\b","i");var e=n.match(g);if(e==null||e.index==-1){var l=q.split(" ");if(l.length==2){g=new RegExp("((\\b))("+l[0]+"(\\s)*"+l[1]+"(?!</A>)\\b)","i")}else{if(l.length==3){g=new RegExp("((\\b))("+l[0]+"(\\s)*"+l[1]+"(\\s)*"+l[2]+"(?!</A>)\\b)","i")}}e=n.match(g)}if(e!=null&&e.index!=-1){a=e[0];m=t+e.index}var k=[m,a];return k}function addScriptToDynamicPage(a){var b=document.createElement("script");b.type="text/javascript";b.src=a;document.getElementById("konasapn0").appendChild(b)}var hProhibitSimLoading=new KonaHash(FRAME_LAYER,false,SEARCH_LAYER,false,RM_FAMILY,false,SPECIAL_TYPE_NEW_YAHOO,false,SPECIAL_TYPE_SEARCH_INFO,false,SPECIAL_TYPE_SEARCH_WEBNARY,false,SPECIAL_TYPE_FREE_DICTIONARY,false,SPECIAL_TYPE_YAHOO_SHOPPING,false,SPECIAL_TYPE_YAHOO_SPONSORED,false);var specialTypes={SPECIAL_TYPE_KONTERA:["http://www.kontera.com","www.kontera.com"],SPECIAL_TYPE_DATA_CAPTURE:["http://www.oracle.com","http://www.apcc.com/"],SPECIAL_TYPE_MSLAYER:["http://view.atdmt.com/MRT/view/kntrtinf0250009683mrt/direct/01/"],SPECIAL_TYPE_MOTIFLAYER:["www.dartmotif.com"],SPECIAL_TYPE_DARTLAYER:["www.dart.com"],SPECIAL_TYPE_HP:["hp_1","hp_2"],SPECIAL_TYPE_KOSMIX:["www.kosmix.com"],SPECIAL_TYPE_SEARCH_INFO:["info.com"],SPECIAL_TYPE_SEARCH_WEBNARY:["webnary"],SPECIAL_TYPE_GHOST:["http://ads.pointroll.com/PortalServe/?pid=582789O64120080220205200&pos=i&r=[RANDOM]"],SPECIAL_TYPE_NEW_YAHOO:["NewYahoo","YahooAlgo"],SPECIAL_TYPE_MICROSOFT_IE6:["www.microsoft.com/ie6"],SPECIAL_TYPE_MICROSOFT_IE8:["www.microsoft.com/ie8"],SPECIAL_TYPE_EDMUNDS:["http://www.caterpillar.com/control"],SPECIAL_TYPE_CATERPILAR:["http://ad.doubleclick.net/imp;v1;f;196836523;0-0;0;25651360;1|1;25507321|25525178|1;;cs=h%3fhttp://ad.doubleclick.net/dot.gif?[timestamp]"],SPECIAL_TYPE_FREE_DICTIONARY:["FreeDictionary"],SPECIAL_TYPE_YAHOO_SHOPPING:["yahooShopping"],SPECIAL_TYPE_MS_CASHBACK:["www.mscashback.com"],SPECIAL_TYPE_NEW_EXPANDABLE:["expandable"],SPECIAL_TYPE_YAHOO_SPONSORED:["YahooSponsoredSearch"],SPECIAL_TYPE_DATA_CAPTURE_KOHL:["http://www.kohl.com"]};var OldSurveyFactory=function(c){var d={"http://www.romanirner.com":{type:"questionmarket",script:"http://amch.questionmarket.com/adsc/d366028/9/465161/randm.js?[randnum]",impression:"http://www.romanirner.com"},"http://view.atdmt.com/DNR/view/106066661/direct/01/":{type:"questionmarket",script:"http://amch.questionmarket.com/adsc/d428102/10/449885/adscout.php?ord=[randnum]",impression:"http://view.atdmt.com/DNR/view/106066661/direct/01/"},"http://view.atdmt.com/DNR/view/106066662/direct/01/":{type:"questionmarket",script:"http://amch.questionmarket.com/adsc/d428102/10/449886/adscout.php?ord=[randnum]",impression:"http://view.atdmt.com/DNR/view/106066662/direct/01/"},"http://ad.doubleclick.net/imp;v1;f;205658020;0-0;0;28311361;1|1;27344787|27362666|1;;cs=s%3fhttp://ad.doubleclick.net/dot.gif?[timestamp]":{type:"questionmarket",script:"http://amch.questionmarket.com/adsc/d438941/8/446322/randm.js?[randnum]",impression:"http://ad.doubleclick.net/imp;v1;f;205658020;0-0;0;28311361;1|1;27344787|27362666|1;;cs=s%3fhttp://ad.doubleclick.net/dot.gif?[timestamp]"},"www.symantec.com":{type:"questionmarket",script:"http://amch.questionmarket.com/adsc/d438941/8/446321/randm.js?[randnum]",impression:"www.symantec.com"},"http://ad.doubleclick.net/imp;v1;f;205602900;0-0;0;28277294;1|1;27324746|27342625|1;;cs=r%3fhttp://ad.doubleclick.net/dot.gif?[timestamp]":{type:"questionmarket",script:"http://amch.questionmarket.com/adsc/d438941/8/446322/randm.js?[randnum]",impression:"http://ad.doubleclick.net/imp;v1;f;205602900;0-0;0;28277294;1|1;27324746|27342625|1;;cs=r%3fhttp://ad.doubleclick.net/dot.gif?[timestamp]"},"http://ad.doubleclick.net/ad/N1942.Kontera/B3233014;sz=1x1":{type:"questionmarket",script:"http://amch.questionmarket.com/adsc/d520617/5/521621/randm.js?[randnum]",impression:"http://ad.doubleclick.net/ad/N1942.Kontera/B3233014;sz=1x1"},"http://ad.doubleclick.net/ad/N3340.kontera.com/B3250052;sz=1x1;ord=[timestamp]?":{type:"questionmarket",script:"http://amch.questionmarket.com/adsc/d520617/5/522301/randm.js?[randnum]",impression:"http://ad.doubleclick.net/ad/N3340.kontera.com/B3250052;sz=1x1;ord=[timestamp]?"},"http://ads.pointroll.com/PortalServe/?pid=708772U13920081222211357&pos=i&r=[RANDOM]":{type:"questionmarket",script:"http://amch.questionmarket.com/adsc/d530581/8/540321/randm.js?[randnum]",impression:"http://ads.pointroll.com/PortalServe/?pid=708772U13920081222211357&pos=i&r=[RANDOM]"},"http://www.cornrefiners.com":{type:"questionmarket",script:"http://amch.questionmarket.com/adsc/d530581/8/540322/randm.js?[randnum]",impression:"http://www.cornrefiners.com"},"http://www.DL_exposed.com":{type:"questionmarket",script:"http://amch.questionmarket.com/adsc/d615641/6/618682/randm.js",impression:"http://www.purwater.com/"},"http://www.DL_control_1.com":{type:"questionmarket",script:"http://amch.questionmarket.com/adsc/d615641/6/618681/randm.js",impression:"http://ad.doubleclick.net/ad/N3340.kontera.com/B3678987;sz=1x1;ord=[timestamp]?"},"http://www.DL_control_2.com":{type:"questionmarket",script:"http://amch.questionmarket.com/adsc/d615641/6/618681/randm.js",impression:"http://ad.doubleclick.net/ad/N3340.kontera.com/B3678987.2;sz=1x1;ord=[timestamp]?"},"http://www.OM_control.com":{type:"insightexpressai",script:"http://core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=150096",impression:"http://altfarm.mediaplex.com/ad/bn/9700-81203-13598-0?mpt=[CACHEBUSTER]"},"http://www.OM_exposed_1.com":{type:"insightexpressai",script:"http://core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=149716",impression:"http://ad.doubleclick.net/imp;v1;f;215691195;0-0;0;37426879;1|1;31865184|31883060|1;;cs=h%3fhttp://ad.doubleclick.net/dot.gif?[timestamp]"},"http://www.OM_exposed_2.com":{type:"insightexpressai",script:"http://core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=149716",impression:"http://ad.doubleclick.net/imp;v1;f;215691241;0-0;0;38014450;1|1;31865184|31883060|1;;cs=z%3fhttp://ad.doubleclick.net/dot.gif?[timestamp]"},"http://www.kohl_exposed_1.com":{type:"insightexpressaiKohl",script:"http://core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=150685",impression:"http://view.atdmt.com/UNY/view/158180780/direct/01/"},"http://www.kohl_exposed_2.com":{type:"insightexpressaiKohl",script:"http://core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=150684",impression:"http://view.atdmt.com/UNY/view/158182642/direct/01/"},"http://www.kohl_exposed_3.com":{type:"insightexpressaiKohl",script:"http://core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=150661",impression:"http://view.atdmt.com/UNY/view/158182640/direct/01/"},"http://www.kohl_control.com":{type:"insightexpressaiKohl",script:"http://core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=150662",impression:""}},b=function(h){var f="";for(var e in d){if(h==e){var g=d[e];type=g.type;script=g.script;impression=g.impression;if(impression.length>0){f="http://clearPixel#*#url#=#"+impression+"#|##+#"}f+="http://survey#*#scriptType#=#"+type+"#|#scriptSrc#=#"+script+"#|#";return f;break}}return h},a=function(f){for(var e in d){if(f==e){return true}}return false};return{getOldSurvey:function(e){return b(e)},isOldSurvey:function(e){return a(e)}}}();var SpecialTypeHandler_survey=function(){this.run=function(a,b){a.infoObj.surveyObject=SurveyFactory.create(b);a.infoObj.surveyObject.run=function(){a.infoObj.surveyObject.implementSurvey()}};this.register=function(a){a.survey={self:this,func:this.run}}};var SpecialTypeHandler_expandable=function(){this.run=function(a,b){globalFacade.create_newExpanable();var c=a.expandableInfo();c.campainId=globalFacade.parseParams("campaign",b);if(!c.layerLoaded){c.layerLoaded=true;a.callAddExpandableContentInfo(b)}};this.register=function(a){a.expandable={self:this,func:this.run}}};var SpecialTypeHandler_floating=function(){this.run=function(a,b){globalFacade.create_newExpanable();var c=a.borderlessInfo();c.campainId=globalFacade.parseParams("campaign",b);if(!c.layerLoaded){c.layerLoaded=true;a.callAddExpandableContentInfo(b)}};this.register=function(a){a.floatingUnit={self:this,func:this.run}}};var SpecialTypeHandler_clearPixel=function(){this.run=function(a,b){var d=globalFacade.getAllSpecialTypeParams(b);var c=new Array();for(j=0;j<d.length;j++){c.push(globalFacade.parseParams("url",(d[j])))}a.specialTypeCollector(c)};this.register=function(a){a.clearPixel={self:this,func:this.run}}};var SpecialTypeHandler_clickDelayTime=function(){this.run=function(a,b){a.infoObj.clearPixelClickDelayTime=globalFacade.parseParams("delayTime",b)};this.register=function(a){a.clickDelayTime={self:this,func:this.run}}};var SpecialTypeHandler_muteSound=function(){this.run=function(a,b){a.infoObj.muteSoundOnHide=globalFacade.parseParams("mute",b)};this.register=function(a){a.muteSound={self:this,func:this.run}}};var SpecialTypeHandler_3rdPartyDynamicIframe=function(){this.run=function(d,e){d.infoObj.thirdPartyIframeObject=a(c(e),d)};this.register=function(d){d["3rdPartyDynamicIframe"]={self:this,func:this.run}};var c=function(g){var f=globalFacade.getAllSpecialTypeParams(g);var h={};var d,k;for(var e in f){if(typeof(f[e])!="function"){d=f[e].split("#=#")[0];k=f[e].split("#=#")[1];h[d]=k}}return h};var a=function(q,m){var d=b(q,"type");var h=b(q,"scriptSrc");var g=b(q,"clickurl");var e=""+b(q,"escapeClickUrl");var l=((b(q,"enableClickOnKW"))=="true"||(b(q,"enableClickOnKW"))==true)?true:false;var u="<style>body{margin:0;padding:0;}</style>";var n="";for(var k in q){if(k.length==0){continue}n+="var "+k+" = "+((isNaN(parseInt(q[k])))?("'"+q[k]+"'"):(q[k]))+";\n"}var f="";if(n.length>0){if(typeof(g)=="string"){var t=(m.infoObj.get3rdPartyClickRedirect(5,true));if(typeof(e)=="string"){if((e)=="false"){t=unescape(t)}}n+="var clickurl = '"+t+"';\n"}f+='<script language="javascript" type="text/javascript">';f+=n;f+="<\/script>"}f+='<script src="'+h+'" language="javascript"><\/script>';return{Style:u,Content:f,enableClickOnKW:l,Type:d}};var b=function(e,f){var d=e[f];delete (e[f]);return d}};var SpecialTypeHandler_3rdPartyIframeSrc=function(){this.run=function(e,f){e.infoObj.thirdPartyIframeObject=b(c(f),e)};this.register=function(e){e["3rdPartyIframeSrc"]={self:this,func:this.run}};var c=function(h){var g=globalFacade.getAllSpecialTypeParams(h);var k={};var e,l;for(var f in g){if(typeof(g[f])!="function"){e=g[f].split("#=#")[0];l=g[f].split("#=#")[1];k[e]=l}}return k};var b=function(q,n){var f=a(q,"type");var m=(a(q,"enableClickOnKW"));m=(m=="true"||m==true)?true:false;var g=a(q,"clickOnKWurl");var h=""+a(q,"escapeClickUrl");var l=(n.infoObj.get3rdPartyClickRedirect(5,true));if(typeof(h)=="string"){if((h)=="false"){tempClickUrl=unescape(l)}}var k={"[timestamp]":(new Date().getTime()),"[random]":(""+Math.random()).replace(".",""),"[keyword]":(n.infoObj.keyword),"[keywords]":(n.infoObj.keyword),"[clickurl]":l};var e=""+q.iframeSrc;for(var u in k){e=e.replace(u,k[u]);if(typeof(g)!="undefined"){g=g.replace(u,k[u])}}var t={IframeSrc:e,enableClickOnKW:m,Type:f};if(typeof(g)!="undefined"){t.clickonKWredirect=d(n,g)}return t};var d=function(e,f){var g=(e.infoObj.get3rdPartyClickRedirect(1,false));return(g+f)};var a=function(f,g){var e=f[g];delete (f[g]);return e}};var SpecialTypeHandler_3rdPartyDART=function(){this.run=function(e,f){e.infoObj.thirdPartyIframeObject=b(c(f),e)};this.register=function(e){e["3rdPartyDART"]={self:this,func:this.run}};var c=function(h){var g=globalFacade.getAllSpecialTypeParams(h);var k={};var e,l;for(var f in g){if(typeof(g[f])!="function"){e=g[f].split("#=#")[0];l=g[f].split("#=#")[1];k[e]=l}}return k};var b=function(m,l){var f=a(m,"type");var k=(a(m,"enableClickOnKW"));k=(k=="true"||k==true)?true:false;var h=(d(l,5,true));var g={"[timestamp]":(new Date().getTime()),"[random]":(""+Math.random()).replace(".",""),"[keyword]":(l.infoObj.keyword),"[keywords]":(l.infoObj.keyword),"[clickurl]":h};var e=""+m.iframeSrc;for(var q in g){e=e.replace(q,g[q])}var n={IframeSrc:e,enableClickOnKW:k,Type:f};return n};var a=function(f,g){var e=f[g];delete (f[g]);return e};var d=function(f,n,l){var g=f.infoObj.encodedRedirect;var m=g.length;var k=globalFacade.getReportString(f.infoObj,n,true,m,false);var h=g+k;if(l==true){var e=[];e[0]=h.split("?")[0];e[1]="?";e[2]="escaped_params=";e[3]=encodeURI(h.split("?")[1]);h=e.join("");e=null}h+="&pru=";return h}};var SpecialType_newType=function(){this.run=function(b){var d=b.infoObj.specialTypeString.split("#+#");b.infoObj.specialTypeString=null;for(p=0;p<d.length;p++){var c=d[p].split("#*#")[0].split("http://")[1];if(this.func_hash[c]){this.func_hash[c].func.apply(this.func_hash[c].self,[b,d[p]])}}};this.canHandle=function(b){return((b!=null&&(typeof(b)!="undefind"))&&((b.indexOf("#*#")!=-1)&&(b.indexOf("impression#=#")<0)))};this.func_hash={};var a=new SpecialTypeHandler_clearPixel();a.register(this.func_hash);a=new SpecialTypeHandler_expandable();a.register(this.func_hash);a=new SpecialTypeHandler_floating();a.register(this.func_hash);a=new SpecialTypeHandler_survey();a.register(this.func_hash);a=new SpecialTypeHandler_muteSound();a.register(this.func_hash);a=new SpecialTypeHandler_clickDelayTime();a.register(this.func_hash);a=new SpecialTypeHandler_3rdPartyDynamicIframe();a.register(this.func_hash);a=new SpecialTypeHandler_3rdPartyIframeSrc();a.register(this.func_hash);a=new SpecialTypeHandler_3rdPartyDART();a.register(this.func_hash)};var SpecialType_oldTypes=function(){var e=new SpecialType_newType();this.run=function(l){var q=l.infoObj.specialTypeString;if((q.indexOf("expandable_")==0)){var k=q.split("expandable_")[1];var u=oldExpandables.get(k);if(u){l.infoObj.specialTypeString=u;e.run(l)}return}if(q.indexOf("?setClickDelayTime")>=0){var m=q.substr(q.indexOf("?setClickDelayTime")+1).split("=");var t={setClickDelayTime:m[1]};var g=new SpecialTypeHandler_clickDelayTime();var n="http://clickDelayTime#*#delayTime#=#"+q.split("?setClickDelayTime=")[1]+"#|#";g.run(l,n);q=q.split("?setClickDelayTime")[0]}if(q.indexOf("?muteSound")>=0){var m=q.substr(q.indexOf("?muteSound")+1).split("=");var t={muteSound:m[1]};var h=new SpecialTypeHandler_muteSound();var n="http://muteSound#*#mute#=#"+q.split("?muteSound=")[1]+"#|#";h.run(l,n);q=q.split("?muteSound")[0]}if(OldSurveyFactory.isOldSurvey(b(q))){q=b(q);l.infoObj.specialTypeString=OldSurveyFactory.getOldSurvey(q);e.run(l);return}if(q.indexOf("impression#=#")>-1){q=b(q);l.infoObj.specialTypeString=q;e.run(l);return}q=c(l.infoObj,q);if(f(l)){return}if(a(l)){return}if(q!=null){l.infoObj.specialTypeString="http://clearPixel#*#url#=#"+q+"#|#";e.run(l)}};this.canHandle=function(g){return(!((typeof(g)=="undefind")||(g==null)||(g.length==0)))&&((g.indexOf("#*#")!=-1)==(g.indexOf("impression#=#")>=0))};var a=function(g){if(g.infoObj.isSpecialType("SPECIAL_TYPE_MICROSOFT_IE6")){var h=new msIe6Obj(g.id);g.infoObj.description=h.description;g.infoObj.title=h.title;g.infoObj.clickUrl=h.clickUrl;g.specialTypeCollector([h.impressionUrl]);g.infoObj.landingUrl=h.landingUrl;return true}return false};var f=function(g){if(g.infoObj.isSpecialType("SPECIAL_TYPE_MICROSOFT_IE8")){var h=new msIe8Obj(g.id);g.infoObj.description=h.description;g.infoObj.title=h.title;g.infoObj.clickUrl=h.clickUrl;g.specialTypeCollector([h.impressionUrl]);return true}return false};var d=function(l){for(var k in specialTypes){var h=specialTypes[k];for(var g=0;g<h.length;g++){if(specialTypes[k][g]==l){return true}}}return false};var b=function(h){if(h.indexOf("#impression#=#")==-1){return h}var g=h.split("impression#=#")[1].split("#|#")[0];var k=h.split("impression#=#"+g+"#|#")[0]+h.split(g+"#|#")[1];k="http://clearPixel#*#url#=#"+g+"#|##+#"+k;return k};var c=function(h,g){if(d(g)){if(isValidArgument(g)&&((g.indexOf("www.dartmotif.com")!=-1)||(g.indexOf("www.dart.com")!=-1)||(g.indexOf("www.mscashback.com")!=-1)||(g.indexOf("www.kosmix.com")!=-1)||(g.indexOf("hp_1")!=-1)||(g.indexOf("hp_2")!=-1))){g=g.split("#$#")[0];if((g.indexOf("www.kosmix.com")!=-1)){h.outerAdJavascriptUrl=KOSMIX_AD_URL+h.keyword+"?redir="+h.get3rdPartyClickRedirect(RE_MODE_LAYER_CLICK)}else{if(g.indexOf("hp_1")!=-1){h.outerAdJavascriptUrl=HP_1_AD_URL+";click="+h.get3rdPartyClickRedirect(RE_MODE_LAYER_CLICK)}else{if(g.indexOf("hp_2")!=-1){h.outerAdJavascriptUrl=HP_2_AD_URL+";click="+h.get3rdPartyClickRedirect(RE_MODE_LAYER_CLICK)}else{h.outerAdJavascriptUrl=g.split("#$#")[1]}}}}h.specialType=g;h.specialTypeString=null;return h.specialTypeString}return g}};var SpecialType_Strategy=function(){this.allTypes=[];this.handleSpecialTypeString=function(c){var a=new linkFacade(c);for(var b=0;b<this.allTypes.length;b++){if(this.allTypes[b].canHandle(a.infoObj.specialTypeString)){return this.allTypes[b].run(a)}}return false};this.allTypes.push(new SpecialType_newType());this.allTypes.push(new SpecialType_oldTypes())};var SpecialType_strategy=new SpecialType_Strategy();var linkFacade=function(a){this.infoObj=konaLinks.getInfo(a);this.id=a;this.callAddExpandableContentInfo=function(b){callAddExpandableContentInfo(this.id,b)};this.infoObj.specialTypeArray=new Array();this.specialTypeCollector=function(c){for(var b=0;b<c.length;b++){this.infoObj.specialTypeArray[b]=c[b]}};this.expandableInfo=function(){this.infoObj.expandableInfo=new expandableInfo();this.infoObj.clickStatus=new CheckClickStatus(this.infoObj);return this.infoObj.expandableInfo};this.borderlessInfo=function(){this.infoObj.borderlessInfo=new borderlessInfo();this.infoObj.clickStatus=new CheckClickStatus(this.infoObj);return this.infoObj.borderlessInfo}};var globalFacade=function(){return{create_newExpanable:function(){if(!newExpandKonaBuilder){newExpandKonaBuilder=new expandKonaBuilder()}},parseParams:function(a,b){return parseParams(a,b)},getAllSpecialTypeParams:function(a){return getAllSpecialTypeParams(a)},getReportString:function(c,e,a,d,b){return getReportString(c,e,a,d,b)}}}();function expandableInfo(){this.layerLoaded=false}function borderlessInfo(){this.layerLoaded=false}function getAllSpecialTypeParams(b){var a=(b.split("#*#")[1].split("#|#"));a.pop();return a}function checkSurveyLoaded(){if(typeof(InsightExpress)!="undefined"&&typeof(InsightExpress.onload)!="undefined"){InsightExpress.onload()}else{window.setTimeout("checkSurveyLoaded()",200)}}function surveyRunner(b){var c=konaLinks.getInfo(b);var a=c.surveyObject;this.overrideDocWrite=function(){document.write=function(d){}};this.checkDocWrite=function(){if((a)&&(typeof a.defineDocumentWrite=="function")&&(typeof a.defineDocumentWrite=="object")){return}this.overrideDocWrite()};this.surveySandbox=function(){if(!a){return}this.checkDocWrite();if(a.implementSurvey){a.implementSurvey()}};this.surveySandbox()}function parseParams(a,b){if(b.indexOf(a+"#=#")>-1){return b.split(a+"#=#")[1].split("#|#")[0]}else{return""}}var SurveyFactory=function(){createSurvey=function(a){if(typeof(a)!="string"){return}params=a;scriptType=parseParams("scriptType",params);switch(scriptType){case"vizu":return new survey_default_flow(params);break;case"insightexpressai":return new survey_insightexpressai(params);break;case"questionmarket":return new survey_questionmarket(params);break;case"insightexpressaiKohl":return new survey_insightexpressai_kohl_flow(params);break;case"doubleclick":return;break;default:return new survey_default_flow(params);break}};return{create:function(a){return createSurvey(a)}}}();var ISurvey=function(){this.sendHttpRequest=function(){if(this.impression.length>0){sendHttpRequest(this.impression.replace("[timestamp]",(new Date()).getTime()))}};this.addScriptToDynamicPage=function(b,c,a){if(this.scriptSrc.length>0){scriptRunner.loadScript(this.scriptSrc,true,b,c,a)}};this.implementSurvey=function(){konalog.error("no implementSurvey function !!")}};function survey_insightexpressai(a){this.params=a;this.scriptSrc=parseParams("scriptSrc",a);this.impression=parseParams("impression",a);this.implementSurvey=function(){this.sendHttpRequest();this.addScriptToDynamicPage(this.checkSurveyLoaded(),"",this.defineDocumentWrite)};this.checkSurveyLoaded=function(){if(typeof(InsightExpress)!="undefined"&&typeof(InsightExpress.onload)!="undefined"){InsightExpress.onload()}else{window.setTimeout(this.checkSurveyLoaded,200)}};this.defineDocumentWrite=function(c){var b=c.split('src="')[1];b=b.split('"')[0];scriptRunner.loadScript(b,true,"","",this.defineDocumentWrite)}}survey_insightexpressai.prototype=new ISurvey();function survey_questionmarket(a){this.params=a;this.scriptSrc=parseParams("scriptSrc",a);this.impression=parseParams("impression",a);this.implementSurvey=function(){if(!bIE){document.readyState="complete"}this.sendHttpRequest();this.addScriptToDynamicPage()}}survey_questionmarket.prototype=new ISurvey();function survey_insightexpressai_kohl_flow(a){this.params=a;this.scriptSrc=parseParams("scriptSrc",a);this.impression=parseParams("impression",a);this.kohlSpecialScript="<script type='text/javascript'> _qoptions={media:'ad',qacct:'p-8aek6VcGVNap6',labels:'_imp.adserver.doubleclick,_imp.publisher.%epid!,_imp.placement.%eaid!,_imp.creative.%ecid!'};<\/script><script type='text/javascript' src='http://edge.quantserve.com/quant.js'><\/script><noscript><img src='http://pixel.quantserve.com/pixel/p-8aek6VcGVNap6.gif?media=ad&labels=_imp.adserver.doubleclick,_imp.publisher.%epid!,_imp.placement.%eaid!,_imp.creative.%ecid!' style='display: none;' border='0' height='1' width='1' alt='Quantcast'/></noscript>";this.implementSurvey=function(){this.sendHttpRequest();this.addScriptToDynamicPage(this.checkSurveyLoaded(),"",this.defineDocumentWrite);this.implementKohlSpecialScript()};this.implementKohlSpecialScript=function(){kona$("konasapn0").innerHTML+=this.kohlSpecialScript};this.checkSurveyLoaded=function(){if(typeof(InsightExpress)!="undefined"&&typeof(InsightExpress.onload)!="undefined"){InsightExpress.onload()}else{window.setTimeout(this.checkSurveyLoaded,200)}};this.defineDocumentWrite=function(c){var b=c.split('src="')[1];b=b.split('"')[0];scriptRunner.loadScript(b,true,"","",this.defineDocumentWrite)}}survey_insightexpressai_kohl_flow.prototype=new ISurvey();function survey_default_flow(a){this.params=a;this.scriptSrc=parseParams("scriptSrc",a);this.impression=parseParams("impression",a);this.implementSurvey=function(){this.sendHttpRequest();this.addScriptToDynamicPage()}}survey_default_flow.prototype=new ISurvey();function ImpressionType(b,c,a){this.name=b;this.startTime=c;this.endTime=a;this.layerCur=-1;this.markType=function(d,f,e){if(d>=this.startTime&&d<this.endTime){this.layerCur++;reportLayerImpression(f,e);return true}return false}}function ImpressionDaoFunc(){this.impression_types=new Array();this.impression_types.push(new ImpressionType(0,0,1000*60*10));this.impression_types.push(new ImpressionType(1,1000*60*10,Number.MAX_VALUE));this.adlinkShowTime=null;this.pixelTimers=null;this.adlinksShown=function(){this.adlinkShowTime=new Date();this.pixelTimers=new Array(konaLinks.size());fillArray(this.pixelTimers,null)};this.adlinkSwitched=false;this.descIndex=-2;this.adlinkIndex=-1;this.size=aInfoUnits[0].dcAL_number+1;this.imageArray=new Array(this.size);this.triggerFlag=-1;this.trigger=function(){return false};this.reset=function(){for(var a=0;a<this.imageArray.length;a++){this.imageArray[a]=null}};this.getParams=function(){return"&p="+dc_PublisherID+"&al="+this.adlinkIndex+"&dn="+this.descIndex+"&url="+document.location.href};this.adlinkChanged=function(a){this.clearTime();if(this.adlinkIndex!=a){this.reset();this.adlinkSwitched=true}else{this.adlinkSwitched=false}this.adlinkIndex=a;this.descIndex=-1};this.descChanged=function(b,a){if(b==this.descIndex){return}this.descIndex=b;this.clearTime()};this.pixelTimeout=function(c){var b=konaLayers.getLayerObj(c);if(b.isShown){var a=konaLinks.getInfo(c);a.reportPixelImpression(c)}};this.layerShown=function(a){linkInfo=konaLinks.getInfo(a);if(linkInfo.isRM()&&linkInfo.needsPixelImpression()){this.pixelTimers[a]=window.setTimeout("impressions.pixelTimeout("+a+")",linkInfo.rmValidViewTime)}};this.layerClosed=function(a){if(adPreviewMode){return}if(this.pixelTimers[a]!=null){window.clearTimeout(this.pixelTimers[a]);this.pixelTimers[a]=null}if(a>=0&&konaLinks.getInfo(a)){this.reportImpression(a)}};this.closeImpressionArr=new Array();this.wasCloseImpression=function(a){if(!this.closeImpressionArr[a]){this.closeImpressionArr[a]=true;return false}else{return true}};this.reportImpression=function(d){var a=konaLinks.getInfo(d);if(a&&a.encodedLayerImps!=null){var c=(new Date()).getTime()-this.adlinkShowTime.getTime();for(var b=0;b<this.impression_types.length;b++){if(this.impression_types[b].markType(c,d,0)){break}}a.reportPixelImpression(d)}};this.clearTime=function(){};this.reset()}var impressions;function reportLayerImpression(a,b){if(!adPreviewMode){konaLinks.getInfo(a,b).reportLayerImpression(a,b)}}function getReportString(c,g,a,f,b){var e="&rparam&wi="+c.parentLink.wordIndex+"&wo="+c.parentLink.IEwordNumber+"&mod="+konaTweakMode+(isExternalPublisher?("&ei="+dc_ExtId):"");if(g!=null){e+="&ct="+getReportingClickType(g)}konaRequestId=(String.format("{0}_{1}_{2}",(!isExternalPublisher?dc_PublisherID:extConvertedPubId),sUnique,sRandomPerPage)).replace(".","");e+="&rId="+konaRequestId;if(prev_page!=""){e+=String.format("&prev_page={0}",prev_page)}if(typeof(dc_ChannelID)!="undefined"&&dc_ChannelID!=null){e+=String.format("&cId={0}",dc_ChannelID)}if(c.isRM()&&c.isDirect()){if(c.parentLink.clickDelayHoverTime){e+="&cdht="+c.parentLink.clickDelayHoverTime}if(c.parentLink.clickDelayForDataLoaded){e+="&cddl="+c.parentLink.clickDelayForDataLoaded}}if(a){if(!IsKonaLayerExist(c.parentLink.wordIndex)){e+="&vt=0"}else{if(konaLinks.get(c.parentLink.wordIndex).IsNewExpandableLayer()&&konaLayers.isExpandBig(c.parentLink.wordIndex)){e+="&vt="+konaLayers.getLayerObj(c.parentLink.wordIndex).expandViewTime}else{e+="&vt="+konaLayers.getLayerObj(c.parentLink.wordIndex).getTotalOpenTime()}}}if(b==null||typeof(b)=="undefined"||b!=false){if(g&&bIE){var d="&ti="+escape(c.title);if((f+e.length+d.length)<MAX_CHARS_FOR_TE_REQUEST){e+=d}d="&de="+escape(c.description);if((f+e.length+d.length)<MAX_CHARS_FOR_TE_REQUEST){e+=d}d="&la="+escape(c.landingUrl);if((f+e.length+d.length)<MAX_CHARS_FOR_TE_REQUEST){e+=d}}else{e+="&ti="+escape(c.title)+"&de="+escape(c.description)+"&la="+escape(c.landingUrl)}}return e}function getReportingClickType(a){return a}function reportMissingAds(a){return}function KonaLinks(){this.links=new Array();this.get=function(a){if(this.links.length>a){return this.links[a]}return null};this.getNode=function(a){return kona$("KonaLink"+a)};this.getInfo=function(c,a){var b=this.get(c);if(b!=null){return b.getInfo(a)}return null};this.addLink=function(a){this.links.push(a)};this.removeLink=function(a){this.links.splice(a,1)};this.size=function(){return this.links.length};this.clear=function(){this.links=new Array()};this.prepareLinks=function(){this.filterLinks();this.sortByOffset()};this.resetLinks=function(a){this.links=a;this.prepareLinks()};this.sortByOffset=function(){if(konaLinks.size()==0){return}this.links.sort(function(d,c){return(d.getWordNumber()-c.getWordNumber())});for(var a=0;a<konaLinks.size();a++){konaLinks.get(a).setIndex(a)}};this.filterLinks=function(){for(var b=konaLinks.size()-1;b>=0;b--){for(var a=0;a<linksLimitingPercentage.length;a++){if(linksLimitingPercentage[a][0]==konaLinks.get(b).highlighttext.toLowerCase()){if(Math.random()*100>=linksLimitingPercentage[a][1]){this.removeLink(b);break}}}}};this.ensureLinksVisibility=function(){for(var a=0;a<this.links.length;a++){this.ensureBorderVisibility(a)}};this.ensureBorderVisibility=function(a){var d=this.getNode(a);var e=this.getLineBottomSpace(d);if(e<0){var c=d.offsetHeight+(-1)*e*2;var b=bIE?d.runtimeStyle:d.style;b.lineHeight=c+"px"}};this.getLineBottomSpace=function(a){var d=getBoxXYpositions(a);var b=a;while(b!=null){if(getKonaComputedStyleProp(b,"display")=="block"){break}b=b.parentNode}if(b!=null){var c=getBoxXYpositions(b);return c.bottom-d.bottom}}}function KonaLayerTopNode(a,b){this.node=kona$(b);this.layer=a;this.show=function(){if(a.isUp){this.layer.setImage(this.node,"top_curve",false,"image");this.node.className="top_curve"}else{if(a.isRight){this.layer.setImage(this.node,"drop_top_curve_right");this.node.className="drop_top_curve_right"}else{this.layer.setImage(this.node,"drop_top_curve");this.node.className="drop_top_curve"}}};this.floatNode=function(){if(a.isUp){}else{if(a.isByClick){this.layer.setImage(this.node,"top_curve",false,"image")}else{this.layer.setImage(this.node,"drop_box_top_drag")}if(a.isByClick){this.node.className="top_curve"}}};this.onDragStart=function(){};this.onDragEnd=function(){};this.nodeMouseOver=function(){};this.nodeMouseOut=function(){}}function KonaLayerBottomNode(a,b){this.node=kona$(b);this.layer=a;this.show=function(){if(a.isUp){if(a.isRight){this.layer.setImage(this.node,"box_bottom_right");this.node.className="konaBottomBox_Right"}else{this.layer.setImage(this.node,"box_bottom");this.node.className="konaBottomBox"}}else{this.layer.setImage(this.node,"box_bottom_drag");this.node.className="konaBottomBox_drag"}};this.nodeMouseOver=function(){var c=(!this.layer.isByClick&&!this.layer.isStick);if(a.isUp){if(c){if(a.isRight){this.layer.setImage(this.node,"box_bottom_right_o")}else{this.layer.setImage(this.node,"box_bottom_o")}}else{this.layer.setImage(this.node,"box_bottom_drag_o")}}else{this.layer.setImage(this.node,"box_bottom_drag_o")}};this.nodeMouseOut=function(){var c=(!this.layer.isByClick&&!this.layer.isStick);if(a.isUp){if(c){if(a.isRight){this.layer.setImage(this.node,"box_bottom_right")}else{this.layer.setImage(this.node,"box_bottom")}}else{this.layer.setImage(this.node,"box_bottom_drag")}}else{this.layer.setImage(this.node,"box_bottom_drag")}};this.floatNode=function(){if(a.isUp){this.layer.setImage(this.node,"box_bottom_drag")}if(a.isUp){this.node.className="konaBottomBox_drag"}};this.onDragStart=function(){this.nodeMouseOver()};this.onDragEnd=function(){}}function KonaLayerBox(a,b){this.node=kona$(b);this.layer=a;this.show=function(){this.layer.setImage(this.node,"box",false)};this.floatNode=function(){this.nodeMouseOut()};this.nodeMouseOut=function(){this.layer.setImage(this.node,"box",false)};this.nodeMouseOver=function(){this.layer.setImage(this.node,"box_o",false)};this.onDragStart=function(){this.nodeMouseOver()};this.onDragEnd=function(){}}function KonaLayerTopBox(a,b){this.node=kona$(b);this.layer=a;this.show=function(){this.layer.setImage(this.node,"top_box",false)};this.floatNode=function(){this.nodeMouseOut()};this.nodeMouseOut=function(){this.layer.setImage(this.node,"top_box",false)};this.nodeMouseOver=function(){this.layer.setImage(this.node,"top_box_o",false)};this.onDragStart=function(){this.nodeMouseOver()};this.onDragEnd=function(){}}function KonaLayerBoxSeparator(a,b){this.node=kona$(b);this.layer=a;this.show=function(){this.layer.setImage(this.node,"box_separator",false)};this.floatNode=function(){this.nodeMouseOut()};this.nodeMouseOut=function(){this.layer.setImage(this.node,"box_separator",false)};this.nodeMouseOver=function(){this.layer.setImage(this.node,"box_separator_o",false)};this.onDragStart=function(){this.nodeMouseOver()};this.onDragEnd=function(){}}function KonaPlate(c,b,a){this.num=b;this.actionNodes=a;this.layer=c;this.show=function(){for(var d=0;d<this.actionNodes.length;d++){this.actionNodes[d].show()}};this.floatPlate=function(){for(var d=0;d<this.actionNodes.length;d++){this.actionNodes[d].floatNode()}};this.plateMouseOver=function(){if(konaLinks.get(c.num).IsMotifLayer(this.num)||konaLinks.get(c.num).isKosmix(this.num)||konaLinks.get(c.num).isHP(this.num)){return}if(konaLinks.get(c.num).IsNewExpandableLayer()){smallLayerOverOut(c.num,"Over");return}for(var d=0;d<this.actionNodes.length;d++){this.actionNodes[d].nodeMouseOver()}};this.plateMouseOut=function(){if(konaLinks.get(c.num).IsNewExpandableLayer()){smallLayerOverOut(c.num,"Over");return}for(var d=0;d<this.actionNodes.length;d++){this.actionNodes[d].nodeMouseOut()}};this.onDragStart=function(){for(var d=0;d<this.actionNodes.length;d++){this.actionNodes[d].onDragStart()}};this.onDragEnd=function(){for(var d=0;d<this.actionNodes.length;d++){this.actionNodes[d].onDragEnd()}}}function KonaLayer(num,layerType){this.plates=null;if(num!=movieLayerIndex){this.node=kona$(KONA_LAYER_ID+num)}else{this.node=kona$(KONA_MS_MOVIE_LAYER_ID)}if(!konaLinks.get(num).IsNewExpandableLayer()&&!konaLayers.isMScashback(num)){this.handleNode=kona$("konaHandle0-"+num)}else{if(num==movieLayerIndex){this.handleNode=kona$("konaBigFlashDrag0-"+num)}else{this.handleNode=kona$("konaFlashDrag0-"+num)}}this.logoNode=kona$("konaLayerLogo0-"+num);this.actionNode=kona$("konaActionBlock0-"+num);this.isStick=false;this.isActive=false;this.isShown=false;this.scrollDone=!bIE;this.hidingTimer=null;this.num=num;this.isRight=false;this.isUp=true;this.isByClick=(konaLinks.getInfo(num,0).konaLayerMode==LAYER_MODE_CLICK);this.lastSourceBox=null;this.totalOpenTime=0;this.openedTime=0;this.selectedTab=0;this.linkInfo=null;this.invalid=false;this.expandViewTime=0;this.init=function(){var actionNodes=new Array();this.plates=new Array();this.linkInfo=konaLinks.getInfo(this.num);if(!konaLayers.IsMotifLayer(this.num)&&!konaLayers.isMScashback(this.num)&&!konaLinks.get(this.num).IsNewExpandableLayer()&&!konaLayers.isKosmix(this.num)&&!konaLayers.isHP(this.num)){switch(konaLayers.isShowSearch(this.num)){case false:actionNodes.push(new KonaLayerBottomNode(this,"konaBottom0-"+this.num));actionNodes.push(new KonaLayerTopNode(this,"konaTopCurve0-"+this.num));actionNodes.push(new KonaLayerTopBox(this,"konaBox0-"+this.num));this.plates.push(new KonaPlate(this,0,actionNodes));break;case true:actionNodes.push(new KonaLayerTopNode(this,"konaTopCurve0-"+this.num));actionNodes.push(new KonaLayerTopBox(this,"konaBox0-"+this.num));actionNodes.push(new KonaLayerBoxSeparator(this,"konaBoxSeparator0-"+this.num));this.plates.push(new KonaPlate(this,0,actionNodes));actionNodes=new Array();actionNodes.push(new KonaLayerBox(this,"konaTabsBox"+this.num));actionNodes.push(new KonaLayerBottomNode(this,"konaBottom1-"+this.num));this.plates.push(new KonaPlate(this,1,actionNodes));break}}else{if(konaLayers.IsMotifLayer(this.num)||konaLayers.isKosmix(this.num)||konaLayers.isHP(this.num)){actionNodes.push(new KonaLayerBottomNode(this,"konaBottom0-"+this.num));actionNodes.push(new KonaLayerTopNode(this,"konaTopCurve0-"+this.num));actionNodes.push(new KonaLayerTopBox(this,"konaBox0-"+this.num));this.plates.push(new KonaPlate(this,0,actionNodes))}else{this.plates.push(new KonaPlate(this,0,actionNodes))}}};this.close=function(){this.hide();this.isStick=false};this.tabSelected=function(cur){if(cur!=this.selectedTab){var tab=kona$("konaTab"+this.selectedTab+"-"+this.num);tab.className="";tab=kona$("konaTab"+cur+"-"+this.num);tab.className="selected";this.selectedTab=cur}};this.hide=function(){clearTimeout(this.hidingTimer);konaRichMedia.hide(this.num);if(this.node!=null){this.node.style.visibility="hidden"}if(this.isShown){this.totalOpenTime+=(new Date()).getTime()-this.openedTime}this.isShown=false;this.isActive=false};this.invalidate=function(){this.invalid=true};this.getTotalOpenTime=function(){if(this.invalid){return 0}else{return this.totalOpenTime+(this.isShown?(new Date()).getTime()-this.openedTime:0)}};this.setImage=function(node,imageName,asIEBackground,sizingMethod){var imageUrl=this.getPic(imageName);if(!sizingMethod){if(typeof(asIEBackground)!="undefined"){var sizingMethod="crop"}else{var sizingMethod="scale"}}if(bIE&&(typeof(asIEBackground)=="undefined"||!asIEBackground)){node.runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+imageUrl+"',sizingMethod='"+sizingMethod+"')"}else{node.style.backgroundImage="url("+imageUrl+")"}};this.show=function(xy){this.positionLayer(xy);this.node.style.visibility="visible";for(var i=0;i<this.plates.length;i++){this.plates[i].show(this.isRight,this.isUp)}if(this.isUp){if(this.logoNode){this.logoNode.className="imgBanner"}}else{if(this.logoNode){this.logoNode.className="imgBanner_down"}}if(this.isByClick){this.floatLayer()}this.lastSourceBox=xy;this.coordinateLayer();this.node.style.zIndex=dc_z_index;this.node.style.display="";this.isShown=true;this.openedTime=(new Date()).getTime();var link=konaLinks.get(this.num);if(!link.wasTotlCalc&&link.hasGoodLinkInfo()&&link.usedFetchMethod!=TE_AUTO_FETCH){link.setShowAddTotalTime((new Date()).getTime()-link.linkHoverStartTime)}if(bIE){setTimeout("playRM('"+this.num+"')",100)}else{konaRichMedia.show(this.num)}};this.coordinateLayer=function(){var _xy=this.getLayerPosition(this.lastSourceBox,this.isUp,this.isRight,this.isByClick?getScreenBox():null);this.node.style.left=_xy.left+layerOffsetLeftAddition+"px";this.node.style.top=_xy.top+"px";this.node.style.position="absolute"};this.positionLayer=function(xy){var layer=this.node;var screenBox=getScreenBox();var yUpDiff=(xy.top-screenBox.top)-layer.offsetHeight;var yDownDiff=(screenBox.bottom-xy.bottom)-layer.offsetHeight;var areas=[true,true,true,true];var isUp=true;var isRight=false;if(yUpDiff>0){areas[1]=false;areas[2]=false}else{isUp=false;areas[0]=false;areas[3]=false}var xLeftOffset=(xy.right-screenBox.left)-layer.offsetWidth;var xRightOffset=(screenBox.right-xy.left)-layer.offsetWidth;if(xLeftOffset<0&&xLeftOffset<xRightOffset){isRight=false;areas[2]=false;areas[3]=false}else{if(xRightOffset<0){isRight=true;areas[0]=false;areas[1]=false}}var _xy=null;var _isRight,_isUp;var areaOrder=this.isByClick?[2,3,0,1]:layerAreaOrder;var j=0;for(var i=0;i<areas.length;i++){j=areaOrder[i];if(areas[j]){_isRight=j>1;_isUp=(j%3)==0;_xy=this.getLayerPosition(xy,_isUp,_isRight,screenBox);if(docBadRanges.matchProblematicBoxes(_xy)){areas[j]=false}else{isRight=_isRight;isUp=_isUp;break}}}this.setLocation(isRight,isUp)};this.correctRightPosition=function(){var linkInfo=konaLinks.getInfo(this.num);if((linkInfo.borderlessInfo||linkInfo.expandableInfo)&&(parseInt(linkInfo.expandableSmallWidth)<280)){return parseInt(linkInfo.expandableSmallWidth)}return 280};this.getLayerPosition=function(xy,isUp,isRight,screenBox){var _xy=new Positions(0,0,0,0);var originalT=this.node.offsetHeight;if(this.isByClick){_xy.top=(isUp?xy.top-originalT+(bIE?0:0):xy.bottom)}else{_xy.top=(isUp?xy.top-originalT:xy.bottom)}if(this.isByClick){_xy.left=((xy.right+xy.left)/2)-(this.node.offsetWidth/2);if(_xy.left<screenBox.left){_xy.left=screenBox.left}else{if(_xy.left+this.node.offsetWidth>screenBox.right){_xy.left=screenBox.right-this.node.offsetWidth}}}else{if(isRight){_xy.left=xy.left-this.correctRightPosition()}else{_xy.left=xy.left+Math.round((xy.right-xy.left)/2)-10}}var layer=this.node;_xy.right=_xy.left+layer.offsetWidth;_xy.bottom=_xy.top+layer.offsetHeight;return _xy};this.getPlatePosition=function(plateCur){switch(plateCur){case 0:return"TOP";case 1:return"BOTTOM"}};this.plateMouseOver=function(plateCur){clearTimeout(this.hidingTimer);var isHooked=(!this.isByClick&&!this.isStick);var platePos=this.getPlatePosition(plateCur);this.plates[plateCur].plateMouseOver();if(!this.isByClick){KonaDrag.init(this.handleNode,this.node)}};this.plateMouseOut=function(plateCur){var isHooked=(!this.isByClick&&!this.isStick);var platePos=this.getPlatePosition(plateCur);this.plates[plateCur].plateMouseOut();if(!this.isStick){this.setTimeout(this.linkInfo.isRM()?rmLayerOffOpenTime:infoUnit.dc_offCloseTime)}};this.adlinkMouseOver=function(){clearTimeout(this.hidingTimer)};this.adlinkMouseOut=function(){if(!this.isStick){this.setTimeout(this.linkInfo.isRM()?rmLayerOffOpenTime:infoUnit.dc_offCloseTime)}};this.floatLayer=function(){for(var i=0;i<this.plates.length;i++){this.plates[i].floatPlate()}};this.onDragStart=function(){this.floatLayer();this.plates[0].onDragStart()};this.onDragEnd=function(layerIndex){};this.setTimeout=function(time){clearTimeout(this.hidingTimer);this.hidingTimer=setTimeout("hideKonaLayer('"+this.num+"')",time)};this.setLocation=function(isRight,isUp){this.isRight=isRight;this.isUp=isUp};this.imageLoaded=function(){if(this.isShown){this.coordinateLayer()}};this.getPic=function(str){return eval("konaImages."+str+".src")};this.init()}function InfoUnit(ao,S,I,Y,m,aK,ap,R,P,X,T,K,v,av,t,H,E,aj,am,z,aW,ag,aJ,aa,u,az,f,D,aI,aH,af,ak,aS,w,c,au,J,aB,a,aV,aE,aq,aD,ah,G,ad,ab,aw,al,y,aM,L,aN,ac,C,aP,Z,d,M,B,aO,aQ,aF,O,g,an,k,W,F,N,ai,e,Q,aU,aL,x,V,ay,aT,A,at,l,aG,aC,U,q,aR,h,aA,ax,n,ar,ae,b){this.dc_width=ao;this.dc_height=S;this.dc_Keywords=I;this.dc_OutBorder=Y;this.dc_InBorder=m;this.dc_external_border=aK;this.dc_internal_border=ap;this.dc_bg_color1=R;this.dc_bg_color2=P;this.dc_AdLinkColor=X;this.dc_AdLinkBorderColor=T;this.dc_single_line=K;this.dc_useVPP=v;this.dcAL_number=av;this.dcAL_bgColor=t;this.dcAL_LY_showCaption=H;this.dcAL_LY_captionTxt=E;this.dcAL_LY_captionFontColor=aj;this.dcAL_LY_borderColor=am;this.dcAL_LY_bgColor=z;this.dcAL_LY_FontType=aW;this.dcAL_onMouseOvercolor=ag;this.dcAL_LY_titleActive=aJ;this.dcAL_LY_titleFontColor=aa;this.dcAL_LY_titleBold=u;this.dcAL_LY_titleFontSize=az;this.dcAL_LY_descActive=f;this.dcAL_LY_descFontColor=D;this.dcAL_LY_descFontSize=aI;this.dcAL_LY_urlActive=aH;this.dcAL_LY_urlFontColor=af;this.dcAL_LY_urlFontBold=ak;this.dcAL_LY_urlFontSize=aS;this.dcAL_explainActive=w;this.dcAL_explainText=c;this.dcAL_explainURL=au;this.dc_numberAds=J;this.dc_sm_type=aB;this.dc_default=a;this.dc_bg_img=aV;this.dc_align=aE;this.dc_show_caption=aD;this.dc_caption_text=aq;this.dc_caption_font=ah;this.dc_caption_font_size=G;this.dc_caption_font_color=ad;this.dc_caption_font_bgColor=ab;this.dc_show_title=aw;this.dc_title_font=al;this.dc_title_font_size=y;this.dc_title_font_bold=aM;this.dc_title_font_color=L;this.dc_show_description=aN;this.dc_description_font=ac;this.dc_description_font_size=C;this.dc_description_font_bold=aP;this.dc_description_font_color=Z;this.dc_show_url=d;this.dc_url_font=M;this.dc_url_font_size=B;this.dc_url_font_bold=aO;this.dc_url_font_color=aQ;this.dc_titLinesNumberFactor=aF;this.dc_descLinesNumberFactor=O;this.dc_descCharsFactor=g;this.dc_titCharsFactor=an;this.dc_caption_position=k;this.dc_adlinks_active=W;this.dc_ron=F;this.dc_adult=N;this.dc_PP_cap=ai;this.dc_PP_width=e;this.dc_PP_height=Q;this.dc_PP_under=aU;this.dc_adIndex=aL;this.dc_aff_id=x;this.dc_is_image=V;this.dc_open_new_win=ay;this.dc_delayTime=aT;this.dc_offCloseTime=A;this.dc_underlineType=at;this.dc_clickDelayTime=l;this.dc_adLinkClickAllowed=aG;this.dc_contentTag=aC;this.dc_contentTagAttr=U;this.dc_contentTagAttrVal=q.toLowerCase();this.dc_redirect3PartyUrl=aR;this.dc_effect_speed=h;this.dc_restrictedTag=aA;this.dc_restrictedTagAttr=ax;this.dc_restrictedTagAttrVal=n.toLowerCase();this.dc_maxLinks=parseInt(ar);this.dc_contentTags=ae;this.dc_restrictedTags=b}function Links(k,l,d,e,g,c,a,b,h,f){if(!a){a=""}if(!c||c.length==0){c=d}this.IEwordNumber=k;this.taxonomyKwd=l;this.highlighttext=d;this.wordNumber=e;this.isInTopic=g;this.dcAdlinkInfo=[];this.status=UNKNOWN;this.preloadTimeOut=null;this.preloadTimeOutID=null;this.autoFetch=false;this.LoadByDemandAdLinkData=LoadByDemandAdLinkData;this.marked=NOT_MARKED;this.wordIndex=-1;this.clicked=false;this.teCounter=0;this.teTimer=null;this.isPainted=false;this.goodAvertisers="";this.directAdvertiser="";this.badAdvertisers="";this.isDelayAdvertiser=false;this.hasYahooAdvertiser=false;this.isYahooFetched=false;this.yahooPreloadTimeOut=null;this.yahooAdvertisers="";this.sids=a;this.hasDirect=false;this.hasDirectOnly=false;this.taxonomyKey=c;this.usedFetchMethod=TE_UNFETCHED;this.linkType=b;this.cpcList=h;this.scoreList=f;this.mouseIsOverAdlink=false;this.linkHoverStartTime=0;this.clickDelayHoverTime=0;this.clickDelayFlashInit=0;this.clickDelayForDataLoaded=0;this.layerReadyStartTime;this.showAddTotalTime=0;this.wasTotlCalc=false;this.init=function(){this.parseSids()};this.parseSids=function(){var m;var u=this.sids.split(";");for(var n=0;u&&n<u.length;n++){var v=u[n];var t=v.split("|");var q=t[0];if(!q){continue}m=false;if(directAdsPrefetch==true){if(q.indexOf("8_",0)!=-1){m=true;directAdvertiser=q;this.hasDirect=true;if(u.length==1){this.hasDirectOnly=true}}}if(isInArray(yahooAdvertisers,q)){this.hasYahooAdvertiser=true;this.yahooAdvertisers+=v+";"}else{if(directAdsPrefetch==true&&!m){this.goodAvertisers+=v+";"}else{if(!m){this.goodAvertisers+=v+";"}}}if(q&&isInArray(delayAdvertisers,q)){this.isDelayAdvertiser=true}}};this.IsNewExpandableLayer=function(){return(this.dcAdlinkInfo[0].borderlessInfo||this.dcAdlinkInfo[0].expandableInfo)};this.IsMotifLayer=function(m){return this.dcAdlinkInfo[0].isSpecialType("SPECIAL_TYPE_MOTIFLAYER")};this.isMScashback=function(m){return this.dcAdlinkInfo[0].isSpecialType("SPECIAL_TYPE_MS_CASHBACK")};this.IsDartLayer=function(m){return this.dcAdlinkInfo[0].isSpecialType("SPECIAL_TYPE_DARTLAYER")};this.isKosmix=function(m){return this.dcAdlinkInfo[0].isSpecialType("SPECIAL_TYPE_KOSMIX")};this.isHP=function(m){return this.dcAdlinkInfo[0].isSpecialType("SPECIAL_TYPE_HP")};this.setLinkHoverStartTime=function(m){this.linkHoverStartTime=m};this.setShowAddTotalTime=function(m){this.showAddTotalTime=m;this.wasTotlCalc=true};this.fetched=function(m){if(m==TE_DYNAMIC_FETCH&&this.usedFetchMethod==TE_AUTO_FETCH){this.usedFetchMethod=TE_AUTO_DYNAMIC_FETCH}else{this.usedFetchMethod=m}};this.setIndex=function(m){this.wordIndex=m};this.getWordNumber=function(){var m=exhibits.isExhibit(this);return(fetchMethod==METHOD_TEXT_RANGE?this.IEwordNumber*(m?-1:1):this.wordNumber*(m?-1:1))};this.hasGoodLinkInfo=function(){return((this.dcAdlinkInfo.length>0)&&(this.dcAdlinkInfo[0]!=link_info_loading))};this.addInfo=function(n,m){this.dcAdlinkInfo[n]=m;m.setParentLink(this)};this.getInfo=function(m){if(typeof(m)=="undefined"){var m=0}return(this.dcAdlinkInfo.length>m?this.dcAdlinkInfo[m]:null)};this.isWouldBeDirect=function(){return(this.sids.indexOf("8")==0)};this.preLoader=null;this.init()}function konaPreloader(a){this.link=null;this.adlinkCur=null;this.isByClick=null;this.init=function(){this.link=a;this.adlinkCur=this.link.wordIndex;this.isByClick=(this.link.konaLayerMode==LAYER_MODE_CLICK);this.buildPreLoad()};this.hideAllPreLoaders=function(){var b;for(b=0;b<konaLinks.size();b++){if(kona$("preLoadLayer"+b)){this.hidePreLoad(b)}}};this.hidePreLoad=function(b){if(!this.isPreloaderOn()){return}if(b){i=b}else{b=this.adlinkCur}kona$("preLoadLayer"+b).style.display="none"};this.buildPreLoad=function(){if(this.isExistPreloader()){return}var e=this.getLink();var c=document.createElement("img");c.className="preloadImg";c.src=layerPreloadSrc;c.style.border="none";c.style.width=22+"px";c.style.height=22+"px";var d=document.createElement("div");d.id="preLoadLayer"+this.adlinkCur;d.appendChild(c);var b=document.createElement("span");b.id="preLoadWrap"+this.adlinkCur;b.className="preLoadWrap";b.appendChild(d);b.style.position="relative";d.style.position="absolute";d.style.zIndex=dc_z_index;d.style.top=bIE?"-22px":"-32px";d.style.left="-18px";d.style.display="inline";e.appendChild(b)};this.getLink=function(){return kona$("KonaLink"+this.adlinkCur)};this.isPreloaderOn=function(){if(this.isExistPreloader()){return kona$("preLoadLayer"+this.adlinkCur).style.display!="none"}return false};this.isExistPreloader=function(){return kona$("preLoadLayer"+this.link.wordIndex)!=null};this.init()}function checkClickDisableForPublishers(b){var a=konaLinks.getInfo(b);var d=[57830,39905,56116];var g=[77201,52271,50582,7959,50382,12532,85194,14108,18512,52417,65472,64722,5606,10875,34705,8242,13709];var f=[39,93,227,383,923,924,1220,1545,1733,1805,1995,1996,2352,2401,2650,2924,2986,2988,3062,3390,3456,3464,3525,4244,4389,4494,4576,5289,5624,5668,5671,5731,5735,5850,5974,6146,6511,6723,6740,6897,7759,7763,7903,8047,8079,8214,8235,8382,8707,9292,9377,9418,9515,9762,9830,9908,9937,9994,10176,10384,10427,10576,10905,10925,11065,11128,11159,11160,11252,11327,11435,11472,11566,11695,11851,12081,12143,12203,12367,12414,12492,12531,12563,12574,12608,13648,13801,13802,14116,14129,14188,14424,14427,14532,15309,15310,15650,15956,16004,16052,16400,17140,17666,19655,21418,34705,35062,35726,40109,44914,70093,70094,70095,73318,73322,73323,73324,73325,73327,73328,73329,73330,75000,77252,78646,78647,79048,81025,82045,82046,82047,82048,86626,86627,86628,87990];var e=[18134,64627];var c=((new Date()).getTime()-konaLinks.get(b).layerReadyStartTime);if((isInArray(g,dc_PublisherID)&&d[0]==a.searchProviderID)||(isInArray(f,dc_PublisherID)&&d[1]==a.searchProviderID)||(isInArray(e,dc_PublisherID)&&d[2]==a.searchProviderID)){if((c<=1000)||(!konaLinks.get(b).layerReadyStartTime)){return true}}return false}function getAdGroup(a){var e=-1;var d=new KonaHash("8_7142",1,"8_7143",1,"8_7144",1,"8_7145",1,"8_7146",1,"8_7147",1,"8_7148",1,"8_7149",1,"8_7150",1,"8_7151",1,"8_7152",1,"8_7153",1,"8_7154",1,"8_7155",1,"8_7156",1,"8_7157",1,"8_7158",1,"8_7159",1,"8_7160",1,"8_7161",1,"8_7162",1,"8_7163",1,"8_7164",1,"8_7165",1);var c=konaLinks.get(a).sids.split(";");for(var b=0;b<c.length;b++){if(d.hasItem(c[b])){e=c[b];break}}d=null;return e}function loadExternalScripts(b){if(aInfoUnits[0].dc_useVPP=="yes"){var a="http://js.vpptechnologies.com/DittoIA.jsh?pid=3933";loadScript(a,b)}}function updateYahooAdLinkLayer(a,d){var b=konaLinks.get(a);if(b.status==YAHOO_LOADING){b.teCounter+=200;if(b.teCounter>yahooLoadDataTimeOut){clearTimeout(b.teTimer);b.teCounter=0;b.status=LOADED;showListings(a,d,true)}else{var c="updateYahooTimedLayer("+a+","+d.left+","+d.right+","+d.top+","+d.bottom+")";b.teTimer=setTimeout(c,200)}}else{showListings(a,d,true)}}function updateYahooTimedLayer(b,f,c,e,a){var d=new Positions(0,0,0,0);d.left=f;d.top=e;d.right=c;d.bottom=a;updateYahooAdLinkLayer(b,d)}var KonaEventDispatcher=function(){var b=this,a={};b.addEventListener=function(c,d){if(!d instanceof Function){throw {message:"Listener isn't a function"}}if(!a[c]){a[c]=[d]}else{a[c].push(d)}};b.hasEventListener=function(c){return(a[c]!==undefined)};b.removeEventListener=function(d,e){if(!b.hasEventListener(d)){return false}if(!e){delete a[d]}for(var c=0;c<a[d].length;c++){if(a[d][c]===e){a.splice(c,1)}}};b.dispatchEvent=function(e,c){if(!b.hasEventListener(e)){return false}for(var d=0;d<a[e].length;d++){try{a[e][d](c)}catch(f){alert(f)}}};return b};var konaEvents=new KonaEventDispatcher();function CheckClickStatus(a){this.index=null;this.layer=null;this.clickDelayTime=null;this.init=function(){this.init=function(){};this.index=a.parentLink.wordIndex;this.layer=konaLayers.getLayerObj(this.index);this.clickDelayTime=a.clearPixelClickDelayTime};this.allowLayerClick=function(){this.init();var b=true;if(!a.flashIsReady||!a.allowClickAfterDelay){b=false}konalog.func("allowLayerClick link "+a.parentLink.wordIndex+"returned : "+b);return b};this.allowLinkClick=function(){this.init();var b=true;if(!a.flashIsReady||!a.allowClickAfterDelay){b=false}return b};this.resetInfoParams=function(){a.flashIsReady=false;a.allowClickAfterDelay=false;if(a.clickDelayTimeout!=undefined&&a.clickDelayTimeout!=null){clearTimeout(a.clickDelayTimeout);a.clickDelayTimeout=null}};return true}function LinkInfo(keyword,title,description,landingUrl,encodedRedirect,clickUrl,logoImageUrl,searchProviderID,imageUrl,adType,encodedLayerImps,clearPixelUrl,rmType,RMCreativeUrl,isGlobalClick,rmPlayerType,isCacheBusting,rmValidViewTime){var that=this;this.keyword=keyword;this.title=title;this.description=description;this.landingUrl=landingUrl;this.encodedRedirect=encodedRedirect;this.clickUrl=clickUrl;this.logoImageUrl=(doDemo&&adType!="LOAD")?"http://www.top-uk-web-design.com/g/sexy.jpg":!logoImageUrl||logoImageUrl=="null"||logoImageUrl==""?null:logoImageUrl;this.linkCPC=isValidArgument(searchProviderID)?(searchProviderID.split("$|$")[1]):0;this.searchProviderID=isValidArgument(searchProviderID)?(searchProviderID.split("$|$")[0]):null;this.imageUrl=typeof(imageUrl)=="undefined"||!imageUrl||imageUrl=="null"||imageUrl==""?null:IMAGE_BASE+imageUrl;this.adType=(doDemo&&adType!="LOAD")?("RM|"):(typeof(adType)=="undefined"?null:adType);this.encodedLayerImps=typeof(encodedLayerImps)=="undefined"?null:encodedLayerImps;this.rmType=typeof(rmType)=="undefined"?null:rmType;this.RMCreativeUrl=doDemo?("http://images.kontera.com/IMAGE_DIR/462/1296/11_07_35_2685535.swf"):(typeof(RMCreativeUrl)=="undefined"?null:RMCreativeUrl);if(this.RMCreativeUrl){var dot=this.RMCreativeUrl.lastIndexOf(".");this.creativeType=this.RMCreativeUrl.substring(dot+1).toLowerCase()}this.clearPixelClickDelayTime=0;this.allowClickAfterDelay=false;this.setClickDelayTime=this.clearPixelClickDelayTime?this.clearPixelClickDelayTime:null;this.isClickDelay=!(this.setClickDelayTime==0);this.flashIsReady=false;this.clickStatus=true;this.isClickOnRM=false;this.clearPixelUrl=clearPixelUrl;this.specialTypeString=clearPixelUrl;this.isGlobalClick=doDemo?false:(typeof(isGlobalClick)=="undefined"?null:(isGlobalClick==1?true:false));this.rmPlayerType=doDemo?1:(typeof(rmPlayerType)=="undefined"?null:rmPlayerType);this.isCacheBusting=doDemo?false:(typeof(isCacheBusting)=="undefined"?null:(isCacheBusting==1?true:false));this.rmValidViewTime=doDemo?0:(typeof(rmValidViewTime)=="undefined"?null:parseInt(rmValidViewTime)*1000);this.konaLayerMode=LAYER_MODE_POP;this.logoPosition=null;this.imagePosition=null;this.hasText=null;this.wasImpression=false;this.wasCaptureClick=false;this.wasPixelImpression=false;this.logoImage=null;this.image=null;this.parentLink=null;this._isRM=false;this._isSimpleFlash=false;this.kwdRegExp1=new RegExp("&lt;([b|u]{1,2}_){0,1}konakwd&gt;","ig");this.kwdRegExp2=new RegExp("<([b|u]{1,2}_){0,1}konakwd>","ig");this.httpRegExp=new RegExp("(http)","i");this.swfRegExp=new RegExp("\\.swf","i");this.feedType=null;this.price=null;this.init=function(){this.logoPosition=null;this.imagePosition=null;this.hasText=true;this._isRM=(this.adType!=null&&this.adType.indexOf("RM")!=-1);if(this._isRM){this._isSimpleFlash=(this.RMCreativeUrl.search(this.swfRegExp)!=-1)}if(this.adType!=null){this.adType=this.adType.split("|",2)[0];if(this.isSpecialType("SPECIAL_TYPE_DATA_CAPTURE")){this.clickUrl=""}}if(this.encodedRedirect!=null){this.encodedRedirect=this.encodedRedirect.replace(httpTEServRegExp,teReplacementStr)}if(this.encodedLayerImps!=null){this.encodedLayerImps=this.encodedLayerImps.replace(httpTEServRegExp,teReplacementStr)}if(!this.isDirect()){this.logoPosition="leftup";this.imagePosition="north";return}};this.addEventListener=function(eventName,f){konaEvents.addEventListener(eventName,function(args){var info=konaLinks.getInfo(args.layerIndex);if(info===that){f(args)}})};this.addEventListener("LAYER_FLASH_READY",function(args){that.flashIsReady=true;that.clickDelayTimeout=setTimeout(function(){konaEvents.dispatchEvent("LAYER_CLICK_DELAY",{layerIndex:+that.parentLink.wordIndex})},that.clearPixelClickDelayTime)});this.addEventListener("LAYER_CLICK_DELAY",function(args){that.allowClickAfterDelay=true});this.setParentLink=function(link){this.parentLink=link};this.declareOuterOnClick=function(){var result=true;result&=(!this.isSpecialType("SPECIAL_TYPE_NEW_YAHOO"));return result};this.prepareForShow=function(layerCur){this.fillDynamicFields();this.loadImages(layerCur)};this.fillDynamicFields=function(){this.title=this.fillDynamicText(this.title);this.description=this.fillDynamicText(this.description)};this.fillDynamicText=function(str){try{var regexp=this.kwdRegExp1;var tmp=str.match(regexp,"$1");if(tmp==null){regexp=this.kwdRegExp2;tmp=str.match(regexp,"$1")}if(tmp!=null&&tmp.length>0){tmp=tmp[0];var kwd=this.parentLink.highlighttext;if(tmp.indexOf("u")!=-1){kwd=firstLetterUpperCase(kwd)}if(tmp.indexOf("b")!=-1){kwd=" <b>"+kwd+"</b> "}else{kwd=" "+kwd+" "}return str.replace(regexp,kwd)}}catch(e){}return str};this.loadImages=function(layerCur){if(this.hasLogo()){this.logoImage=new Image();eval("this.logoImage.onload = function(){konaLayers.imageLoaded("+layerCur+")}");this.logoImage.src=this.getLogo()}if(this.hasImage()){this.image=new Image();eval("this.image.onload = function(){konaLayers.imageLoaded("+layerCur+")}");this.image.src=this.getImage()}};this.getCreativeUrl=function(){var imgUrl=KDAS_IMAGE_BASE;return(!this.isCompleteUrl(this.RMCreativeUrl)?(this.isWl()?KDAS_IMAGE_BASE_WL:imgUrl):"")+this.RMCreativeUrl};this.getLogo=function(){var imgUrl=KDAS_IMAGE_BASE;return(((this.isDirect()||this.isWl())&&!this.isCompleteUrl(this.logoImageUrl))?(this.isWl()?KDAS_IMAGE_BASE_WL:imgUrl):"")+this.logoImageUrl};this.getouterAdJavascriptUrl=function(){return this.outerAdJavascriptUrl};this.isCompleteUrl=function(url){return(url.search(this.httpRegExp)!=-1)};this.setLogo=function(url,addBase){this.logoImageUrl=(addBase?LOGO_IMAGE_BASE:"")+url};this.setLayerMode=function(mode){this.konaLayerMode=mode};this.getImage=function(){return this.imageUrl};this.isDirect=function(){if(adPreviewMode){return true}else{return(this.searchProviderID!=null&&(this.searchProviderID==8||this.searchProviderID=="8"))}};this.isWl=function(){return(this.searchProviderID!=null&&(this.searchProviderID==10||this.searchProviderID=="10"))};this.isSimpleFlash=function(){return this._isSimpleFlash};this.isSpecialType=function(type){var requestedType=specialTypes[type];for(typ=0;typ<requestedType.length;typ++){if(requestedType[typ]==this.specialType){return true}}return false};this.isAlternativeLayer=function(){return this.isSpecialType("SPECIAL_TYPE_SEARCH_INFO")||this.isSpecialType("SPECIAL_TYPE_SEARCH_WEBNARY")||this.isSpecialType("SPECIAL_TYPE_FREE_DICTIONARY")};this.isRM=function(){return this._isRM};this.isWithButtons=function(){return(this.rmPlayerType==1&&!this.isSimpleFlash())};this.getLayerType=function(){switch(this.adType){case"TRM1":return LAYER_TYPE_RM_LEFT;case"TRM2":return LAYER_TYPE_RM_TOP;case"RM":return LAYER_TYPE_RM_ONLY;case"LOAD":return LAYER_TYPE_LOADING;default:return LAYER_TYPE_SINGLE;break}};this.isEncodedAdvertiserUrl=function(clickType){if((this.getLayerType()==LAYER_TYPE_RM_ONLY)&&clickType!=RE_MODE_REGULAR&&this.isGlobalClick==false&&linkInfo.isClickOnRM){return true}if((clickType==1)&&(this.borderlessInfo||this.expandableInfo)&&(this.expandableLinkClickBehavior=="3rd")){return false}if((this.borderlessInfo||this.expandableInfo)&&(clickType==1||clickType==5)&&(this.expandableLinkClickBehavior=="second")){return false}if(this.isSpecialType("SPECIAL_TYPE_SEARCH_WEBNARY")||this.isSpecialType("SPECIAL_TYPE_SEARCH_INFO")||this.isSpecialType("SPECIAL_TYPE_FREE_DICTIONARY")||(this.borderlessInfo||this.expandableInfo)||this.isSpecialType("SPECIAL_TYPE_MICROSOFT_IE8")||this.isSpecialType("SPECIAL_TYPE_MICROSOFT_IE6")){return true}return false};this.getClickRedirect=function(clickType,isReport){var encodedStr=this.encodedRedirect;var advertiserUrl=isReport?"":(this.isEncodedAdvertiserUrl(clickType)?"&pru=":"&ru=")+this.clickUrl;var urlSize=encodedStr.length+advertiserUrl.length;var reportUrl=getReportString(this,clickType,true,urlSize);var url=encodedStr+reportUrl+advertiserUrl;return url};this.get3rdPartyClickRedirect=function(clickType,escaped){var encodedStr=this.encodedRedirect;var advertiserUrl="&pru=";var urlSize=encodedStr.length+advertiserUrl.length;var reportUrl=getReportString(this,clickType,true,urlSize,false);if(this.isSpecialType("SPECIAL_TYPE_KOSMIX")){var url=escape(encodedStr+reportUrl+advertiserUrl)}else{if(this.isSpecialType("SPECIAL_TYPE_HP")){var url=encodedStr+reportUrl+advertiserUrl}else{if(escaped!=null&&typeof(escaped)!="undefined"){var url=encodedStr+reportUrl;if(escaped==true){var combinedURL=[];combinedURL[0]=url.split("?")[0];combinedURL[1]="?";combinedURL[2]="escaped_params=";combinedURL[3]=encodeURI(url.split("?")[1]);url=combinedURL.join("");combinedURL=null}url+=advertiserUrl}}}return url};this.getRedirect=function(){return(this.encodedRedirect)};this.hasImage=function(){return(this.imageUrl!=null)};this.hasLogo=function(){return this.logoImageUrl!=null};this.reportLayerImpression=function(adlinkCur,descCur){if(this.wasImpression){return}this.wasImpression=true;if(isAddScriptToDynamicPageByIframe==false&&this.isSpecialType("SPECIAL_TYPE_EDMUNDS")){isAddScriptToDynamicPageByIframe=true;addScriptToDynamicPageByIframe("http://core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=29799")}var url=this.encodedLayerImps+getReportString(this,null,true)+"";sendHttpRequest(url)};this.reportCaptureClick=function(url){if(this.wasCaptureClick){return}this.wasCaptureClick=true;sendHttpRequest(url)};this.needsPixelImpression=function(){if(this.wasPixelImpression){return false}if(this.specialTypeArray.length>0){return true}return false};this.reportPixelImpression=function(adlinkCur,descCur){if(!this.needsPixelImpression()){return}this.wasPixelImpression=true;var clearPixRegExp=new RegExp("\\[timestamp\\]","g");for(i=0;i<this.specialTypeArray.length;i++){konalog.warn("impression url "+(i+1)+":"+this.specialTypeArray[i]);sendHttpRequest(this.specialTypeArray[i].replace(clearPixRegExp,(new Date()).getTime()))}};this.initExpandableParams=function(theCollectObj,theIndexArr){for(var i=0;i<theIndexArr.length;i++){eval("this."+theIndexArr[i]+"= '"+theCollectObj[theIndexArr[i]]+"'")}};this.init()}function showMotifLayer(b){var c=new Date().getTime();var e=konaLinks.getInfo(b,0);var d="";var a=e.getouterAdJavascriptUrl();a=a.replace("[timestamp]",c);if(konaLinks.getInfo(b).isSpecialType("SPECIAL_TYPE_HP")){if(e.specialType.indexOf("_2")!=-1){var d='<SCRIPT language="JavaScript1.1SRC="http://ad.doubleclick.net/adj/N5823.Kontera/B3677430.3;abr=!ie;sz=300x250;ord=[timestamp]?"></SCRIPT><NOSCRIPT><A HREF="http://ad.doubleclick.net/jump/N5823.Kontera/B3677430.3;abr=!ie4;abr=!ie5;sz=300x250;ord=[timestamp]?"><IMG SRC="http://ad.doubleclick.net/ad/N5823.Kontera/B3677430.3;abr=!ie4;abr=!ie5;sz=300x250;ord=[timestamp]?" BORDER=0 WIDTH=300 HEIGHT=250 ALT="Click Here"></A></NOSCRIPT>'}else{if(e.specialType.indexOf("_1")!=-1){var d='<SCRIPT language="JavaScript1.1SRC="http://ad.doubleclick.net/adj/N5823.Kontera/B3677430;abr=!ie;sz=300x250;ord=[timestamp]?"></SCRIPT><NOSCRIPT><A HREF="http://ad.doubleclick.net/jump/N5823.Kontera/B3677430;abr=!ie4;abr=!ie5;sz=300x250;ord=[timestamp]?"><IMG SRC="http://ad.doubleclick.net/ad/N5823.Kontera/B3677430;abr=!ie4;abr=!ie5;sz=300x250;ord=[timestamp]?" BORDER=0 WIDTH=300 HEIGHT=250 ALT="Click Here"></A></NOSCRIPT>'}}}var f='<iframe style="overflow:hidden;" src="'+a+'" width="300" height="250" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" borderCOLOR="#000000"></iframe>';document.getElementById("konteraMotifWrap"+b).innerHTML=f}function setTailPositionCashback(a){var d,b;switch(a){case"BL":d=85;b=0;break;case"BR":d=85;b=0;break;case"TL":d=85;b=35;break;case"TR":d=85;b=35;break}var c=new Array(d,b);return c}function showKonaFlashMScashback(b,a){showTail=true;tailStatus=b;var c=setTailPositionCashback(b);document.getElementById("konaFlashDrag0-"+a).style.left=c[0]+"px";document.getElementById("konaFlashDrag0-"+a).style.top=c[1]+"px";document.getElementById("konaFlashWrap0-"+a).style.display="inline";createMScashbackPlayer(b,a)}function createMScashbackPlayer(b,a){var c="konaMScashback.swf";var d=new SWFObject(""+FLASH_SWF_BASE+c,"konaFlashBubble"+a,"320","335","8","#ffffff");d.addParam("allowScriptAccess","always");d.addVariable("tail_direction",b);d.addVariable("adlinkID",a);d.addVariable("adWord",konaLinks.get(a).highlighttext);d.addVariable("campaign_info",konaLinks.getInfo(a).outerAdJavascriptUrl);d.addParam("wmode","transparent");d.write("konaFlashContent0-"+a);document.getElementById("konaFlashBubble"+a).style.width=320+"px"}function msIe8Obj(a){this.bType=getBrowserType();this.linkCur=a;this.title="LOOKING FOR A BETTER WEB EXPERIENCE?";this.description="Download Internet Explorer 8 and see for yourself how it compares to";this.clickUrl="http://clk.atdmt.com/MRT/go/159284058/direct;wi.1;hi.1/01/";this.impressionUrl="http://view.atdmt.com/MRT/view/159284058/direct;wi.1;hi.1/01/";this.init=function(){switch(this.bType){case 1:this.description="Upgrade to Internet Explorer 8 and see for yourself how it compares to Firefox.";this.clickUrl="http://clk.atdmt.com/MRT/go/159284060/direct;wi.1;hi.1/01/";this.impressionUrl="http://view.atdmt.com/MRT/view/159284060/direct;wi.1;hi.1/01/";break;case 2:case 22:case 23:this.description+=" Firefox.";break;case 3:this.description+=" Opera.";break;case 5:this.description+=" Chrome.";break;case 6:this.description+=" Flock.";break;case 99:this.description="Download Internet Explorer 8 now. It's faster, safer & easier than ever!";this.clickUrl="http://clk.atdmt.com/MRT/go/159284059/direct;wi.1;hi.1/01/";this.impressionUrl="http://view.atdmt.com/MRT/view/159284059/direct;wi.1;hi.1/01/";break;default:break}};this.init()}function msIe6Obj(a){this.bType=getBrowserType();this.linkCur=a;this.title="Upgrade To Internet Explorer 8.";this.description="Increased security and better performance. It's everything you want from a business-ready browser.";this.landingUrl="www.microsoft.com/ie8";this.clickUrl="http://clk.atdmt.com/MRT/go/148403146/direct/01/";this.impressionUrl="http://view.atdmt.com/MRT/view/148403146/direct/01/";this.init=function(){switch(this.bType){case 1:if(bIE6){this.title="Your Business-Ready Browser. Made Better.";this.description="Upgrade to Internet Explorer 8 today. Save time and mitigate security risk. Deploy it now."}break;case 99:this.description="Download Internet Explorer 8 now. It's faster, safer & easier than ever!";this.clickUrl="http://clk.atdmt.com/MRT/go/142214868/direct/01/";this.impressionUrl="http://view.atdmt.com/MRT/view/142214868/direct/01/";break;default:break}};this.init()}function hideFlashTail(a){document.getElementById("konaFlashBubble"+a).hide_flash_tail()}function callFromFlash(c){var d=c[0];var a=c[1];var b=c[2];if(a.toString()=="cashback"){switch(d.toString()){case"tail":showTail=false;break;case"info":location.href="http://www.kontera.com/";break;case"close":closeFlashKonaLayer(b);break;case"report":descriptionMouseClick(null,null,0,b);break;default:break}}return false}function closeFlashKonaLayer(a){if(konaLinks.getInfo(a).isSpecialType("SPECIAL_TYPE_GHOST")){konaLayers.getLayerObj(movieLayerIndex).totalOpenTime=0;konaLayers.getLayerObj(movieLayerIndex).openedTime=flashMovieOpenedTime;konaLinks.getInfo(movieLayerIndex).wasImpression=false;reportLayerImpression(movieLayerIndex,0)}closeKonaLayer(a)}function getKosmixClickUrl(b){var e=konaLinks.get(b);var f=konaLinks.getInfo(b);var a=e.dcAdlinkInfo;var d=unescape(f.clickUrl).split("#$#");if(d.length==0||a.length==0){return}var c=unescape(f.get3rdPartyClickRedirect(RE_MODE_REGULAR))+KOSMIX_URL+f.keyword+d[1];return c}function konaFlashRedirect(b,a){linkInfo.isClickOnRM=true;var d=konaRichMedia.getLayerCur(b);var c=konaLinks.getInfo(d);c.clickUrl=escape(a);descriptionMouseClick(null,null,0,d)}function showKonaThirdPartyIframe(a){if(kona$("konteraThirdPartyIframe"+a)){return}var c=konaLinks.getInfo(a).thirdPartyIframeObject;var e=kona$("konteraThirdPartyWrapper"+a);var f=document.createElement("iframe");f.setAttribute("id","konteraThirdPartyIframe"+a);f.style.position="relative";f.style.left=0+"px";f.style.top=0+"px";f.style.width=300+"px";f.style.height=250+"px";f.frameBorder=0;f.scrolling="no";f.style.overflow="hidden";if(c.IframeSrc){f.src=c.IframeSrc}else{f.src="about:blank"}e.appendChild(f);if(c.Content){var d;var b="<html><head>"+c.Style+"</head><body>"+c.Content+"</body></html>";setTimeout(function(){if(f.contentDocument){d=f.contentDocument}else{if(f.contentWindow){d=f.contentWindow.document}}d.open("text/html");if(!bIE8){d.writeln(b)}else{d.write(b)}if(getBrowserType()==2||getBrowserType()==22||getBrowserType()==23){d.close()}},0)}}function TestingInfo(){this.url="";this.initTime=0;this.analysisTime=0;this.markupTime=0;this.serverLinks=0;this.markedLinks=0;this.backupLinks=0;this.chunkNum=0;this.wasAnalysis=false;this.init=function(){this.url=document.location.href};this.setChunkTime=function(b){testingInfo.wasAnalysis=true;this.analysisTime+=b;this.chunkNum=pageInfo.cur+1;if(dc_showAlerts){var a={METHOD_TEXT_RANGE:"ProcessPage : ",METHOD_TREE:"Mozilla Walk : ",METHOD_JQUERY:"jQuery Walk : "};alert(a[fetchMethod]+b)}};this.setMarkupTime=function(a){this.markupTime=a;if(dc_showAlerts){alert("Marking : "+this.markupTime);alert("Backuped "+this.backupLinks+", Marked "+(this.markedLinks-this.backupLinks))}};this.setInitTime=function(a){testingInfo.initTime=a;if(dc_showAlerts){alert("konaInit : "+testingInfo.initTime)}};this.setMarkedNum=function(b,a){this.markedLinks=b;this.backupLinks=a};this.end=function(){createCookie("url",this.url,1);createCookie("it",this.initTime,1);createCookie("at",this.analysisTime,1);createCookie("mt",this.markupTime,1);createCookie("sl",this.serverLinks,1);createCookie("ml",this.markedLinks,1);createCookie("bl",this.backupLinks,1);createCookie("cn",this.chunkNum,1);createCookie("wa",this.wasAnalysis?1:0,1);createCookie("bt",getBrowserType(),1);loadScript(testCenterUrl,false)};this.init()}function TestInfo(a,b){this.name=a;this.timeStamp=b;this.values=new Array();this.addValue=function(e,d,c){this.values.push(new ValueInfo(e,d,c))}}function setAbTestCookie(c,e,a,b){var f=String.format("{0}{1}","konaAB",c);var d=String.format("{0}|{1}|{2}",e,a,b);createCookie(f,d,14)}function hasABTestCookie(e,d){var a=null;var g=String.format("{0}{1}","konaAB",e);var f=readCookie(g);if(f.length>0){var b=f.split("|");var c=new TestInfo(e,b[2]);if(c.timeStamp.toLowerCase()==d.toLowerCase()){a=new ValueInfo(b[0],null,b[1])}}return a}function initAbTest(testInfo){var valueInfo=null;try{valueInfo=hasABTestCookie(testInfo.name,testInfo.timeStamp);if(valueInfo){paramVal=valueInfo.value;konaTweakMode|=valueInfo.mask}else{var randNumber=Math.random()*100;var sumPercentage=0;var vInfo=null;for(var i=0;i<testInfo.values.length;i++){vInfo=testInfo.values[i];sumPercentage+=vInfo.percentage;if(randNumber<=sumPercentage){konaTweakMode|=vInfo.mask;setAbTestCookie(testInfo.name,vInfo.value,vInfo.mask,testInfo.timeStamp);valueInfo=vInfo;break}}}eval(validateAndSet(testInfo.name,valueInfo.value))}catch(err){}}function ContentTag(d,b,a,c){this.tagType=d;this.tagName=b;this.attributeName=a?a:"";this.attributeValue=c?c:"";this.init=function(){};this.isMatch=function(e){if(e.nodeName.toLowerCase()==this.tagName){if(this.attributeName.length==0){return true}return this.isAttrMatch(e)}return false};this.isAttrMatch=function(f){var e=null;e=f.getAttributeNode(this.attributeName);if(e!=null&&e.nodeValue&&((this.attributeValue.length==0)||e.nodeValue.toLowerCase().indexOf(this.attributeValue)!=-1)){return true}return false};this.init()}function ContentTags(a){this.tags=new Array();this.filterTags=null;this.contentTagRegExp0=new RegExp("([^<\\s]+)");this.contentTagRegExp1=new RegExp("([^<\\s]+)[\\s]+([^>\\s]+)");this.contentTagRegExp2=new RegExp("([^<\\s]+)[\\s]+([^>\\s]+)[\\s]*=[\\s]*([^>\\s]+)");this.add=function(b){this.tags.push(b)};this.getTagNamesList=function(d){var c=new Array();for(var b=0;b<this.tags.length;b++){if(this.tags[b].tagType==d){c.push(this.tags[b].tagName)}}return c};this.isMatch=function(e,d){var b=contentTags.getByType(TAG_TYPE_FILTER);for(var c=0;c<b.length;c++){if(b[c].isMatch(e)){return true}}return false};this.getByType=function(d){if(d!=TAG_TYPE_FILTER||this.filterTags==null){var c=new Array();for(var b=0;b<this.tags.length;b++){if(this.tags[b].tagType==d){c.push(this.tags[b])}}}else{c=this.filterTags}if(d==TAG_TYPE_FILTER&&this.filterTags==null){this.filterTags=c}return c};this.parseToTag=function(e,d){var c=null;var b=e.match(this.contentTagRegExp2);if(b){c=new ContentTag(d,b[1],b[2],b[3])}else{b=e.match(this.contentTagRegExp1);if(b){c=new ContentTag(d,b[1],b[2])}else{b=e.match(this.contentTagRegExp0);if(b){c=new ContentTag(d,b[1])}}}if(c!=null){this.add(c)}};this.init=function(c){this.add(new ContentTag(TAG_TYPE_CONTENT,c.dc_contentTag,c.dc_contentTagAttr,c.dc_contentTagAttrVal));this.add(new ContentTag(TAG_TYPE_CONTENT,"div","class","konabody"));this.add(new ContentTag(TAG_TYPE_FILTER,c.dc_restrictedTag,c.dc_restrictedTagAttr,c.dc_restrictedTagAttrVal));this.add(new ContentTag(TAG_TYPE_FILTER,"div","class","konafilter"));for(var b=0;b<c.dc_contentTags.length;b++){this.parseToTag(c.dc_contentTags[b],TAG_TYPE_CONTENT)}for(var b=0;b<c.dc_restrictedTags.length;b++){this.parseToTag(c.dc_restrictedTags[b],TAG_TYPE_FILTER)}};this.init(a)}function OnClick(k,g,f,d,h){if(k){konaEventCancel(k)}if(adPreviewMode){return}if(kona$("konaMovieFlashWrap")!=null&&konaLayers!=null){var l=konaLayers.getLayerObj(movieLayerIndex);if(l.isShown){return}}if((oneClickPerLink&&konaLinks.get(d).clicked||(konaLinks.get(d).status!=LOADED&&konaLinks.get(d).status!=IMAGE_LOADING&&konaLinks.get(d).status!=IMAGE_DONE_LOADING&&konaLinks.get(d).status!=YAHOO_LOADING))){if(f){f.removeAttribute("href");f.onclick=new function(){return false}}return false}else{konaLinks.get(d).clicked=true}var c=konaLinks.get(d).dcAdlinkInfo;if(c.length==0){return false}else{if(konaLinks.getInfo(d).thirdPartyIframeObject){if(!(konaLinks.getInfo(d).thirdPartyIframeObject.enableClickOnKW)){return}}if(c[0].isAlternativeLayer()){var b=((kona$("konaSearchText_"+d)!=null)?kona$("konaSearchText_"+d).value:c[0].keyword);c[0].clickUrl=urlEncode(c[0].clickUrl.replace(/<TERM>/g,b))}else{if(konaLinks.getInfo(d).isSpecialType("SPECIAL_TYPE_YAHOO_SPONSORED")){var b=((kona$("konaSearchText_"+d)!=null)?kona$("konaSearchText_"+d).value:c[0].keyword);c[0].clickUrl=c[0].clickUrl.replace(/__TERM/g,b)}}if(konaLinks.get(d).isKosmix()){var a=getKosmixClickUrl(d)}else{if(c[0].thirdPartyIframeObject){if(c[0].thirdPartyIframeObject.clickonKWredirect){var a=c[0].thirdPartyIframeObject.clickonKWredirect}else{var a=c[0].getClickRedirect(h)}}else{var a=c[0].getClickRedirect(h)}}if(infoUnit.dc_open_new_win!="yes"){redirectLock.lock((c[0].wasImpression?0:1)+(c[0].needsPixelImpression()?1:0)+(isExternalPublisher?1:0))}redirectLock.clicker=kona$("AdLinkLayerClick");impressions.reportImpression(d);if(isExternalPublisher&&infoUnit.dc_redirect3PartyUrl!=null){sendHttpRequest(infoUnit.dc_redirect3PartyUrl+konaRequestId)}if(konaLinks.getInfo(d).isSpecialType("SPECIAL_TYPE_DATA_CAPTURE")||(konaLinks.getInfo(d).isSpecialType("SPECIAL_TYPE_DATA_CAPTURE_KOHL")&&h==RE_MODE_DATACAP_CLICK)){c[0].reportCaptureClick(a)}else{if(konaLinks.get(d).IsNewExpandableLayer()){kona$("konaFlashBubble"+d).SetVariable("theTestVar","inNewExpandable"+d);if(konaLinks.getInfo(d).expandableLinkClickBehavior){switch(konaLinks.getInfo(d).expandableLinkClickBehavior){case"first":konaLayers.setStick(d,true);hideFlashTail(d);break;case"second":setTimeout('expandKonaLayerSmallClick("'+d+'",1);',450);break;case"3rd":konaRedirect(a,true,true);break}}}else{if(konaLayers!=null){hideKonaLayer(d)}var m=true;konaRedirect(a,m)}}}}function RedirectLock(){this.isLocked=false;this.clicker=null;this.action=null;this.maxWaitTimeout=null;this.locks=0;this.images=new Array();this.init=function(){this.defaultClicker()};this.defaultClicker=function(){this.clicker=kona$("AdLinkLayerClick")};this.reset=function(){this.isLocked=false;clearTimeout(redirectLock.maxWaitTimeout);this.maxWaitTimeout=null;this.locks=0};this.setAction=function(actionStr){this.action=actionStr;this.maxWaitTimeout=window.setTimeout("redirectLock.timeout()",5000)};this.lock=function(num){if(num>0){this.isLocked=true;this.locks=num}};this.timeout=function(){if(this.isLocked){this.reset();eval(this.action)}};this.unlock=function(){if(this.isLocked){this.locks--;if(this.locks<=0){this.reset();eval(this.action)}}};this.addListeners=function(image){if(this.isLocked){var f=function(){redirectLock.unlock()};image.onload=f;image.onabort=f;image.onerror=f;this.images.push(image)}};this.init()}function konaRedirect(b,d,c){if(typeof(c)=="undefined"){c=false}if(redirectLock.isLocked){redirectLock.setAction("konaRedirect('"+b+"')");return}var a=redirectLock.clicker;a.href=b;if(d){if(infoUnit.dc_open_new_win=="yes"||c){if(bIE){a.target="_new";a.click()}else{window.open(b)}}else{if(bIE){a.target="_top";a.click()}else{window.location=b}}}else{if(open_new_win_search!="yes"){if(bIE){a.target="_top";a.click()}else{window.location=b}}else{if(bIE){a.target="_new";a.click()}else{window.open(b)}}}}function konaEventCancel(a){konaEventUnbubble(a);if(a.cancelable){a.preventDefault()}else{a.returnValue=false}}function konaEventUnbubble(a){a.cancelBubble=true;if(a.stopPropagation){a.stopPropagation()}}function konaExpandableRedirect(f,c,h,g){var d=konaLinks.getInfo(f);if(!d.clickStatus.allowLayerClick()){return}konaLinks.get(f).clicked=true;d.clickUrl=encodeURIComponent(c);var a=konaLinks.get(f).dcAdlinkInfo;var b=a[0].getClickRedirect(h);var e=kona$("AdLinkLayerClick");redirectLock.clicker=e;if(g==undefined||g==null){g=true}hideKonaLayer(f);konaRedirect(b,true,g)}function callAddExpandableContentInfo(a,b){if(typeof(addExpandableContentInfo)!="undefined"){addExpandableContentInfo(a,b)}else{setTimeout('callAddExpandableContentInfo("'+a+'","'+b+'");',500)}}function addExpandableContentInfo(a,b){baseCampaignUrl=HTTP_KONTERA_BASE+"/javascript/lib/flash/campaigns/";initExpandParams(a,b)}var collectExpandParams={expandableMoviePlayer:FLASH_SWF_BASE+"JWFLVmediaPlayer.swf",expandableKonteraTxt:"Kontera",expandableKonteraToolTip:"Powered by Kontera",expandableKonteraColor:"0x7ca330",expandableSmallBGStartColor:"0xffffff",expandableSmallBGEndColor:"0xffffff",expandableSmallBGHeadHeight:"24",expandableSmallBGHeadStartColor:"0xFEFEFE",expandableSmallBGHeadEndColor:"0xEAEAEA",expandableSmallBGHeadOnStartColor:"0xFEFEFE",expandableSmallBGHeadOnEndColor:"0xE2E2E2",expandableSmallBgColor:"CCCCCC",expandableSmallHeadlineTxt:"Advertisement",expandableSmallDragAlpha:"30",expandableSmallDragTop:"0",expandableSmallDragBottom:"40",expandableSmallTailWidth:"36",expandableSmallTailHeight:"38",expandableSmallTailColor:"0xffffff",expandableSmallTailBorderColor:"0x626262",expandableSmallTailMargin:"35",expandableSmallTailBgPic:HTTP_KONTERA_BASE+"/javascript/lib/imgs/callOutPic.png",expandableSmallTailBgPicOver:HTTP_KONTERA_BASE+"/javascript/lib/imgs/callOutPicOver.png",expandableSmallTailBgPicShadow:HTTP_KONTERA_BASE+"/javascript/lib/imgs/callOutShadowPic.png",expandableSmallSwfMargin:"5",expandableBigAutoStart:"false",expandableBigVolume:"67",expandableBigMinReportTime:"3",expandableBigLearnMoreButtonText:"Learn More",expandableBigBrandingStripUrl:"",expandableSmallSwfWidth:"299",expandableSmallSwfHeight:"250",expandableSmallWidth:"299",expandableSmallHeight:"280",expandableSmallBGpic:"",expandableSmallBGOnpic:"",expandableSmallPublisherLogo:HTTP_KONTERA_BASE+"/javascript/lib/imgs/emptyPixel.png",expandableSmallPublisherLogoUrl:"http://www.podcastgo.com/",expandableSmallPublisherLogoToolTip:"this is the publisher logo tooltip",expandableSmall_Url:"",expandableBig_Url:"",expandableBigUrlWidth:"450",expandableBigUrlHeight:"375",expandableBigWidth:"450",expandableBigHeight:"407",expandableBigBGpic:"",expandableBigPublisherLogo:HTTP_KONTERA_BASE+"/javascript/lib/imgs/emptyPixel.png",expandableBigPublisherLogoUrl:"http://www.podcastgo.com/",expandableBigPublisherLogoToolTip:"this is the big publisher logo tooltip",expandableBigBrandingStripPosition:"bottom",expandableBigBrandingStripWidth:"447",expandableBigBrandingStripHeight:"38",expandableWasImpression:false,expandableLinkClickBehavior:"second",expandableWithinSmallLayer:"",expandableFloatingUnit_Url:"",expandableClickUnitRedirect:""};var oldExpandables=function(){campaigns={Kellogg:"http://expandable#*#campaign#=#Kellogg#|#Small_Url#=#konteraLoader.swf#|#Big_Url#=#500x250_grab.swf#|#BigUrlWidth#=#500#|#BigUrlHeight#=#250#|#BigWidth#=#500#|#BigHeight#=#282#|#",MS:"http://expandable#*#campaign#=#MS#|#Small_Url#=#msx70380_coun_cta1_300x250_ms.swf#|#Big_Url#=#msft_v2.swf#|#",RiceKrispies:"http://expandable#*#campaign#=#RiceKrispies#|#Small_Url#=#kellogsRecipe_preExpand.swf#|#Big_Url#=#kellogsRecipe_expand.swf#|#",NBCJayLeno:"http://expandable#*#campaign#=#NBCJayLeno#|#Small_Url#=#NBCJayLeno_preExpand.swf#|#Big_Url#=#NBCJayLeno_expand.swf#|#ClickUnitRedirect#=#http://www.thejaylenoshow.com#|#",NBCJayLeno2:"http://expandable#*#campaign#=#NBCJayLeno2#|#Small_Url#=#NBCJayLeno_preExpand2.swf#|#Big_Url#=#NBCJayLeno_expand2.swf#|#",snapple:"http://floatingUnit#*#campaign#=#snapple#|#SmallSwfWidth#=#324#|#SmallSwfHeight#=#336#|#SmallWidth#=#324#|#SmallHeight#=#300#|#LinkClickBehavior#=#3rd#|#IsImpression#=#true#|#FloatingUnit_Url#=#snapple.swf#|#",TGIF:"http://clearPixel#*#url#=#http://ad.doubleclick.net/imp;v1;f;216545066;0-0;0;38472506;1|1;32641528|32659405|1;;cs=s%3fhttp://ad.doubleclick.net/dot.gif?[timestamp]#|##+#http://floatingUnit#*#campaign#=#TGIF#|#SmallSwfWidth#=#150#|#SmallSwfHeight#=#150#|#SmallWidth#=#150#|#SmallHeight#=#120#|#LinkClickBehavior#=#3rd#|#IsImpression#=#true#|#FloatingUnit_Url#=#TGIF_floating_unit.swf#|#",irelandTourism:"http://clearPixel#*#url#=#http://ad.doubleclick.net/ad/N3867.126834.2012298720521/B3845986.8;sz=1x1;ord=[timestamp]#|##+#http://floatingUnit#*#campaign#=#irelandTourism#|#SmallSwfWidth#=#321#|#SmallSwfHeight#=#279#|#SmallWidth#=#321#|#SmallHeight#=#279#|#LinkClickBehavior#=#3rd#|#IsImpression#=#true#|#FloatingUnit_Url#=#Ireland_branded_v3.swf#|#"},getCampaign=function(a){for(var b in campaigns){if(b==a){return campaigns[b]}}return false};return{get:function(a){return getCampaign(a)}}}();function parseParamsIntoObj(a){paramArray=new Array();if(a.indexOf("#*#")>-1){a=a.split("#*#")[1];paramArray=a.split("#|#");for(i=0;i<paramArray.length;i++){param=paramArray[i].split("#=#")[0];value=paramArray[i].split("#=#")[1];if(typeof(value)!="undefined"){if(param.indexOf("_Url")>-1){value=baseCampaignUrl+value}if(param!="campaign"){collectExpandParams["expandable"+param]=value}}}}}function initExpandParams(b,a){parseParamsIntoObj(a);konaLinks.getInfo(b).initExpandableParams(collectExpandParams,propertysArr)}var propertysArr=new Array();propertysArr.push("expandableMoviePlayer");propertysArr.push("expandableKonteraTxt");propertysArr.push("expandableKonteraToolTip");propertysArr.push("expandableKonteraColor");propertysArr.push("expandableSmallBGStartColor");propertysArr.push("expandableSmallBGEndColor");propertysArr.push("expandableSmallBGHeadHeight");propertysArr.push("expandableSmallBGHeadStartColor");propertysArr.push("expandableSmallBGHeadEndColor");propertysArr.push("expandableSmallBGHeadOnStartColor");propertysArr.push("expandableSmallBGHeadOnEndColor");propertysArr.push("expandableSmallBgColor");propertysArr.push("expandableSmallHeadlineTxt");propertysArr.push("expandableSmallDragAlpha");propertysArr.push("expandableSmallDragTop");propertysArr.push("expandableSmallDragBottom");propertysArr.push("expandableSmallTailWidth");propertysArr.push("expandableSmallTailHeight");propertysArr.push("expandableSmallTailColor");propertysArr.push("expandableSmallTailBorderColor");propertysArr.push("expandableSmallTailMargin");propertysArr.push("expandableSmallTailBgPic");propertysArr.push("expandableSmallTailBgPicOver");propertysArr.push("expandableSmallTailBgPicShadow");propertysArr.push("expandableSmallSwfMargin");propertysArr.push("expandableBigAutoStart");propertysArr.push("expandableBigVolume");propertysArr.push("expandableBigMinReportTime");propertysArr.push("expandableBigLearnMoreButtonText");propertysArr.push("expandableBigBrandingStripUrl");propertysArr.push("expandableSmallSwfWidth");propertysArr.push("expandableSmallSwfHeight");propertysArr.push("expandableSmallWidth");propertysArr.push("expandableSmallHeight");propertysArr.push("expandableSmallBGpic");propertysArr.push("expandableSmallBGOnpic");propertysArr.push("expandableSmallPublisherLogo");propertysArr.push("expandableSmallPublisherLogoUrl");propertysArr.push("expandableSmallPublisherLogoToolTip");propertysArr.push("expandableSmall_Url");propertysArr.push("expandableBig_Url");propertysArr.push("expandableBigUrlWidth");propertysArr.push("expandableBigUrlHeight");propertysArr.push("expandableBigWidth");propertysArr.push("expandableBigHeight");propertysArr.push("expandableBigBGpic");propertysArr.push("expandableBigPublisherLogo");propertysArr.push("expandableBigPublisherLogoUrl");propertysArr.push("expandableBigPublisherLogoToolTip");propertysArr.push("expandableBigBrandingStripPosition");propertysArr.push("expandableBigBrandingStripWidth");propertysArr.push("expandableBigBrandingStripHeight");propertysArr.push("expandableWasImpression");propertysArr.push("expandableLinkClickBehavior");propertysArr.push("expandableIsImpression");propertysArr.push("expandableWithinSmallLayer");propertysArr.push("expandableFloatingUnit_Url");propertysArr.push("expandableClickUnitRedirect");function expandKonaBuilder(){this.styleRE=new RegExp("#STYLE#","g");this.descRE=new RegExp("#DESCRIPTION#","g");this.plateIndexRE=new RegExp("#PLATEINDEX#","g");this.layerIndexRE=new RegExp("#LAYERINDEX#","g");this.titleRE=new RegExp("#TITLE#","g");this.urlRE=new RegExp("#URL#","g");this.block1RE=new RegExp("#BLOCK1#","g");this.block2RE=new RegExp("#BLOCK2#","g");this.block3RE=new RegExp("#BLOCK3#","g");this.colspanRE=new RegExp("#COLSPAN#","g");this.linkInfo=null;this.adlinkCur=null;this.plateCur=null;this.layerType=null;this.tabs=null;this.isOneSearch=null;this.target=infoUnit.dc_open_new_win=="yes"?"_new":"_top";this.paintSearchInfo=false;this.getLayer=function(a,c,b){this.adlinkCur=a;this.plateCur=c;this.linkInfo=b?b:konaLinks.getInfo(a,c);this.layerType=this.linkInfo.getLayerType();this.tabs=konaLayers.getSearchInfos();this.isOneSearch=(this.tabs.length==1);this.paintSearchInfo=konaLayers.isShowSearch(this.adlinkCur);if(a==movieLayerIndex){return this.getMovieSuperDIV()}else{return this.getSuperDIV()}};this.getContentBlock=function(){contextBlock="";if(infoUnit.dcAL_LY_descActive.toLowerCase()=="yes"){contextBlock+=this.getActionBlock()}return contextBlock};this.getExpandableLayer=function(){var a=new Date().getTime();return"<div id='konaFlashWrap#PLATEINDEX#-#LAYERINDEX#' class='konaFlashWrap' style='border:0px solid green;width:"+parseInt(parseFloat(this.linkInfo.expandableSmallWidth)+10)+"px;Height:"+parseInt(parseFloat(this.linkInfo.expandableSmallHeight)+parseFloat(this.linkInfo.expandableSmallTailHeight)*1+10*1)+"px'><div id='konaFlashDrag#PLATEINDEX#-#LAYERINDEX#' class='konaFlashDrag' style='cursor:move;z-index:100;position:absolute;width:198px;height:26px;top:0px;background-color:#ffffff;opacity:0;filter:alpha(opacity=0.0);'></div><div id='konaExpandFlashWrap#PLATEINDEX#-#LAYERINDEX#' class='konaExpandFlashWrap'><div id='konaFlashContent#PLATEINDEX#-#LAYERINDEX#' class='konaExpandFlashContent' style='width:"+parseInt(parseFloat(this.linkInfo.expandableSmallWidth)+10)+"px;height:"+parseInt(parseFloat(this.linkInfo.expandableSmallHeight)*1+parseFloat(this.linkInfo.expandableSmallTailHeight)*1+10*1)+"px;'></div></div></div>"};this.getActionBlock=function(){return"<div id='konaActionBlock#PLATEINDEX#-#LAYERINDEX#' onmouseover='descriptionMouseOver(event,this,#PLATEINDEX#,#LAYERINDEX#);' onmouseout='descriptionMouseOut(event,this,#PLATEINDEX#,#LAYERINDEX#);'>"+this.getExpandableLayer()+"</div>"};this.getSuperDIV=function(){var a=document.createElement("div");a.id=KONA_LAYER_ID+this.adlinkCur;a.className="konaLayer"+(this.linkInfo.konaLayerMode==LAYER_MODE_CLICK?" CBL":"");a.style.width=parseInt(this.linkInfo.expandableSmallWidth)*1+10+"px";a.style.height=parseFloat(this.linkInfo.expandableSmallHeight)*1+parseFloat(this.linkInfo.expandableSmallTailHeight)*1+10+"px";a.style.border="0px solid red";a.innerHTML=this.getActionBlock().replace(this.layerIndexRE,this.adlinkCur).replace(this.plateIndexRE,0);return a};this.getMovieSuperDIV=function(){var a=document.createElement("div");a.id=KONA_MS_MOVIE_LAYER_ID;a.className="konaBigFlashWrap";a.innerHTML=this.getMS_MOVIELayer().replace(this.layerIndexRE,this.adlinkCur).replace(this.plateIndexRE,0);return a}}function closeExpandKonaLayer(a){konaLayers.close(a);impressions.layerClosed(a);impressions.adlinkChanged(-1)}function showExpandKonaFlash(b,a){showTail=true;tailStatus=b;var c=setExpandableTailPosition(b);if(!konaLayers.isExpandBig(a)){smallLayerPosition(a,c)}createExpandPlayer(b,a)}function smallLayerPosition(a,c){try{kona$("konaFlashDrag0-"+a).style.left=c[0]+"px";kona$("konaFlashDrag0-"+a).style.top=c[1]+"px"}catch(b){setTimeout('smallLayerPosition("'+a+'","'+c+'");',450)}}function hideFlashTail(b){try{kona$("konaFlashBubble"+b).hide_flash_tail()}catch(a){setTimeout('hideFlashTail("'+b+'");',450)}}function setExpandableTailPosition(a){var d,b;switch(a){case"BL":d=85;b=25;expandDragTopPoz=(this.linkInfo.expandableSmallDragTop);break;case"BR":d=85;b=25;expandDragTopPoz=(this.linkInfo.expandableSmallDragTop);break;case"TL":d=85;b=40;expandDragTopPoz=(this.linkInfo.expandableSmallDragBottom);break;case"TR":d=85;b=40;expandDragTopPoz=(this.linkInfo.expandableSmallDragBottom);break}var c=new Array(d,b,expandDragTopPoz);return c}function closeExpandFlashKonaLayer(a){if(konaLinks.getInfo(a).getSpecialType()==SPECIAL_TYPE_GHOST){konaLayers.getLayerObj(movieLayerIndex).totalOpenTime=0;konaLayers.getLayerObj(movieLayerIndex).openedTime=flashMovieOpenedTime;konaLinks.getInfo(movieLayerIndex).wasImpression=false;reportLayerImpression(movieLayerIndex,0)}closeExpandKonaLayer(a)}function createExpandPlayer(b,a){var c=(konaLinks.get(a).IsNewExpandableLayer())?"konaFlashExpand.swf":"konaFlashExpand.swf";var d=new SWFObject(""+FLASH_SWF_BASE+c,"konaFlashBubble"+a,parseInt(this.linkInfo.expandableSmallWidth)+10,parseInt(parseFloat(this.linkInfo.expandableSmallHeight)+parseFloat(this.linkInfo.expandableSmallTailHeight)+10),"8","#ffffff");d.addParam("allowScriptAccess","always");d.addVariable("tail_direction",b);d.addVariable("adlinkID",a);d.addParam("wmode","transparent");d.write("konaFlashContent0-"+a);kona$("konaFlashBubble"+a).style.width=parseInt(this.linkInfo.expandableSmallWidth)*1+10*1+"px";if(konaLayers.isExpandBig(a)){setLayerSize(parseInt(this.linkInfo.expandableSmallWidth)*1+10*1,parseInt(this.linkInfo.expandableSmallHeight)+parseInt(this.linkInfo.expandableSmallTailHeight)*1+10*1,a,b)}}function createBigExpandPlayer(a,b){var e="";var g="";var d="";if(konaLinks.get(b).IsNewExpandableLayer()){e="konaGhostLarge.swf";g="http://images.kontera.com/IMAGE_DIR/FLV/ghost2.flv";d="GhostMovieDefault.jpg"}var f=(konaLayers.isMSLayer(b))?"278":"235";kona$(KONA_MS_MOVIE_LAYER_ID).style.left=calcMoviePos(a)[0]+"px";kona$(KONA_MS_MOVIE_LAYER_ID).style.top=calcMoviePos(a)[1]+"px";var c=new SWFObject(""+FLASH_SWF_BASE+e,"konaMovieBubble","470","395","8","#ffffff");c.addParam("allowScriptAccess","always");c.addParam("wmode","transparent");c.addParam("allowfullscreen","false");c.addVariable("file",g);c.addVariable("image",STYLE_IMAGE_BASE+d);c.addVariable("displaywidth","442");c.addVariable("displayheight","332");c.addVariable("backcolor","0xffffff");c.addVariable("screencolor","0xffffff");c.addVariable("frontcolor","0x666666");c.addVariable("lightcolor","0x557722");c.addVariable("autostart","true");c.addVariable("volume","80");c.addVariable("width",f);c.addVariable("height","350");c.addVariable("showdigits","false");flashMovieOpenedTime=(new Date()).getTime();c.write("konaBigFlashContent");kona$("konaMovieBubble").style.width=470+"px"}function callFromExpandFlash(c){var d=c[0];var a=c[1];var b=c[2];if(a.toString()=="sml"){switch(d.toString()){case"tail":showTail=false;break;case"info":location.href="http://www.kontera.com/";break;case"close":closeExpandKonaLayer(b);break;case"play":descriptionMouseClick(null,null,0,b);break;default:break}}else{if(a.toString()=="big"){switch(d.toString()){case"info":location.href="http://www.kontera.com/";break;case"close":closeExpandKonaLayer(movieLayerIndex);break;default:break}}}return false}function prepareFlashParams(linkInfo){var myObject=new Object();for(var i=0;i<propertysArr.length;i++){eval("myObject."+propertysArr[i]+" = linkInfo."+propertysArr[i])}return myObject}function sendLayerDimentionsObjToFlash(a){return prepareFlashParams(konaLinks.getInfo(a,0))}function setDragSize(b,d,a,c){kona$("konaFlashDrag0-"+c).style.width=b+"px";kona$("konaFlashDrag0-"+c).style.left=d+"px";kona$("konaFlashDrag0-"+c).style.top=a+"px"}function removeDrag(a){kona$("konaFlashDrag0-"+a).style.width=0;kona$("konaFlashDrag0-"+a).style.left=0;kona$("konaFlashDrag0-"+a).style.top=0}function setBigLayer(b,c,a){konaLayers.isExpandBigArr[a]=true;setLayerSize(b,c,a)}function kona3rdPartyReport(a,b){konaLinks.getInfo(a).reportCaptureClick(b)}function expandKonaLayerSmallClick(d,g){try{if((konaFlashFunction(("konaFlashBubble"+layerCur),"js_getWhatLayerActive",null,true)=="myBigLayer")){return}}catch(f){}try{kona$("konaFlashBubble"+d).clickToExpand()}catch(c){setTimeout('expandKonaLayerSmallClick("'+d+'","'+g+'");',450);return}konaLayers.setStick(d,true);impressions.reportImpression(d);if(konaLinks.getInfo(d).expandableWasImpression==true){return}konaLinks.getInfo(d).expandableWasImpression=true;var a=konaLinks.get(d).dcAdlinkInfo;var b=a[0].getClickRedirect(g,true);sendHttpRequest(b)}function expandKonaCloseLayer(b){if(konaLinks.get(b).IsNewExpandableLayer()){konaFlashFunction(("konaFlashBubble"+b),"js_stop_video",null,false);if((konaFlashFunction(("konaFlashBubble"+b),"js_getWhatLayerActive",null,true)=="myBigLayer")||(collectExpandParams.expandableIsImpression)){var a=konaFlashFunction(("konaFlashBubble"+b),"js_getTimeBigOpened",null,true);konaLayers.setViewTime(b,a);konaFlashFunction(("konaFlashBubble"+b),"js_close_big_layer",null,false);impressions.reportImpression(b)}else{konaFlashFunction(("konaFlashBubble"+b),"js_close_small_layer",null,false)}konaFlashFunction(("konaFlashBubble"+b),"js_setWhatLayerActive","noLayer",false);konaLayers.setStick(b,false);konaLayers.hide(b)}}function konaFlashFunction(d,b,f,a){if(a){try{return kona$(d).konaFlashGlobalFunction(b,f,a)}catch(c){}}else{try{kona$(d).konaFlashGlobalFunction(b,f,a)}catch(c){}}}function expandedLayerImpression(d,c){var a=konaLinks.get(d).dcAdlinkInfo;var b=this.encodedLayerImps+getReportString(this,null,true)+"";sendHttpRequest(b)}function setLayerSize(e,g,a,b){var d=removePX(kona$("konaLayer"+a).style.width)-e;var c=removePX(kona$("konaLayer"+a).style.height)-g;kona$("konaLayer"+a).style.width=e+"px";kona$("konaLayer"+a).style.height=g+"px";kona$("konaFlashWrap0-"+a).style.width=e+"px";kona$("konaFlashWrap0-"+a).style.height=g+"px";kona$("konaFlashContent0-"+a).style.width=e+"px";kona$("konaFlashContent0-"+a).style.height=g+"px";kona$("konaFlashBubble"+a).style.width=e+"px";kona$("konaFlashBubble"+a).style.height=g+"px";if(b!=null&&b!="undefine"&&b!="TL"&&b!="TR"){kona$("konaLayer"+a).style.top=parseInt(removePX(kona$("konaLayer"+a).style.top))+parseInt(c)+"px"}if(konaLayers.isExpandBigArr[a]){var f=parseInt(removePX(kona$("konaLayer"+a).style.left))+d;if(f<0){f=0}kona$("konaLayer"+a).style.left=f}}function smallLayerOverOut(a,c){try{switch(c){case"Over":kona$("konaFlashBubble"+a).smallLayerOver();break;case"Out":kona$("konaFlashBubble"+a).smallLayerOut();break}}catch(b){setTimeout('smallLayerOverOut("'+a+'","'+c+'");',450)}}function konaCreativeClick(b,c,d){var a=konaLinks.getInfo(b);if(a.expandableInfo){expandableController(b,c,d)}else{if(a.borderlessInfo){borderlessController(b,c,d)}}}function borderlessController(b,e,f){switch(e){case"close":expandKonaCloseLayer(b,(f?f:""));break;case"about":whatsThisClick();break;case"powered":poweredByKonteraClick();break;case"click":var a=konaLinks.getInfo(b);var d=f&&f.url?f.url:a.expandableClickUnitRedirect;var g=f&&f.cType?f.cType:5;var c=f&&f.newWindow?f.newWindow:null;konaExpandableRedirect(b,d,g,c);break}}function expandableController(b,e,f){switch(e){case"close":expandKonaCloseLayer(b,(f?f:""));break;case"about":whatsThisClick();break;case"powered":poweredByKonteraClick();break;case"click":var a=konaLinks.getInfo(b);if(!(konaLayers.isExpandBig(b))){expandKonaLayerSmallClick(b,5)}else{var a=konaLinks.getInfo(b);var d=f&&f.url?f.url:a.expandableClickUnitRedirect;var g=f&&f.cType?f.cType:11;var c=f&&f.newWindow?f.newWindow:null;konaExpandableRedirect(b,d,g,c)}break}}function playRM(a){konaRichMedia.show(a)}function konaFlashClick(a){linkInfo.isClickOnRM=true;descriptionMouseClick(null,null,0,konaRichMedia.getLayerCur(a))}function konaFlashIsReady(c){var b=konaRichMedia.getLayerCur(c);var a=konaLinks.getInfo(b);if(a.isClickDelay){window.setTimeout(function(){a.allowClickAfterDelay=true},a.setClickDelayTime)}konaLinks.get(b).clickDelayForDataLoaded=((new Date()).getTime()-konaLinks.get(b).linkHoverStartTime);a.flashIsReady=true;var d=getReportString(a,null,true,null)}function konaFlashStateChanged(){}function konaFlashError(b,a){konaRichMedia.flashError(b)}function konaFlashProbeError(b,a){}function konaFlashProbeReport(a,b){hasRMFlashSupport=b}function getObjectTagHtml(a,c,e,g,k){var d="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0";var f="http://www.macromedia.com/go/getflashplayer";var h="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";var b="width:"+e[0]+"px !important; height:"+e[1]+"px !important;";return"<object style='position:relative;"+b+"' class='"+g+"' classid='"+h+"' codebase='"+d+"' id='"+a+"' align='"+k+"' height='"+e[1]+"' width='"+e[0]+"' ><param name='movie' value='"+c+"' /><param name='quality' value='high'><param name='FlashVars' value='vidId="+a+"'><param name='wmode' value='opaque'><param name='allowScriptAccess' value='always' /><param name='swliveconnect' value='true'><embed style='position:relative;"+b+"' name='"+a+"' class='"+g+"' src='"+c+"' FlashVars='vidId="+a+"' wmode='opaque' swLiveConnect='True' quality='high' bgcolor='#FFFFFF' type='application/x-shockwave-flash' allowScriptAccess='always' pluginspage='"+f+"' height='"+e[1]+"' width='"+e[0]+"' ></embed></object>"}function KonaRichMedia(){this.idRegExp=new RegExp("[0-9]+");this.accumulatedPlayedTime=-1;this.players=null;this.init=function(){this.players=new Array()};this.initPlayer=function(b){var c=this.getPlayer(b);var e=this.getLayerCur(b);var a=konaLinks.getInfo(e);this.players[e]=c;var d=konaBuilder.getRMBoxDimension(a.getLayerType(),false);switch(a.creativeType){case"flv":c.SetVariable("vidWidth",""+d[0]);c.SetVariable("vidHeight",""+d[1]);c.SetVariable("vidThumb",a.hasLogo()?a.getLogo():"");c.SetVariable("vidControls",""+a.isWithButtons());c.SetVariable("vidButton",""+a.isGlobalClick);c.SetVariable("vidAutoplay","true");c.SetVariable("vidCacheBusting",""+a.isCacheBusting);c.SetVariable("vidLoop","false");c.SetVariable("konaInfo",a.keyword);c.SetVariable("vidURL",a.getCreativeUrl());c.SetVariable("vidVolume","100");c.SetVariable("vidBufferRatio","2");c.SetVariable("vidStateCallback","false");c.SetVariable("vidSimpleFlash",""+a.isSimpleFlash());c.SetVariable("funcVar","loadFlash");break;case"swf":c.SetVariable("vidWidth",""+d[0]);c.SetVariable("vidHeight",""+d[1]);c.SetVariable("vidThumb",a.hasLogo()?a.getLogo():"");c.SetVariable("vidButton",""+a.isGlobalClick);c.SetVariable("vidCacheBusting",""+a.isCacheBusting);c.SetVariable("vidURL",a.getCreativeUrl());c.SetVariable("vidSimpleFlash",""+a.isSimpleFlash());c.SetVariable("muteSoundOnHide",a.muteSoundOnHide);c.SetVariable("konaPostalCode",getKonaPostalCode());c.SetVariable("funcVar","loadFlash");break}};this.getPlayer=function(f,e){var c,b,a;if(!e){e=document}if((c=f.indexOf("?"))>0&&parent.frames.length){e=parent.frames[f.substring(c+1)].document;f=f.substring(0,c)}if(!(a=e[f])&&e.all){a=e.all[f]}for(b=0;!a&&b<e.forms.length;b++){a=e.forms[b][f]}for(b=0;!a&&e.layers&&b<e.layers.length;b++){a=this.getPlayer(f,e.layers[b].document)}if(!a&&e.getElementById){a=e.kona$(f)}return a};this.hide=function(b){try{var a=this.players[b];if(a){a.SetVariable("funcVar","stopFlash")}}catch(c){}};this.show=function(b){try{var a=this.players[b];if(a){a.SetVariable("funcVar","playFlash")}}catch(c){}};this.flashError=function(a){konaLayers.getLayerObj(this.getLayerCur(a)).invalidate()};this.getLayerCur=function(a){return a.match(this.idRegExp)[0]};this.init()}function konaFlashHere(b){var a=konaRichMedia.getLayerCur(b);konaLinks.get(a).clickDelayFlashInit=((new Date()).getTime()-konaLinks.get(a).linkHoverStartTime);konaRichMedia.initPlayer(b)}function konaFlashProbeHere(){}function adlinkMouseOver(e,d,b){initKonaPaint();if(kona$("konaMovieFlashWrap")!=null){var a=konaLayers.getLayerObj(movieLayerIndex);if(a.isShown){return}}var c=konaLinks.get(b);c.setLinkHoverStartTime((new Date()).getTime());logit("adlink over start:"+((new Date()).getTime()-konaLinks.get(b).linkHoverStartTime)+"~");c.mouseIsOverAdlink=true;setAdLinkStyle(d,true);impressions.descIndex=-1;impressions.adlinkChanged(b);adlinkEvent=new AdlinkEvent((bIE?document.createEventObject(e):e),d,b);konaLayers.adlinkMouseOver(b)}function adlinkMouseClick(c,b,a){initKonaPaint();var d=0;if(adlinkMouseClickDisable(a)){konaEventCancel(c)}else{if(konaLinks.getInfo(a,0)){if(konaLinks.getInfo(a,0).konaLayerMode==LAYER_MODE_POP){konaLinks.get(a).clickDelayHoverTime=((new Date()).getTime()-konaLinks.get(a).linkHoverStartTime);OnClick(c,0,b,a,RE_MODE_REGULAR)}else{if(konaLinks.getInfo(a,0).konaLayerMode==LAYER_MODE_CLICK){konaEventCancel(c)}}}}return false}function adlinkMouseClickDisable(b){var e=parseInt(infoUnit.dc_clickDelayTime);var a=konaLinks.getInfo(b);if(infoUnit.dc_adLinkClickAllowed==false){return true}if(konaLinks.getInfo(b,0)==null){return true}if(a.thirdPartyIframeObject){if(!(a.thirdPartyIframeObject.enableClickOnKW)){return true}}if((a.isDirect())&&(a.isClickDelay)){if((a.isRM())&&((!a.flashIsReady)||(!a.allowClickAfterDelay))){return true}if((!a.isRM())&&(konaLinks.get(b).status!=IMAGE_DONE_LOADING)){return true}}if(checkClickDisableForPublishers(b)==true){return true}if(konaLinks.get(b).status==YAHOO_LOADING&&isAlternativ(konaLinks.getInfo(b,0).searchProviderID)){return true}if(konaLinks.get(b).isDelayAdvertiser){if(((new Date()).getTime()-konaLinks.get(b).linkHoverStartTime)<ADV_CLICK_DELAY_TIME){return true}}var c=a.clickStatus.allowLinkClick;if(typeof(c)!="undefined"&&!a.clickStatus.allowLinkClick()){return true}if(konaLinks.getInfo(b).clearPixelClickDelayTime>0&&typeof(c)=="undefined"){e=konaLinks.getInfo(b).clearPixelClickDelayTime;if(e>0){var d=(!IsKonaLayerExist(b))?0:konaLayers.getLayerObj(b).getTotalOpenTime()-konaLayers.getLayerObj(b).totalOpenTime;if(d<e){return true}}}if(konaLinks.getInfo(b,0).isSpecialType("SPECIAL_TYPE_DATA_CAPTURE")){return true}return false}function adlinkMouseOut(c,b,a){konaLinks.get(a).mouseIsOverAdlink=false;adlinkEvent=null;setAdLinkStyle(b,false);if(konaLayers!=null){konaLayers.adlinkMouseOut(a)}}function descriptionMouseOver(d,c,b,a){if(konaLayers.getLayerObj(a).isActive){return}impressions.descChanged(b,true);konaLayers.plateMouseOver(b,a)}function descriptionMouseOut(d,c,b,a){if(!konaLayers.getLayerObj(a).isActive||!isMouseLeave(d,konaLayers.getActionNode(b,a))){return}impressions.descChanged(b,false);konaLayers.plateMouseOut(b,a)}function descriptionMouseClick(f,e,d,c){if(d==0){var b=konaLinks.getInfo(c,0);var g=(b.konaLayerMode==LAYER_MODE_CLICK?RE_MODE_CBL:RE_MODE_LAYER_CLICK);if(konaLinks.getInfo(c).isSpecialType("SPECIAL_TYPE_DATA_CAPTURE")||konaLinks.getInfo(c).isSpecialType("SPECIAL_TYPE_DATA_CAPTURE_KOHL")){var a=b.clickUrl;if(a==""){return false}if(a.indexOf("NaN")==0){g=RE_MODE_DATACAP_BUG}else{g=RE_MODE_DATACAP_CLICK}}OnClick(f,d,e,c,g)}else{konaSearchClick(f,e,c)}}function konaTabMouseClick(d,c,a,b){konaLayers.tabSelected(b,a);konaEventCancel(d)}function onkeydownLis(a){if(bIE){a=event}switch(a.keyCode){case keyA:keys[0]=true;break;case keyB:if(keys[0]){keys[1]=true}break;default:if(!isSpecKey(a.keyCode)||!(keys[0]&&keys[1])){resetKeys()}else{keys[2]=a.keyCode}}if(keys[2]!=false){showStat(keys[2])}}function resetKeys(){keys[0]=keys[1]=keys[2]=false}function isSpecKey(a){return(a==speKey1||a==speKey2)}function showStat(b){var c="";switch(b){case speKey1:if(konaLinks!=null){for(var a=0;a<konaLinks.size();a++){c+=konaLinks.get(a).highlighttext+" | "}}break;case speKey2:c=KONA_VERSION;break}window.status=c;resetKeys()}function konaSearchInfo(a,b){this.searchTypeId=a;this.searchUrl=b;this.tabName=null}function konaSearchClick(g,b,l){konaEventCancel(g);var d=kona$("konaSearchInput"+l).value;var f=konaLinks.getInfo(l);if(infoUnit.dc_open_new_win!="yes"){redirectLock.lock((f.wasImpression?0:1)+(f.needsPixelImpression()?0:1))}var c=f.getClickRedirect(RE_MODE_SEARCH);sendHttpRequest(c);hideKonaLayer(l);var m=kona$("AdLinkLayerClick");redirectLock.clicker=m;var a=konaLayers.getSelectedSearch(l);var h=a.searchUrl.replace(siteSearchWordRegExp,urlEncode(d));var k=false;konaRedirect(h,k);return false}function IFrameForSearchMatch(b,a,g){var c=a[5];c=getReformatedTMUrl(c);c+=createViewParamQueryForIFream(b);if(aInfoUnits[b].dc_width!=""){c=c+"&dc_width="+aInfoUnits[b].dc_width;a[1]=aInfoUnits[b].dc_width}else{if(a[1]!="0"){c=c+"&dc_width="+a[1]}else{c=c+"&dc_width="+def_dc_Width;aInfoUnits[b].dc_width=def_dc_Width;a[1]=def_dc_Width}}if(aInfoUnits[b].dc_height!=""){c=c+"&dc_height="+aInfoUnits[b].dc_height;a[2]=aInfoUnits[b].dc_height}else{if(a[2]!="0"){c=c+"&dc_height="+a[2]}else{c=c+"&dc_height="+def_dc_Height;aInfoUnits[b].dc_height=def_dc_Height;a[2]=def_dc_Height}}if(g){DoIFrame(b,a[1],a[2],a[3],c,a[4])}else{var f=kona$("KonaIFrame"+b);if(f!=null){var e=c.indexOf("tag=");var d=c.indexOf("&cb");if(e!=-1&&d!=-1){c=c.substring(0,e+4)+"600"+c.substring(d,c.length)}f.src=c}}}function addSearchInfo(a,b){if(konaLayers==null){siteSearchUrl=b}else{konaLayers.addSearchInfo(new konaSearchInfo(a,b))}}function autoFetchReq(){if(directAdsPrefetch==true&&!hasLinksForAutoFetch()){return}var m="&keys=";var b="&kids=";var g="&sids=";var c="";var h="&iit=";var l=null;autoFetchAdLinkDataEvent=true;for(var f=0;f<konaLinks.size()&&f<autoFecthMaxLinks;f++){l=konaLinks.get(f);if(f>0){m+=";";b+=";";h+=";"}m+=escape(removeApostrophes(l.taxonomyKey));b+=escape(l.taxonomyKwd);h+=l.isInTopic;l.status=LOADING;l.autoFetch=true;l.fetched(TE_AUTO_FETCH);if(c!=""){c+="-"}if(directAdsPrefetch==true){if(!l.hasDirect&&l.goodAvertisers!=""){c+=l.goodAvertisers}else{c+="0"}}else{if(l.goodAvertisers!=""){c+=l.goodAvertisers}else{c+="0"}}}m+=b+h;m+="&index=0";m+=buildGeneralTeStr();var n="&tag=0";var a="";if(c!=""&&c.match(/[1-9]/)){if(bIE){var e="";var k="";var d="";a=m+g+c+n;e=getReformatedTEUrl(teUrl)+a+"&ptv="+pageTopicVector+String.format("&ur={0}",useRelevancyTE);if(e.length>MAX_CHARS_FOR_TE_REQUEST){k=e.length-MAX_CHARS_FOR_TE_REQUEST;d=pageTopicVector.length-k;pageTopicVector=pageTopicVector.slice(0,d)}}m+="&ptv="+pageTopicVector+String.format("&ur={0}",useRelevancyTE);a=m+g+c+n;sendTeRequest(getReformatedTEUrl(teUrl)+a)}}function dynamicFetchYahooReq(a){var b=konaLinks.get(a);var c=b.yahooAdvertisers;if(b.goodAvertisers!=""){c+="&afsids="+b.goodAvertisers}c+="&cc="+konaLinks.getInfo(a,0).linkCPC;dynamicFetchReq(a,c)}function dynamicFetchDirectPrefetchedReq(b){var c=konaLinks.get(b);var a=c.goodAvertisers;a+=c.yahooAdvertisers;if(c.directAdvertiser!=""){a+="&afsids="+c.directAdvertiser}a+="&cc="+konaLinks.getInfo(b,0).linkCPC;dynamicFetchReq(b,a)}function dynamicFetchAllReq(a){var b=konaLinks.get(a);dynamicFetchReq(a,b.sids)}function dynamicFetchReq(k,e){var g=konaLinks.get(k);g.status=LOADING;g.fetched(TE_DYNAMIC_FETCH);g.autoFetch=false;var h="&keys="+escape(removeApostrophes(konaLinks.get(k).taxonomyKey));h+="&kids="+escape(g.taxonomyKwd);h+="&sids="+e;h+="&iit="+g.isInTopic;var l,c,a="";for(l=0;l<konaLinks.size();l++){g=konaLinks.get(l);if(g.status==LOADED){for(c=0;c<g.dcAdlinkInfo.length;c++){a+="|"+g.dcAdlinkInfo[c].landingUrl}}}h+="&pL="+escape(a);h+="&index="+k;h+="&tag="+Number(requestCounter+500);h+=buildGeneralTeStr();if(bIE){var d="";var f="";var b="";d=getReformatedTEUrl(teUrl)+h+"&ptv="+pageTopicVector+String.format("&ur={0}",useRelevancyTE);if(d.length>MAX_CHARS_FOR_TE_REQUEST){f=d.length-MAX_CHARS_FOR_TE_REQUEST;b=pageTopicVector.length-f;pageTopicVector=pageTopicVector.slice(0,b)}}h+="&ptv="+pageTopicVector+String.format("&ur={0}",useRelevancyTE);sendTeRequest(getReformatedTEUrl(teUrl)+h);requestCounter++}function handleDynamicFetch(a){var b=konaLinks.get(a);if(b.status==UNKNOWN){b.isYahooFetched=true;dynamicFetchAllReq(a);return}if(directAdsPrefetch==true&&b.hasDirectOnly){return}if(directAdsPrefetch==true&&(b.hasDirect&&!b.directComparedWithFeeds&&b.goodAdvertisers!="")){dynamicFetchDirectPrefetchedReq(a);b.directComparedWithFeeds=true;b.status=YAHOO_LOADING;return}if(!b.hasYahooAdvertiser){return}if(!b.isYahooFetched){if(b.clicked&&!isAlternativ(b.getInfo().searchProviderID)){b.status=LOADED;b.isYahooFetched=true;return}b.clicked=false;b.isYahooFetched=true;dynamicFetchYahooReq(a);b.status=YAHOO_LOADING;return}}function updateAdLinksStatus(){var a;var b;for(a=0;a<konaLinks.size();a++){b=konaLinks.get(a);if(isLayerLoaded(a)){}else{if(b.autoFetch&&b.status==LOADING){b.status=UNKNOWN;b.autoFetch=false}}}}function hasLinksForAutoFetch(){var b=false;for(var a=0;a<konaLinks.size()&&a<autoFecthMaxLinks;a++){link=konaLinks.get(a);if(!link.hasDirect&&link.goodAvertisers!=""){b=true;break}else{}}return b}function LoadingScriptParams(d,b,a,c,e){this.scriptUrl=d;this.monitor=b;this.callBack=c;this.sciprtLoadedCB=a;this.overrideDocWrite=e}var scriptRunner=function(){var e=new Array();document.origWindowOnerror=window.onerror;document.origCreateElement=document.createElement;document.origDocWrite=document.write;var d=null;var l=function(m){if(m){document.origDocWrite=document.write;document.write=k}};document.restorWindowError=function(){setTimeout(function(){window.onerror=document.origWindowOnerror},500)};var a=function(t,n,m,q,u){e.push(new LoadingScriptParams(t,n,m,q,u));if(e.length==1){h()}};var b=function(m){var n=document.origCreateElement(m);if(m!="script"&&m!="SCRIPT"){return n}g(n,[d.callBack]);return n};var k=function(){return false};var g=function(n,m){if(bIE){n.onreadystatechange=function(){if((this.readyState=="loaded"||this.readyState=="complete")){for(var q=0;q<m.length;q+=1){if(typeof(m[q])=="function"){m[q]()}}}}}else{n.onload=function(){for(var q=0;q<m.length;q+=1){if(typeof(m[q])=="function"){m[q]()}}}}};var f=function(m){if(m.monitor){document.createElement=b;window.onerror=function(n){return false}}if(typeof(m.overrideDocWrite)=="function"){document.origDocWrite=document.write;document.write=m.overrideDocWrite}};var c=function(){setTimeout(function(){window.onerror=document.origWindowOnerror},500);document.createElement=document.origCreateElement;document.write=document.origDocWrite};var h=function(){var m=document.getElementsByTagName("head").item(0);d=e.shift();c();if(d){var n=document.createElement("script");n.setAttribute("type","text/javascript");n.setAttribute("src",d.scriptUrl);f(d);g(n,[d.sciprtLoadedCB,h]);m.appendChild(n)}};return{loadScript:function(t,n,m,q,u){a(t,n,m,q,u)},init:function(m,n){l(m,n)}}}();function loadGatewayCheck(){kona_pub_limit=[[8981,100,4,16],[6945,100,4,16],[7330,100,4,16],[6261,100,4,16],[4173,100,4,16],[7794,100,4,16],[3802,100,4,16],[2239,100,4,16],[3453,100,4,16],[6917,100,4,16],[6897,100,4,16],[8238,100,4,16],[1995,100,4,16],[4867,100,4,16],[5674,100,4,16],[3852,100,4,16],[5108,100,4,16],[3975,100,4,16],[4880,100,4,16],[7936,100,4,16],[7038,100,4,16],[10137,100,4,16],[3332,100,4,16],[4759,100,4,16],[5282,100,4,16],[10372,100,4,16],[3126,100,4,16],[5611,100,4,16],[4038,100,4,16],[10690,100,4,16],[5175,100,4,16],[8368,100,4,16],[5855,100,4,16],[6298,100,4,16],[6657,100,4,16],[2541,100,4,16],[707,100,4,16],[10196,100,4,16],[764,100,4,16],[7882,100,4,16],[4743,100,4,16],[5612,100,4,16],[7378,100,4,16],[5885,100,4,16],[2352,100,4,16],[5610,100,4,16],[2224,100,4,16],[2381,100,4,16],[4956,100,4,16],[9850,100,4,16],[3691,100,4,16],[9817,100,4,16],[6382,100,4,16],[7154,100,4,16],[3682,100,4,16],[7985,100,4,16],[2032,100,4,16],[5939,100,4,16],[1549,100,4,16],[1634,100,4,16],[4929,100,4,16],[4643,100,4,16],[7631,100,4,16],[4234,100,4,16],[9492,100,4,16],[5334,100,4,16],[6289,100,4,16],[3467,100,4,16],[2284,100,4,16],[6037,100,4,16],[7372,100,4,16],[2740,100,4,16],[10,100,4,16],[3384,100,4,16],[8056,100,4,16],[1218,0,1,22],[627,0,1,22],[7164,100,4,16],[35730,100,6,16],[28576,100,6,16],[14421,100,6,16],[3696,100,6,16],[8354,100,6,16],[3691,100,6,16],[15650,100,6,16],[12318,100,6,16],[38643,100,6,16],[10700,100,6,16],[20631,100,6,16],[8359,100,6,16],[28890,100,6,16],[28780,100,6,16],[28527,100,6,16],[23603,100,6,16],[8238,100,6,16],[2091,100,6,16],[32877,100,6,16],[2401,100,6,16],[16914,100,6,16],[13382,100,6,16],[21674,100,6,16],[35267,100,6,16],[18985,100,6,16],[20698,100,6,16],[5610,100,6,16],[8984,100,6,16],[17144,100,6,16],[34480,100,6,16],[37715,100,6,16],[2394,100,6,16],[5613,100,6,16],[36710,100,6,16],[18701,100,6,16],[10613,100,6,16],[438,100,6,16],[34696,100,6,16],[21573,100,6,16],[16324,100,6,16],[10336,100,6,16],[26321,100,6,16],[3578,100,6,16],[4173,100,6,16],[0,100,0,0]]}function konaGatewayCheck(){var a=false;try{var c=((typeof(this["kona_pub_limit"])=="undefined")?0:kona_pub_limit.length);for(var b=0;b<c;b++){if(kona_pub_limit[b][0]==dc_PublisherID){a=checkPublisherLimits(kona_pub_limit[b][1],kona_pub_limit[b][2],kona_pub_limit[b][3]);break}}}catch(d){}kona_pub_limit=null;return a}function hideKonaLayer(a){if(konaLayers==null){return}if(konaLinks.get(a).mouseIsOverAdlink){return}if(!adPreviewMode){konaLinks.get(a).preLoader.hidePreLoad()}if(konaLinks.get(a).getInfo(0)&&konaLinks.get(a).IsNewExpandableLayer()){konaFlashFunction(("konaFlashBubble"+a),"js_setWhatLayerActive","noLayer",false)}else{if(adPreviewMode){return}impressions.layerClosed(a)}konaLayers.hide(a)}function closeKonaLayer(a){konaLinks.get(a).clickDelayHoverTime=((new Date()).getTime()-konaLinks.get(a).linkHoverStartTime);konaLayers.close(a);impressions.layerClosed(a);impressions.adlinkChanged(-1)}function removeAdLink(c){hideKonaLayer(c);if(doReportMissingAds){reportMissingAds(c)}var f=konaLinks.get(c);f.preLoader.hidePreLoad();var a=konaLinks.getNode(c);if(!f||!a){return}var b=a.previousSibling;var e=a.nextSibling;var g="";if(b!=null&&b.nodeType==Node.TEXT_NODE){g+=b.nodeValue;b.parentNode.removeChild(b)}g+=f.highlighttext;if(e!=null&&e.nodeType==Node.TEXT_NODE){g+=e.nodeValue;e.parentNode.removeChild(e)}f.status=DISABLED;var d=document.createTextNode(g);a.parentNode.replaceChild(d,a)}function showListings(e,k,h){var g=konaLinks.get(e);var b=g.dcAdlinkInfo[0];var c=3000;switch(g.status){case YAHOO_LOADING:updateYahooAdLinkLayer(e,k);return;break;case LOADING:updateAdLinkLayer(e,k);return;break;case LOADED:g.status=IMAGE_LOADING;if(!konaImages.load(e,k,h,linkInfoToFamily(b))){g.preloadTimeOut=new Date().getTime();var f=String.format("showListings({0},SerealizePositions({1},{2},{3},{4}))",e,k.left,k.right,k.top,k.bottom);if(g.status!=IMAGE_DONE_LOADING){g.preloadTimeOutID=window.setTimeout(f,c)}return}break;case IMAGE_LOADING:var a=new Date().getTime();if(!(a-g.preloadTimeOut>=c)){return}else{g.status=IMAGE_DONE_LOADING;window.clearTimeout(g.preloadTimeOutID)}break;case IMAGE_DONE_LOADING:window.clearTimeout(g.preloadTimeOutID);delete g.preloadTimeOutID;break}if(!konaLayers.hasLayer(e)){if(!konaLayers.hasLayersNode()){if(!appendKonaLayer()){var f=String.format("showListings({0},SerealizePositions({1},{2},{3},{4}))",e,k.left,k.right,k.top,k.bottom);g.preloadTimeOutID=window.setTimeout(f,222);return}}window.clearTimeout(g.preloadTimeOutID);var d=paintKonaLayer(e);konaLayers.update(d,e);g.preLoader.hidePreLoad();konaLinks.get(e).isPainted=true;if(konaLinks.getInfo(e).surveyObject){setTimeout(function(){konaLinks.getInfo(e).surveyObject.run()},1510)}}else{d=konaLayers.getLayerNode(e)}konaLayers.setStick(e,false);konaLayers.hideAll(e);g.preLoader.hideAllPreLoaders();konaLayers.show(k,e);impressions.layerShown(e);if(konaLayers.isMScashback(e)){showKonaFlashMScashback(konaLayers.getTailPosition(e),e)}if(konaLinks.get(e).IsNewExpandableLayer()){showExpandKonaFlash(konaLayers.getTailPosition(e),e)}if(konaLayers.isKosmix(e)||konaLayers.isHP(e)||konaLayers.IsMotifLayer(e)){showMotifLayer(e)}if(konaLinks.getInfo(e).thirdPartyIframeObject){showKonaThirdPartyIframe(e)}g.layerReadyStartTime=(new Date()).getTime()}function BadRanges(a){this.pRanges=null;this.rRanges=null;this.pBoxes=null;this.root=a;this.matchProblematicBoxes=function(c){var d=this.getProblematicBoxes();for(var b=0;b<d.length;b++){if(isIntersecting(c,d[b])){return d[b]}}return null};this.getProblematicBoxes=function(){if(this.pBoxes==null){this.pBoxes=new Array()}else{return this.pBoxes}var b=boxesToAvoid;var e=null;for(var d=0;d<b.length;d++){nodes=this.root.getElementsByTagName(b[d]);for(var c=0;c<nodes.length;c++){this.pBoxes.push(getBoxXYpositions(nodes[c]))}}return this.pBoxes};this.getRestrictedRanges=function(){if(this.rRanges==null){this.rRanges=new Array()}else{return this.rRanges}var e=contentTags.getTagNamesList(TAG_TYPE_FILTER);for(var d=0;d<e.length;d++){arry=this.root.getElementsByTagName(e[d]);if(arry!=null&&arry.length){for(var c=0;c<arry.length;c++){if(isUserRestrictedNode(arry[c])){var b=document.body.createTextRange();b.moveToElementText(arry[c]);this.rRanges.push(b)}}}}return this.rRanges};this.getProblematicRanges=function(){if(this.pRanges==null){this.pRanges=new Array()}else{return this.pRanges}var b=["marquee","textarea","select","fieldset"];var f=null;var c=null;for(var e=0;e<b.length;e++){f=this.root.getElementsByTagName(b[e]);if(f!=null&&f.length){for(var d=0;d<f.length;d++){this.pRanges.push(this.getBadTagData(f[d]))}}}return this.pRanges};this.matchRestrictedRange=function(b){var e=this.getRestrictedRanges();var d=null;for(var c=0;c<e.length;c++){if(e[c].inRange(b)){return e[c]}}return null};this.matchBadRange=function(b,g,e){var f=this.getProblematicRanges();var d=null;for(var c=0;c<f.length;c++){if(f[c][0].inRange(b)||f[c][2]==g){d=f.splice(c,1)[0];b=d[0].duplicate();b.collapse(false);if(d[2]==null){b.move("word",1)}e.i+=d[1];return b}}return null};this.getBadTagData=function(d){var b=document.body.createTextRange();b.moveToElementText(d);var f=new Array();var e=false;if(b.text.length>0){f=toIEFormatArray(b.text)}else{if(d.innerText){f=toIEFormatArray(d.innerText);e=true}}var c=[b,f.length,e?d.innerText:null];return c};this.cleanText=function(e){var c=null;var d=0;this.getProblematicRanges();for(var b=0;b<this.pRanges.length;b++){c=this.pRanges[b][2];if(c!=null){e=e.replace(c,"")}}return e}}function PageInfo(a){this.cur=-1;this.aheadCur=this.cur;this.chunks=new Array();this.pageDone=false;this.pTemp=null;this.temp=null;this.lastDocSize=0;this.queryStrBase="";this.zeroChunkStr="";this.tagNum=a;this.wasTH=false;this.iMode=GET_HTML_MODE;this.inited=false;this.init=function(){};this.initChunks=function(){if(this.inited){return}this.initQueryStr();this.cur=-1;this.newChunk();this.aheadCur=this.cur;this.inited=true};this.reset=function(){this.pageDone=false;this.chunks=new Array();this.inited=false;this.initChunks()};this.sealPage=function(c){if(c){var b=this.getRunDao().getDump(3-this.cur);this.append(b);if(!this.isCurChunkFull()){this.sealChunk()}}else{this.sealChunk();while(this.hasChunk()){this.chunks[this.aheadCur]=null;this.aheadCur--}}this.pageDone=true};this.getRunDao=function(){if(typeof(this.getChunk())=="undefined"){return null}return this.getChunk().getRunDao()};this.setDoMode=function(c){this.iMode=c;if(this.iMode==DO_MARKUP_MODE){this.reset()}else{for(var b=0;b<this.chunks.length;b++){this.chunks[b].getRunDao().iMode=this.iMode}}};this.initQueryStr=function(){this.queryStrBase="$an_host$"+sSendScriptName+"u=#############&p="+(extConvertedPubId<0?dc_PublisherID:extConvertedPubId)+"&k="+urlEncode(sKey)+"&c=##&####o=####&e=####&al="+dcAdlinksActive+"&bAl="+isBoldActive+getCoresParamsString(this.tagNum)+(typeof(KonterDynamicContextDemoState)!="undefined"?"&d=1":"")+"&sj=#"+OptionallyGetUrl()+"&rId="+(String.format("{0}_{1}_{2}",(!isExternalPublisher?dc_PublisherID:extConvertedPubId),sUnique,sRandomPerPage)).replace(".","")+(prev_page!=""?String.format("&prev_page={0}",prev_page):"")+(typeof(dc_ChannelID)!="undefined"&&dc_ChannelID!=null?String.format("&cId={0}",dc_ChannelID):"")+((maximumLinks==-1)?"":"&ml="+maximumLinks)+"&h=";var b=getMetaTags();var c=document.title;if(c==null){c=""}c=urlEncode(fixPuncs(c));this.zeroChunkStr="&t="+c+b+"&ps="+getPageContentLength()};this.getChunkToSend=function(){var b=(this.isPageDone()&&this.aheadCur==this.cur);var c=this.getChunk().getChunkQueryStr(this.lastDocSize,b);this.lastDocSize+=this.getChunk().toString().length;this.cur++;this.wasTH=false;return c};this.getCurRoot=function(){aRootElems[this.getChunk().rootId][0]};this.nextRoot=function(){if(this.getChunk().rootId+1>=aRootElems.length){this.pageDone=true}else{this.getChunk().nextRoot()}};this.isCurChunkFull=function(){return this.getChunk().isChunkFull()};this.sealChunk=function(){this.expandAhead(this.getChunk().sealChunk())};this.append=function(b){this.pTemp=this.getChunk().append(b);if(this.pTemp==null){return true}else{this.expandAhead(this.pTemp)}return false};this.expandAhead=function(b){while(b!=null&&b.getLen()!=0){this.aheadCur++;this.temp=new ChunkInfo(this.aheadCur,this,this.getRunDao().duplicate());this.temp.getRunDao().exitCode=-1;if(bMozilla&&dc_PublisherID==33690){b=null}else{b=this.temp.setPrefix(b)}this.chunks[this.aheadCur]=this.temp}};this.hasChunk=function(){return(this.aheadCur>this.cur)};this.resetOnTH=function(c){if(fetchMethod==METHOD_TEXT_RANGE){var b=this.getChunk().getRoundTrip();this.dumpChunk();this.newChunk();this.getChunk().setTH(c);this.getChunk().setRoundTrip(b+1);this.pageDone=false}else{var e="";var d=0;if(this.hasChunk()){e=this.chunks[this.cur+1].toString();e=e.substring(0,e.length-2);e=this.getChunk().toString()+e;e=this.getChunk().thInfo.fillWithTH(e,c,d)}else{d=this.getChunk().prefix!=null?this.getChunk().prefix.getLen():0;e=this.getChunk().sentText.toString();e=this.getChunk().thInfo.fillWithTH(e,c,d)}this.dumpChunk();this.cur++;this.getChunk().resetForRefill();this.append(e)}};this.dumpChunk=function(){while(this.hasChunk()){this.chunks[this.aheadCur]=null;this.aheadCur--}if(this.cur>=0){this.cur--}};this.newChunk=function(){var b=null;if(fetchMethod==METHOD_TEXT_RANGE){b=(this.cur==-1?new RunTimeDao(0,0):this.getRunDao())}else{if(fetchMethod==METHOD_TREE){b=(this.cur==-1?new TreeDao(this.iMode,0,MIN_ELEMENT_FOR_ADLINK):this.getRunDao())}else{b=(this.cur==-1?new JParseDao():this.getRunDao())}}this.cur++;var c=this.getChunk();this.chunks[this.cur]=new ChunkInfo(this.cur,this,b);if(c!=null){this.getChunk().setPrefix(c.prefix)}};this.getChunk=function(b){if(typeof(b)!="undefined"){return this.chunks[b]}else{return this.chunks[this.cur]}};this.getChunkCur=function(){return this.cur};this.isPageDone=function(){return this.pageDone};this.getNewTH=function(b){if(this.wasTH){return -1}this.wasTH=true;return this.getChunk().getNewTH(MIN_TEXT_FOR_CHUNK+((this.pageDone||fetchMethod==METHOD_TREE)?300:0),b)};this.wasVisited=function(b){if(b.walkMark==this.iMode){return true}else{b.walkMark=this.iMode;return false}};this.init()}function ChunkInfo(c,b,a){this.thInfo=new THInfo(MIN_ELEMENT_FOR_ADLINK);this.textLength=0;this.prefix=null;this.wordCounter=0;this.maxWords=1200;this.sentText=new KonaStringBuffer();this.th=MIN_ELEMENT_FOR_ADLINK;this.rootId=0;this.chunkNum=c;this.quertStr="";this.chunkFull=false;this.runDao=null;this.treeDao=null;this.sealed=false;this.lastChunk=false;this.THlock=false;this.doEncode=true;this.init=function(e,d){if(d!=null){if(fetchMethod==METHOD_TEXT_RANGE&&this.runDao==null){this.runDao=d.duplicate()}else{if(fetchMethod==METHOD_TREE&&this.treeDao==null){this.treeDao=d.duplicate()}else{this.jParseDao=d.duplicate()}}this.rootId=d.rootId}this.initQueryStr();this.setTH(MIN_ELEMENT_FOR_ADLINK)};this.initQueryStr=function(){this.quertStr=b.queryStrBase.replace("&sj=#",this.chunkNum==0?b.zeroChunkStr:"&sj=#")};this.getRunDao=function(){if(fetchMethod==METHOD_TEXT_RANGE){return this.runDao}else{if(fetchMethod==METHOD_TREE){return this.treeDao}else{return this.jParseDao}}};this.resetForRefill=function(){this.sentText=new KonaStringBuffer();this.chunkFull=false;this.sealed=false;this.doEncode=false};this.getLastState=function(){return this.runDao.state};this.formatText=function(){if(this.prefix!=null){this.prefix.formatText()}this.resetStr(shortenSpaces(this.sentText.toString()).replace(/B\+B/g,"B++B"))};this.nextRoot=function(){this.rootId++;this.getRunDao().setRoot(this.rootId)};this.setPrefix=function(e){if(e==null){this.prefix=null;return}var d=this.maxLen()-e.getLen();var f=null;this.prefix=e;if(d<0){this.sealed=true;f=this.splitToChunks(e,e.toString(),d)}return f};this.set=function(e,f){var d=new RegExp("("+e+")[#]+");this.quertStr=this.quertStr.replace(d,"$1"+f)};this.setAnHost=function(){if(strAnalysisHostNameFromReaction!="na"){this.quertStr=this.quertStr.replace("$an_host$",strAnalysisHostNameFromReaction)}else{this.quertStr=this.quertStr.replace("$an_host$",analysisBase)}};this.getChunkQueryStr=function(h,g){this.setAnHost();this.set("u=",sUnique);this.set("c=",this.chunkNum);if(this.isLastChunk()||g){this.set("&","ls=1&")}else{this.set("&","")}this.set("o=",h);this.formatText();var e=this.toString().replace(/_\+B[\+$]/g,"_+");var d=this.toString().match(/^[_@]\+|\+[_@]\+|\+[_@]$/g);if(d!=null){iLastNodeNumber+=d.length}this.set("e=",iLastNodeNumber);if(iKonaServerColId!=-1){this.set("&sj=",iKonaServerColId)}else{this.quertStr=this.quertStr.replace("&sj=#","")}if(!this.sealed){var f=urlEncode(this.sentText.toString());this.resetStr(f);r=this.maxLen()-this.getLen();if(r<0){this.resetStr(f.substring(0,f.length+r))}}if(dc_PublisherID==1733&&document.location.href=="http://www.4x4wire.com/"&&this.chunkNum==0){var k=this.toString();k=k.replace("Online+Magazine+","L+Online+Magazine+");k=k.replace("more+.","more+.+_");return this.quertStr+k}return this.quertStr+this.toString()};this.isLastChunk=function(){if(this.chunkNum==maxAnalysisChunks-1||this.lastChunk){return true}};this.maxLen=function(){return iGetLimit-this.quertStr.length};this.isChunkFull=function(){return(this.chunkFull||this.maxLen()-this.getLen()<0)};this.resetStr=function(d){this.sentText=new KonaStringBuffer();if(d){this.sentText.append(d)}};this.sealChunk=function(){this.chunkFull=true;this.resetStr(urlEncode(this.sentText.toString()));r=this.maxLen()-this.getLen();return this.splitToChunks(this,this.sentText.toString(),r)};this.append=function(e){if(this.chunkFull){return}var d=this.maxLen()-this.getLen()-e.length;if(d<0){this.chunkFull=true;if(METHOD_JQUERY==fetchMethod){this.resetStr(this.sentText.toString())}else{this.resetStr(urlEncode(this.sentText.toString()));if(this.doEncode){e=urlEncode(e)}}d=this.maxLen()-this.getLen()-e.length;return this.splitToChunks(this,this.sentText.toString()+e,d)}this.sentText.append(e);return null};this.setTH=function(d){this.th=d;this.thInfo=new THInfo(d)};this.setRoundTrip=function(d){this.runDao.setRoundTrip(d)};this.getRoundTrip=function(){return this.runDao.getRoundTrip()};this.splitToChunks=function(e,k,g){e.sealed=true;var f=getLastPlusIndex(k,k.length+g-1);var h=new ChunkInfo(e.chunkNum+1,b,null);var d=k.substring(0,f+1);e.resetStr(d);var l=getLastMark(e.toString(),e.getLen());h.resetStr(l+"+"+k.substring(f+1));return h};this.addWordCount=function(d){this.wordCounter+=d};this.wordStartRegExp=new RegExp("(^|\\s)([a-zA-Z])","g");this.signRegExp=new RegExp("\\^","g");this.getLen=function(){return(this.prefix==null?0:this.prefix.getLen())+this.sentText.length()};this.getWordCount=function(){return this.wordCounter+(this.prefix==null?0:this.prefix.getWordCount())};this.hasEnoughWords=function(){if(this.getWordCount()>=this.maxWords){return true}else{return false}};this.getLinksLen=function(){return this.thInfo.getLen()};this.stackLinkLen=function(d){if(this.THlock){return}this.thInfo.stackLength(d)};this.stackLink=function(d){if(this.THlock){return}this.thInfo.stack(d,-1)};this.stackTH=function(e,d){this.thInfo.stack(e,this.getLen(),d)};this.stackChars=function(d){if(this.THlock){return}this.textLength+=d.length};this.toString=function(){return(this.prefix==null?"":this.prefix.toString())+this.sentText.toString()};this.getTextLen=function(){return this.textLength+(this.prefix==null?0:this.prefix.getTextLen())};this.getNewTH=function(g,d){if(typeof(d)=="undefined"){var d=this.getTextLen()}if(this.THlock||g<=d){return -1}this.THlock=true;var f=g-d;var e=f;var h=this.thInfo.getNewTH(f);return(h>=0?Math.max(h,LOWER_BOUND_FOR_ELEMENT):-1)};this.init(b,a)}function processPageContent(l){if(bIE){pageStatus=document.readyState}if(tagNumberDoingProcess!=l&&tagNumberDoingProcess!=-1||iChunkNumber>=maxAnalysisChunks){return}tagNumberDoingProcess=l;pageInfo.initChunks();var a=-1;if(!pageInfo.isPageDone()&&!pageInfo.hasChunk()){if(dc_showAlerts||dc_jsTest){var d=new Date()}if(fetchMethod==METHOD_TEXT_RANGE){harvestTimer=new Date();var e=harvestTimer.getTime();var b=0;var h=0;while(!pageInfo.isCurChunkFull()&&!pageInfo.isPageDone()){harvestChunk();if(pageInfo.getRunDao().exitCode==kLang.OUT_OF_ROOT||pageInfo.getRunDao().exitCode==kLang.OUT_OF_WORDS){pageInfo.nextRoot()}b=(new Date()).getTime();globalTimeCount+=(b-e);e=b;if(!dc_jsDebug&&(globalTimeCount>PAGE_PROCESS_TIMEOUT)){pageInfo.sealPage(false)}else{if(pageInfo.getRunDao().exitCode==kLang.TRASHING){pageInfo.sealPage(true)}else{if(pageInfo.getRunDao().exitCode==kLang.OUT_OF_TIME){pageInfo.sealChunk()}else{if(pageInfo.isCurChunkFull()||pageInfo.isPageDone()){if(dc_jsDebug||(dc_doTHLoop&&(b-harvestTimer.getTime()<=HARVEST_TIMEOUT*0.6))){a=pageInfo.getNewTH();if(a!=-1){pageInfo.resetOnTH(a)}}}}}}}}else{if(fetchMethod==METHOD_TREE){walkTheTree(GET_HTML_MODE)}else{if(fetchMethod==METHOD_JQUERY){newWalkTheTree(GET_HTML_MODE)}}}if(dc_showAlerts||dc_jsTest){var c=new Date();var g=c.getTime()-d.getTime();testingInfo.setChunkTime(g)}}if(pageInfo.getChunk()==undefined){return}if(pageInfo.getChunk().getLen()<MINIMUM_TEXT_IN_PAGE){return}var k=pageInfo.getChunkToSend();var f=document.createElement("script");f.setAttribute("language","JavaScript");f.setAttribute("src",k);iChunkNumber++;dcDOMLock=false;document.getElementById("konasapn"+l).appendChild(f)}function addCoreContentLink(k,l,d,e,g,c,a,b,h,f){konaLinks.addLink(new Links(k,l,d,e,g,c,a,b,h,f));testingInfo.serverLinks++}function addContentLink(e,c,f,b,d,g,a){if(dc_PublisherID==35554&&e<100){return}konaLinks.addLink(new Links(e,c,f,b,d,g,a));testingInfo.serverLinks++}function addContentInfo(l,c,x,B,n,w,f,v,d,g,u,A,y,z,m,a,t,e,b,k){var h=konaLinks.get(l);if(h.status==LOADED||h.status==IMAGE_LOADING||h.status==IMAGE_DONE_LOADING){return}if(directAdsPrefetch==true&&h.autoFetch&&h.hasDirect){h.status=LOADED;return}var q=g.split("$|$")[0];if(h.clicked||(h.status==YAHOO_LOADING&&isAlternativ(q))){h.status=LOADED;return}if(layerModeLock&&h.status!=DISABLED){applyLayerMode(l,konaLayerMode)}h.status=LOADED;h.addInfo(c,new LinkInfo(x,B,n,w,f,v,d,g,u,A,y,z,m,a,t,e,b,k));SpecialType_strategy.handleSpecialTypeString(l)}function addContentInfoEmpty(a){konaLinks.get(a).status=LOADED}function runOnPage(g,k,f){iKonaResultCode=k;var e=(!useRonLinks&&dc_analysis&&iKonaResultCode==0)||dc_forceAnalysis;var d=(iKonaResultCode==1||!dc_analysis)&&!useRonLinks;var h=d?contentMarkTimeOut:contentProcessTimeOut;if(layerPreload==null){layerPreload=new Image();layerPreload.src=layerPreloadSrc}if((pageStatus!=PAGE_READY&&document.readyState!="complete")&&!doRunOnPage){var b=d?100:150;timeCounter+=b;window.setTimeout("runOnPage("+g+","+k+',"'+f+'")',b);return}if(doRemoveEmbeddedAdlinks){removeEmbeddedAdlinks()}getRootElems();doAnalysis=(dc_analysis||f=="S"||f=="D");if(e&&!dcDOMLock){dcDOMLock=true;if(doAnalysis||dc_forceAnalysis){doAnalysis=false;dc_forceAnalysis=false;processPageContent(g)}dcDOMLock=false}else{if(d&&!dcDOMLock){dcDOMLock=true;konaBuilder=new KonaBuilder();teUrlForBadAdv=teUrl.replace(httpTEServRegExp,teBadAdvReplacementStr);teUrl=teUrl.replace(httpTEServRegExp,teReplacementStr);redirectUrl=redirectUrl.replace(httpTEServRegExp,teReplacementStr);if(dc_showAlerts||dc_jsTest){var c=new Date()}konaLinks.prepareLinks();if(!dc_analysis){konaLinks.clear();exhibits.embedExhibits(true);konaLinks.prepareLinks()}else{if(exhibits.embedExhibits()){konaLinks.prepareLinks()}}showAdlinks(g);exhibits.showExhibits();dcDOMLock=false;if(dc_showAlerts||dc_jsTest){var a=new Date();testingInfo.setMarkupTime(a.getTime()-c.getTime());if(dc_jsTest){testingInfo.end()}}}else{if(iKonaResultCode==2){}}}}function setKonaMarkStyle(c){konaImages=new KonaImages();konaImages.init();validateInfoUnit(c);var e=c.dc_open_new_win=="yes"?"_new":"_top";if(c.dc_single_line=="yes"){c.dc_underlineType="none"}linkTemplate="<a href=# style='text-decoration: underline !important;"+adlinkChildStyle+"' class='kLink' onMouseOver='adlinkMouseOver(event,this,<1>);' target='"+e+"' id='KonaLink<1>' onclick='adlinkMouseClick(event,this,<1>);' oncontextmenu='return false;' onmouseout='adlinkMouseOut(event,this,<1>);' ><font #FS# color='"+c.dc_AdLinkColor+"' ><2></font></a>";var f="top:0px; right:0px;bottom:0px;left:0px;";var d="border: 0px none transparent !important;background: transparent none !important;margin: 0px 0px 0px 0px; padding:0px 0px 0px 0px !important;text-transform: none !important;display:inline !important;font-variant:normal;";var e=c.dc_open_new_win=="yes"?"_new":"_top";if(c.dc_single_line=="yes"){c.dc_underlineType="none"}var a="font: normal "+c.dcAL_LY_descFontSize+" "+c.dcAL_LY_FontType+" !important; color: "+c.dcAL_LY_descFontColor+"; text-align: left;";var b=[["span.kLink","border-top: 0px none !important;border-left: 0px none !important;border-right: 0px none !important;border-bottom:  1px "+c.dc_underlineType+" "+c.dc_AdLinkBorderColor+" ;padding : 0px 0px "+(bIE?"0.5pt":"1px")+" 0px !important;color:"+c.dc_AdLinkColor+";background: transparent none;width: auto !important;float: none !important;display:inline !important;"],["a.kLink","color:"+c.dc_AdLinkColor+" !important ; border-bottom-style: none;text-decoration: underline;cursor: "+cursorType+";font-family: "+c.dcAL_LY_FontType+";"+d+f],["a.kLink:link","color:"+c.dc_AdLinkColor+" !important ; border-bottom-style: none;text-decoration: underline;cursor: "+cursorType+";font-family: "+c.dcAL_LY_FontType+";"+d+f],["a.kLink:hover","color:"+c.dc_AdLinkColor+";text-decoration: underline;cursor: "+cursorType+";font-family: "+c.dcAL_LY_FontType+";"+d+f],["a.kLink:visited","color:"+c.dc_AdLinkColor+";text-decoration: underline;cursor: "+cursorType+"; font-family: "+c.dcAL_LY_FontType+";margin: 0px 0px 0px 0px; padding:0px 0px 0px 0px;"],[".sponsor","font-family: MS Sans Serif, Verdana; color: "+c.dcAL_LY_captionFontColor+";font-size: 9pt; cursor: default;"],[".konaLayers","azimuth:center;border-collapse:separate;border-spacing:0;caption-side:top;cursor:auto;direction:ltr;elevation:level;empty-cells:show;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;line-height:normal;list-style-image:none;list-style-position:outside;list-style-type:disc;orphans:2;page-break-inside:auto;pitch-range:50;pitch:medium;position:static;richness:50;right:auto;speak-header:once;speak-numeral:continuous;speak:normal;speech-rate:medium;stress:50;text-align:left;text-indent:0;text-transform:none;visibility:visible;volume:medium;white-space:normal;widows:2;word-spacing:normal;"],[".konaLayers *","background-attachment:scroll;background-color:transparent;background-image:none;background-position:0% 0%;background-repeat:repeat;border-style: none none none none;border-width: medium medium medium medium;clear:none;color:inherit;content:normal;counter-increment:none;counter-reset:none;cue-after:none;cue-before:none;float:none;left:auto;letter-spacing:normal;margin: 0px 0px 0px 0px;max-height:none;"+(bSafari?"":"max-width:none;")+"min-height:0;min-width:0;outline-color:invert;outline-style:none;outline-width:medium;overflow:visible;padding:0px 0px 0px 0px;page-break-after:auto;page-break-before:auto;pause-after:0;pause-before:0;position:static;table-layout:auto;text-decoration:none;top:auto;unicode-bidi:normal;"+(bSafari?"":"width:auto;")+"z-index:auto;"],[".konaLayers .konaLayer","position: absolute; top:0px; left:0px; width: 313px; padding: 0px; visibility: hidden; text-align:left; overflow: hidden;"],[".konaLayers .konaLayer a","font-weight: normal;text-decoration:none;"+d+f],[".konaLayers .konaLayer a:link","font-weight: normal;text-decoration:none;"+d+f],[".konaLayers .konaLayer a:hover","font-weight: normal;text-decoration:none;"+d+f],[".konaLayers .konaLayer b","font-size:inherit;"],["a.CBL","cursor:default;"],["a.CBL:link","cursor:default;"],["a.CBL:hover","cursor:default;"],["a.CBL:visited","cursor:default;"],[".konaLayers .CBL .handleTd div","cursor:default;"],[".konaLayers .konaPlate","cursor : pointer;"],[".konaLayers .konaPlate .konaBox","background: url("+konaImages.top_box.src+") left top no-repeat;width: 313px;"],[".konaLayers .konaPlate .konaBottomBox","width: 313px; height:"+konaBottomHeight[0]+"px; font-size: 3px; "+(bIE?"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+konaImages.box_bottom.src+"', sizingMethod='scale');":"background: url("+konaImages.box_bottom.src+") left top no-repeat;")],[".konaLayers .konaPlate .konaBottomBox_Right","width: 313px; height:"+konaBottomHeight[0]+"px; font-size: 3px; "+(bIE?"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+konaImages.box_bottom_right.src+"', sizingMethod='scale');":"background: url("+konaImages.box_bottom_right.src+") left top no-repeat;")],[".konaLayers .konaPlate .konaBottomBox_drag","width: 313px; height:"+konaBottomHeight[1]+"px; font-size: 3px; "+(bIE?"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+konaImages.box_bottom_drag.src+"', sizingMethod='scale');":"background: url("+konaImages.box_bottom_drag.src+") top no-repeat;")],[".konaLayers .handleTd","vertical-align: top; width: 180px;"],[".konaLayers .handleTd div","cursor: move; padding: 0px 0px 0px "+paddingLeftPub+"; font-size: 3px;"],[".konaLayers .handleTd img",(isXHTMLPage&&!bIE?"vertical-align:top;":"")],[".konaLayers .frameBarCell_left","width:"+frameBarCell_leftSize+"; vertical-align: top; padding: 0px 0px 0px 0px;"],[".konaLayers .frameBarCell_right","width: 32px; vertical-align: top; padding-top: 0px; font-size: 5px;"],[".konaLayers .frameBar","margin-left: 7px; margin-right: 6px; cursor:auto; width:300px;"],[".konaLayers .konaDescDiv"," cursor: pointer; padding-top: 2px;"],[".konaLayers .table02","margin-left: 9px; font: normal 13px arial; width: 305px;"],[".konaLayers .table03","margin-left: 8px; font: normal 13px arial; width: 280px; "+(bIE?"":"table-layout: fixed;")],[".konaLayers .table03_flv02","margin: 0px 0px 0px 32px; width: 242px; font: normal 13px arial; "+(bIE?"":"table-layout: fixed;")],[".konaLayers .konaLayerTitle","text-align:center; padding-right: 10px;"],[".konaLayers .konaLayerRMTitle","text-align:left; padding-right: 10px; padding-left: 6px;"],[".konaLayers .konaLayerTitleText ","font: bold "+c.dcAL_LY_titleFontSize+" tahoma; color:"+konaLayerTitleTextColor+"; !important; text-decoration: underline;display:block;"],[".konaLayers .konaLayerTitleText b","font-size : "+c.dcAL_LY_titleFontSize+"; color: #FFA200;"],[".konaLayers .konaLayerDesc","padding: 6px 7px 0px 0px; "+a],[".konaLayers .konaLayerDescDownlod","padding: 6px 7px 0px 0px; vertical-align:top; "+a],[".konaLayers .konaLayerDesc b","font-size : "+c.dcAL_LY_descFontSize+"; color: "+c.dcAL_LY_descFontColor+";"],[".konaLayers .konaLayerLinks td","padding-top: 8px;"],[".konaLayers .konaLayerShopLinks td","padding-top: 1px; font-size: 9px;"],[".konaLayers .site","padding-left: 8px; overflow:hidden;"+adLinkTextAlign],[".konaLayers .site a","color: #666666 !important; font: normal 11px arial !important; text-decoration: underline !important; overflow:hidden;"],[".konaLayers .site a:hover","color: #FFA200 !important;"],[".konaLayers .buyNow","text-align: right; width:105px;"],[".konaLayers .konaLayer img","border: 0px;display:inline; padding:0px;"],[".konaLayers .imgBanner","padding: 6px 13px 0px 6px; vertical-align: top; width:"+widthLoadingLayer+"; text-align: center;"+(bIE?"":(!isXHTMLPage?"padding-bottom: 4px;":""))],[".konaLayers .imgShoppingBanner","padding: 5px 4px 0px 3px; vertical-align: top; width: 51px; text-align: center;"],[".konaLayers .imgBanner_down","padding: 5px 13px 0px 13px; vertical-align: top; width:"+widthLoadingLayer+"; text-align: center;"],[".konaLayers .top_curve","width: 313px; height: 10px; padding:0px; margin:0px;"+(((isXHTMLPage&&!bIE)||bIE)?"vertical-align:bottom;":"")+(bIE?"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+konaImages.top_curve.src+"', sizingMethod='image');":"background: url("+konaImages.top_curve.src+") left "+(bSafari?"bottom":"top")+" no-repeat;")],[".konaLayers .drop_top_curve","width: 313px; height: 35px;"+(isXHTMLPage&&!bIE?"vertical-align:bottom;":"")+(bIE?"padding:0px; margin:0px;":"font-size: 3px;")+(bIE?"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+konaImages.drop_top_curve.src+"', sizingMethod='scale');":"background: url("+konaImages.drop_top_curve.src+") top no-repeat;")],[".konaLayers .drop_top_curve_right","width: 313px; height: 35px; "+(bIE?"padding:0px; margin:0px;":"font-size: 3px;")+(isXHTMLPage&&!bIE?"vertical-align:bottom;":"")+(bIE?"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+konaImages.drop_top_curve_right.src+"', sizingMethod='scale');":"background: url("+konaImages.drop_top_curve_right.src+") top no-repeat;")],[".konaLayers .konaSearchRow td","padding-top: 2px;"],[".konaLayers .konaSearchTable","margin-left: 5px; font: normal 13px arial;"],[".KonaBody",(!bSafari&&!isKonaBodyPositionChanged?"display:inline;":"")],[".konaLayers .table02_flv","margin-left: 10px; "+(bIE?"margin-top: 7px;":"margin-top: 3px; margin-bottom: -4px;")],[".konaLayers .table02_flv02","margin-left: 34px; width: 234px; "+(bIE?"margin-top: 7px;":"margin-top: 3px;")],[".konaLayers .table02_flv03","margin-left: 6px;"+(bIE?"margin-top: 7px;":"margin-top: 3px;")],[".konaLayers .konaLayer_flvTD01",(bIE?"padding: 6px 0px 0px 6px;":"padding: 6px 6px 0px 6px;")],[".konaLayers .konaLayer_flvTD02",(bIE?"padding: 5px 0px 0px 6px;":"padding: 5px 6px 0px 6px;")],[".konaLayers .konaLayer_flvEmbed01",""],[".konaLayers .konaLayer_flvEmbed02",(!bIE?"margin-bottom: -3px;":"")],[".konaLayers .konaLayerDesc_nearFLV",a+"vertical-align: top; "+(bIE?"padding: 11px 10px 0px 5px;":"padding: 11px 10px 0px 0px;")],[".konaLayers .konaLayerDesc_underFLV",a+"font: normal 11px/14px verdana !important; vertical-align: top; "+(bIE?"padding: 2px 0px 0px 6px;":"padding: "+(isXHTMLPage?"0px":"4px")+" 0px 0px 6px;")],[".konaLayers .konaLayerLearnMore","text-align:left; vertical-align: bottom; "+(bIE?"padding: 0px 0px 1px 14px;":"padding: 0px 0px 1px 6px;")],[".konaLayers .konaLayerLearnMore02","vertical-align: top; text-align:right;"+(bIE?"padding: 0px 0px 0px 12px;":"width: auto !important; padding: 4px 0px 0px 0px !important;")],[".konaLayers .konaLayerDownload","vertical-align: top; text-align:right;"+(bIE?"width: 132px; padding: 0px 0px 0px 12px;":"width: 132px !important; padding: 4px 0px 0px 0px !important;")],[".konaLayers .konaLayerLinks_underFLV td",(bIE?"width: 170px !important; padding-top: 4px; word-wrap:break-word;":"padding-top: "+(isXHTMLPage?"0px":"4px")+"; padding-bottom: 4px; line-height: 14px;")],[".konaLayers .konaLayerLinks_underFLV02 td",(bIE?"padding-top: 7px; word-wrap: break-word; width: 130px !important;":"padding-top: 4px; line-height: 14px;")],[".konaLayers .konaFlashWrap","width: 320px; height: 288px; "],[".konaLayers .konaFlashDrag","position:absolute;width:198px;height:26px;background-color:#ffffff;opacity:0;filter:alpha(opacity=0);cursor:move;"],[".konaLayers .konaFlashContent","width: 320px; height: 288px;"],[".konaLayers #konaFlashBubble","width: 320px; height: 288px; "],[".konaLayers .konaBigFlashWrap","position:absolute;width:470px;height:395px;"],[".konaLayers .konaBigFlashDrag","position:absolute;z-index:17;width:347px;height:24px;left:85px;top:5px;background-color:#ffffff;opacity:0;filter:alpha(opacity=0);cursor:move; "],[".konaLayers .konaBigFlashContent","position:absolute;left:0;top:0;z-index:12;width:470px;height:395px; "],[".konaLayers .konaInfocomSearchTD .konaLineInputTD","position:relative;"],[".konaInfocomTableContainer","margin-left:21px;"],[".konaInfocomSearchTD","background: url("+konaImages.info_search_area.src+"); width: 270px; height:46px;"],[".konaInfocomSearchTable","margin-top: 10px; margin-left:13px; width:244px;"],[".konaInfocomSearchField","width:163px; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; background-color:#FFF;color:#000; border:1px inset #ccc; padding: 1px 0px;"],[".konaInfocomInputContainer","position:relative; width: 163px; text-align: left; overflow: hidden;"],[".konaLayers .konaFlashWrap","position:relative;"],[".konaLayers .konaExpandFlashWrap","position:relative;"],[".konaLayers .konaFlashDrag","z-index:100;position:absolute;width:198px;height:26px;background-color:#ffffff;opacity:0;filter:alpha(opacity=0.0);cursor:move;top:0px;"],[".konaLayers .konaExpandFlashContent",""],[".konaLayers .konaExpandFlashIframe","/*background:yellow;*/z-index:9999;position:absolute;"],[".konaLayers .konaWebnaryGradientTD .konaLineInputTD","position:relative; width: 200px"],[".konaWebnaryGradientTD","background:url("+konaImages.webnary_kona_grad.src+") repeat-x; height:39px; width:300px;"],[".konaWebnaryTable","width: 300px; height:112px; margin-left:7px; margin-top:3px"],[".konaWebnaryHeadTD","width: 300px; height:51px;"],[".konaWebnarySubTD","width: 300px; height:22px;"],[".konaWebnarySearch","width:280px; height:23px; margin: 3px 0 0 10px;"],[".konaWebnaryInput","width: 200px; font: 12px Verdana, Arial, Helvetica, sans-serif; background-color:#FFF;color: black; border:1px inset #ccc; padding: 1px 0px;"],[".konaWebnarySubmit","margin-left:5px;"],[".konaWebnaryInputContainer","position:relative; width: 200px; text-align: left; overflow: hidden;"],[".konaLayers .konaFDGradientTD .konaLineInputTD","position:relative; width: 193px"],[".konaFDGradientTD","background:url("+konaImages.konaFDbottom.src+"); height:39px; width:300px;"],[".konaFDTable","width: 300px; height:112px;"],[".konaFDHeadTD","width: 300px; height:55px;"],[".konaFDSubTD","width: 300px; height:20px;"],[".konaFDSearch","width:280px; height:23px; margin: 3px 0 0 10px;"],[".konaFDInput","width: 193px; font: 12px Verdana, Arial, Helvetica, sans-serif; background-color:#FFF;color: black;border:1px inset #ccc; padding: 1px 0px;"],[".konaFDSubmit","margin-left:5px;"],[".konaFDInputContainer","position:relative; width: 193px; text-align: left; overflow: hidden;"],[".konaYahooShoppingTable","width: 288px; height:125px; border: none; margin-left: 12px; margin-top: 5px; background-image:url("+konaImages.konaYahooSbgWhite.src+");"],[".konaYahooShoppingTable2","width: 288px; border: none; margin-left: 12px;"],[".konaYahooShoppingHeader","height: 31px; font-family:Verdana, Arial, Helvetica, sans-serif; padding-bottom: 0px; vertical-align:middle; text-align:center;"],[".konaLayers .konaLayer a.konaYahooShoppingTitle","font-size:11px; font-weight:bold; color: #000000; text-decoration:underline; cursor:default;"],[".konaYahooShoppingContentTable","border: none; padding:0;"],[".konaYahooShoppingImageTd","padding-top:6px; padding-right:0px; padding-left:12px; padding-bottom:0px; vertical-align:top;"],[".konaLayers .konaLayer .konaYahooShoppingImg","border:solid 1px; border-color: #808080;"],[".konaYahooShoppingPrice","padding-bottom:5px; padding-right: 7px;"],[".konrYahooShoppingFont","font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; color: #000000;"],[".konaYahooShoppingText","width: 177px; padding-left: 5px"],[".konaYahooShoppingDescriptionTable","height: 80px;"],[".konaYahooShoppingDescriptionTd","vertical-align: top;"],[".konaYahooShoppingDescription","margin:0; padding: 3px 3px 7px 2px; text-align:left; vertical-align:top; line-height:1.5;"],[".konaYahooSecondTable","background-image:url("+konaImages.konaYahooSbgMiddle2.src+"); width:100%; border: none;"],[".konaYahooSecondTableLinkTD","padding-left:15px; vertical-align:bottom;"],[".konaLayers .konaLayer a.konrYahooLink1","color:#0170b3; font-size:10px; text-decoration: underline; font-family: verdana,sans-serif;"],[".konaYahooSecondTableButtonTD","float:right; vertical-align:bottom;"],[".konaYahooShoppingBuyNowImg","margin-right: 5px; float:right; border:none;"],[".konaYahooShoppingBottomTd","padding:0px; vertical-align:top;"],[".konaYahooShoppingBottomImg","padding:0; margin:0;"],[".konaYahooShoppingPoweredImg","margin:5px 0 0 0; padding:0;"],[".konaLayers .konaBox_bottom","background: url("+konaImages.box_separator.src+") left top no-repeat; width: 313px; height: 10px; font-size: 1px;"],[".konaLayers .konaBox02","background: url("+konaImages.box.src+") left top no-repeat; width: 313px; padding-top: 7px;"],[".konaLayers .konaLayer .konatabs_Search","margin: 0px 0px 0px 16px; width: 280px; padding: 0px; text-align: left; background: url("+konaImages.tabs_bg.src+") bottom repeat-x;"],[".konaLayers .konaLayer .konatabs_Table td","padding-right: 4px;"],[".konaLayers .konaLayer .konatabs_Table div","height: 18px; padding: 0px ; text-align: center; background: url("+konaImages.tab_right.src+") bottom right no-repeat;"],[".konaLayers .konatabs_Table div span","display:block; height: 15px; padding: 3px 7px 0px 9px; text-align: center; background: url("+konaImages.tab_left.src+") bottom left no-repeat; color: #808080; font: normal 11px arial; cursor: pointer;"],[".konaLayers .konaLayer .konatabs_Table div.selected","background: url("+konaImages.tab_selected_right.src+") bottom right no-repeat; cursor: default;"],[".konaLayers .konatabs_Table div.selected span","background: url("+konaImages.tab_selected_left.src+") bottom left no-repeat; font: bold 11px arial; color: #96BF00; cursor: default;"],[".konaLayers .konaSearch_Form","margin: 6px 0px 0px 15px;"],[".konaLayers .konaSearch_Form input","font: normal 11px verdana; color: black; border: 1px solid #7F9DB9; margin-right: 3px;padding-left:2px;"],[".konaLayers .konaSearch_Form .konaSearchName","font: normal 11px verdana; color: #96BF00; padding-right: 6px;"],[".konaLayers .konaLayer .konaBox02 td.konaHover * ","color: #96BF00;"],[".searchTbContainer","width:295px; height:20px; border:0px solid red; padding:0 0 0 0; margin: 0 0 0 0;"],[".searchTransTb","width:10px; height:20px; border:0px solid blue; margin:0; padding: 0; vertical-align:middle;"],[".searchLogoTb","width:81px; height:20px ;vertical-align:middle;border:0px solid red; margin:0; padding: 0; "],[".searchInputTb","width:140px;  height:20px; vertical-align:middle; margin:0; padding: 0; "],[".searchButtonTb","width:63px;  height:20px; vertical-align:middle;border:0px solid red; margin:0; padding: 0; "],[".searchInputFieldTbDiv","width:133px; height:16px; position:relative; background-color: #fff; border:1px solid #939aa0; padding-left: 2px; margin:0; vertical-align:middle; "],[".searchInputFieldTb","font-size:12px; font-weight: normal; font-family:Tahoma, Arial, sans-serif; color:#000000;background-color: transparent;position:absolute;"],[".konaYahooSponsored_bckgr","background:url("+konaImages.konaYSponsored_fon_w_text.src+"); height:113px; width:300px; margin-left:7px; margin-top:3px"],[".konaYahooSponsored_table","margin-top: 72px; margin-left: 17px;"],[".konaYahooSponsored_input","width: 182px; font: Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; background-color:#FFF;color: black;border:1px inset #ccc; padding: 1px 0px;"],[".konaYahooSponsored_inputContainor","position:relative; width: 182px; text-align: left; overflow: hidden;"],[".konaYahooSponsored_td","padding:2px;"]];if(cssForStrangeProblems!=""){for(i=0;i<cssForStrangeProblems.length;i++){b.push(cssForStrangeProblems[i])}}insertStyles(b)}function insertStyles(a){var e=bIE?document.getElementsByTagName("STYLE").length:0;if((!isDynamicContent||(bIE&&document.readyState!="complete"))&&(e<MAX_STYLE_ELEMENTS_ON_PAGE)){document.write("<style id='konaStyle' type='text/css'>");var g="";for(var d=0;d<a.length;d++){g+="\n "+a[d][0]+" { "+a[d][1]+" } "}var f=g;document.write(g);document.write("</style>");if(bIE&&(dc_PublisherID==8192)){document.write("<style id='konaStyle1' type='text/css'>");document.write(f);document.write("</style>")}}else{var b;b=document.createElement("style");b.type="text/css";b.media="all";b.rel="stylesheet";b.id="konaStyleSheet";b.name="konaStyleSheet";var c=document.getElementsByTagName("head").item(0);c.appendChild(b);for(var d=0;d<a.length;d++){if(a[d][1].length>0){appendStyleRule(a[d][0],a[d][1])}}}}function appendStyleRule(a,e){if(document.styleSheets){if(document.styleSheets.length>0){var f=document.styleSheets.length-1;if(document.styleSheets[0].insertRule){try{document.styleSheets[f].insertRule(String.format("{0} { {1} } ",a,e),document.styleSheets[f].cssRules.length)}catch(d){var c=new RegExp("filter:.+;","g");var b=new RegExp("color:#FFA200;; !important;","g");e=e.replace(b,"color:#FFA200;").replace(c,"");document.styleSheets[f].insertRule(String.format("{0} { {1} } ",a,e),document.styleSheets[f].cssRules.length)}}else{if(document.styleSheets[0].addRule){document.styleSheets[f].addRule(a,e)}}}}}function getFontSizeStr(a,b){return GoodDecimal(a)?"size="+a:""}function getStyleAttribute(obj,attributeType,simpleAttribute){var attributValue="";if(bIE){var style=obj.currentStyle;if(typeof(style)!="undefined"){attributValue=eval("style."+attributeType)}}else{attributValue=getKonaComputedStyleNamedProp(obj,attributeType)}return attributValue}function AdLinkStyle(d,a,c,b){this.fontType=d;this.fontWeight=a;this.fontSize=c;this.fontSizeStr=b;this.styleStr=(d==""?"":"font-family:"+d+";")+(a==""?"":"font-weight:"+a+";")+(b==""&&c!=""?"font-size:"+c+";":"")}var fontApostrophesRegExp=new RegExp("[\\']","gi");function createAdLinkStyle(h){var a="";var e="";var g="";if(h.nodeType==Node.TEXT_NODE){h=h.parentNode}if(bIE){a="fontFamily";e="fontSize";g="fontWeight"}else{a="font-family";e="font-size";g="font-weight"}var f=adlinkFontCheck?getStyleAttribute(h,g,true):"";if(dc_AdLinkBold){f=Number(700)}var d=linksFontFamily==""?getStyleAttribute(h,a,true):linksFontFamily;d=d.replace(fontApostrophesRegExp,'"');var k="";var b=new RegExp("h[1-6]","gi");if(forceFontSizeCheck||(adlinkFontCheck&&(!bIE||!isChildOf(4,h,b)))){k=getStyleAttribute(h,e,true)}var c="";if(ignoreRelativeFonts&&isRelativeFont(k)){k=ignoreFontSize(k)}else{if(k!=""&&k.indexOf("-")<=-1){c=getFontSizeStr(k,h)}}return new AdLinkStyle(d,f,k,c)}function isRelativeFont(a){return(a.indexOf("em")!=-1||a.indexOf("%")!=-1||relativeSizes.indexOf(a.toLowerCase())!=-1)}function ignoreFontSize(a){if(a.indexOf("%")!=-1&&overrideFontSize){return"100%"}else{return""}}function getSpans(a){while(a&&a.tagName!="SPAN"){a=a.firstChild}return a?a.parentNode.childNodes:null}function setAdLinkStyle(b,a){var d=getSpans(b)[0];var c=null;try{while(d!=null){c=d.style;if(!bIE){c.paddingBottom="1px;"}if(a){if(infoUnit.dc_single_line!="yes"){c.borderBottomStyle="solid"}if(colorChangeLink){c.borderBottomColor=infoUnit.dc_AdLinkColor;c.borderBottomWidth="2px"}else{c.borderBottomWidth=(infoUnit.dc_underlineType=="solid")?"3px":"1px"}c.backgroundColor=unescape(infoUnit.dcAL_bgColor)}else{if(colorChangeLink){c.borderBottomColor=infoUnit.dc_AdLinkBorderColor}else{c.borderBottomColor=infoUnit.dc_AdLinkColor}c.borderBottomWidth="1px";c.borderBottomStyle=infoUnit.dc_underlineType;c.backgroundColor="transparent"}d=d.nextSibling}}catch(f){}}function createAdLinkStr(k,g,d){dc_adLinkStyle=createAdLinkStyle(k);var c=linkTemplate.replace(/<1>/g,g).replace(/<2>/g,"$3");var e=(konaLinks.get(g).linkType==1);var a="color: "+unescape(e?kCoreLinkColor:infoUnit.dc_AdLinkColor)+" !important;";a+=dc_adLinkStyle.styleStr;c=c.replace(/#FS#/g,dc_adLinkStyle.fontSizeStr+" style='"+a+adlinkChildStyle+"'");var h="";var b=d.split(" ");for(var f=0;f<b.length;f++){h+="<span class='kLink' style='"+a+adlinkWordStyle+"' >"+b[f]+(f==b.length-1?"":" ")+"</span>"}c=c.replace("$3",h);return c}function createAdLinkNode(c,b,a){return konaLinkBuilder.getContentLink(c,b,a)}function isBoldNode(e){var d="";var a="";var c="|"+e.nodeName.toLowerCase()+"|";if(isBoldActive=="0"){if("|b|strong|".indexOf(c)!=-1){return true}startIndex=0;a=getKonaComputedStyleProp(e,"fontWeight");if(GoodDecimal(a)){if(Number(a)>=700){return true}}else{if(a=="bold"){return true}}}if(boldTagsStr.indexOf(c)!=-1){return true}else{if(c=="|font|"){var b=e.getAttribute("size");if(b&&b>=boldFontSize){return true}}}return false}function konaInit(b){if(initLock){return true}else{initLock=true}testingInfo=new TestingInfo();infoUnit=aInfoUnits[0];checkCookieChange();cookieFeed();if(haltcheck()){return false}if(restrictedTagsStr==null){restrictedTagsStr="|";for(var a=0;a<restrictedTags.length;a++){restrictedTagsStr+=restrictedTags[a]+"|"}}if(boldTagsStr==null){boldTagsStr="|";for(var a=0;a<boldTags.length;a++){boldTagsStr+=boldTags[a]+"|"}}if(kLang==null){kLang=new KonaLang()}if(pageInfo==null){pageInfo=new PageInfo(0)}if(contentTags==null){contentTags=new ContentTags(infoUnit)}if(isDynamicContent){b=false}loadExternalScripts(!b);if(!doStaticStyle){setKonaMarkStyle(infoUnit)}impressions=new ImpressionDaoFunc();konaLinks=new KonaLinks();konaLinkBuilder=new KonaLinkBuilder();konaRichMedia=new KonaRichMedia();aRootElems=new Array();if(dc_getCoreLinks){maxLinksOnPage=Number.MAX_VALUE}return true}ensureDefined("iTagNumber","0");if(iTagNumber==0){if(typeof(__externalInitFunction)==="function"){__externalInitFunction()}ensureDefined("Node.ELEMENT_NODE",1);ensureDefined("Node.TEXT_NODE",3);ensureDefined("aInfoUnits","['']");ensureDefined("dcAdlinkHighlights","['']");ensureDefined("dc_PublisherID",(typeof(this["iKonaPublisherID"])=="undefined")?"4":"iKonaPublisherID");ensureDefined("dc_ExtId","-1");if(typeof(this["dc_PartnerID"])!="undefined"){eval("var dc_PublisherID = dc_PartnerID")}ensureDefined("dc_isBoldActive","'yes'");ensureDefined("dc_useRonLinks","'no'");ensureDefined("dc_isFilterMinimumElementsActive","'yes'");ensureDefined("js_url","'www.gamelink.com'");ensureDefined("dc_AdLinkBold","false");if(dc_useRonLinks=="yes"){useRonLinks=true}ensureDefined("dc_urlPageKey","false");ensureDefined("dc_analysis","true");ensureDefined("dcDOMLock","false");defineAsWell("sKonaBGColor1","dc_bg_color1");defineAsWell("sKonaBGColor2","dc_bg_color2");defineAsWell("sKonaTitleColor","dc_TitleColor");defineAsWell("sKonaTextColor","dc_TextColor");defineAsWell("sKonaURLColor","dc_URLColor");defineAsWell("sKonaURLVisitedColor","dc_URLVisitedColor");support_1_3_Ver_ParamsNameing();aInfoUnits[0]=new InfoUnit(getInfoUnitVal("dc_width",""),getInfoUnitVal("dc_height",""),getInfoUnitVal("dc_Keywords",""),getInfoUnitVal("dc_OutBorder",""),getInfoUnitVal("dc_InBorder",""),getInfoUnitVal("dc_external_border",""),getInfoUnitVal("dc_internal_border",""),getInfoUnitVal("dc_bg_color1",""),getInfoUnitVal("dc_bg_color2",""),getInfoUnitVal("dc_AdLinkColor",DC_AL_COLOR_DEF),getInfoUnitVal("dc_AdLinkBorderColor",""),getInfoUnitVal("dc_single_line",DC_AL_SINGLE_LINE),getInfoUnitVal("dc_useVPP",DC_AL_USE_VPP),getInfoUnitVal("dcAL_number",DC_AL_NUMBER_DEF),getInfoUnitVal("dcAL_bgColor",""),getInfoUnitVal("dcAL_LY_showCaption",DC_AL_LY_SHOWCAPTION_DEF),getInfoUnitVal("dcAL_LY_captionTxt",DC_AL_LY_CAPTION_TEXT_DEF,false),getInfoUnitVal("dcAL_LY_captionFontColor",DC_AL_LY_CAPTION_FONT_COLOR_DEF),getInfoUnitVal("dcAL_LY_borderColor",DC_AL_LY_BORDER_COLOR_DEF),getInfoUnitVal("dcAL_LY_bgColor",DC_AL_LY_BG_COLOR_DEF),getInfoUnitVal("dcAL_LY_FontType",DC_AL_LY_FONT_TYPE_DEF),getInfoUnitVal("dcAL_onMouseOvercolor",DC_AL_LY_ONMOUSEOVER_COLOR_DEF),getInfoUnitVal("dcAL_LY_titleActive",DC_AL_LY_TITLE_ACTIVE_DEF),getInfoUnitVal("dcAL_LY_titleFontColor",DC_AL_LY_TITLE_FONT_COLOR_DEF),getInfoUnitVal("dcAL_LY_titleBold",DC_AL_LY_TITLE_BOLOD_DEF),getInfoUnitVal("dcAL_LY_titleFontSize",DC_AL_LY_TITLE_FONT_SIZE_DEF),getInfoUnitVal("dcAL_LY_descActive",DC_AL_LY_DESC_ACTIVE_DEF),getInfoUnitVal("dcAL_LY_descFontColor",DC_AL_LY_BORDER_COLOR_DEF),getInfoUnitVal("dcAL_LY_descFontSize",DC_AL_LY_DESC_FONT_SIZE_DEF),getInfoUnitVal("dcAL_LY_urlActive",DC_AL_LY_URL_ACTIVE_DEF),getInfoUnitVal("dcAL_LY_urlFontColor",DC_AL_LY_URL_FONT_COLOR_DEF),getInfoUnitVal("dcAL_LY_urlFontBold",DC_AL_LY_URL_FONT_BOLD_DEF),getInfoUnitVal("dcAL_LY_urlFontSize",DC_AL_LY_URL_FONT_SIZE_DEF),getInfoUnitVal("dcAL_explainActive",DC_AL_LY_EXPLAIN_ACTIVE_DEF),getInfoUnitVal("dcAL_explainText",DC_AL_LY_EXPLAIN_TEXT_DEF,false),getInfoUnitVal("dcAL_explainURL",DC_AL_LY_EXPLAIN_URL_DEF),getInfoUnitVal("dc_numberAds",""),getInfoUnitVal("dc_sm_type",""),getInfoUnitVal("dc_default",""),getInfoUnitVal("dc_bg_img",""),getInfoUnitVal("dc_align",""),getInfoUnitVal("dc_caption_text","",false),getInfoUnitVal("dc_show_caption",""),getInfoUnitVal("dc_caption_font",""),getInfoUnitVal("dc_caption_font_size",""),getInfoUnitVal("dc_caption_font_color",""),getInfoUnitVal("dc_caption_font_bgColor",""),getInfoUnitVal("dc_show_title",""),getInfoUnitVal("dc_title_font",""),getInfoUnitVal("dc_title_font_size",""),getInfoUnitVal("dc_title_font_bold",""),getInfoUnitVal("dc_title_font_color",""),getInfoUnitVal("dc_show_description",""),getInfoUnitVal("dc_description_font",""),getInfoUnitVal("dc_description_font_size",DC_TM_DESC_FONT_SIZE_DEF),getInfoUnitVal("dc_description_font_bold",""),getInfoUnitVal("dc_description_font_color",""),getInfoUnitVal("dc_show_url",""),getInfoUnitVal("dc_url_font",""),getInfoUnitVal("dc_url_font_size",""),getInfoUnitVal("dc_url_font_bold",""),getInfoUnitVal("dc_url_font_color",""),getInfoUnitVal("dc_titLinesNumberFactor",""),getInfoUnitVal("dc_descLinesNumberFactor",""),getInfoUnitVal("dc_descCharsFactor",""),getInfoUnitVal("dc_titCharsFactor",""),getInfoUnitVal("dc_caption_position",""),getInfoUnitVal("dc_adlinks_active",DC_ADLINKS_ACTIVE_DEF),getInfoUnitVal("dc_ron",DC_RON_DEF),getInfoUnitVal("dc_adult",DC_ADULT_DEF),getInfoUnitVal("dc_PP_cap",DC_PP_CAP_DEF),getInfoUnitVal("dc_PP_width",DC_PP_WIDHT_DEF),getInfoUnitVal("dc_PP_height",DC_PP_HEIGHT_DEF),getInfoUnitVal("dc_PP_under",DC_PP_UNDER_DEF),getInfoUnitVal("dc_adIndex",DC_AD_INDEX,false),getInfoUnitVal("dc_aff_id",""),getInfoUnitVal("dc_is_image","no"),getInfoUnitVal("dc_open_new_win",DC_AL_OPEN_NEW_WIN_DEF),getInfoUnitVal("dc_delayTime",DC_AL_DELAY_TIME),getInfoUnitVal("dc_offCloseTime",DC_AL_OFF_CLOSE_TIME),getInfoUnitVal("dc_underlineType",DC_AL_UNDERLINE_TYPE_DEF),getInfoUnitVal("dc_clickDelayTime",DC_CLICK_DELAY_TIME_DEF),getInfoUnitVal("dc_adLinkClickAllowed",DC_ADLINK_CLICK_ALLOWED_DEF),getInfoUnitVal("dc_contentTag",DC_AL_CONTENT_TAG_DEF),getInfoUnitVal("dc_contentTagAttr",DC_AL_CONTENT_TAG_ATTR_DEF),getInfoUnitVal("dc_contentTagAttrVal",DC_AL_CONTENT_TAG_ATTR_VAL_DEF),getInfoUnitVal("dc_redirect3PartyUrl",DC_REDIRECT3PARTY_URL_DEF,false),getInfoUnitVal("dc_effect_speed",DC_LY_EFFECT_SPEED),getInfoUnitVal("dc_restrictedTag",DC_AL_RESTRICTED_TAG_DEF),getInfoUnitVal("dc_restrictedTagAttr",DC_AL_RESTRICTED_TAG_ATTR_DEF),getInfoUnitVal("dc_restrictedTagAttrVal",DC_AL_RESTRICTED_TAG_ATTR_VAL_DEF),getInfoUnitVal("dc_maxLinks",MAX_ADLINKS_ON_PAGE),getInfoUnitVal("dc_contentTags",DC_AL_CONTENT_TAGS_DEF),getInfoUnitVal("dc_restrictedTags",DC_AL_RESTRICTED_TAGS_DEF));support_1_3_Ver_Params();if(aInfoUnits[0].dc_adlinks_active=="0"){dcAdlinksActive="0"}var def_dc_Width=500;var def_dc_Height=500;var def_AdLinkColor="#FF6633";dc_width="";dc_height="";dc_caption_text="";dc_Keywords="";dc_OutBorder="";dc_InBorder="";dc_external_border="";dc_internal_border="";dc_bg_color1="";dc_bg_color2="";dc_TitleColor="";dc_DescriptionColor="";dc_URLColor="";if(isForcedDynamicContent){isDynamicContent=true}var cursorType=bIE?"hand":"pointer";if(!kona$("AdLinkLayerClick")){var target=aInfoUnits[0].dc_open_new_win=="yes"?"_new":"_top";if((!isBritannicaFF3&&!isDynamicContent)||(bIE&&document.readyState!="complete")){document.writeln("<a href=#  target='"+target+"' id='AdLinkLayerClick'></a>")}else{var s=document.createElement("a");s.setAttribute("href","#");s.setAttribute("target",target);s.setAttribute("id","AdLinkLayerClick");document.body.appendChild(s)}}var timeCounter=0;var adLinkMarkTimeOutCounter=0;var isKonaInited=false;var appendKonaLayerTime=0;var markedLinks=0;var sKey="";var wordsCounterStart=1;var wordsCounterEnd=0;var pageStatus=PAGE_NOT_READY;var dc_ALLastTime=0;var adlinkMarked=false;var requestCounter=0;var autoFetchAdLinkDataEvent=false;var alGotFactor=false;var iChunkNumber=0;var iLastNodeNumber=0;var iCurrMU=0;var totalOffset=1;var adLinksOnPageCounter=0;var linkTemplate="";var exhibits=new Exhibits();var initLock=false;var rootsLock=false;var layerModeLock=false;var konaLayerMode=LAYER_MODE_POP;var doAnalysis=true;var globalTimeCount=0;var ronLinksLock=false;var isBoldActive=dc_isBoldActive=="no"?"0":"1";var link_info_loading=new LinkInfo("","","<br>Loading<br><br><br>","","#","#",null,-1,"","LOAD");var widthLoadingLayer="51px";var konaEPid="";var layerEffectSpeed=parseInt(aInfoUnits[0].dc_effect_speed);var hasRMFlashSupport=false;var redirectLock=new RedirectLock();var kCoreLinkColor="red";var pageLayoutScore=-1;var reactionBase="";var analysisBase="";var dc_ALTimeout=1800;var hiddenDepth=8;var adlinkChildStyle="position:static;";var adlinkWordStyle=bIE?"position:relative;":"position:static;";var useMetaTags=true;var dc_doHalt=false;var fetchMethod=bIE?METHOD_TEXT_RANGE:METHOD_TREE;if(customSetJqueryParsingMethod()){fetchMethod=METHOD_JQUERY;konaTweakMode|=1024}var dc_z_index=4000;var dc_tmReload=true;var doStaticStyle=true;var doRemoveEmbeddedAdlinks=false;var dc_doTHLoop=true;var dc_limitHarvestTime=true;var networkByHash=false;var filterSmallNodes=false;var ronLinksRandom=true;var publisherIdInKey=false;var checkRestrictedNodes=false;var textFromRange=true;var checkBoldOnInsertion=false;var useScrolledPosition=false;var colorChangeLink=false;var siteSearchUrl=null;var maxLinksOnPage=parseInt(aInfoUnits[0].dc_maxLinks);var isXHTMLPage=getIsXHTMLPage();var adlinkFontCheck=true;var checkHiddenNodes=true;var contentMarkTimeOut=5000;var contentProcessTimeOut=5000;var dc_sendLinks=false;var oneClickPerLink=true;var ignoreRelativePositions=false;var maxLinksMode=0;var boldFontSize=3;var refreshCSSOnScroll=false;var removeFirstWordLinks=false;var forceFontSizeCheck=false;var relativePositionBug=false;var linksFontFamily="";var doReportMissingAds=true;var doOvertureNewFeed=true;var trafficPercentage=100;var ignoreRelativeFonts=true;var ignoreNegativePositions=false;var overrideFontSize=false;var maxAnalysisChunks=50;var boxesToAvoid=null;if(bOpera){boxesToAvoid=["object","embed","iframe"]}else{if(bIE){boxesToAvoid=["object","embed","select"]}else{boxesToAvoid=["object","embed"]}}var doOvertureMultikeys=true;var tweakModePercentage=0;var numOfBestLinks=0;var checkLinkVisibility=false;var layerAreaOrder=[0,1,2,3];var rmLayerOffOpenTime=2000;var newLayoutSelection=true;var newRelevancyActivation=false;if(layerEffectSpeed<=0||layerEffectSpeed>20){layerEffectSpeed=5}var iKonaResultCode=2;var isReAnalysis=false;var aKonaResults=[];var aURLParams=[];var globalHiddenElements="";var dcAdlinkHighlights=new Array();var iKonaServerColId=-1;var searchLogoImage="ssearch80x20.gif";var searchLogoImageParams="width='80' height='20' alt=''";var searchButtonImage="search_button_text20";var searchButtonImageO="search_button_text20_o";var searchButtonImageParams="width='63' height='20' border='0' alt='Search'";var contentlinkLogo="contentlink5";var contentlinkLogoO="contentlink5_o";var contentlinkLogoParams="width='78' height='16' alt='Kontera'";var searchInputFieldTbDivParams="";var searchInputTbParams="";var searchPaddingSize=bIE?"2px":"4px";var searchLogoTbParams="";var searchButtonTbParams="";var searchTransTbParams="";var konaOuterLayerStyle=OUTER_LAYER_REG;var konaBottomHeight=[45,20];var isExternalPublisher=(dc_ExtId>0?true:false);var extConvertedPubId=-1;var extExternalType=EXTERNAL_TYPE_NONE;var konaRequestId=0;var konaLayerTitleTextColor="#FFA200;";var frameBarCell_leftSize="88px";var handleTdParams="";var moreInfoImage="moreinfo.gif";var moreInfoImageParams="width='105' height='22' alt='More info'";var layerTitleImage="ad_title.gif";var open_new_win_search=aInfoUnits[0].dc_open_new_win;var cssForStrangeProblems="";var teReplacementStr=HOST_TYPE_REG;var teBadAdvReplacementStr=HOST_TYPE_REG;var isKonaBodyPositionChanged=false;var logoImageForJupStyle="jp_internetlogo.gif";var paddingLeftPub="33px";var pageTopicVector=null;var directAdsPrefetch=false;var strAnalysisHostNameFromReaction="na";var marginBotForSearchInputField="0px";var siteLogoImage="";var layerOffsetLeftAddition=0;var adLinkTextAlign="";var dc_waitTime=3000;var konaLayers=null;var konaLinks=null;var contentTags=null;var docBadRanges=null;var aRootElems=null;if(dc_PublisherID==1370){dc_waitTime*=3}if(bIE6&&dc_PublisherID==503){}else{if(!isDynamicContent&&!adPreviewMode){var alreadyrunflag=false;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){alreadyrunflag=true;pageStatus=PAGE_NOT_READY;dcInit();logit("FAST INIT START: "+((new Date()).getTime()-window.konaJSEntryTime)+"~")},false)}else{if(document.all&&!window.opera){document.write('<script type="text/javascript" id="contentloadtag" defer="defer" src="javascript:void(0)"><\/script>');var contentloadtag=kona$("contentloadtag");contentloadtag.onreadystatechange=function(){if(this.readyState=="complete"){logit("FAST INIT START: "+((new Date()).getTime()-window.konaJSEntryTime)+"~");alreadyrunflag=true;dcInit()}}}}addKonaLoadEvent(function(){logit("WINDOW ONLOAD FIRED: "+((new Date()).getTime()-window.konaJSEntryTime)+"~");setTimeout("if (!alreadyrunflag){dcInit();}",0)});if(bIE){setTimeout("if (!alreadyrunflag){alreadyrunflag = true; dcInit();}",dc_waitTime)}}}if((!isBritannicaFF3&&!isDynamicContent)||(bIE&&document.readyState!="complete")){document.writeln("<input id='KonaImpression' style='width:0px;height:0px;visibility:hidden;display:none;' type='image' />");document.writeln("<input id='KonaImpression1' style='width:0px;height:0px;visibility:hidden;display:none;' type='image' />");document.writeln("<iframe name='caterpilarID' id='caterpilarID' style='width:1px;height:1px;background-color:transparent;' marginwidth='0' marginheight='0' hspace='0' vspace='0' frameborder='0' src='' scrolling='no' allowTransparency='true'>></iframe>")}else{var o=document.createElement("input");o.setAttribute("type","image");o.setAttribute("style","width:0px;height:0px;visibility:hidden;display:none;position:absolute;left:-500px;");o.setAttribute("id","KonaImpression");o.style.width=1+"px";o.style.height=1+"px";o.style.position="absolute";o.style.left=-500+"px";document.body.appendChild(o);o=document.createElement("input");o.setAttribute("type","image");o.setAttribute("style","width:0px;height:0px;visibility:hidden;display:none;position:absolute;left:-500px;");o.setAttribute("id","KonaImpression1");o.style.width=1+"px";o.style.height=1+"px";o.style.position="absolute";o.style.left=-500+"px";document.body.appendChild(o);o=document.createElement("iframe");o.setAttribute("name","caterpilarID");o.setAttribute("id","caterpilarID");o.setAttribute("style","width:1px;height:1px;background-color:transparent;position:absolute;left:-500px;");o.setAttribute("marginwidth","0");o.setAttribute("marginheight","0");o.setAttribute("hspace","0");o.setAttribute("vspace","0");o.setAttribute("frameborder","0");o.setAttribute("src","");o.setAttribute("scrolling","no");o.setAttribute("allowTransparency","true");o.style.width=1+"px";o.style.height=1+"px";o.style.position="absolute";o.style.left=-500+"px";document.body.appendChild(o);o=null}checkFlashSupport();resetKeys();infoUnit=aInfoUnits[0];tailorByCookie();setABTests_PT();document.onkeydown=onkeydownLis;loadGatewayCheck();if(doStaticStyle){setKonaMarkStyle(infoUnit)}if(!isDelayPageKey&&!adPreviewMode){if(delayJSFlowBY>0){window.setTimeout("getAndSendPageKeyOnFly()",delayJSFlowBY)}else{getAndSendPageKeyOnFly()}}scriptRunner.init(false)}iTagNumber++;if(adPreviewMode){var inFuncCounter=0;var isDefinedSetTEDemoInfo=false;var linkColor="blue";var previewLinksObject=new Array();var dynamicLinksElems=new Array();var attributeArr=["konaTitle","konaDescription","konaLandingUrl","konaLogoImageUrl","konaImageUrl","konaAdType","konaClearPixelUrl","konaRmType","konaRMCreativeUrl"];function adPreviewFlowCtrl(){function f(k){return(k.getAttribute&&k.getAttribute("name")!=null&&typeof(k.getAttribute("name"))=="string"&&k.getAttribute("name")=="konteraml")}function a(m,k){previewLinksObject[m]=new Object();insertToObject(previewLinksObject[m],"highlightText",(!bIE)?k.firstChild.nodeValue:k.innerText);insertToObject(previewLinksObject[m],"object",k);for(e=0;e<attributeArr.length;e++){insertToObject(previewLinksObject[m],attributeArr[e],k.getAttribute(attributeArr[e]))}}var g=document.getElementsByTagName("SPAN");var d=0;for(var c=0;c<g.length;c++){if(f(g[c])){a(d,g[c]);d++}}docBadRanges=new BadRanges(document.body);testingInfo=new TestingInfo();konaInit(false);konaLinks=new KonaLinks();initKonaPaint();var l=bIE?document.body.createTextRange():null;for(var e=0;e<previewLinksObject.length;e++){var b="<a href='#' id='KonaLink"+e+"' name='konteraml' style='border-bottom: 3px double; text-decoration:none; cursor:pointer; color:"+linkColor+"' onmouseover='dynamicLinkMouseover(this, "+e+")' onmouseout='dynamicLinkMouseout("+e+")'>"+previewLinksObject[e].highlightText+"</a>";var h=document.createElement("a");h.href="#";h.id="KonaLink"+e;h.name="konteraml";h.setAttribute("style","border-bottom: 3px double; text-decoration:none; cursor:pointer; color:"+linkColor+";");h.setAttribute("onmouseover","dynamicLinkMouseover(this, "+e+")");h.setAttribute("onmouseout","dynamicLinkMouseout("+e+")");if(bIE){l.moveToElementText(previewLinksObject[e].object);l.findText(previewLinksObject[e].highlightText);l.pasteHTML(b)}else{previewLinksObject[e].object.innerHTML="";previewLinksObject[e].object.appendChild(h);h.innerHTML=previewLinksObject[e].highlightText}addContentLink("","","","",e,"","","","","");konaLinks.get(e).setIndex(e)}}function dynamicLinkMouseover(a,b){if(isDefinedSetTEDemoInfo){setTEDemoInfo()}else{addContentInfo(b,0,"highlightText",previewLinksObject[b].konaTitle,previewLinksObject[b].konaDescription,previewLinksObject[b].konaLandingUrl,"encodedRedirect","clickUrl",previewLinksObject[b].konaLogoImageUrl,"searchProviderID",previewLinksObject[b].konaImageUrl,previewLinksObject[b].konaAdType,"encodedLayerImps",previewLinksObject[b].konaClearPixelUrl,previewLinksObject[b].konaRmType,previewLinksObject[b].konaRMCreativeUrl,1,"rmPlayerType","isCacheBusting",3)}konaBuilder=new KonaBuilder();linkInfo=konaLinks.getInfo(b);layer=konaBuilder.getLayer(b,b,linkInfo);var c=getBoxXYpositions(a);konaLayers.update(layer,b);linkInfo.loadImages(b);konaLayers.show(c,b);konaLinks.get(b).mouseIsOverAdlink=true}function dynamicLinkMouseout(a){konaLinks.get(a).mouseIsOverAdlink=false;if(konaLayers!=null){konaLayers.getLayerObj(a).plateMouseOut(0)}}function checkCallSetTEDemoInfo(){if(typeof(dc_standAloneMode)=="undefined"){adPreviewFlowCtrl();return}if(inFuncCounter>10){return}if(typeof(setTEDemoInfo)=="function"){isDefinedSetTEDemoInfo=true;adPreviewFlowCtrl()}else{inFuncCounter++;window.setTimeout(checkCallSetTEDemoInfo,200)}}checkCallSetTEDemoInfo()}konaBaseHere=true;var KonaDrag={obj:null,init:function(d,h,f,b,e,a,k,g,l,c){if(adPreviewMode){return}d.onmousedown=KonaDrag.start;d.hmode=k?false:true;d.vmode=g?false:true;d.root=h&&h!=null?h:d;if(d.hmode&&isNaN(parseInt(d.root.style.left))){d.root.style.left="0px"}if(d.vmode&&isNaN(parseInt(d.root.style.top))){d.root.style.top="0px"}if(!d.hmode&&isNaN(parseInt(d.root.style.right))){d.root.style.right="0px"}if(!d.vmode&&isNaN(parseInt(d.root.style.bottom))){d.root.style.bottom="0px"}d.minX=typeof f!="undefined"?f:null;d.minY=typeof e!="undefined"?e:null;d.maxX=typeof b!="undefined"?b:null;d.maxY=typeof a!="undefined"?a:null;d.xMapper=l?l:null;d.yMapper=c?c:null;if(!d.root.onDragStart){d.root.onDragStart=new Function()}if(!d.root.onDragEnd){d.root.onDragEnd=new Function()}if(!d.root.onDrag){d.root.onDrag=new Function()}},start:function(c){var d=KonaDrag.obj=this;c=KonaDrag.fixE(c);var f=parseInt(d.vmode?d.root.style.top:d.root.style.bottom);var a=parseInt(d.hmode?d.root.style.left:d.root.style.right);d.root.onDragStart(a,f);d.lastMouseX=c.clientX;d.lastMouseY=c.clientY;if(d.hmode){if(d.minX!=null){d.minMouseX=c.clientX-a+d.minX}if(d.maxX!=null){d.maxMouseX=d.minMouseX+d.maxX-d.minX}}else{if(d.minX!=null){d.maxMouseX=-d.minX+c.clientX+a}if(d.maxX!=null){d.minMouseX=-d.maxX+c.clientX+a}}if(d.vmode){if(d.minY!=null){d.minMouseY=c.clientY-f+d.minY}if(d.maxY!=null){d.maxMouseY=d.minMouseY+d.maxY-d.minY}}else{if(d.minY!=null){d.maxMouseY=-d.minY+c.clientY+f}if(d.maxY!=null){d.minMouseY=-d.maxY+c.clientY+f}}if(d.id.toString().indexOf("konaFlashDrag")!=-1){var b=d.id.toString();b=b.split("-")[1];hideFlashTail(b)}document.onmousemove=KonaDrag.drag;document.onmouseup=KonaDrag.end;return false},drag:function(f){f=KonaDrag.fixE(f);var g=KonaDrag.obj;var c=f.clientY;var d=f.clientX;var k=parseInt(g.vmode?g.root.style.top:g.root.style.bottom);var b=parseInt(g.hmode?g.root.style.left:g.root.style.right);var a,h;if(g.minX!=null){d=g.hmode?Math.max(d,g.minMouseX):Math.min(d,g.maxMouseX)}if(g.maxX!=null){d=g.hmode?Math.min(d,g.maxMouseX):Math.max(d,g.minMouseX)}if(g.minY!=null){c=g.vmode?Math.max(c,g.minMouseY):Math.min(c,g.maxMouseY)}if(g.maxY!=null){c=g.vmode?Math.min(c,g.maxMouseY):Math.max(c,g.minMouseY)}a=b+((d-g.lastMouseX)*(g.hmode?1:-1));h=k+((c-g.lastMouseY)*(g.vmode?1:-1));if(g.xMapper){a=g.xMapper(k)}else{if(g.yMapper){h=g.yMapper(b)}}KonaDrag.obj.root.style[g.hmode?"left":"right"]=a+"px";KonaDrag.obj.root.style[g.vmode?"top":"bottom"]=h+"px";KonaDrag.obj.lastMouseX=d;KonaDrag.obj.lastMouseY=c;KonaDrag.obj.root.onDrag(a,h);return false},end:function(){document.onmousemove=null;document.onmouseup=null;KonaDrag.obj.root.onDragEnd(parseInt(KonaDrag.obj.root.style[KonaDrag.obj.hmode?"left":"right"]),parseInt(KonaDrag.obj.root.style[KonaDrag.obj.vmode?"top":"bottom"]));KonaDrag.obj=null},fixE:function(a){if(typeof a=="undefined"){a=window.event}if(typeof a.layerX=="undefined"){a.layerX=a.offsetX}if(typeof a.layerY=="undefined"){a.layerY=a.offsetY}return a}};function TreeDao(c,a,b){this.iWordNumber=0;this.iMode=c;this.junctions=new Array();this.junction=null;this.tmp=null;this.rootId=a;this.exitCode=-1;this.articleStart=false;this.mark=null;this.sb=null;this.th=b;this.inTH=false;this.thEffectiveSize=0;this.isArticleLeave=false;this.init=function(){this.setRoot(this.rootId)};this.setRoot=function(d){this.rootId=d;this.junctions=new Array();this.junction=new Junction(aRootElems[this.rootId][0]);this.junctions.push(this.junction);this.oThisPara=null;this.oLastPara=null;this.sb=new KonaStringBuffer();this.inTH=false;this.thEffectiveSize=0;this.isArticleLeave=false;this.exitCode=-1};this.duplicate=function(){var d=new TreeDao(this.iMode,this.rootId,this.th);d.iWordNumber=this.iWordNumber;d.iMode=this.iMode;d.junctions=new Array();for(var e=0;e<this.junctions.length;e++){d.junctions.push(this.junctions[e].duplicate())}d.junction=this.junction.duplicate();d.tmp=this.tmp;d.rootId=this.rootId;d.exitCode=this.exitCode;d.articleStart=this.articleStart;d.mark=this.mark;d.sb=this.sb;d.th=this.th;d.inTH=this.inTH;d.thEffectiveSize=this.thEffectiveSize;d.isArticleLeave=this.isArticleLeave;return d};this.next=function(){if(this.hasNext()){this.junction=this.junctions[this.junctions.length-1];if(this.junctions.length>=2){this.getJunc().inherit(this.junctions[this.junctions.length-2])}}else{this.junction=null;return null}this.tmp=this.jumpToNext();if(this.tmp){this.stack(this.tmp)}return this.getJunc().node};this.jumpToNext=function(){if(this.junctions.length>0){var d=this.junctions[this.junctions.length-1].getNextChild();if(!d){d=this.junctions.pop();if(d.isArticle){this.isArticleLeave=true}return this.jumpToNext()}return d}return null};this.cutBranch=function(){if(this.junctions.length>=2&&this.getJunc()==this.junctions[this.junctions.length-2]){this.junctions.pop();this.junctions.pop();this.next()}};this.getNode=function(){return this.getJunc().node};this.getJunc=function(){return this.junction};this.hasNext=function(){return(this.junctions.length>0)};this.setExitCode=function(d){this.exitCode=d};this.stack=function(d){this.junctions.push(new Junction(d))};this.isInBold=function(){return this.getJunc().isInBold};this.isLink=function(){return this.getJunc().isLink};this.isBold=function(){return this.getJunc().isBold};this.setIsBold=function(d){this.getJunc().isBold=d};this.setIsLink=function(d){this.getJunc().isLink=d};this.setIsInLink=function(d){this.getJunc().isInLink=d};this.isInLink=function(){return this.getJunc().isInLink};this.setLastPara=function(d){this.oLastPara=d};this.setIsArticle=function(d){this.getJunc().isArticle=d;if(d){this.articleStart=true;this.inTH=true}};this.isNewArticle=function(){return this.articleStart};this.articleStarted=function(){this.articleStart=false};this.isInTH=function(){return this.inTH};this.appendToTH=function(d){this.sb.append(d);this.thEffectiveSize+=d.length;if(this.thEffectiveSize>=this.th){return this.clearTH()}return null};this.flushTH=function(){if(this.inTH&&this.isArticleLeave&&this.thEffectiveSize<this.th){this.isArticleLeave=false;return this.clearTH()}return null};this.clearTH=function(){this.inTH=false;this.thEffectiveSize=0;this.tmp=this.sb.toString();this.sb=new KonaStringBuffer();return this.tmp};this.init()}function walkTheTree(g){oThisPara=null;oLastPara=null;bFirstPara=true;var d=null;switch(g){case GET_KEY_MODE:pageInfo.setDoMode(GET_KEY_MODE);var h=new KonaStringBuffer();for(var a=0;a<aRootElems.length;a++){d=new TreeDao(g,a);d.sb=h;traverse(d)}sKey=resizeKey(h.toString());break;case GET_HTML_MODE:pageInfo.setDoMode(GET_HTML_MODE);if(!pageInfo.isPageDone()){chunkInfo=pageInfo.getChunk();var c=0;var f=-1;while(!pageInfo.isCurChunkFull()&&!pageInfo.isPageDone()){traverseTimer=(new Date()).getTime();var e=traverseTimer;var b=0;traverse();f=pageInfo.getRunDao().exitCode;b=(new Date()).getTime();globalTimeCount+=(b-e);e=b;if(f==kLang.OUT_OF_ROOT){pageInfo.nextRoot()}if(!dc_jsDebug&&(globalTimeCount>PAGE_PROCESS_TIMEOUT)){pageInfo.sealPage(false)}else{if(f==kLang.OUT_OF_TIME){pageInfo.sealChunk()}else{if(pageInfo.isCurChunkFull()||pageInfo.isPageDone()){c=pageInfo.getNewTH();if(c!=-1){pageInfo.resetOnTH(c)}}}}}}break;case DO_MARKUP_MODE:pageInfo.reset();pageInfo.setDoMode(DO_MARKUP_MODE);traverseTimer=(new Date()).getTime();while(!pageInfo.isPageDone()){traverse();f=pageInfo.getRunDao().exitCode;if(f==kLang.OUT_OF_ROOT){pageInfo.nextRoot()}else{break}}break}}function traverse(g){if(!g){var g=pageInfo.getRunDao()}var c=-1;var a=false;var f=new RegExp("\\S{100}");while(g.hasNext()&&(g.iMode!=GET_HTML_MODE||!pageInfo.isCurChunkFull())){var b=g.next();if(b.nodeValue&&b.nodeValue.search(f)>-1){continue}c=checkExitCond(g);if(c!=-1){g.setExitCode(c);return}if(b.nodeType==Node.ELEMENT_NODE){a|=pageInfo.wasVisited(b)||isRestrictedNode(b);if(!a&&g.iMode!=GET_KEY_MODE){a|=isUserRestrictedNode(b)||(checkHiddenNodes&&isHiddenNode(b))}}else{try{a|=isSkipNode(b)}catch(d){if(g.iMode==GET_HTML_MODE){g.setExitCode(kLang.CHUNK_FULL);return}}}if(a){g.cutBranch();a=false;continue}if(b.nodeType==Node.ELEMENT_NODE){if(g.iMode==GET_HTML_MODE){g.setIsArticle(isArticleNode(b));g.setIsBold(isBoldNode(b))}g.setIsLink(isLinkNode(b))}if(g.isInLink()&&b.nodeName=="TABLE"){g.setIsInLink(false)}if(b.nodeType==Node.TEXT_NODE&&(!g.isInLink()||dc_sendLinks)){doWork(g)}}if(!g.hasNext()){g.setExitCode(kLang.OUT_OF_ROOT)}if(g.iMode==GET_HTML_MODE&&pageInfo.isCurChunkFull()){g.setExitCode(kLang.CHUNK_FULL)}}function doWork(f){var b=f.getNode();switch(f.iMode){case GET_KEY_MODE:var c=b.nodeValue.split(/[\240\s]/);for(var a=0;a<c.length;a++){if(f.iWordNumber%10==0){if(c[a].match(/\d+/g)==null&&c[a]!=""){f.sb.append(c[a])}else{f.iWordNumber--}}f.iWordNumber++}break;case GET_HTML_MODE:if(f.isNewArticle()){if(f.isInLink()){f.mark="_  L"}else{if(f.isInBold()){f.mark="_  B"}else{f.mark="_"}}f.articleStarted()}else{if(f.isInLink()){f.mark="L"}else{if(f.isInBold()){f.mark="B"}else{f.mark="@"}}}var e=fixPuncs(b.nodeValue);var d=" "+f.mark+" "+e;if(f.isInTH()){d=f.appendToTH(d)}if(d!=null){pageInfo.append(d)}d=f.flushTH();if(d!=null&&d.length>0){f.tmp=countWordsNew(d);if(f.tmp>0){pageInfo.getChunk().stackTH(d,f.tmp);pageInfo.append(" _ L "+f.tmp)}}else{if(f.mark!=kLang.LINK&&f.mark!=kLang.FILTER){pageInfo.getChunk().stackChars(e)}}break;case DO_MARKUP_MODE:markAdLinkInNode(f);break}}function getTextByNodes(b,c){if(b.nodeType==Node.TEXT_NODE){c.append(b.nodeValue)}else{if(!isRestrictedNode(b)){for(var a=0;a<b.childNodes.length;a++){getTextByNodes(b.childNodes[a],c)}}}}function harvestChunk(){var t=pageInfo.getRunDao();var f=1;var w=null;var z=0;var A=false;var c=false;var y=null;var v=null;var k="";var q=0;var g=null;var B=false;var l=null;try{while(f>0&&!pageInfo.isCurChunkFull()&&t.hasMoreWords()){if(dc_limitHarvestTime&&(q==0)&&((new Date()).getTime()-harvestTimer.getTime()>HARVEST_TIMEOUT)){t.exitCode=kLang.OUT_OF_TIME;break}w=t.getWord();if(w.length==0||w==""||w=="."){z++;t.move(1);continue}q=dc_jsDebug?1:(q+1)%6;if(z>0){if(t.inTH()){pageInfo.append(" "+kLang.getMark(kLang.PARA));pageInfo.getChunk().stackLinkLen(t.THLength);t.setTHstate(false)}if(z<3){while(z>0){pageInfo.append(" .");z--}pageInfo.append(" ")}else{pageInfo.append(" "+kLang.getMark(kLang.FILTER)+" "+z+" "+kLang.getMark(kLang.LINE)+" ");t.state=kLang.LINE}z=0;if(pageInfo.isCurChunkFull()){t.exitCode=kLang.CHUNK_FULL;return}}A=!t.oRange.findText(w,t.direction,t.searchMode);t.resetSeach();y=t.matchBadRange(w);if(y!=null){t.oRange=y;continue}if(A){var n=5;var m=false;while(n>0&&f>0){t.oRange.expand("word");y=t.matchBadRange(w);if(y!=null){t.oRange=y;break}seek=trim(t.oRange.text);if(seek.length!=0&&seek!="."){b=w.indexOf(seek);if(b!=-1){t.splitWord(t.i,seek,w.substring(b+seek.length));m=true;break}n--}f=t.oRange.move("word",1)}if(m){continue}}if(!A&&countSimpleWords(t.oRange.text)>1){A=true}if(!A){try{B=t.isInPlace()}catch(x){B=true}if(B){t.info.setWord(w,t.oRange.parentElement());l=t.info.getTextNode()}else{try{t.resetToPlace()}catch(x){}l=null}if(l==null){f=t.oRange.move("word",1);t.move(1);if(t.state!=kLang.LINK&&t.state!=kLang.FILTER){pageInfo.getChunk().stackChars(w);pageInfo.getChunk().addWordCount(1)}else{pageInfo.append(" _")}pageInfo.append(" "+w);continue}else{if(t.info.isNewParent){if(l.nodeValue!=null){c=skipNode(l.nodeValue)}paraGraphNode=t.info.paragraph;if(paraGraphNode){t.paraGraphID=paraGraphNode.uniqueID}else{t.paraGraphID=false}if(t.paraGraphID&&t.paraGraphID!=t.currentPargraphID){if(t.inTH()){t.state=kLang.LINE;pageInfo.getChunk().stackLinkLen(t.THLength);t.setTHstate(false);pageInfo.append(" _ ");if(pageInfo.isCurChunkFull()){t.exitCode=kLang.CHUNK_FULL;t.info.unsetWord();return}}var h=shortenSpaces(t.info.paragraph.innerText);if(h.length<pageInfo.getChunk().th){t.setTHstate(true)}t.currentPargraphID=t.paraGraphID;k=" _ ";if(t.isRestrictedRange(w)||!t.info.relevant||c){t.state=kLang.FILTER}else{if(t.info.isLink||t.inTH()){t.state=kLang.LINK}else{if(t.info.isBold){t.state=kLang.BOLD}else{t.state=kLang.PARA;k=" "}}}k+=kLang.getMark(t.state)+" "}else{if(t.isRestrictedRange(w)||!t.info.relevant||c){t.state=kLang.FILTER}else{if(t.info.isLink){t.state=kLang.LINK}else{if(t.info.isBold){t.state=kLang.BOLD}else{t.state=kLang.LINE}}}k=" "+kLang.getMark(t.state)+" "}}else{k=""}}if(l.nodeValue!=null){var b=l.nodeValue.indexOf(w);y=l.nodeValue.substr(b);if(t.state!=kLang.LINK&&t.state!=kLang.FILTER){pageInfo.getChunk().stackChars(y)}if(t.inTH()&&t.state!=kLang.FILTER){t.stackTH(y)}y=getIEPunc(cleanseIEstring(y));var a=countSimpleWords(y);t.move(a);var u=1;if(t.i>=t.wdArry.length){u=t.i-t.wdArry.length+1}if(a>1){g=t.wdArry[t.i-u];b=y.lastIndexOf(g)}else{b=0}if(b!=0&&(b==-1||b+g.length<y.replace(/[\s]*$/,"").length)){f=t.oRange.move("word",a-u);t.oRange.expand("word");var d=trim(t.oRange.text);b=g.indexOf(d);if(b!=-1){if(d!=g){t.splitWord(t.i-u,d,g.substring(b+d.length))}f=t.oRange.move("word",u)}else{t.direction=-1}}else{f=t.oRange.move("word",a)}if(t.state!=kLang.FILTER&&(t.state!=kLang.LINK||dc_sendLinks)){y=filterAnalysisMarks(y);pageInfo.append(k+" "+y);if(t.state!=kLang.LINK){pageInfo.getChunk().addWordCount(a)}}else{pageInfo.append(k+" "+a)}}c=false}if(A){t.escape()}}}catch(x){x=x;f=0}if(f<=0){t.exitCode=kLang.TRASHING}if(t.exitCode==-1){t.exitCode=kLang.CHUNK_FULL}else{pageInfo.append(" ")}}function insertAdLink(f,c,d,k){if(typeof(this.first_run)=="undefined"){this.first_run=false}var e=f.range;e.collapse(true);var a=c.highlighttext;if(!k){var g=Number(c.IEwordNumber);var h=g-totalOffset;totalOffset=g;var b=0;totalOffset+=b;e.move("word",h+b)}insertInRange(f,a,c,d)}function insertGlobalLinks(g,a){var f=null;var d=-1;var b=new Array();var h=0;var c=a?MAX_RONLINKS_ON_PAGE:maxLinksOnPage;for(var e=0;e<aRootElems.length;e++){f=new RootIterator(new Array()[aRootElems[e][0],null]);while(g.hasNext()&&h<c){d=g.next();if(insertInRange(f,konaLinks.get(d).highlighttext,konaLinks.get(d),a?h:d)){g.remove();if(a){b.push(konaLinks.get(d))}h++}f.range.moveToElementText(aRootElems[e][0])}g.reset()}}function insertInRange(l,d,g,k){var f=false;var c=null;var u=true;var b=1;var h=l.range;var a=d.replace(dashRegExp,"-");u=h.findText(a,1,6);if(u){g.highlighttext=a}else{a=d;u=h.findText(a,1,6)}if(!u){return false}while(!f&&u&&b<20&&l.superRange.inRange(h)){c=h.parentElement();var m=c.innerText;for(var w=0;w<c.childNodes.length;w++){try{if(c.childNodes[w].nodeType==Node.TEXT_NODE){if(c.childNodes[w].nodeValue.indexOf(a)!=-1){c=c.childNodes[w];m=c.nodeValue;break}}}catch(n){continue}}if(!isLink(5,c)&&!l.br.matchRestrictedRange(h)&&(!checkBoldOnInsertion||!isBoldNode(c.parentNode))){f=true}if(f){var q=createAdLinkStr(c,k,a);h.pasteHTML(q);totalOffset+=countSimpleWords(g.highlighttext);markedLinks++;g.marked=true}else{u=false;var v=h.getBookmark();h.moveToBookmark(v);h.move("word",1);u=h.findText(a,1,6);b++}}return f}function RunTimeDao(a,b,c){this.paraGraphID="1";this.currentPargraphID="2";this.BSCount=0;this.state=kLang.LINE;this.rootId=-1;this.info=null;this.oRange=null;this.superRange=null;this.exitCode=-1;this.wdArry=null;this.badRanges=null;this.i=0;this.wordSnipA=null;this.wordSnipB=null;this.tempWord=null;this.inTH=false;this.THLength=0;this.direction=1;this.searchMode=6;this.temp=null;this.move=function(d){if(this.wordSnipA!=null){this.wordSnipA=(d==1?this.wordSnipB:null);if(this.wordSnipB!=null){d--}this.wordSnipB=null}this.i+=d};this.getDump=function(d){var e="";while(e.length<MIN_TEXT_FOR_CHUNK*d&&(this.i+1)<this.wdArry.length){e+=" "+this.wdArry[++this.i]}return e};this.hasMoreWords=function(){if(!this.superRange.inRange(this.oRange)){this.exitCode=kLang.OUT_OF_ROOT}else{if(this.i>=this.wdArry.length){this.exitCode=kLang.OUT_OF_WORDS}}return(this.exitCode==-1)};this.splitWord=function(f,e,d){if(f==this.i){this.wordSnipA=trim(e);this.wordSnipB=trim(d)}else{this.wordSnipA=trim(d);this.i=f}};this.setRoot=function(d){this.rootId=d;if(document.body.createTextRange){this.oRange=document.body.createTextRange();this.oRange.moveToElementText(aRootElems[d][0]);this.superRange=this.oRange.duplicate();this.badRanges=new BadRanges(aRootElems[d][0]);this.wdArry=this.getRootWords(aRootElems[d][0],this.oRange);this.exitCode=-1;this.i=0}};this.getRootWords=function(d,e){var h=null;var f="";if(textFromRange){f=this.oRange.text}else{var g=new KonaStringBuffer();getTextByNodes(d,g);f=g.toString()}h=toIEFormatArray(this.badRanges.cleanText(f));return h};this.setRoundTrip=function(d){this.info=new WordInfo(d);this.exitCode=-1};this.getRoundTrip=function(){return this.info.roundtrip};this.setTHstate=function(d){this.th_on=d;this.THLength=0};this.inTH=function(){return this.th_on};this.escape=function(){this.oRange.collapse(false);this.move(1);return this.oRange.move("word",1)};this.getWord=function(){if(this.wordSnipA!=null){this.tempWord=this.wordSnipA}else{this.tempWord=this.wdArry[this.i]}return this.tempWord};this.stackTH=function(d){this.THLength+=d.length};this.resetSeach=function(){this.searchMode=6;this.direction=1};this.duplicate=function(){var d=new RunTimeDao(0,0,false);d.rootId=this.rootId;if(document.body.createTextRange){d.paraGraphID=this.paraGraphID;d.currentPargraphID=this.currentPargraphID;d.BSCount=this.BSCount;d.state=this.state;d.info=this.info.duplicate();d.oRange=this.oRange.duplicate();d.superRange=this.superRange.duplicate();d.exitCode=this.exitCode;d.wdArry=this.wdArry;d.badRanges=this.badRanges;d.i=this.i;d.wordSnipA=this.wordSnipA;d.wordSnipB=this.wordSnipB;d.tempWord=this.tempWord;d.inTH=this.inTH;d.THLength=this.THLength;d.direction=this.direction;d.searchMode=this.searchMode}return d};this.isInPlace=function(){if(this.i+1>=this.wdArry.length){return true}var e=0;var g="";var f=0;do{f=this.oRange.move("word",1);this.oRange.expand("word");g=trim(this.oRange.text);e++}while(g.length==0&&e<20&&f>0);var d="";if(this.wordSnipB!=null){d=this.wordSnipB}else{var h=this.i+1;while(h>0&&this.wdArry[h]=="."&&g!="."){h++}d=this.wdArry[h]}this.temp=(d.indexOf(g)!=-1||(d==".")||(g.length==0));this.oRange.move("word",-1*e);return this.temp};this.resetToPlace=function(e){var d=this.info.parent;this.oRange.moveToElementText(d);this.oRange.findText(this.info.word,1,6)};this.isRestrictedRange=function(e){var d=this.badRanges.matchRestrictedRange(this.oRange);if(d!=null&&d.text.indexOf(e)!=-1){return true}return false};this.matchBadRange=function(d){return this.badRanges.matchBadRange(this.oRange,d,this)};if(c!=false){this.setRoot(a);this.setRoundTrip(b)}}function WordInfo(a){this.parent=null;this.parentId=null;this.word=null;this.cur=null;this.paragraph=null;this.roundtrip=a;this.parentRelevant=false;this.relevant=false;this.isBold=false;this.isLink=false;this.isNewParent=false;this.childs=null;this.duplicate=function(){var b=new WordInfo(this.roundtrip);b.parent=this.parent;b.parentId=this.parentId;b.word=this.word;b.cur=this.cur;b.paragraph=this.paragraph;b.roundtrip=this.roundtrip;b.parentRelevant=this.parentRelevant;b.relevant=this.relevant;b.isBold=this.isBold;b.isNewParent=this.isNewParent;b.childs=this.childs;b.isLink=this.isLink;return b};this.unsetWord=function(){this.parentId=-1};this.setWord=function(c,b){this.word=c;this.parent=b;if(!(this.parentId==this.parent.uniqueID)){this.isNewParent=true;this.parentId=this.parent.uniqueID;this.childs=this.parent.childNodes;if(typeof(this.parent.lastVisited)!="undefined"&&this.parent.roundtrip==this.roundtrip){this.cur=this.parent.lastVisited+1}else{this.cur=0}this.parentRelevant=this.isRelevant(true);this.paragraph=getPargraph(this.paragraph,b,6);this.isBold=isBoldNode(b);this.isLink=isLink(4,b)}else{this.isNewParent=false}this.relevant=this.parentRelevant&&this.isRelevant(false)};this.getTextNode=function(){for(var b=this.cur;b<this.childs.length;b++){if(this.childs[b].nodeType==Node.TEXT_NODE){if(this.childs[b].nodeValue.indexOf(this.word)!=-1){this.parent.lastVisited=b;this.parent.roundtrip=this.roundtrip;this.cur=b+1;if(filterSmallNodes&&this.childs[b].nodeValue){if(this.childs[b].nodeValue.length<MIN_ELEMENT_FOR_ADLINK){this.relevant=false}}return this.childs[b]}}}return null};this.isRelevant=function(b){return !((checkRestrictedNodes?isRestricted(b?4:1,this.parent):false)||isHiddenElement(b?hiddenDepth:2,this.parent))}}function RootIterator(a){if(typeof(a)=="undefined"){this.rootArray=aRootElems}this.range=document.body.createTextRange();this.range.moveToElementText(this.rootArray[0][0]);this.bookmark=this.range.getBookmark();this.superRange=this.range.duplicate();this.root=0;this.offset=0;this.isNewRange=true;this.doMove=false;this.wordsArray=new Array();this.br=null;if(this.rootArray.length==1){this.rootArray[0][1]=Number.MAX_VALUE}this.getRoot=function(){return this.rootArray[this.root][0]};this.stackRootWords=function(){this.br=new BadRanges(this.rootArray[this.root][0])};this.getOffsetFix=function(c,b){var k=0;var g=10;var e=10;for(var h=0;h<this.root;h++){k+=this.wordsArray[h].length}var m=0;var f=c-k;var l=this.wordsArray[this.root];var h=0;var d=0;wordArray=b.split(/\s|\n/);while(d!=-1){d=(d==0?1:-1);m=0;while(m<g&&f+m<l.length&&f+m>=0){for(h=0;h<wordArray.length&&f+d*m+h<l.length;h++){if(l[f+d*m+h].indexOf(wordArray[h])==-1){break}}if(wordArray.length==h){if(d==1){g=m}else{e=m}break}m++}}return e>g?g:(g==e?0:e*(-1))};this.findRootRange=function(c){this.isNewRange=false;if(this.rootArray.length>1){var d=0;for(var b=this.root;b<this.rootArray.length;b++){if(this.doMove){this.range.moveToElementText(this.rootArray[b][0]);this.bookmark=this.range.getBookmark();this.superRange=this.range.duplicate();this.stackRootWords();this.doMove=false}if(this.rootArray[b][1]==null){this.rootArray[b][1]=countSimpleWords(getIEPunc(this.range.text))}d=(this.rootArray[b][1]+this.offset);if(c.IEwordNumber<=d){return this.range}else{this.offset=d;this.root++;this.isNewRange=true;this.doMove=true}}}else{return this.range}return -1};this.stackRootWords()}function JParseDao(){this.node;this.rootsSelection;this.getHTMLCycle=0;this.startTime={};this.initTimer=function(a){this.startTime[a]=(new Date()).getTime()};this.isThereTime=function(b){var a=(new Date()).getTime();if("undefined"==typeof(this.startTime[b])){konalog.info("Trying to check if there is time to parse the pages, with no parsing start time defined.");return true}if(GET_KEY_MODE==b){return true}if(GET_HTML_MODE==b){return(a-this.startTime[b]<JQUERY_GET_HTML_TIMEOUT)}if(DO_MARKUP_MODE==b){return(a-this.startTime[b]<JQUERY_DO_MARKUP_TIMEOUT)}};this.getNode=function(){return this.node};this.setNode=function(a){this.node=a};this.getRootsSelection=function(){if((typeof(this.rootsSelection)!="undefined")&&(this.rootsSelection!=null)){return this.rootsSelection}var b="";if("undefined"!=typeof(infoUnit)&&"undefined"!=typeof(infoUnit.dc_contentTag)){b+=infoUnit.dc_contentTag;if(("undefined"!=infoUnit.dc_contentTagAttr)&&("undefined"!=infoUnit.dc_contentTagAttrVal)){b+="["+infoUnit.dc_contentTagAttr+"='']"}}var a="[id^='KonaBody'], div.KonaBody"+((""==b)?"":", "+b);jRoots=kona_jQuery(a);if(0==jRoots.length){jRoots=kona_jQuery("body")}this.rootsSelection=jRoots;return this.rootsSelection};this.isInLink=function(){return false};this.duplicate=function(){var a=new JParseDao();a.node=this.node;a.rootsSelection=this.rootsSelection;return a}}function newWalkTheTree(f){if(typeof(this.runDao)=="undefined"){this.runDao=new JParseDao()}this.runDao.initTimer(f);switch(f){case GET_KEY_MODE:pageInfo.setDoMode(GET_KEY_MODE);var b=this.runDao.getRootsSelection();var e=b.konText(null,GET_KEY_MODE,this.runDao);var c=new RegExp("\\S*\\d+\\S*","g");var a=new RegExp("\\s","g");e=e.replace(c,"").replace(a,"");sKey="jp_"+resizeKey(e);break;case GET_HTML_MODE:this.run_num=(typeof(this.run_num)=="undefined")?0:this.run_num+1;if(0==this.run_num){pageInfo.setDoMode(GET_HTML_MODE);var b=this.runDao.getRootsSelection();var e=b.konText(null,GET_HTML_MODE,this.runDao);e=urlEncode(e);pageInfo.initChunks();pageInfo.getChunk().resetStr(e);this.new_chunk=pageInfo.getChunk().append("");if(this.new_chunk==null){pageInfo.pageDone=true}}else{if(this.new_chunk==null&&pageInfo.cur==run_num){pageInfo.pageDone=true}while(this.new_chunk!=null){var d=this.new_chunk;this.new_chunk=d.append("");if(this.new_chunk==null&&pageInfo.cur==run_num){pageInfo.pageDone=true}pageInfo.aheadCur++;pageInfo.chunks[pageInfo.aheadCur]=d}}break;case DO_MARKUP_MODE:pageInfo.reset();pageInfo.setDoMode(DO_MARKUP_MODE);var b=this.runDao.getRootsSelection();var e=b.konText(null,DO_MARKUP_MODE,this.runDao);break}}function jGetRootsSelection(){var b="";if("undefined"!=typeof(infoUnit)&&"undefined"!=typeof(infoUnit.dc_contentTag)){b+=infoUnit.dc_contentTag;if(("undefined"!=infoUnit.dc_contentTagAttr)&&("undefined"!=infoUnit.dc_contentTagAttrVal)){b+="["+infoUnit.dc_contentTagAttr+"='']"}}var a="[id^='KonaBody'], div.konabody"+((""==b)?"":", "+b);jRoots=kona_jQuery(a);if(0==jRoots.length){jRoots=kona_jQuery("body")}return jRoots}function createCookie(c,d,e){if(e){var b=new Date();b.setTime(b.getTime()+(e*24*60*60*1000));var a="; expires="+b.toGMTString()}else{var a=""}document.cookie=c+"="+d+a+"; path=/"}function eraseCookie(a){createCookie(a,"",-1)}function KonaImage(c,b,a){this.familyID=a;this.image=null;this.params=null;this.src=null;if(c!=null&&c!=""){this.src=STYLE_IMAGE_BASE+c+(b?"."+b:(bIE?".gif":".png"));konaImages.stackImage(this)}this.load=function(d,g,h,f,e){this.image=new Image();this.image.onload=function(){konaImages.SingleImageLoadingDone(d,g,h,f,e)};this.image.src=this.src};this.ImageCounterAdd=function(){var d=konaImages.hImagesToLoadPerFamily.getItem(this.familyID);d++;konaImages.hImagesToLoadPerFamily.setItem(this.familyID,d)};this.ImageCounterAdd()}function KonaImages(){this.images=new Array();this.hImagesToLoadPerFamily=new KonaHash();this.init=function(){if(bIE&&!bAvant&&document.all){var e=navigator.userAgent.toLowerCase();var b=e.indexOf("msie")+1;if(b>=0){var a=e.substr(b+"msie".length,3);a=parseFloat(a)}}this.hImagesToLoadPerFamily.setItem(FRAME_LAYER,0);this.hImagesToLoadPerFamily.setItem(SEARCH_LAYER,0);this.hImagesToLoadPerFamily.setItem(RM_FAMILY,0);this.hImagesToLoadPerFamily.setItem(SPECIAL_TYPE_NEW_YAHOO,0);this.hImagesToLoadPerFamily.setItem(SPECIAL_TYPE_SEARCH_INFO,0);this.hImagesToLoadPerFamily.setItem(SPECIAL_TYPE_SEARCH_WEBNARY,0);this.hImagesToLoadPerFamily.setItem(SPECIAL_TYPE_FREE_DICTIONARY,0);this.hImagesToLoadPerFamily.setItem(SPECIAL_TYPE_YAHOO_SHOPPING,0);this.hImagesToLoadPerFamily.setItem(SPECIAL_TYPE_YAHOO_SPONSORED,0);if(konaOuterLayerStyle==OUTER_LAYER_REG){this.box_bottom=new KonaImage("box_bottom","png",FRAME_LAYER);this.box_bottom_o=new KonaImage("box_bottom_o_rm","png",FRAME_LAYER);this.box_bottom_right=new KonaImage("box_bottom_right","png",FRAME_LAYER);this.box_bottom_right_o=new KonaImage("box_bottom_right_o_rm","png",FRAME_LAYER);this.box_bottom_drag=new KonaImage("box_bottom_drag","png",FRAME_LAYER);this.box_bottom_drag_o=new KonaImage("box_bottom_drag_o_rm","png",FRAME_LAYER)}else{if(konaOuterLayerStyle==OUTER_LAYER_JUP){this.box_bottom=new KonaImage("jp_box_bottom","png",FRAME_LAYER);this.box_bottom_o=new KonaImage("jp_box_bottom_o","png",FRAME_LAYER);this.box_bottom_right=new KonaImage("jp_box_bottom_right","png",FRAME_LAYER);this.box_bottom_right_o=new KonaImage("jp_box_bottom_right_o","png",FRAME_LAYER);this.box_bottom_drag=new KonaImage("jp_box_bottom_drag","png",FRAME_LAYER);this.box_bottom_drag_o=new KonaImage("jp_box_bottom_drag_o","png",FRAME_LAYER);this.jplogo=new KonaImage("jp_internetlogo","gif",FRAME_LAYER);this.poweredbyKontera=new KonaImage("poweredbyKontera","gif",FRAME_LAYER);this.poweredbyKontera_o=new KonaImage("poweredbyKontera_o","gif",FRAME_LAYER);var d=logoImageForJupStyle.split(".");this.logoForJup=new KonaImage(d[0],d[1],FRAME_LAYER)}}this.box=new KonaImage("box","gif",FRAME_LAYER);this.box_o=new KonaImage("box_o","gif",FRAME_LAYER);this.box_separator=new KonaImage("box_separator","gif",FRAME_LAYER);this.box_separator_o=new KonaImage("box_separator_o","gif",FRAME_LAYER);this.top_box=new KonaImage("top_box","gif",FRAME_LAYER);this.top_box_o=new KonaImage("top_box_o_rm","gif",FRAME_LAYER);this.top_curve=new KonaImage("top_curve","png",FRAME_LAYER);this.drop_top_curve=new KonaImage("drop_top_curve","png",FRAME_LAYER);this.drop_top_curve_right=new KonaImage("drop_top_curve_right","png",FRAME_LAYER);this.drop_box_top_drag=new KonaImage("drop_box_top_drag","png",FRAME_LAYER);this.close=new KonaImage("close_rm","gif",FRAME_LAYER);this.close_o=new KonaImage("close_o_rm","gif",FRAME_LAYER);this.contentlink=new KonaImage(contentlinkLogo,"gif",FRAME_LAYER);this.contentlink_o=new KonaImage(contentlinkLogoO,"gif",FRAME_LAYER);this.contentlink.params=contentlinkLogoParams;this.question=new KonaImage("question_rm","gif",FRAME_LAYER);this.question_o=new KonaImage("question_o_rm","gif",FRAME_LAYER);this.download_now=new KonaImage("download_btn","gif",FRAME_LAYER);var g=moreInfoImage.split(".");this.moreinfo=new KonaImage(g[0],g[1],FRAME_LAYER);this.moreinfo.params=moreInfoImageParams;var f=layerTitleImage.split(".");this.ad_title=new KonaImage(f[0],f[1],FRAME_LAYER);if(siteLogoImage!=""){if(siteLogoImage.charAt(0)=="/"){siteLogoImage=siteLogoImage.substring(1,siteLogoImage.length)}var c=siteLogoImage.split(".");this.specialLogo=new KonaImage(c[0],c[1],FRAME_LAYER)}this.tabs_bg=new KonaImage("tabs_bg","gif",SEARCH_LAYER);this.tab_selected_left=new KonaImage("tab_selected_left","gif",SEARCH_LAYER);this.tab_selected_right=new KonaImage("tab_selected_right","gif",SEARCH_LAYER);this.tab_left=new KonaImage("tab_left","gif",SEARCH_LAYER);this.tab_right=new KonaImage("tab_right","gif",SEARCH_LAYER);this.search_button_text=new KonaImage(searchButtonImage,"gif",SEARCH_LAYER);this.search_button_text_o=new KonaImage(searchButtonImageO,"gif",SEARCH_LAYER);this.search_button_text.params=searchButtonImageParams;if(searchLogoImage.charAt(0)=="/"){searchLogoImage=searchLogoImage.substring(1,searchLogoImage.length)}var h=searchLogoImage.split(".");this.sitesearch=new KonaImage(h[0],h[1],SEARCH_LAYER);this.sitesearch.params=searchLogoImageParams;this.learn_more=new KonaImage("learn_more","gif",RM_FAMILY);this.learn_more_o=new KonaImage("learn_more_o","gif",RM_FAMILY);this.konaVisitSite=new KonaImage("konaVisitSite","png",SPECIAL_TYPE_NEW_YAHOO);this.info_header=new KonaImage("konaInfocom_header_trans","gif",SPECIAL_TYPE_SEARCH_INFO);this.info_search_area=new KonaImage("konaInfocom_search_area_trans","gif",SPECIAL_TYPE_SEARCH_INFO);this.info_search_btn=new KonaImage("konaInfocom_search_button","gif",SPECIAL_TYPE_SEARCH_INFO);this.info_search_btn_ovr=new KonaImage("konaInfocom_search_button_ovr","gif",SPECIAL_TYPE_SEARCH_INFO);this.info_world_icon=new KonaImage("konaInfocom_world_icon","gif",SPECIAL_TYPE_SEARCH_INFO);this.webnary_kona_grad=new KonaImage("konaWebnaryGrad","gif",SPECIAL_TYPE_SEARCH_WEBNARY);this.webnary_kona_header=new KonaImage("konaWebnaryHeader","gif",SPECIAL_TYPE_SEARCH_WEBNARY);this.webnary_kona_sub=new KonaImage("konaWebnarySub","gif",SPECIAL_TYPE_SEARCH_WEBNARY);this.webnary_kona_translate_button=new KonaImage("konaWebnaryTranslateButton","gif",SPECIAL_TYPE_SEARCH_WEBNARY);this.webnary_kona_translate_button_ovr=new KonaImage("konaWebnaryTranslateButton_ovr","gif",SPECIAL_TYPE_SEARCH_WEBNARY);this.konaFDbottom=new KonaImage("konaFDbottom","gif",SPECIAL_TYPE_FREE_DICTIONARY);this.konaFDHeader=new KonaImage("konaFDHeader","gif",SPECIAL_TYPE_FREE_DICTIONARY);this.konaFDSub=new KonaImage("konaFDSub","gif",SPECIAL_TYPE_FREE_DICTIONARY);this.konaFDTranslateButton=new KonaImage("konaFDTranslateButton","gif",SPECIAL_TYPE_FREE_DICTIONARY);this.konaFDTranslateButton_ovr=new KonaImage("konaFDTranslateButton_ovr","gif",SPECIAL_TYPE_FREE_DICTIONARY);this.konaYahooSbgMiddle2=new KonaImage("konaYahooSbgMiddle2","gif",SPECIAL_TYPE_YAHOO_SHOPPING);this.konaYahooSbuy_now=new KonaImage("konaYahooSbuy_now","gif",SPECIAL_TYPE_YAHOO_SHOPPING);this.konaYahooSbgBottom=new KonaImage("konaYahooSbgBottom","gif",SPECIAL_TYPE_YAHOO_SHOPPING);this.konaYahooSpoweredByYahoo=new KonaImage("konaYahooSpoweredByYahoo","gif",SPECIAL_TYPE_YAHOO_SHOPPING);this.konaYahooSbuy_now_mover=new KonaImage("konaYahooSbuy_now_mover","gif",SPECIAL_TYPE_YAHOO_SHOPPING);this.konaYahooSbgWhite=new KonaImage("konaYahooSbgWhite","gif",SPECIAL_TYPE_YAHOO_SHOPPING);this.konaYahooSbgYellow=new KonaImage("konaYahooSbgYellow","gif",SPECIAL_TYPE_YAHOO_SHOPPING);this.konaYSponsored_fon_w_text=new KonaImage("konaYSponsored_fon_w_text","gif",SPECIAL_TYPE_YAHOO_SPONSORED);this.konaYSponsoredSearch_out=new KonaImage("konaYSponsoredSearch_out","gif",SPECIAL_TYPE_YAHOO_SPONSORED);this.konaYSponsoredSearch_over=new KonaImage("konaYSponsoredSearch_over","gif",SPECIAL_TYPE_YAHOO_SPONSORED)};this.loadPerFamily=function(a,e,f,d,c){for(var b=0;b<this.images.length;b++){if(this.images[b].familyID==d){this.images[b].load(a,e,f,d,c)}}};this.isFamilyLoaded=function(a){return this.hImagesToLoadPerFamily.getItem(a)==0};this.load=function(a,d,e,c){var b=false;if(!hProhibitSimLoading.getItem(FRAME_LAYER)&&!this.isFamilyLoaded(FRAME_LAYER)){hProhibitSimLoading.setItem(FRAME_LAYER,true);b=true;logit("loading: FRAME_LAYER ~");this.loadPerFamily(a,d,e,FRAME_LAYER,c)}if(c&&!hProhibitSimLoading.getItem(c)&&!this.isFamilyLoaded(c)){hProhibitSimLoading.setItem(c,true);logit("loading:"+c+"~");b=true;this.loadPerFamily(a,d,e,c,c)}if(!hProhibitSimLoading.getItem(SEARCH_LAYER)&&siteSearchUrl&&!this.isFamilyLoaded(SEARCH_LAYER)){hProhibitSimLoading.setItem(SEARCH_LAYER,true);b=true;this.loadPerFamily(a,d,e,SEARCH_LAYER,c)}if(!b){konaLinks.get(a).status=IMAGE_DONE_LOADING}return !b};this.SingleImageLoadingDone=function(b,e,f,d,c){var a=this.hImagesToLoadPerFamily.getItem(d);a--;this.hImagesToLoadPerFamily.setItem(d,a);if(typeof(c)!="undefined"&&siteSearchUrl!=null){if(this.isFamilyLoaded(FRAME_LAYER)&&this.isFamilyLoaded(c)&&this.isFamilyLoaded(SEARCH_LAYER)){this.changeImagesLoadStatus(b,e,f)}}else{if(typeof(c)!="undefined"){if(this.isFamilyLoaded(FRAME_LAYER)&&this.isFamilyLoaded(c)){this.changeImagesLoadStatus(b,e,f)}}else{if(siteSearchUrl!=null){if(this.isFamilyLoaded(FRAME_LAYER)&&this.isFamilyLoaded(SEARCH_LAYER)){this.changeImagesLoadStatus(b,e,f)}}else{if(this.isFamilyLoaded(FRAME_LAYER)){this.changeImagesLoadStatus(b,e,f)}}}}};this.changeImagesLoadStatus=function(a,b,c){konaLinks.get(a).status=IMAGE_DONE_LOADING;showListings(a,b,c)};this.stackImage=function(a){this.images.push(a)};this.onload=function(){};this.onerror=function(){};this.onabort=function(){}}function KonaBuilder(){this.styleRE=new RegExp("#STYLE#","g");this.descRE=new RegExp("#DESCRIPTION#","g");this.plateIndexRE=new RegExp("#PLATEINDEX#","g");this.layerIndexRE=new RegExp("#LAYERINDEX#","g");this.titleRE=new RegExp("#TITLE#","g");this.urlRE=new RegExp("#URL#","g");this.block1RE=new RegExp("#BLOCK1#","g");this.block2RE=new RegExp("#BLOCK2#","g");this.block3RE=new RegExp("#BLOCK3#","g");this.colspanRE=new RegExp("#COLSPAN#","g");this.linkInfo=null;this.adlinkCur=null;this.plateCur=null;this.layerType=null;this.tabs=null;this.isOneSearch=null;this.target=infoUnit.dc_open_new_win=="yes"?"_new":"_top";this.paintSearchInfo=false;this.getLayer=function(a,c,b){this.adlinkCur=a;this.plateCur=c;this.linkInfo=b?b:konaLinks.getInfo(a,c);this.layerType=this.linkInfo.getLayerType();this.tabs=konaLayers.getSearchInfos();this.isOneSearch=(this.tabs.length==1);this.paintSearchInfo=konaLayers.isShowSearch(this.adlinkCur);return this.getSuperDIV()};this.getRMBoxDimension=function(a,c){var b=null;switch(a){case LAYER_TYPE_SINGLE:case LAYER_TYPE_LOADING:b=[0,0];break;case LAYER_TYPE_RM_TOP:b=c?[234,79]:[234,60];break;case LAYER_TYPE_RM_LEFT:b=c?[180,168]:[180,150];break;case LAYER_TYPE_RM_ONLY:b=c?[300,268]:[300,250];break}return b};this.getContentBlock=function(){contextBlock="";if(infoUnit.dcAL_LY_descActive.toLowerCase()=="yes"){contextBlock+=this.getFrameBar();if(this.linkInfo.isSpecialType("SPECIAL_TYPE_SEARCH_INFO")){contextBlock+=this.getInfoDotComLayer()}else{if(this.linkInfo.isSpecialType("SPECIAL_TYPE_SEARCH_WEBNARY")){contextBlock+=this.getWebnaryLayer()}else{if(this.linkInfo.isSpecialType("SPECIAL_TYPE_NEW_YAHOO")){contextBlock+=this.getYahooDescBlock()}else{if(this.linkInfo.isSpecialType("SPECIAL_TYPE_FREE_DICTIONARY")){contextBlock+=this.getFreeDictionaryDesc()}else{if(this.linkInfo.isSpecialType("SPECIAL_TYPE_YAHOO_SHOPPING")){contextBlock+=this.getYahooShppingLayer()}else{if(this.linkInfo.isSpecialType("SPECIAL_TYPE_YAHOO_SPONSORED")){contextBlock+=this.getYahooSponsoredSearchLayer()}else{if(this.linkInfo.isSpecialType("SPECIAL_TYPE_MOTIFLAYER")){contextBlock+=this.getActionBlock()}else{if(this.linkInfo.isSpecialType("SPECIAL_TYPE_KOSMIX")){contextBlock+=this.getActionBlock()}else{if(this.linkInfo.isSpecialType("SPECIAL_TYPE_HP")){contextBlock+=this.getActionBlock()}else{if(this.linkInfo.thirdPartyIframeObject){contextBlock+=this.getIframeBlock()}else{if(this.linkInfo.isRM()){contextBlock+=this.getRMBlock()}else{contextBlock+=this.getDescBlock()}}}}}}}}}}}if(this.layerType!=LAYER_TYPE_RM_LEFT&&(this.linkInfo.adType!="LOAD")&&this.layerType!=LAYER_TYPE_RM_ONLY&&!this.linkInfo.isSpecialType("SPECIAL_TYPE_SEARCH_INFO")&&!this.linkInfo.isSpecialType("SPECIAL_TYPE_SEARCH_WEBNARY")&&!this.linkInfo.isSpecialType("SPECIAL_TYPE_FREE_DICTIONARY")&&!this.linkInfo.isSpecialType("SPECIAL_TYPE_YAHOO_SHOPPING")&&!this.linkInfo.isSpecialType("SPECIAL_TYPE_YAHOO_SPONSORED")&&!this.linkInfo.isSpecialType("SPECIAL_TYPE_MOTIFLAYER")&&!this.linkInfo.isSpecialType("SPECIAL_TYPE_KOSMIX")&&!this.linkInfo.isSpecialType("SPECIAL_TYPE_HP")&&!this.linkInfo.thirdPartyIframeObject){contextBlock+=this.getLinksBlock()}}return contextBlock};this.getFrameBar=function(){return"<table onclick='konaEventUnbubble(event);' cellpadding='0' cellspacing='0' border='0' class='frameBar'><tr>"+this.getTrademarkTD()+this.getHandleTD()+this.getQuestionTD()+"</tr></table>"};this.getTrademarkTD=function(){return"<td class='frameBarCell_left'>"+this.getTrademarkInnerTD()+"</td>"};this.getTrademarkInnerTD=function(){var a="";if(isExternalPublisher&&(extExternalType==EXTERNAL_TYPE_RTN)){a=""}else{if(konaOuterLayerStyle==OUTER_LAYER_REG){a=this.getRegularKonaImage()}else{if(konaOuterLayerStyle==OUTER_LAYER_JUP){a="<span style='position:relative;'><img src='"+konaImages.logoForJup.src+"' alt='Internet.Com'/></span>"}}}return a};this.getRegularKonaImage=function(){if(siteLogoImage==""){return"<a style='position:relative;' href='http://www.kontera.com/?sr=100000'><img src='"+konaImages.contentlink.src+"'"+konaImages.contentlink.params+"onmouseover='this.src = \""+konaImages.contentlink_o.src+"\"' onmouseout='this.src = \""+konaImages.contentlink.src+"\"' /></a>"}else{return"<span style='position:relative;'><img src='"+konaImages.specialLogo.src+"' /></span>"}};this.getHandleTD=function(){return"<td style='position:relative;"+handleTdParams+"' class='handleTd' ><div id='konaHandle"+this.plateCur+"-"+this.adlinkCur+"'>"+this.getHandleInnerTD()+"</div></td>"};this.getHandleInnerTD=function(){return"<img src='"+konaImages.ad_title.src+"' width='71' height='8' alt='' />"};this.getQuestionTD=function(){return"<td align='right' class='frameBarCell_right'><a style='position:relative;' href='#' onclick='whatsThisClick(this);'><img src='"+konaImages.question.src+"' border='0' width='13' height='16' alt='What&#39;s this?' onmouseover='this.src = \""+konaImages.question_o.src+"\"' onmouseout='this.src = \""+konaImages.question.src+"\"' /></a>&nbsp;<a style='position:relative;cursor:pointer;' onclick='closeKonaLayer(#LAYERINDEX#);'><img src='"+konaImages.close.src+"' border='0' width='13' height='16' alt='Close' onmouseout='this.src = konaImages.close.src' onmouseover='this.src = konaImages.close_o.src' /></a></td>"};this.getHref=function(a,b){var c="<a href='#' {0} {1}>"+a+"</a>";c=String.format(c,this.linkInfo.isSpecialType("SPECIAL_TYPE_NEW_YAHOO")?"onclick='descriptionMouseClick(event,this,#PLATEINDEX#,#LAYERINDEX#);konaEventUnbubble(event)'":"",b?"style='position:relative;'":"");return c};this.getLinksBlock=function(){var b=this.layerType==LAYER_TYPE_RM_TOP?"table03_flv02":"table03";var a=(this.layerType==LAYER_TYPE_RM_TOP?"konaLayerLinks_underFLV02":"konaLayerLinks");var c="<table style='position:relative;' class='"+b+"' cellpadding='0' cellspacing='0' border='0' "+(this.linkInfo.isSpecialType("SPECIAL_TYPE_NEW_YAHOO")?" ":"onclick='descriptionMouseClick(event,this,#PLATEINDEX#,#LAYERINDEX#);'")+"><tr class='"+a+"'>"+this.getLandingUrlTD()+this.getButtonTD()+"</tr></table>";return c};this.getLandingUrlTD=function(){var a=this.linkInfo.landingUrl;if(!bIE){a=this.htmlWordWrap(a,27)}return"<td colspan='2' style='position:relative;' class='site'>"+this.getHref(a)+"</td>"};this.htmlWordWrap=function(d,c){var a="";var b=0;while(b<d.length){a+=d.substring(b,b+c);b+=c;a+="<br/>"}return a};this.getButtonTD=function(){var b=null;switch(this.layerType){case LAYER_TYPE_SINGLE:case LAYER_TYPE_LOADING:b="buyNow";break;case LAYER_TYPE_RM_TOP:b="konaLayerLearnMore02";break;case LAYER_TYPE_RM_LEFT:b="konaLayerLearnMore";break}var a="";if(this.linkInfo.isSpecialType("SPECIAL_TYPE_NEW_YAHOO")){a="<img src='"+konaImages.konaVisitSite.src+"' width='109' height='22' alt='visit site' />"}else{if(this.linkInfo.isRM()){a="<img src='"+konaImages.learn_more.src+"' alt='Learn more' onmouseover='this.src = \""+konaImages.learn_more_o.src+"\"' onmouseout='this.src = \""+konaImages.learn_more.src+"\"' border='0' height='18' width='89'>"}else{if((this.linkInfo.isSpecialType("SPECIAL_TYPE_MICROSOFT_IE8"))||(this.linkInfo.isSpecialType("SPECIAL_TYPE_MICROSOFT_IE6"))){a="<img src='"+konaImages.download_now.src+"' width='132' height='25' alt='download' />";b="konaLayerDownload"}else{a="<img src='"+konaImages.moreinfo.src+"'"+konaImages.moreinfo.params+"/>"}}}return"<td class='"+b+"' align='right'>"+this.getHref(a,true)+"</td>"};this.getTitleBlock=function(){return titleLink};this.getTitleTD=function(){return"<td class='"+(this.linkInfo.isRM()?"konaLayerRMTitle":"konaLayerTitle")+"' colspan='2'><span class='konaLayerTitleText'>"+this.linkInfo.title+"</span></td>"};this.getDescTD=function(){var a=null;switch(this.layerType){case LAYER_TYPE_SINGLE:case LAYER_TYPE_LOADING:if((this.linkInfo.isSpecialType("SPECIAL_TYPE_MICROSOFT_IE8"))||(this.linkInfo.isSpecialType("SPECIAL_TYPE_MICROSOFT_IE6"))){a="konaLayerDescDownlod"}else{a="konaLayerDesc"}break;case LAYER_TYPE_RM_TOP:a="konaLayerDesc_underFLV";break;case LAYER_TYPE_RM_LEFT:a="konaLayerDesc_nearFLV";break}return"<td class='"+a+"'>"+this.linkInfo.description+"</td>"};this.getYahooLogoTD=function(){var a="<td rowspan='3'></td>";if(this.linkInfo.hasLogo()){a="<td class='imgBanner' id='konaLayerLogo#PLATEINDEX#-#LAYERINDEX#' rowspan='3'>   <img style='max-width:100px;max-height:100px;' src='"+this.linkInfo.getLogo()+"' alt='' /></td>"}return a};this.getLogoTD=function(){if(!this.linkInfo.hasLogo()&&!this.linkInfo.isSpecialType("SPECIAL_TYPE_DARTLAYER")){return"<td rowspan='3'></td>"}else{if(this.linkInfo.isDirect()&&this.linkInfo.isSpecialType("SPECIAL_TYPE_DARTLAYER")){return"<td class='imgBanner' id='konaLayerLogo#PLATEINDEX#-#LAYERINDEX#' rowspan='3'></td>"}else{if(this.linkInfo.isSpecialType("SPECIAL_TYPE_CATERPILAR")||this.linkInfo.isSpecialType("SPECIAL_TYPE_EDMUNDS")){return"<td class='imgBanner' id='konaLayerLogo#PLATEINDEX#-#LAYERINDEX#' rowspan='3'><img style='max-width:100px;max-height:100px;' src='"+this.linkInfo.getLogo()+"' alt='' /></td>"}else{return"<td class='imgBanner' id='konaLayerLogo#PLATEINDEX#-#LAYERINDEX#' rowspan='3'><img style='max-width:100px;max-height:100px;' src='"+this.linkInfo.getLogo()+"' alt='' /></td>"}}}};this.getFlashTD=function(){var a,e,c,g;switch(this.layerType){case LAYER_TYPE_RM_TOP:a="konaLayer_flvTD02";e=1;c="konaLayer_flvEmbed02";g="";break;case LAYER_TYPE_RM_LEFT:a="konaLayer_flvTD01";e=2;c="konaLayer_flvEmbed01";g="left";break;case LAYER_TYPE_RM_ONLY:a="";e=1;c="";g="left";break}var d=this.getRMBoxDimension(this.layerType,this.linkInfo.isWithButtons());var f="konaFlash#LAYERINDEX#";var b;if(this.linkInfo.creativeType=="swf"){b=FLASH_PLAYER_URL}else{if(this.linkInfo.creativeType=="flv"){b=FLASH_FLV_PLAYER_URL}}return"<td  class='"+a+"' rowspan="+e+" onclick='konaEventUnbubble(event);'>"+getObjectTagHtml(f,b,d,c,g)+"</td>"};this.getRMBlock=function(){var b=null;var a=null;switch(this.layerType){case LAYER_TYPE_RM_TOP:b="table02_flv02";break;case LAYER_TYPE_RM_LEFT:b="table02_flv";break;case LAYER_TYPE_RM_ONLY:b="table02_flv03";a=this.getFlashTD();break}if(a==null){a=this.getTitleTD()+"</tr><tr>"+this.getFlashTD()+(this.layerType==LAYER_TYPE_RM_LEFT?this.getDescTD():"")+"</tr><tr>"+(this.layerType==LAYER_TYPE_RM_TOP?this.getDescTD():this.getButtonTD()+"</tr><tr class='konaLayerLinks_underFLV'>"+this.getLandingUrlTD())}return"<table class='"+b+"' border='0' cellpadding='0' cellspacing='0'><tr>"+a+"</tr></table>"};this.getDescBlock=function(){var a="<div style='position:relative;' class='konaDescDiv' onclick='descriptionMouseClick(event,this,#PLATEINDEX#,#LAYERINDEX#);'><table cellpadding='0' cellspacing='0' border='0' class='table02'><tr>"+this.getTitleTD()+"</tr><tr>"+this.getLogoTD()+this.getDescTD()+"</tr></table></div>";return a};this.getMScashbackLayer=function(){return"<div id='konaFlashWrap#PLATEINDEX#-#LAYERINDEX#' class='konaFlashWrap' style='display:inline;width:320px;'><div id='konaFlashDrag#PLATEINDEX#-#LAYERINDEX#' class='konaFlashDrag'></div><div id='konaFlashContent#PLATEINDEX#-#LAYERINDEX#' class='konaFlashContent' style='width:320px;height:335px;'></div></div>"};this.getYahooDescBlock=function(){var a="<div style='position:relative;' class='konaDescDiv'><table cellpadding='0' cellspacing='0' border='0' class='table02'><tr><td onclick='descriptionMouseClick(event,this,#PLATEINDEX#,#LAYERINDEX#);konaEventUnbubble(event)' class='{0}' colspan='2'><span class='{4}'>{1}</span></td></tr><tr>{2}{3}</tr></table></div>";a=String.format(a,this.linkInfo.isRM()?"konaLayerRMTitle":"konaLayerTitle",this.linkInfo.title,this.getYahooLogoTD(),this.getYahooDescTD(),"konaLayerTitleText");return a};this.getYahooDescTD=function(){var a=null;switch(this.layerType){case LAYER_TYPE_SINGLE:case LAYER_TYPE_LOADING:a="konaLayerDesc";break;case LAYER_TYPE_RM_TOP:a="konaLayerDesc_underFLV";break;case LAYER_TYPE_RM_LEFT:a="konaLayerDesc_nearFLV";break}return"<td onclick='descriptionMouseClick(event,this,#PLATEINDEX#,#LAYERINDEX#);konaEventUnbubble(event)' class='"+a+"'>"+this.linkInfo.description+"</td>"};this.getFreeDictionaryDesc=function(){var a="<table class='konaWebnaryTable' width='300' height='112' border='0' cellpadding='0' cellspacing='0' ><tbody><tr><td class='konaFDHeadTD'><img src='{0}' width='300' height='55'  border='0' alt='Webnary' /></td></tr><tr><td class='konaFDSubTD'><img src='{1}' width='300' height='20' border='0' alt='Translate to 21 languages for FREE' /></td></tr><tr><td class='konaFDGradientTD'><table class='konaFDSearch' width='280' height='23' border='0' cellpadding='0' cellspacing='0' ><tbody><tr><td class='konaLineInputTD'><div class='konaFDInputContainer'><input id='konaSearchText_#LAYERINDEX#' type='text' class='konaFDInput' value='{2}'  onclick='konaEventUnbubble(event);' maxlength='40'/></div></td><td><img src='{3}' width='82' height='23' alt='Translate' border='0' onmouseover='this.src = \"{3}\"' onmouseout='this.src = \"{4}\"' class='konaFDSubmit'/></td></tr></tbody></table></td></tr></tbody></table>";a=String.format(a,konaImages.konaFDHeader.src,konaImages.konaFDSub.src,cutString(this.linkInfo.keyword,40),konaImages.konaFDTranslateButton_ovr.src,konaImages.konaFDTranslateButton.src);return a};this.getYahooShppingLayer=function(){var b=new Image();b.src=this.linkInfo.getLogo();while(bIE&&b.height==0){b.src=this.linkInfo.getLogo()}var a=b.height;var d=b.width;if(b.height>b.width){d=85/b.height*b.width;a=85}else{a=85/b.width*b.height;d=85}var c="<table ID='konaYahooShoppingMainTable_#LAYERINDEX#' border='0' cellpadding='0' cellspacing='0' class='konaYahooShoppingTable' onmouseover='konaBuilder.overLayerYahooS(#LAYERINDEX#);' onmouseout='konaBuilder.outLayerYahooS(#LAYERINDEX#);' onmouseup=''><tr>   <td class='konaYahooShoppingHeader' colspan='0'>       <a onclick='konaEventUnbubble(event);' class='konaYahooShoppingTitle'>{0}</a>   </td></tr><tr>   <td>      <table cellpadding='0' cellspacing='0' width='100%' class='konaYahooShoppingContentTable'>           <tr>               <td  class='konaYahooShoppingImageTd'>                   <center><img src='{1}' height='{10}px' width='{11}px' class='konaYahooShoppingImg' alt='' />                   <span class='konaYahooShoppingPrice konrYahooShoppingFont' valign='top'><strong>${2}</strong></span></center>               </td>               <td  class='konaYahooShoppingText' valign='top'>                   <table cellpadding='0' cellspacing='0' class='konaYahooShoppingDescriptionTable'>                       <tr>                           <td class='konaYahooShoppingDescriptionTd'>                               <p class='konaYahooShoppingDescription konrYahooShoppingFont'>                               {3}                               </p>                           </td>                       </tr>                   </table>               </td>           </tr>       </table>   </td></tr></table><table border='0' cellpadding='0' cellspacing='0' class='konaYahooShoppingTable2' ><tr>   <td>       <table class='konaYahooSecondTable' cellpadding='0' cellspacing='0'>           <tr>               <td class='konaYahooSecondTableLinkTD'>                   <a href='{4}' class='konrYahooLink1' valign='top'>{5}</a>               </td>               <td align='right' class='konaYahooSecondTableButtonTD'>                   <img src='{6}' ID='konaYahooShoppingBuyNowImg' alt='Buy Now' class='konaYahooShoppingBuyNowImg' onmouseover='this.src = \"{7}\"' onmouseout='this.src = \"{6}\"' />               </td>           </tr>       </table>   </td></tr><tr>   <td class='konaYahooShoppingBottomTd'><img src='{8}' class='konaYahooShoppingBottomImg' /></td></tr><tr><td class='konaYahooShoppingPoweredTd'><center><img src='{9}' class='konaYahooShoppingPoweredImg' /></center></td></tr></table>";c=String.format(c,cutString(this.linkInfo.title,40),this.linkInfo.getLogo(),parseFloatString(this.linkInfo.price,2),cutString(this.linkInfo.description,120),this.linkInfo.landingUrl,cutString(this.linkInfo.landingUrl,24),konaImages.konaYahooSbuy_now.src,konaImages.konaYahooSbuy_now_mover.src,konaImages.konaYahooSbgBottom.src,konaImages.konaYahooSpoweredByYahoo.src,a,d);return c};this.overLayerYahooS=function(a){var b=kona$(String.format("konaYahooShoppingMainTable_{0}",a));b.style.background=String.format("url({0})",konaImages.konaYahooSbgYellow.src)};this.outLayerYahooS=function(a){var b=kona$(String.format("konaYahooShoppingMainTable_{0}",a));b.style.background=String.format("url({0})",konaImages.konaYahooSbgWhite.src)};this.getYahooSponsoredSearchLayer=function(){var a="<div class='konaYahooSponsored_bckgr'>    <table class='konaYahooSponsored_table'>        <tr>            <td valign='top' class='konaYahooSponsored_td'>                <div class='konaYahooSponsored_inputContainor'>                   <input id='konaSearchText_#LAYERINDEX#' type='text' value='{0}' onclick='konaEventUnbubble(event);' class='konaYahooSponsored_input' maxlength='40' />                </div>            </td>            <td valign='top'>                <a href='#'>                    <img src='{2}' border='0' onmouseover='this.src = \"{1}\"' onmouseout='this.src = \"{2}\"' alt='Search'>                </a>            </td>        </tr>    </table></div>";a=String.format(a,cutString(this.linkInfo.keyword,40),konaImages.konaYSponsoredSearch_over.src,konaImages.konaYSponsoredSearch_out.src);return a};this.getInfoDotComLayer=function(){var a="<table width='270' border='0' cellpadding='0' cellspacing='0' class='konaInfocomTableContainer'><tbody>    <tr>        <td>            <table width='250' border='0' cellpadding='0' cellspacing='0'>            <tbody>                <tr>                    <td>                       <img src='{0}' width='56' alt='Info.com' height='44' border='0' />                    </td>                    <td>                       <img src='{1}' width='186' height='41' alt='Search Info.com' border='0' />                    </td>                </tr>            </tbody>            </table>    </tr>    <tr>        <td width='270' height='46' class='konaInfocomSearchTD'>            <table width='244' border='0' cellpadding='0' cellspacing='0' class='konaInfocomSearchTable'>                <tbody>                    <tr>                        <td class='konaLineInputTD'>                           <div class='konaInfocomInputContainer'>                               <input id='konaSearchText_#LAYERINDEX#' class='konaInfocomSearchField' type='text' value='{2}' onclick='konaEventUnbubble(event);' maxlength='40' />                           </div>                        </td>                        <td>					        <img onmouseover='this.src = \"{3}\"' onmouseout='this.src = \"{4}\"' src='{4}' width='69' height='23' border='0' alt='Search!' />                        </td>                    </tr>                </tbody>            </table>        </td>    </tr></tbody></table>";a=String.format(a,konaImages.info_world_icon.src,konaImages.info_header.src,cutString(this.linkInfo.keyword,40),konaImages.info_search_btn_ovr.src,konaImages.info_search_btn.src);return a};this.getWebnaryLayer=function(){var a="<table class='konaWebnaryTable' width='300' height='112' border='0' cellpadding='0' cellspacing='0' >    <tbody>        <tr>            <td class='konaWebnaryHeadTD'><img src='{0}' width='300' height='51' border='0' alt='Webnary' /></td>        </tr>        <tr>            <td class='konaWebnarySubTD'><img src='{1}' width='300' height='22' border='0' alt='Translate to 21 languages for FREE' /></td>        </tr>        <tr>            <td class='konaWebnaryGradientTD'>                <table class='konaWebnarySearch' width='280' height='23' border='0' cellpadding='0' cellspacing='0' >                <tbody>                    <tr>                        <td class='konaLineInputTD'>                           <div class='konaWebnaryInputContainer'>                               <input id='konaSearchText_#LAYERINDEX#' type='text' class='konaWebnaryInput' value='{2}' onclick='konaEventUnbubble(event);' maxlength='40' />                           </div>                        </td>			             <td><img src='{3}' width='71' height='23' alt='Translate' border='0' onmouseover='this.src = \"{4}\"' onmouseout='this.src = \"{3}\"' class='konaWebnarySubmit'/></td>                    </tr>                </tbody>                </table>            </td>        </tr>    </tbody></table>";a=String.format(a,konaImages.webnary_kona_header.src,konaImages.webnary_kona_sub.src,cutString(this.linkInfo.keyword,40),konaImages.webnary_kona_translate_button.src,konaImages.webnary_kona_translate_button_ovr.src);return a};this.getTable=function(a){return"<table  style='table-layout:auto;empty-cells:hide;'>"+a+"</table>"};this.getKonaBox=function(){var a="<div id='konaBox#PLATEINDEX#-#LAYERINDEX#' class='konaBox'>"+this.getImagePlate();a+="</div>";return a};this.getKonaPlate=function(){return"<div class='"+KONA_PLATE_CLASSNAME+"' id='"+KONA_PLATE_CLASSNAME+"#PLATEINDEX#-#LAYERINDEX#' "+((this.linkInfo.isSpecialType("SPECIAL_TYPE_MOTIFLAYER")||this.linkInfo.isSpecialType("SPECIAL_TYPE_KOSMIX")||this.linkInfo.isSpecialType("SPECIAL_TYPE_HP"))?"onmouseover='descriptionMouseOver(event,this,#PLATEINDEX#,#LAYERINDEX#);' onmouseout='descriptionMouseOut(event,this,#PLATEINDEX#,#LAYERINDEX#);'onclick='descriptionMouseClick(event,this,#PLATEINDEX#,#LAYERINDEX#);'>":this.getClickEvent()+">")+this.getTopCurve()+this.getKonaBox()+(this.paintSearchInfo?this.getPlateSeparator():this.getBottomBox())+"</div>"};this.getClickEvent=function(){var a="";if(!this.linkInfo.declareOuterOnClick()){a=""}else{a="onclick='descriptionMouseClick(event,this,#PLATEINDEX#,#LAYERINDEX#);'"}return a};this.getPlateSeparator=function(){return"<div class='konaBox_bottom' id='konaBoxSeparator#PLATEINDEX#-#LAYERINDEX#'></div>"};this.getTopCurve=function(){return"<div class='top_curve' id='konaTopCurve#PLATEINDEX#-#LAYERINDEX#'></div>"};this.getBottomBox=function(){return"<div id='konaBottom#PLATEINDEX#-#LAYERINDEX#' class='konaBottomBox'>"+((this.linkInfo.isSpecialType("SPECIAL_TYPE_MOTIFLAYER")||this.linkInfo.isSpecialType("SPECIAL_TYPE_KOSMIX")||this.linkInfo.isSpecialType("SPECIAL_TYPE_HP"))?"&nbsp;":this.getBottomBoxInner())+"</div>"};this.getBottomBoxInner=function(){if(konaOuterLayerStyle==OUTER_LAYER_REG){return"&nbsp;"}else{if(konaOuterLayerStyle==OUTER_LAYER_JUP){return"<center><a style='position:relative;' href='http://www.kontera.com/?sr=100000' onclick='konaEventUnbubble(event);'><img src='"+konaImages.poweredbyKontera.src+"' width='143' height='21' alt='Kontera' onmouseover='this.src = \""+konaImages.poweredbyKontera_o.src+"\"' onmouseout='this.src = \""+konaImages.poweredbyKontera.src+"\"' /></a></center>"}}};this.getActionBlock=function(){return"<div id='konaActionBlock#PLATEINDEX#-#LAYERINDEX#' onmouseover='descriptionMouseOver(event,this,#PLATEINDEX#,#LAYERINDEX#);' onmouseout='descriptionMouseOut(event,this,#PLATEINDEX#,#LAYERINDEX#);'>"+(this.linkInfo.isSpecialType("SPECIAL_TYPE_MS_CASHBACK")?this.getMScashbackLayer():(this.linkInfo.isSpecialType("SPECIAL_TYPE_MOTIFLAYER")||this.linkInfo.isSpecialType("SPECIAL_TYPE_KOSMIX")||this.linkInfo.isSpecialType("SPECIAL_TYPE_HP")?"<div id='konteraMotifWrap#LAYERINDEX#' style='position:relative;left:7px;top:3px;width:300px;height:250px;'></div>":this.getKonaPlate()))+"</div>"};this.getIframeBlock=function(){return"<div id='konaActionBlock#PLATEINDEX#-#LAYERINDEX#' onmouseover='descriptionMouseOver(event,this,#PLATEINDEX#,#LAYERINDEX#);' onmouseout='descriptionMouseOut(event,this,#PLATEINDEX#,#LAYERINDEX#);'><div id='konteraThirdPartyWrapper#LAYERINDEX#' style='border:0;position:relative;left:7px;top:3px;width:300px;height:250px;'></div></div>"};this.getHoverTD=function(a){return"<td onmouseover='this.className=\"konaHover\"' onmouseout='this.className=\"\"' >"+a+"</td>"};this.getTabTD=function(b,c,a){return this.getHoverTD("<div style='position:relative;' class='"+(a?"selected":"")+"' id='konaTab"+b+"-#LAYERINDEX#' onclick='konaTabMouseClick(event,this,"+b+",#LAYERINDEX#);'><span>"+c+"</span></div>")};this.getTabsBar=function(){var b="";for(var a=0;a<this.tabs.length;a++){b+=this.getTabTD(a,this.tabs[a].tabName,a==0)}return"<table cellpadding='0' cellspacing='0' border='0' id='konatabs_Table#LAYERINDEX#' class='konatabs_Table'><tr>"+b+"</tr></table>"};this.getTabBlock=function(){var a=this.linkInfo.keyword;return"<table class='searchTbContainer' cellpadding='0' cellspacing='0' border='0'><tr><td class='searchTransTb' "+searchTransTbParams+"></td><td class='searchLogoTb' valign='middle' "+searchLogoTbParams+"><img src='"+konaImages.sitesearch.src+"' "+konaImages.sitesearch.params+" border='0'  /></td><td class='searchInputTb' "+searchInputTbParams+" valign='middle' onclick='konaEventUnbubble(event);' ><div class='searchInputFieldTbDiv' "+searchInputFieldTbDivParams+"><input value='"+a+"' class='searchInputFieldTb' id='konaSearchInput#LAYERINDEX#' type='text' maxlength='40' /></div></td><td class='searchButtonTb' "+searchButtonTbParams+" valign='middle'><img src='"+konaImages.search_button_text.src+"' "+konaImages.search_button_text.params+" onclick='konaSearchClick(event,this,#LAYERINDEX#)' onmouseover='this.src = \""+konaImages.search_button_text_o.src+"\"' onmouseout='this.src = \""+konaImages.search_button_text.src+"\"' /></td></tr></table>"};this.getTabsBox=function(){return"<div class='konaBox02' id='konaTabsBox#LAYERINDEX#'>"+(!this.isOneSearch?"<div class='konatabs_Search'>"+this.getTabsBar()+"</div>":"")+this.getTabBlock()+"</div>"};this.getLowerPlate=function(a){return"<div class='"+KONA_PLATE_CLASSNAME+"' id='"+KONA_PLATE_CLASSNAME+"#PLATEINDEX#-#LAYERINDEX#' onclick='descriptionMouseClick(event,this,#PLATEINDEX#,#LAYERINDEX#);' onmouseover='descriptionMouseOver(event,this,#PLATEINDEX#,#LAYERINDEX#);' onmouseout='descriptionMouseOut(event,this,#PLATEINDEX#,#LAYERINDEX#);'>"+this.getTabsBox()+this.getBottomBox()+"</div>"};this.getLayerPlates=function(){var a="";if(this.linkInfo.isSpecialType("SPECIAL_TYPE_MOTIFLAYER")||this.linkInfo.isSpecialType("SPECIAL_TYPE_KOSMIX")||this.linkInfo.isSpecialType("SPECIAL_TYPE_HP")){a+=this.getKonaPlate().replace(this.layerIndexRE,this.adlinkCur).replace(this.plateIndexRE,0)}a+=this.getActionBlock().replace(this.layerIndexRE,this.adlinkCur).replace(this.plateIndexRE,0);if(this.paintSearchInfo){a+=this.getLowerPlate().replace(this.layerIndexRE,this.adlinkCur).replace(this.plateIndexRE,1)}return a};this.getSuperDIV=function(){var a=document.createElement("div");a.id=KONA_LAYER_ID+this.adlinkCur;a.className="konaLayer"+(this.linkInfo.konaLayerMode==LAYER_MODE_CLICK?" CBL":"");if(this.linkInfo.isSpecialType("SPECIAL_TYPE_MS_CASHBACK")){a.style.width="320px";a.innerHTML=this.getActionBlock().replace(this.layerIndexRE,this.adlinkCur).replace(this.plateIndexRE,0)}a.innerHTML=this.getLayerPlates();return a};this.getLogoPlate=function(a,b,c){return this.getTable("<tr><td>"+a+"</td></tr><tr><td>"+b+"</td></tr><tr><td>"+c+"</td></tr>")};this.getImagePlate=function(c,a){var b=this.getContentBlock();return b}}function KonaLayers(){this.node=null;this.scrolls=null;this.scrollCur=-1;this.layers=new Array();this.doUpdate=false;this.zTopCur=dc_z_index;this.effectTimer=null;this.searchInfos=new Array();this.isExpandBigArr=new Array();this.expandTypeLinkClick=null;this.viewTime=0;this.SEARCH_INFOS_TABLE=[[1,"This site"],[2,"Web"]];this.hasLayersNode=function(){return this.node!=null};this.setLayersNode=function(a){this.node=a};this.getSelectedSearch=function(a){return this.searchInfos[this.getLayerObj(a).selectedTab]};this.getSearchInfos=function(){return this.searchInfos};this.addSearchInfo=function(a){for(var b=0;b<this.SEARCH_INFOS_TABLE.length;b++){if(this.SEARCH_INFOS_TABLE[b][0]==a.searchTypeId){a.tabName=this.SEARCH_INFOS_TABLE[b][1]}}this.searchInfos.push(a)};this.hasSearchInfo=function(a){return this.searchInfos.length>0};this.isMSLayer=function(a){if(konaLinks.getInfo(a).isSpecialType("SPECIAL_TYPE_MSLAYER")){return true}};this.isExpandBig=function(a){if(typeof(this.isExpandBigArr[a])!="undefined"){if(this.isExpandBigArr[a]){return true}else{return false}}else{return false}};this.isMScashback=function(a){if(konaLinks.getInfo(a).isSpecialType("SPECIAL_TYPE_MS_CASHBACK")){return true}};this.IsMotifLayer=function(a){if(konaLinks.getInfo(a).isSpecialType("SPECIAL_TYPE_MOTIFLAYER")){return true}};this.IsDartLayer=function(a){if(konaLinks.getInfo(a).isSpecialType("SPECIAL_TYPE_DARTLAYER")){return true}};this.isKosmix=function(a){if(konaLinks.getInfo(a).isSpecialType("SPECIAL_TYPE_KOSMIX")){return true}};this.isHP=function(a){if(konaLinks.getInfo(a).isSpecialType("SPECIAL_TYPE_HP")){return true}};this.isShowSearch=function(b){var a=konaLinks.getInfo(b);return(konaLayers.hasSearchInfo(b)&&!a.isRM()&&a.getLayerType()!=LAYER_TYPE_LOADING)};this.pushEffectParam=function(a){this.doUpdate=a};this.initEffects=function(b){this.scrolls=b;clearTimeout(this.effectTimer);var a=this.getLayerObj(b).isUp;if(this.layers[this.scrolls].scrollDone||this.doUpdate){this.scrollCur=a?-1:this.layers[this.scrolls].node.offsetHeight}else{this.scrollCur=a?this.layers[this.scrolls].node.offsetHeight-1:0}this.scrollEffect(a,b)};this.scrollEffect=function(b,c){var a="";if(b){if(!movieLayerIndex||c!=movieLayerIndex){a="rect("+this.scrollCur+"px 319px "+this.layers[this.scrolls].node.offsetHeight+"px 0px)"}else{a="rect("+this.scrollCur+"px 470px "+this.layers[this.scrolls].node.offsetHeight+"px 0px)"}}else{if(!movieLayerIndex||c!=movieLayerIndex){a="rect(0px 319px "+this.scrollCur+"px 0px)"}else{a="rect(0px 470px "+this.scrollCur+"px 0px)"}}if(!konaLinks.get(c).IsNewExpandableLayer()){this.layers[this.scrolls].node.style.clip=a}if(b&&(this.scrollCur>=0)){this.scrollCur-=layerEffectSpeed;this.effectTimer=setTimeout("konaLayers.scrollEffect("+b+","+c+")",2)}else{if(!b&&this.scrollCur<=this.layers[this.scrolls].node.offsetHeight){this.scrollCur+=layerEffectSpeed;this.effectTimer=setTimeout("konaLayers.scrollEffect("+b+","+c+")",2)}else{}}};this.imageLoaded=function(b){if(this.layers[b]){this.layers[b].imageLoaded();if(this.layers[b].isShown){var a=this.layers[b].scrollDone;this.layers[b].scrollDone=true;this.initEffects(b);this.layers[b].scrollDone=a}}};this.setLocation=function(d,c,a,b){this.getLayerObj(d).setLocation(c,a,b)};this.onDragStart=function(a){this.setStick(a,true);this.fadeLayer(a,true);this.getLayerObj(a).onDragStart()};this.onDragEnd=function(a){this.fadeLayer(a,false);this.getLayerObj(a).onDragEnd()};this.tabSelected=function(b,a){this.getLayerObj(b).tabSelected(a)};this.adlinkMouseOver=function(a){logit("KonaLayers adlinkMouseOver:"+((new Date()).getTime()-konaLinks.get(a).linkHoverStartTime)+"~");var b=this.getLayerObj(a);if(!(b&&b.isStick)||b.isByClick){mouseOverAdlinkTimer=window.setTimeout("showTimedTitle()",infoUnit.dc_delayTime);if(b){b.adlinkMouseOver()}}window.status=windowStatusBarCaptionOnAdLinkMouseOver};this.adlinkMouseOut=function(a){window.clearTimeout(mouseOverAdlinkTimer);if(this.getLayerObj(a)){this.getLayerObj(a).adlinkMouseOut()}window.status=""};this.plateMouseOver=function(b,a){this.setActive(a,true);this.getLayerObj(a).plateMouseOver(b);window.status=windowStatusBarCaptionOnAdLinkMouseOver};this.plateMouseOut=function(b,a){this.setActive(a,false);this.getLayerObj(a).plateMouseOut(b);window.status=""};this.fadeLayer=function(a,b){if(konaLinks.get(a).IsNewExpandableLayer()){kona$("konaFlashBubble"+a).fadeLayer(b)}};this.setViewTime=function(b,a){this.layers[b].expandViewTime=a};this.show=function(a,b){this.getLayerObj(b).show(a);this.initEffects(b);this.bringToTop(b)};this.bringToTop=function(a){this.layers[a].node.style.zIndex=++this.zTopCur};this.hasLayer=function(a){return this.layers[a]?true:false};this.getLayerObj=function(a){return this.layers[a]};this.getLayerNode=function(a){return this.layers[a].node};this.getActionNode=function(a,b){return a==1?kona$("konaTabsBox"+b):this.layers[b].actionNode};this.update=function(b,c){if(!this.layers[c]||this.layers[c]==null){this.node.appendChild(b)}else{this.node.replaceChild(b,this.layers[c].node)}b.onDragStart=function(){konaLayers.onDragStart(c)};b.onDragEnd=function(){konaLayers.onDragEnd(c)};var a=new KonaLayer(c);this.layers[c]=a;if(adPreviewMode){return}this.layers[c].adlinkMouseOut()};this.getTailPosition=function(d){var c=this.getLayerObj(d).isUp;var b=this.getLayerObj(d).isRight;var a="";if(c){a+="B"}else{a+="T"}if(b){a+="R"}else{a+="L"}return a};this.isStick=function(a){return this.layers[a].isStick};this.setActive=function(b,a){this.layers[b].isActive=a};this.setStick=function(b,a){this.layers[b].isStick=a};this.hide=function(c){if(konaLinks.getInfo(c)){if(konaLinks.getInfo(c).borderlessInfo||konaLinks.getInfo(c).expandableInfo){var a=this.getLayerObj(c).linkInfo;a.clickStatus.resetInfoParams();if(this.isExpandBig(c)){setLayerSize(parseInt(a.expandableSmallWidth)+10,parseInt(a.expandableSmallHeight)+parseInt(a.expandableSmallTailHeight)+10,c,"");konaFlashFunction(("konaFlashBubble"+c),"js_stop_video",null,false)}else{try{kona$("konaFlashBubble"+c).muteVideo(true)}catch(b){}}if(a.expandableIsImpression){impressions.reportImpression(c)}}}if(this.layers[c]){this.isExpandBigArr[c]=false;this.layers[c].hide();this.setStick(c,false);this.setActive(c,false)}window.status=""};this.close=function(a){this.getLayerObj(a).close();window.status=""};this.hideAll=function(b){var a=this.layers.length;if(movieLayerIndex==null){a--}for(var c=0;c<a;c++){if(this.layers[c]&&!this.layers[c].isStick){if(c!=b){impressions.layerClosed(c)}this.hide(c)}}}}function IsKonaLayerExist(a){return konaLayers!=null&&konaLayers.getLayerObj(a)!=null}function FunctionCallProxy(eval_func){eval(eval_func)}var konaBaseFullyLoaded=true;