
var flashIE=false;var version=0;try{version=getFlashVersion().split(',').shift();}
catch(err){version=0;}
function getFlashVersion(){try{try{var axo=new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6');try{axo.AllowScriptAccess='always';}
catch(e){return'6,0,0';}}catch(e){version=0;}
return new ActiveXObject('ShockwaveFlash.ShockwaveFlash').GetVariable('$version').replace(/\D+/g,',').match(/^,?(.+),?$/)[1];}catch(e){try{if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){return(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1];}}catch(e){version=0;}}
return'0,0,0';}
if(typeof window.Ads=='undefined'){Ads=new Array();}
var exp=(function(){var d=new Date();var t=d.getTime();function getIFrameDocument(aID,currentDoc,currentWindow){var oDoc=aID.contentWindow||aID.contentDocument;if((oDoc==window)||oDoc==currentDoc){return true;}
return false;}
function addNodes(tumri_ad_url,t,iwidth,iheight,frameborder,isYT,isAJAX){if(isYT){var w=window.parent.document.getElementsByTagName("iframe");for(var i=0;i<w.length;i++){if(getIFrameDocument(w[i],window.document,window)==true){addSwf();var win=window.document.getElementsByTagName("body");var height=0;var width=0;var sheight=0;var swidth=0;var style="";if(w[i].height){height=w[i].height;}
if(w[i].style.height){sheight=w[i].style.height;}
if(w[i].width){width=w[i].width;}
if(w[i].style.width){swidth=w[i].style.width;}
if(w[i].style.position){style=w[i].style.position;}
if(isAJAX){var x=navigator;var Name=x.appName;var UA=x.userAgent;if(Name.match("icrosoft")){window.attachEvent("onunload",function(){var w=window.parent.document.getElementsByTagName("iframe");for(var i=0;i<w.length;i++){var oDoc=w[i].contentWindow||w[i].contentDocument;if((oDoc==window)||oDoc==window.document){if(w[i].style.height)w[i].style.height=sheight;if(w[i].style.width)w[i].style.width=swidth;if(w[i].height){w[i].height=height;}if(w[i].width){w[i].width=width;}if(w[i].style.position){w[i].style.position=style;}}}var cell=window.parent.document.getElementById("rel_"+t);if(cell!=null){if(cell.hasChildNodes()){while(cell.childNodes.length>=1){cell.removeChild(cell.firstChild);}}}if(window.parent.document.getElementById("rel_"+t)){eval("window.parent.document.all.rel_"+t+".parentNode.removeChild(cell)");}cell=window.parent.document.getElementById("exp_"+t);if(cell!=null){if(cell.hasChildNodes()){while(cell.childNodes.length>=1){cell.removeChild(cell.firstChild);}}}if(window.parent.document.getElementById("exp_"+t)){eval("window.parent.document.all.exp_"+t+".parentNode.removeChild(cell)");}});}
else{win[0].setAttribute("onunload","{ var w = window.parent.document.getElementsByTagName(\"iframe\"); for (var i=0; i< w.length; i++){var oDoc = w[i].contentWindow || w[i].contentDocument; if ((oDoc == window) || oDoc == window.document) { if(w[i].style.height) { w[i].style.height=\""+sheight+"\";}  if(w[i].style.width ) {w[i].style.width=\""+swidth+"\";} if(w[i].height) {w[i].height="+height+";}  if(w[i].width) {w[i].width="+width+"; }  if(w[i].style.position){ w[i].style.position=style; } }} var cell = window.parent.document.getElementById(\"rel_"+t+"\"); if(cell != null) { if ( cell.hasChildNodes() ) { while ( cell.childNodes.length >= 1 ) { cell.removeChild( cell.firstChild ); }  } } if(window.parent.document.getElementById(\"rel_"+t+"\")){ eval(\"window.parent.document.all.rel_"+t+".parentNode.removeChild(cell)\"); }  cell = window.parent.document.getElementById(\"exp_"+t+"\"); if(cell != null) { if ( cell.hasChildNodes() ) { while ( cell.childNodes.length >= 1 ) { cell.removeChild( cell.firstChild ); }  } } if(window.parent.document.getElementById(\"exp_"+t+"\")){ eval(\"window.parent.document.all.exp_"+t+".parentNode.removeChild(cell)\"); } }");}}
var obj=w[i].parentNode;var div=creatediv(t,window.parent.document,false);obj.appendChild(div);createIframe(tumri_ad_url,t,iwidth,iheight,frameborder,div,window.parent.document);var expdiv=creatediv(t,window.parent.document,true);obj.appendChild(expdiv);if(w[i].height)
w[i].height=1;if(w[i].width)
w[i].width=1;if(w[i].style.height)
w[i].style.height="1px";if(w[i].style.width)
w[i].style.width="1px";w[i].style.position="absolute";}}}
else{var body=window.document.getElementsByTagName("body");document.write("<div id=\"rel_"+t+"\" align=\"left\" style=\"z-index:99;position:absolute;height:"+iheight+"px;width:"+iwidth+"px; \">");document.write("</div>");document.write("<div id=\"exp_"+t+"\" style=\"z-index:98;position:relative;top:0px;left:0px;height:"+iheight+"px;width:"+iwidth+"px; \"> ");addSwf();document.write("</div>");var divObj=window.document.getElementById("rel_"+t);createIframe(tumri_ad_url,t,iwidth,iheight,frameborder,divObj,window.document);}}
function createIframe(ad_url,t,width,height,frameborder,fObj,obj){ifrm=obj.createElement("iframe");ifrm.setAttribute("id","IF_"+t);ifrm.setAttribute("src",ad_url+"&exId="+t);ifrm.style.position="relative";ifrm.style.margin="0px";ifrm.style.padding="0px";ifrm.style.left="0px";ifrm.style.top="0px";ifrm.width=width;ifrm.height=height;ifrm.frameBorder=0;ifrm.setAttribute("scrolling","no");ifrm.setAttribute("marginwidth","0");ifrm.setAttribute("marginheight","0");ifrm.setAttribute("vspace","0");ifrm.setAttribute("hspace","0");ifrm.setAttribute("allowtransparency","true");ifrm.style.zIndex="100";fObj.appendChild(ifrm);}
function addSwf(){var s="<embed  width=\"1\" height=\"1\" align=\"middle\" type=\"application/x-shockwave-flash\" flashvars=\"connId="+t+"\" salign=\"\" allowscriptaccess=\"always\" allowfullscreen=\"false\" menu=\"true\" name=\"expanderPixel\" bgcolor=\"#ffffff\" devicefont=\"false\" wmode=\"window\" scale=\"showall\" loop=\"true\" play=\"true\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" quality=\"high\" src=\""+window.ad_se+"/ads/expanderPixel.swf\"/>"
document.write(s);}
function quoted(str){return(str!=null)?'"'+str+'"':'""';}
function tumri_encodeURIComponent(str){if(typeof(encodeURIComponent)=='function'){return encodeURIComponent(str);}else{return escape(str);}}
function tumri_append_url(param,value){if(value){if(window.tumri_ad_url.substring(window.tumri_ad_url.length-1,window.tumri_ad_url.length)=='?')
window.tumri_ad_url+=param+'='+value;else
window.tumri_ad_url+='&'+param+'='+value;}}
function tumri_append_url_esc(param,value){if(value){tumri_append_url(param,tumri_encodeURIComponent(value));}}
function tumri_write_iframe(w,d,ad_url){var tumri_style='margin:0px;padding:0px;';if(w.tumri_frame_bg||w.frameborder){tumri_style+='background-color:'+checkParams("tumri_frame_bg","frameborder")+';';}
d.write('<iframe'+' name="tumri_ads_frame"'+' width='+quoted(checkParams("tumri_ad_width","width"))+' height='+quoted(checkParams("tumri_ad_height","height"))+' frameborder='+quoted(checkParams("tumri_ad_frameborder","frameborder"))+' src='+quoted(ad_url)+' style='+quoted(tumri_style)+' marginwidth="0"'+' marginheight="0"'+' vspace="0"'+' hspace="0"'+' allowtransparency="true"'+' scrolling="no">');d.write('</iframe>');}
function resetParams(paramOldName,paramNewName){var w=window;var nvalue=null;var obj=eval(paramOldName);var newobj=eval("w.x2_"+paramNewName);if(typeof obj!='undefined'){eval(paramOldName+"=undefined");}
if(typeof newobj!='undefined'){eval("w.x2_"+paramNewName+"=undefined");}}
function checkParams(paramOldName,paramNewName){var w=window;if(typeof eval("w."+paramOldName)=='undefined'&&typeof eval("w.x2_"+paramNewName)!='undefined'){return eval("w.x2_"+paramNewName);}
else if(typeof eval("w."+paramOldName)!='undefined'){return eval("w."+paramOldName);}}
function creatediv(t,obj,flag){var newdiv=obj.createElement('div');if(flag){newdiv.setAttribute('id',"exp_"+t);newdiv.style.position="relative";newdiv.style.zIndex="98";newdiv.style.top="0px";newdiv.style.left="0px";}
else{newdiv.setAttribute('id',"rel_"+t);var x=navigator;var Name=x.appName;var UA=x.userAgent;if(Name.match("icrosoft")){newdiv.style.position="absolute";}else{newdiv.style.position="absolute";}
newdiv.style.zIndex="99";}
if(quoted(checkParams("tumri_ad_width","width"))){newdiv.style.width=checkParams("tumri_ad_width","width")+"px";}
if(quoted(checkParams("tumri_ad_height","height"))){newdiv.style.height=checkParams("tumri_ad_height","height")+"px";}
newdiv.align="left";return newdiv;}
function tumri_append_custom(){var obj=window.tumri_custom;if(obj&&typeof obj=='object'&&obj!=null){var p;for(p in obj){tumri_append_url_esc(p,obj[p]);}}}
function tumri_error_handler(message,url,line){tumri_show_ad();return true;}
var myJSONObject="";return{init:function(){myJSONObject={"bindings":[{"oldName":"tumri_ad_server","newName":"ad_se"},{"oldName":"tumri_ad_client","newName":"ad_cl"},{"oldName":"tumri_store_id","newName":"tumri_store_id"},{"oldName":"tumri_page_url","newName":"pa_ur"},{"oldName":"tumri_ad_type","newName":"ad_ty"},{"oldName":"tumri_theme","newName":"tu_th"},{"oldName":"tumri_search_query","newName":"s1"},{"oldName":"en","newName":"en"},{"oldName":"sc","newName":"sc"},{"oldName":"tumri_click_tracker_url","newName":"cl_tr"},{"oldName":"tumri_design","newName":"tu_de"},{"oldName":"tumri_open_in_new_window","newName":"op_ne_wi"},{"oldName":"tumri_disable_animation","newName":"di_an"},{"oldName":"tumri_animation_interval","newName":"an_in"},{"oldName":"tumri_page_location","newName":"pa_lo"},{"oldName":"tumri_referrer_url","newName":"re_ur"},{"oldName":"tumri_aid","newName":"tu_ai"},{"oldName":"tumri_affiliate_id","newName":"af_id"},{"oldName":"tumri_affiliate_name","newName":"af_na"},{"oldName":"tumri_sid","newName":"tu_si"},{"oldName":"p1_id","newName":"p1"},{"oldName":"p2_id","newName":"p2"},{"oldName":"p3_id","newName":"p3"},{"oldName":"p4_id","newName":"p4"},{"oldName":"atsget","newName":"at_ge"},{"oldName":"buy_id","newName":"bu_id"},{"oldName":"page_id","newName":"pa_id"},{"oldName":"ad_id","newName":"ad_id"},{"oldName":"creative_id","newName":"cr_id"},{"oldName":"site_id","newName":"si_id"},{"oldName":"tumri_ad_width","newName":"width"},{"oldName":"tumri_ad_height","newName":"height"},{"oldName":"tumri_ad_frameborder","newName":"frameborder"},{"oldName":"tumri_frame_bg","newName":"fr_bg"},{"oldName":"debug_zipcode","newName":"g1"},{"oldName":"debug_dma","newName":"g2"},{"oldName":"debug_city","newName":"g3"},{"oldName":"debug_state","newName":"g4"},{"oldName":"debug_country","newName":"g5"},{"oldName":"debug_area_code","newName":"g6"},{"oldName":"location_id","newName":"lo_id"},{"oldName":"l1","newName":"l1"},{"oldName":"l2","newName":"l2"},{"oldName":"l3","newName":"l3"},{"oldName":"l4","newName":"l4"},{"oldName":"l5","newName":"l5"},{"oldName":"f1","newName":"f1"},{"oldName":"f2","newName":"f2"},{"oldName":"f3","newName":"f3"},{"oldName":"f4","newName":"f4"},{"oldName":"f5","newName":"f5"},{"oldName":"t1","newName":"t1"},{"oldName":"t2","newName":"t2"},{"oldName":"t3","newName":"t3"},{"oldName":"t4","newName":"t4"},{"oldName":"t5","newName":"t5"},{"oldName":"TC_1","newName":"TC_1"},{"oldName":"TC_2","newName":"TC_2"},{"oldName":"TC_3","newName":"TC_3"},{"oldName":"TC_4","newName":"TC_4"},{"oldName":"TC_5","newName":"TC_5"},{"oldName":"ex","newName":"ex"},{"oldName":"nf","newName":"nf"},{"oldName":"u1","newName":"u1"},{"oldName":"u2","newName":"u2"},{"oldName":"u3","newName":"u3"},{"oldName":"u4","newName":"u4"},{"oldName":"u5","newName":"u5"},{"oldName":"u6","newName":"u6"},{"oldName":"u7","newName":"u7"},{"oldName":"u8","newName":"u8"},{"oldName":"u9","newName":"u9"},{"oldName":"u10","newName":"u10"},{"oldName":"u11","newName":"u11"},{"oldName":"u12","newName":"u12"},{"oldName":"u13","newName":"u13"},{"oldName":"u14","newName":"u14"},{"oldName":"u15","newName":"u15"},{"oldName":"u16","newName":"u16"},{"oldName":"u17","newName":"u17"},{"oldName":"u18","newName":"u18"},{"oldName":"u19","newName":"u19"},{"oldName":"u20","newName":"u20"},{"oldName":"cu_pa","newName":"cu_pa"},{"oldName":"cu_pa_en","newName":"cu_pa_en"}]};},tumri_init_globals:function(){var w=window;var d=document;if(w.tumri_ad_frameborder)
w.tumri_ad_frameborder=0;else
w.x2_frameborder=0;w.tumri_referrer_url=d.referrer;w.tumri_page_location=d.location;},tumri_show_ad:function(){var w=window;var d=document;if(typeof w.tumri_org_error_handler!='undefined'){w.onerror=w.tumri_org_error_handler;}
for(var j=0;j<myJSONObject.bindings.length;j++){if(myJSONObject.bindings[j].oldName=="tumri_ad_server"){w.ad_se=checkParams("tumri_ad_server","ad_se");w.tumri_ad_url=w.ad_se+'/ads/ads?';}
else{var value;if(myJSONObject.bindings[j].oldName=="sc"){value='y';}
else if(myJSONObject.bindings[j].oldName=="nf"){value=version;}
else{value=checkParams(myJSONObject.bindings[j].oldName,myJSONObject.bindings[j].newName);}
if(value!=null&&value!='undefined'&&value.length>0){tumri_append_url_esc(myJSONObject.bindings[j].newName,value);}}}
tumri_append_custom();var width=checkParams("tumri_ad_width","width");var height=checkParams("tumri_ad_height","height");var fborder=checkParams("tumri_ad_frameborder","frameborder");if(typeof(w.x2_ex)=='undefined'){tumri_write_iframe(w,d,w.tumri_ad_url);}
else{if(typeof(w.inFIF)!='undefined'&&w.x2_ex==true){if(w.isAJAX)
addNodes(w.tumri_ad_url,t,width,height,fborder,true,true);else
addNodes(w.tumri_ad_url,t,width,height,fborder,true,false);}
else if(w.x2_ex==true){addNodes(w.tumri_ad_url,t,width,height,fborder,false);}
else{tumri_write_iframe(w,d,w.tumri_ad_url);}}
for(var j=0;j<myJSONObject.bindings.length;j++){resetParams(eval("\"w."+myJSONObject.bindings[j].oldName+"\""),myJSONObject.bindings[j].newName);}}};})();function findPos(obj){if(obj!=null){this.X=obj.offsetLeft;this.Y=obj.offsetTop;while(obj.offsetParent){if(obj.offsetParent.style.position=="absolute"){return this}
this.X=this.X+obj.offsetParent.offsetLeft;this.Y=this.Y+obj.offsetParent.offsetTop;if(obj==document.getElementsByTagName('body')[0]){break}
else{obj=obj.offsetParent;}}
return this}}
function resize(height,width,position,id){var element="";var divElement="";element=window.parent.document.getElementById("IF_"+id);divElement=window.parent.document.getElementById("rel_"+id);var obj=findPos(element);if(typeof element!='undefined'){var x=navigator;var Name=x.appName;var UA=x.userAgent;if(Name.match("icrosoft")){if(position=='EXPAND_UP'||position=='EXPAND_LEFT'||position=='EXPAND_RIGHT'||position=='EXPAND_DOWN'){element.style.position="absolute";}
else if(position=='RETRACT_LEFT'||position=='RETRACT_UP'||position=='RETRACT_RIGHT'||position=='RETRACT_DOWN'){element.style.position="relative";}}
if(position=='EXPAND_UP'){var aheight=parseInt(height)-parseInt(element.height);element.style.top="-"+aheight+"px";element.style.left="0px";}
else if(position=='EXPAND_LEFT'){var awidth=parseInt(width)-parseInt(element.width);element.style.left="-"+awidth+"px";element.style.top="0px";}
else if(position=='RETRACT_LEFT'){element.style.left="0px";}
else if(position=='RETRACT_UP'){element.style.top="0px";}
element.width=width;element.height=height;element.style.zIndex=100;}else{alert("Cannot find iFrame");}}
exp.init();exp.tumri_init_globals();exp.tumri_show_ad();