if(!Array.prototype.forEach){Array.prototype.forEach=function(fun){var len=this.length;if(typeof fun!="function"){throw new TypeError()}var thisp=arguments[1];for(var i=0;i<len;i++){if(i in this){fun.call(thisp,this[i],i,this)}}}}var geoLink={linkLinkColor:"#1111CC",linkDescColor:"#000",popupTitleLinkColor:"#004f98",popupDomainLinkColor:"#004f98",popupTextColor:"#2b2b2b",popupBGColor:"#FFF",popupBorderColor:"#135686",popupHeader:"Hey #SEARCHENGINE# User, Welcome to "+window.location.hostname+"!",subPartner:"Default",popupShow:true,isCG:false,isAppDev:false,doLinkUnderlining:false,doOverlayDiv:false,doBottomAnchor:false,shopMaxAdsShownAtOnce:5,shopPartner:"CB2068B2-99A8-49A1-B5B1-AA31419EEA3E",pt:null,onLinkOutTimeout:2000,googleAdsTop:3,yahooAdsTop:3,yahooAdsRight:8,yahooAdsBot:2,bingAdsTop:3,bingAdsRight:8,bingAdsBot:2,adsUsed:0,shopCurrentAd:0,shopResponse:null,anchorResponse:null,hasDocType:true,mouseIsOverAdLink:false,linkDiv:null,lastResultIdx:-1,lastTimeoutType:"",linkX:0,linkY:0,isIE:false,isFF:false,isChrome:false,jsc:0,linkResults:[],linkReplaced:[],maxNodes:800,maxKeywords:800,keywordList:[],foundKeywordList:[],keywordStr:"",usedWords:{},ignoredTags:{"!":1,A:1,BUTTON:1,HEAD:1,HTML:1,INPUT:1,IMG:1,META:1,H1:1,H2:1,H3:1,H4:1,H5:1,H6:1,OPTION:1,SCRIPT:1,NOSCRIPT:1,SELECT:1,STYLE:1,TEXTAREA:1,TITLE:1,XML:1,SUP:1,LINK:1,LABEL:1,IFRAME:1},userAgent:"",ieVer:0,ancData:null,ancCurrentIdx:-1,ancDownTimeout:null,ancClosing:false,ancVAdj:0,ancGapV:0,ancDivStyleTopShowHalf:null,ancResponse:null,popupMask:null,popupContainer:null,popDetails:null,isShow:false,geoVpx:0,geoVpy:0,geoBsx:0,geoBsy:0,geoPsx:0,geoPsy:0,getViewport:function(){var d=document,w=window,dE="documentElement",cH="clientHeight",cW="clientWidth",iH="innerHeight",iW="innerWidth",sH="scrollHeight",sW="scrollWidth",oH="offsetHeight",oW="offsetWidth",oL="offsetLeft",oT="offsetTop",sT="scrollTop",sL="scrollLeft";if(d[cH]&&d[cW]){geoVpx=d[cW];geoVpy=d[cH]}else{if(w[iH]&&w[iW]){geoVpx=w[iW];geoVpy=w[iH]}else{if(d[dE]&&(d[dE][cW]||d[dE][cH])){geoVpx=d[dE][cW];geoVpy=d[dE][cH]}else{if(d.body&&(d.body[cW]||d.body[cH])){geoVpx=d.body[cW];geoVpy=d.body[cH]}}}}geoBsx=Math.max(d.body[sW],d.body[oW],d[dE][sW],d[dE][oW]);geoBsy=Math.max(d.body[sH],d.body[oH],d[dE][sH],d[dE][oH]);geoPsx=Math.max(d.body[sL],d[dE][sL]);geoPsy=Math.max(d.body[sT],d[dE][sT])},arGoogleAdsTop:3,arYahooAdsTop:3,arYahooAdsRight:8,arYahooAdsBot:2,arBingAdsTop:3,arBingAdsRight:8,arBingAdsBot:2,arAdsUsed:0,adBlocks:null,fullPageAdsOn:false,headerImageUrl:"http://js.geoads.com/images/geoAdsLogoSm.png",headerImageWidth:105,headerImageHeight:26,headerImageUrl2:"http://js.geoads.com/images/geoAdsLogoSm.png",headerImageWidth2:105,headerImageHeight2:26,headerFontColor:"#000",headerBgColor:"#FFF",headerFontColor2:"#000",headerBgColor2:"#FFF",headerCloseLinkColor:"#750000",headerCloseText:"Close this Frame",impressionCount:1,checkRef:true,delayFullPageTimerStart:0,fullPageTimerCountdown:0,fullPageAdUrl:"",fullPageSetTimeout:null,fullPageRealAdUrl:"",bodyOverflow:"",pageScrollX:0,pageScrollY:0,scrollTopTimeout:null,secondaryImpressionCount:10,onMouseMove:function(e){if(geoLink.isIE){geoLink.linkX=event.clientX+(document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft);geoLink.linkY=event.clientY+(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop)}else{geoLink.linkX=e.pageX;geoLink.linkY=e.pageY}if(geoLink.linkX<0){geoLink.linkX=0}if(geoLink.linkY<0){geoLink.linkY=0}return true},now:function(){return +new Date},jsonReq:function(fullUrl,cb){this.fullUrl=fullUrl;this.noCache="&_="+(new Date()).getTime();this.headLoc=document.getElementsByTagName("head").item(0);this.scriptId="geojsonp"+geoLink.jsc++;this.vars=new Object();var jsonp=this.scriptId;window[jsonp]=function(tmp){cb(tmp);window[jsonp]=undefined;try{delete window[jsonp]}catch(e){}}},ajaxChannel:function(){this.rpc=function(call){var request=call.url+"/"+call.request.method;aObj=new geoLink.jsonReq(request,call.callback);aObj.vars=call.request.params;aObj.buildScriptTag();aObj.addScriptTag()}},callbacks:[],jq:null,validateCallback:function(callback){if(typeof callback==="undefined"){throw"Cannot validate callback: undefined"}if(callback&&callback.length<1){throw"Callback missing at least 1 placeholder argument"}return callback},fillArray:function(data,qty){var array=[];for(var i=qty;i>0;i--){array.push(data)}return array},loadScript:function(url,callback){var script=document.createElement("script");script.type="text/javascript";if(typeof script.readyState==="undefined"){script.onload=function(){callback()}}else{script.onreadystatechange=function(){if(script.readyState==="loaded"||script.readyState==="complete"){script.onreadystatechange=null;callback()}}}script.src=url;document.getElementsByTagName("head")[0].appendChild(script);return script},jQ:{isReady:false,isolate:function(){var callback=geoLink.validateCallback(arguments[0]);if(!geoLink.jQ.isReady){return geoLink.callbacks.push(callback)}return callback.apply(this,geoLink.fillArray(geoLink.jq,callback.length))},setup:function(version){if(!document.body){var oldonload=window.onload;if(typeof window.onload!="function"){window.onload=function(){this.setup(version)}}else{window.onload=function(){this.setup(version);if(oldonload!=null&&typeof oldonload=="function"){oldonload()}}}return}var url="http://ajax.googleapis.com/ajax/libs/jquery/"+(version||"1.4.2")+"/jquery.min.js";geoLink.loadScript(url,function(){geoLink.jQ.isReady=true;geoLink.jq=jQuery.noConflict(true);geoLink.callbacks.forEach(geoLink.jQ.isolate);delete (geoLink.callbacks)})}},toProperCase:function(s){return s.toLowerCase().replace(/^(.)|\s(.)/g,function($1){return $1.toUpperCase()})},getHostnameFromUrl:function(url){var m=url.match(/:\/\/(.[^/]+)/);if(m!=null&&m.length>0){return m[1]}else{return""}},getElm:function(id){return document.getElementById(id)},trim:function(s){if(s==null||s=="undefined"){return""}var q=s.replace(/^\s+/,"");return q.replace(/\s+$/,"")},truncate:function(s,n){var r=s;if(r.length>n){r=r.substring(0,n)+" ..."}return r},isQuirksMode:function(){var d=document,cm="compatMode";d[cm]&&d[cm]=="BackCompat"?mode=true:mode=false;return mode},getUserAgent:function(){var n=navigator,uA="userAgent",aN="appName",iO="indexOf";var bro="";if(n[uA][iO]("iPod")!=-1){bro="iPod"}else{if(n[uA][iO]("iPad")!=-1){bro="iPad"}else{if(n[uA][iO]("iPhone")!=-1){bro="iPhone"}else{if(n[aN]=="Opera"){bro="Opera"}else{if(n[aN]=="Microsoft Internet Explorer"){bro="IE";var re=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");geoLink.ieVer=0;if(re.exec(n[uA])!=null){geoLink.ieVer=parseFloat(RegExp.$1)}if(geoLink.ieVer<7){bro="IEold"}}else{if((n[uA][iO]("Firefox")!=-1)&&!(n[uA][iO]("Navigator")!=-1)){bro="Firefox"}if(n[uA][iO]("Safari")!=-1){bro="Safari"}if(n[uA][iO]("Chrome")!=-1){bro="Chrome"}if(n[uA][iO]("Navigator")!=-1){bro="Navigator"}}}}}}return bro},addEvent:function(obj,evType,fn){if(obj.addEventListener){obj.addEventListener(evType,fn,false);return true}else{if(obj.attachEvent){var r=obj.attachEvent("on"+evType,fn);return r}else{return false}}},removeEvent:function(obj,evType,fn){if(obj.removeEventListener){obj.removeEventListener(evType,fn,false);return true}else{if(obj.detachEvent){obj.detachEvent("on"+evType,fn);return true}else{return false}}},getBody:function(){var bods=document.getElementsByTagName("body");var bod=null;if(bods==null||bods.length==0){var htms=document.getElementsByTagName("html");var htm=null;if(htms==null||htms.length==0){htm=document.createElement("html");document.appendChild(htm)}else{htm=htms[0]}bod=document.createElement("body");htm.appendChild(bod)}else{bod=bods[0]}return bod},getScrollBarWidth:function(){var i=document.createElement("p");i.style.width="100%";i.style.height="200px";var o=document.createElement("div");o.style.position="absolute";o.style.top="0px";o.style.left="0px";o.style.visibility="hidden";o.style.width="200px";o.style.height="150px";o.style.overflow="hidden";o.appendChild(i);geoLink.getBody().appendChild(o);var w1=i.offsetWidth;o.style.overflow="scroll";var w2=i.offsetWidth;if(w1==w2){w2=o.clientWidth}geoLink.getBody().removeChild(o);return(w1-w2)},getScrollBarHeight:function(){var i=document.createElement("p");i.style.width="200px";i.style.height="100%";var o=document.createElement("div");o.style.position="absolute";o.style.top="0px";o.style.left="0px";o.style.visibility="hidden";o.style.width="150px";o.style.height="200px";o.style.overflow="hidden";o.appendChild(i);geoLink.getBody().appendChild(o);var w1=i.offsetHeight;o.style.overflow="scroll";var w2=i.offsetHeight;if(w1==w2){w2=o.clientHeight}geoLink.getBody().removeChild(o);return(w1-w2)},getScrollBarPosX:function(){var b=geoLink.getBody();var x=b.scrollLeft;if(x==0){if(window.pageXOffset){x=window.pageXOffset}else{x=(b.parentElement)?b.parentElement.scrollLeft:0}}return x},getScrollBarPosY:function(){var b=geoLink.getBody();var y=b.scrollTop;if(y==0){if(window.pageYOffset){y=window.pageYOffset}else{y=(b.parentElement)?b.parentElement.scrollTop:0}}return y},checkDocType:function(){try{if(this.isIE){var bod=this.getBody();if(bod.parentNode.parentNode.firstChild.nodeValue==null||bod.parentNode.parentNode.firstChild.nodeValue.toLowerCase().indexOf("doctype")==-1){this.hasDocType=false}}}catch(err){}return null},getPageTitle:function(){var title="";var titles=document.getElementsByTagName("title");if(titles.length>0){title=titles[0].innerHTML}return title},setCookie:function(name,value,days){if(days){var date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));var expires="; expires="+date.toGMTString()}else{var expires=""}document.cookie=name+"="+value+expires+"; path=/"},readCookie:function(name){var nameEQ=name+"=";var ca=document.cookie.split(";");for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==" "){c=c.substring(1,c.length)}if(c.indexOf(nameEQ)==0){return c.substring(nameEQ.length,c.length)}}return null},getPos:function(obj){var curleft=curtop=0;if(obj.offsetParent){do{curleft+=obj.offsetLeft;curtop+=obj.offsetTop}while(obj=obj.offsetParent)}return[curleft,curtop]},keepOnScreenX:function(x,linkWidth){var linkPosX=x;var offsetX=0;if(window.pageXOffset!="undefined"&&window.pageXOffset>0){offsetX=window.pageXOffset}else{if(document.body&&document.body.scrollLeft!="undefined"&&document.body.scrollLeft>0){offsetX=document.body.scrollLeft}else{if(document.documentElement&&document.documentElement.scrollLeft!="undefined"&&document.documentElement.scrollLeft>0){offsetX=document.documentElement.scrollLeft}}}var docElmClientWidth=0;var docBodClientWidth=0;if(document.documentElement&&document.documentElement.clientWidth!="undefined"&&document.documentElement.clientWidth>0){docElmClientWidth=document.documentElement.clientWidth}if(document.body&&document.body.clientWidth!="undefined"&&document.body.clientWidth>0){docBodClientWidth=document.body.clientWidth}var pageWidth=0;if(docElmClientWidth>0&&docBodClientWidth>0){if(docElmClientWidth<docBodClientWidth){pageWidth=docElmClientWidth}else{pageWidth=docBodClientWidth}}else{if(docElmClientWidth>0&&docBodClientWidth<=0){pageWidth=docElmClientWidth}else{if(docElmClientWidth<=0&&docBodClientWidth>0){pageWidth=docBodClientWidth}}}var adjustX=10;var adBoxWidth=0;if(document.getElementById("geoAdPopUpBottom")!=null){adBoxWidth=document.getElementById("geoAdPopUpBottom").offsetWidth}else{if(document.getElementById("geoAdPopUpTop")!=null){adBoxWidth=document.getElementById("geoAdPopUpTop").offsetWidth}}var geoAdPoint=this.getElm("geoAdPoint");var isTopBox=false;var p=geoAdPoint.parentNode;while(p!=null){if(p.id=="geoAdPopUpTop"){isTopBox=true;break}p=p.parentNode}x=x-30;if(x+adBoxWidth-offsetX>pageWidth-adjustX){x=pageWidth-adjustX-adBoxWidth+offsetX;var pointX=linkPosX-Math.round(linkWidth/2);if(pointX<x+10){pointX=x+10}else{if(pointX>x+adBoxWidth-10){pointX=x+adBoxWidth-10}}var deltaX=pointX-x;geoAdPoint.style.left=deltaX+"px";if(isTopBox){geoAdPoint.style.backgroundImage="url(http://js.geoads.com/images/popUpImg/pointDownRight.png)"}else{geoAdPoint.style.backgroundImage="url(http://js.geoads.com/images/popUpImg/pointUpRight.png)"}}else{if(x<offsetX+adjustX){x=offsetX+adjustX;geoAdPoint.style.left="10px"}else{geoAdPoint.style.left="81px"}}x=x+"px";return x},keepOnScreenY:function(y,resultIdx){var offsetY=0;if(window.pageYOffset!="undefined"&&window.pageYOffset>0){offsetY=window.pageYOffset}else{if(document.body&&document.body.scrollTop!="undefined"&&document.body.scrollTop>0){offsetY=document.body.scrollTop}else{if(document.documentElement&&document.documentElement.scrollTop!="undefined"&&document.documentElement.scrollTop>0){offsetY=document.documentElement.scrollTop}}}var docElmClientHeight=0;var docBodClientHeight=0;if(document.documentElement&&document.documentElement.clientHeight!="undefined"&&document.documentElement.clientHeight>0){docElmClientHeight=document.documentElement.clientHeight}if(document.body&&document.body.clientHeight!="undefined"&&document.body.clientHeight>0){docBodClientHeight=document.body.clientHeight}var pageHeight=0;if(docElmClientHeight>0&&docBodClientHeight>0){if(docElmClientHeight<docBodClientHeight){pageHeight=docElmClientHeight}else{pageHeight=docBodClientHeight}}else{if(docElmClientHeight>0&&docBodClientHeight<=0){pageHeight=docElmClientHeight}else{if(docElmClientHeight<=0&&docBodClientHeight>0){pageHeight=docBodClientHeight}}}var adjustY=20;var adBoxHeight=0;if(document.getElementById("geoAdPopUpBottom")!=null){adBoxHeight=document.getElementById("geoAdPopUpBottom").offsetHeight}else{if(document.getElementById("geoAdPopUpTop")!=null){adBoxHeight=document.getElementById("geoAdPopUpTop").offsetHeight}}var origY=y;y=y+26;if(y+adBoxHeight-offsetY>pageHeight-adjustY){y=origY-adBoxHeight;this.linkDiv.innerHTML=this.linkResults[resultIdx].result2}else{if(y<offsetY+adjustY){y=offsetY+adjustY;this.linkDiv.innerHTML=this.linkResults[resultIdx].result}else{y-=4}}y=y+"px";return y},regexCheck:function(tmpStr){var regExp1=/[,.:;?!(){}]/gi;tmpStr=tmpStr.replace(regExp1," . ");tmpStr=tmpStr.toLowerCase();var regExp1=/[0-9]{5,}/gi;tmpStr=tmpStr.replace(regExp1," ");if(tmpStr.indexOf("'")>=0){var regExp1=/( '|' )/gi;tmpStr=tmpStr.replace(regExp1," . ")}return tmpStr},isCW:function(w){if(w.length>25){return 0}w=w.toLowerCase();result=w.match(/^[a-z0-9][a-z0-9\\-]+('s|[a-z0-9])$/g);if(!result){return 0}return 1},checkKeywords:function(tmpStr){if(tmpStr.length<=2){return}tmpStr=this.regexCheck(tmpStr);var Words=tmpStr.split(" ");var tmp_words="";var tmp_key="";var tmpWordPos=0;for(WordPos=0;WordPos<=Words.length;WordPos++){tmpWordPos=WordPos;if(WordPos!=Words.length){word=this.trim(Words[WordPos])}if(WordPos!=Words.length&&this.isCW(word)==1){if(tmp_words!=""){tmp_words+=" "}tmp_words+=word;this.usedWords[word]=this.usedWords[word]?this.usedWords[word]++:1}else{if(tmp_words!=""){var newString=true;if(tmp_words.indexOf(" ")<0&&this.usedWords[tmp_words]>1){newString=false}if(newString){if(tmp_words.length<25&&tmp_words.indexOf(" ")>-1){this.keywordList.push(tmp_words)}else{tmpWordPos++;WordPos=tmpWordPos}}if(tmp_key!=""){tmp_key+="|"}tmp_key+=tmp_words;tmp_words=""}}if(this.maxKeywords--<1&&tmp_words==""){break}}},getKeywords:function(parent,ignore){if(parent+""=="undefined"){return}if(!ignore&&this.ignoredTags[parent.tagName]==1){return}else{if(!ignore&&(parent.tagName!="BODY"&&(parent.style.visibility=="hidden"||typeof(parent.onclick)=="function"||typeof(parent.onmouseover)=="function"||parent.style.display=="none"||parent.offsetWidth==0||parent.offsetHeight==0))){return}}var nodes=parent.childNodes;if(this.maxNodes--==0||this.maxKeywords<1){return}for(var i=0;i<nodes.length;i++){var node=nodes[i];if(node.parentNode!=parent){continue}if(node.nodeType==1){this.getKeywords(node,false)}else{if((node.nodeType==3)&&/[\w]{2,}/.test(node.data)){var temp=this.trim(node.data);var regExp1=/[\s\n\r]/gi;temp=temp.replace(regExp1," ");var regExp2=/ +/gi;temp=temp.replace(regExp2," ");tt=temp.split(" ");if(tt.length>=1){this.checkKeywords(temp,node)}}}}},clearKeywords:function(){this.maxNodes=800;this.maxKeywords=800;this.keywordList=new Array();this.usedWords=new Object()},findKeyword:function(parent,keyword){if(this.ignoredTags[parent.tagName]==1){return}else{if((parent.tagName!="BODY"&&(parent.style.visibility=="hidden"||typeof(parent.onclick)=="function"||typeof(parent.onmouseover)=="function"||parent.style.display=="none"||parent.offsetWidth==0||parent.offsetHeight==0))){return}}var nodes=parent.childNodes;for(var i=0;i<nodes.length;i++){var node=nodes[i];if(node.parentNode!=parent){continue}if(node.nodeType==1){this.findKeyword(node,keyword)}else{if((node.nodeType==3)&&/[\w]{2,}/.test(node.data)){var position=node.data.search(new RegExp("\\b"+keyword+"\\b","i"));if(position>=0){var doAdd=true;for(var x in this.foundKeywordList){if(this.foundKeywordList[x]===keyword){doAdd=false}}if(doAdd){this.foundKeywordList.push(keyword)}}}}}},showLink:function(idx,x,y,linkWidth){if(this.lastResultIdx!=idx||this.linkDiv.style.visibility.toLowerCase()=="hidden"){this.linkDiv.innerHTML=this.linkResults[idx].result;this.linkDiv.style.top=this.keepOnScreenY(y,idx);this.linkDiv.style.left=this.keepOnScreenX(x,linkWidth);var mid=document.getElementById("geogc_middle");if(mid!=null){mid.className="geogc_middle";if(this.isIE){if(document.documentElement&&document.documentElement.clientWidth!="undefined"&&document.documentElement.clientWidth==0){mid.style.width="313px"}}else{mid.style.width="293px"}}this.linkDiv.style.visibility="Visible";this.lastTimeoutType="show";this.lastResultIdx=idx}},killLink:function(resultIdx){if(this.linkDiv!=null&&this.linkDiv.style.visibility.toLowerCase()=="visible"){this.linkDiv.style.visibility="Hidden";this.linkDiv.innerHTML=""}},hideLink:function(resultIdx){this.mouseIsOverAdLink=false;this.lastTimeoutType="hide";if(this.pt!=null&&this.lastTimeoutType=="show"){clearTimeout(this.pt)}this.pt=setTimeout("geoLink.killLink("+resultIdx+")",this.onLinkOutTimeout)},onLinkOver:function(index,obj){if(geoLink.pt!=null){clearTimeout(geoLink.pt)}this.mouseIsOverAdLink=true;if(geoLink.lastResultIdx!=index||geoLink.linkDiv.style.visibility.toLowerCase()=="hidden"){geoLink.lastTimeoutType="show";var linkPos=geoLink.getPos(obj);setTimeout("geoLink.showLink("+index+","+linkPos+","+obj.offsetWidth+")",100)}},replaceKeyword:function(parent,keyword,url,idx){if(this.ignoredTags[parent.tagName]==1){return}else{if((parent.tagName!="BODY"&&(parent.style.visibility=="hidden"||typeof(parent.onclick)=="function"||typeof(parent.onmouseover)=="function"||parent.style.display=="none"||parent.offsetWidth==0||parent.offsetHeight==0))){return}}var nodes=parent.childNodes;for(var i=0;i<nodes.length;i++){var node=nodes[i];if(node.parentNode!=parent){continue}if(node.nodeType==1){this.replaceKeyword(node,keyword,url,idx)}else{if((node.nodeType==3)&&/[\w]{2,}/.test(node.data)){var position=node.data.search(new RegExp("\\b"+keyword+"\\b","i"));if(position>=0){var doAdd=true;for(var x in this.linkReplaced){if(this.linkReplaced[x]===keyword){doAdd=false}}if(doAdd){var spannode=document.createElement("span");spannode.className="geoLink_span";spannode.onmouseover=function(){geoLink.onLinkOver(idx,spannode)};spannode.onmouseout=function(){geoLink.onLinkOutTimeout=1000;geoLink.hideLink(idx)};var unode=document.createElement("u");unode.className="geoLink_unode";unode.onclick=function(){document.location.href=url};var middlebit=node.splitText(position);var endbit=middlebit.splitText(keyword.length);var middleclone=middlebit.cloneNode(true);unode.appendChild(middleclone);spannode.appendChild(unode);middlebit.parentNode.replaceChild(spannode,middlebit);this.linkReplaced.push(keyword)}}}}}},getMeta:function(mn){var m=document.getElementsByTagName("meta");for(var i in m){if(m[i].name==mn){return m[i].content}}},siteIgnoredForLinks:function(){var ignored=false;var url=document.location.href.toLowerCase();if(url.indexOf("www.google.com")>-1||url.indexOf("www.bing.com")>-1||url.indexOf("search.yahoo.com")>-1){ignored=true}if(!ignored&&(url.indexOf("testgoogle.html")>-1||url.indexOf("testyahoo.html")>-1||url.indexOf("testbing.html")>-1)){ignored=true}return ignored},isVarSet:function(variable){return(typeof(window[variable])=="undefined")?false:true},checkLoaded:function(cb){if(typeof getLinks=="function"){eval(cb+"();");return}setTimeout("geoLink.checkLoaded('"+cb+"')",400)},checkElmLoaded:function(id,cb){var elm=this.getElm(id);if(elm!=null){eval(cb+"();");return}setTimeout("geoLink.checkElmLoaded('"+id+"','"+cb+"')",400)},loadKeywords:function(){var tmpKeys=new Array();this.getKeywords(document.getElementsByTagName("body")[0],true);var titleNode=document.getElementsByTagName("title")[0];for(var j=0;j<this.keywordList.length;j++){var position=titleNode.text.search(new RegExp("\\b"+this.keywordList[j]+"\\b","i"));if(position>=0){tmpKeys.push(this.keywordList[j])}}this.clearKeywords();var meta=this.getMeta("keywords");if(meta){var metaArray=meta.split(",");for(var i=0;i<metaArray.length;i++){var word=this.trim(metaArray[i]);if(word.indexOf(" ")>0){this.keywordList.push(word)}}}for(var j=0;j<tmpKeys.length;j++){this.keywordList.push(tmpKeys[j])}var m=document.getElementsByTagName("meta");for(var i in m){if(m[i].name=="description"){this.getKeywords(m[i],true)}}var bodyElm=document.getElementsByTagName("body")[0];for(var k=0;k<this.keywordList.length;k++){this.findKeyword(bodyElm,this.keywordList[k])}for(var k=0;k<this.foundKeywordList.length;k++){var pos=0;var contain=false;while((pos=this.keywordStr.indexOf(this.foundKeywordList[k],pos+1))>=0){var lastCharPos=this.foundKeywordList[k].length+pos;if(pos>0&&this.keywordStr.charAt(pos-1)!=" "&&this.keywordStr.charAt(pos-1)!="|"){continue}if(lastCharPos<this.keywordStr.length&&this.keywordStr.charAt(lastCharPos)!=" "&&this.keywordStr.charAt(lastCharPos)!="|"){continue}contain=true;break}if(!contain){this.keywordStr+=this.foundKeywordList[k]+"|"}if(this.keywordStr.length>6000){break}}this.keywordStr=this.keywordStr.substring(0,this.keywordStr.length-1)},loadVars:function(){if(this.isVarSet("geoLink_LinkColor")){this.linkLinkColor=geoLink_LinkColor}if(this.isVarSet("geoLink_DescColor")){this.linkDescColor=geoLink_DescColor}if(this.isVarSet("geoPopup_TitleLinkColor")){this.popupTitleLinkColor=geoPopup_TitleLinkColor}if(this.isVarSet("geoPopup_DomainLinkColor")){this.popupDomainLinkColor=geoPopup_DomainLinkColor}if(this.isVarSet("geoPopup_TextColor")){this.popupTextColor=geoPopup_TextColor}if(this.isVarSet("geoPopup_BGColor")){this.popupBGColor=geoPopup_BGColor}if(this.isVarSet("geoPopup_BorderColor")){this.popupBorderColor=geoPopup_BorderColor}if(this.isVarSet("geoPopup_Header")){this.popupHeader=geoPopup_Header}if(this.isVarSet("geo_SubPartner")){this.subPartner=geo_SubPartner}else{if(this.isVarSet("geo_Channel")){this.subPartner=geo_Channel}}if(this.isVarSet("geoPopup_show")){this.popupShow=geoPopup_show}if(this.isVarSet("geo_isCG")){this.isCG=geo_isCG}if(this.isVarSet("geo_isAppDev")){this.isAppDev=geo_isAppDev}if(this.isVarSet("geo_LinkUnderliningOn")){this.doLinkUnderlining=geo_LinkUnderliningOn}if(this.isVarSet("geo_doOverlayDiv")){this.doOverlayDiv=geo_doOverlayDiv}if(this.isVarSet("geo_doBottomAnchor")){this.doBottomAnchor=geo_doBottomAnchor}if(this.isVarSet("geo_FullPageAdsOn")){this.fullPageAdsOn=geo_FullPageAdsOn}if(this.isVarSet("geo_HeaderImageUrl")){this.headerImageUrl=geo_HeaderImageUrl}if(this.isVarSet("geo_HeaderImageWidth")){this.headerImageWidth=geo_HeaderImageWidth}if(this.isVarSet("geo_HeaderImageHeight")){this.headerImageHeight=geo_HeaderImageHeight}if(this.isVarSet("geo_HeaderBgColor")){this.headerBgColor=geo_HeaderBgColor}if(this.isVarSet("geo_HeaderFontColor")){this.headerFontColor=geo_HeaderFontColor}if(this.isVarSet("geo_Impression")){this.impressionCount=geo_Impression;this.checkRef=false}if(this.isVarSet("geo_SecondaryImpression")){this.secondaryImpressionCount=geo_SecondaryImpression}if(this.isVarSet("geo_DelayFullPageTimerStart")){this.delayFullPageTimerStart=geo_DelayFullPageTimerStart}if(this.isVarSet("geo_FullPageTimerCountdown")){this.fullPageTimerCountdown=geo_FullPageTimerCountdown}else{if(this.isVarSet("geo_DelayFullPageTimerStart")){this.fullPageTimerCountdown=10}else{this.fullPageTimerCountdown=0}}if(this.isVarSet("geo_HeaderImageUrl2")){this.headerImageUrl2=geo_HeaderImageUrl2}if(this.isVarSet("geo_HeaderImageWidth2")){this.headerImageWidth2=geo_HeaderImageWidth2}if(this.isVarSet("geo_HeaderImageHeight2")){this.headerImageHeight2=geo_HeaderImageHeight2}if(this.isVarSet("geo_HeaderBgColor2")){this.headerBgColor2=geo_HeaderBgColor2}if(this.isVarSet("geo_HeaderFontColor2")){this.headerFontColor2=geo_HeaderFontColor2}if(this.isVarSet("geo_HeaderCloseImageWidth")){this.headerCloseImageWidth=geo_HeaderCloseImageWidth}if(this.isVarSet("geo_HeaderCloseImageHeight")){this.headerCloseImageHeight=geo_HeaderCloseImageHeight}if(this.isVarSet("geo_HeaderCloseLinkColor")){this.headerCloseLinkColor=geo_HeaderCloseLinkColor}if(this.isVarSet("geo_HeaderCloseText")){this.headerCloseText=geo_HeaderCloseText}if(this.trim(this.subPartner)==""){this.subPartner="Default"}if(isNaN(this.impressionCount)){this.impressionCount=1}if(isNaN(this.secondaryImpressionCount)){this.secondaryImpressionCount=10}if(isNaN(this.delayFullPageTimerStart)){this.delayFullPageTimerStart=5}if(isNaN(this.fullPageTimerCountdown)){this.fullPageTimerCountdown=5}if(this.headerImageUrl.indexOf("http")!=0){this.headerImageUrl="http://js.geoads.com/images/geoAdsLogoSm.png";this.headerImageWidth=105;this.headerImageHeight=26}if(this.headerImageUrl2.indexOf("http")!=0){this.headerImageUrl2="http://js.geoads.com/images/geoAdsLogoSm.png";this.headerImageWidth2=105;this.headerImageHeight2=26}this.isIE=document.all?true:false;try{if(navigator.userAgent.toLowerCase().indexOf("firefox")>-1){isFF=true}}catch(err){}try{if(navigator.userAgent.toLowerCase().indexOf("chrome")>-1){isChrome=true}}catch(err){}this.jsc=this.now();this.linkDiv=document.createElement("div");this.linkDiv.setAttribute("id","geoLink");this.linkDiv.style.position="absolute";this.linkDiv.style.zIndex=99;this.linkDiv.style.visibility="hidden";this.linkDiv.onmouseover=function(){if(geoLink.pt!=null){clearTimeout(geoLink.pt)}};this.linkDiv.onmouseout=function(){geoLink.onLinkOutTimeout=100;geoLink.hideLink(-1)};document.body.appendChild(this.linkDiv);var omm=document.onmousemove;if(typeof document.onmousemove!="function"){document.onmousemove=geoLink.onMouseMove}else{document.onmousemove=function(){try{if(omm){omm()}}catch(err){}geoLink.onMouseMove()}}},injectCss:function(){var cssCode=".geoLink_description{ width:100%; color:"+this.linkDescColor+"; }\r\n";cssCode+=".geoLink_headline{ border-bottom:1px solid #000000; color:#0156D5; font-size:14px; font-weight:bold;width:100%; }\r\n";cssCode+=".geoLink_link{ width:100%; color:"+this.linkLinkColor+"; }\r\n";cssCode+=".geoLink_link span {  border-bottom:1px solid "+this.linkLinkColor+"; }\r\n";cssCode+=".geoLink_span { cursor:pointer; border-bottom: 1px double "+this.linkLinkColor+"; }\r\n";cssCode+=".geoLink_unode { color:"+this.linkLinkColor+"; }\r\n";cssCode+=".geoLink_rounded_inner{ -moz-border-radius:1.5ex; -webkit-border-radius:1.5ex; background-color:#EEEEEE; border:1px solid #BBBBBB; padding:3px 6px 3px 6px; cursor:pointer; }\r\n";cssCode+=".geoLink_rounded_outer{ -moz-border-radius:2ex; -webkit-border-radius:2ex; background-color:#BBBBBB; border:1px solid #BBBBBB; padding:2px 2px 2px 2px; }\r\n";cssCode+="#geoPopMask {background:url(http://js.geoads.com/images/transparent.png) repeat top left;color:#2b2b2b;width:100%;display:block;line-height:100%;height:100%;position: absolute;z-index:9000;font-family:Arial, Helvetica, sans-serif;text-align:left display:none; top: 0px; left: 0px;}";cssCode+="#geoPopCont{background:url(http://js.geoads.com/images/transparent.png) repeat top left;padding:10px;width:450px;-moz-border-radius:10px;border-radius:10px;-webkit-border-radius:10px;z-index:9000;position:relative;margin:auto;top:7.5%;}";cssCode+=".geoPop_inner{display:block;margin:auto;z-index:9999;background:#fff url(http://js.geoads.com/images/innerBack.jpg) bottom left repeat-x;position:relative;-moz-border-radius:7px;border-radius:7px;-webkit-border-radius:7px;padding:10px;}";cssCode+=".geoPop_header{padding-bottom:10px;font-size:17px;line-height:18px;font-weight:bold;font-style:italic;text-align:center;width:420px;display:block;text-shadow:#aaa 0 2px 3px;}";cssCode+=".popUpBorder{height:1px;background:#2b2b2b;margin-bottom:10px;box-shadow:#aaa 0 2px 3px;-moz-box-shadow:#aaa 0 2px 3px;-webkit-box-shadow:#aaa 0 2px 3px;}";cssCode+="#geoPopCont .geoPop_sponsorLink{color:#cfcfcf;font-size:12px;font-style:italic;margin:-2px 0 7px 0px;}";cssCode+="#geoPopCont p{display:block;margin:0 0 10px 0;}";cssCode+="#geoPopCont .geoPop_headline{color:"+this.popupTitleLinkColor+";font-size:13px;display:block;margin-bottom:1px;line-height:17px;font-weight:bold;}";cssCode+="#geoPopCont .geoPop_description{color:"+this.popupTextColor+";font-size:12px;display:block;text-decoration:none;line-height:14px;margin-bottom:1px;}";cssCode+="#geoPopCont .geoPop_link{color:"+this.popupDomainLinkColor+";font-size:12px;display:block;text-decoration:none;line-height:14px;}";cssCode+="#geoPopCont .geoPop_close{font-size:12px;font-style:italic;font-weight:bold;float:right;text-align:right;margin-right:1px;text-shadow:#aaa 0 2px 3px;cursor:pointer;width:70px;}";cssCode+="#geoPopCont .geoPop_close span{font-weight:100;font-style:normal;line-height:12px;height:13px;width:13px;display:block;font-size:16px;-moz-border-radius:10px;border-radius:10px;-webkit-border-radius:10px;border:1px solid #2b2b2b;text-align:center;float:right;margin:0 0 0 6px;box-shadow:#aaa 0 2px 3px;-moz-box-shadow:#aaa 0 2px 3px;-webkit-box-shadow:#aaa 0 2px 3px;}";cssCode+=".geogc_blue{ color:#0156d5 !important; font-weight:bold !important; }\r\n";cssCode+=".geogc_green{ color:#116611 !important; }\r\n";cssCode+=".geogc_desc { color:#000 !important; text-decoration:none !important; }\r\n";cssCode+="#geogc_box{width:313px !important; height:auto !important; margin:auto !important; font-family:Arial !important; font-size:12px !important; }\r\n";cssCode+="#geogc_top{ background:url(http://js.geoads.com/top.png) top center no-repeat !important; width:313px !important; height:28px !important; position:relative !important; text-align:center !important; font-size:10px !important; color:#444 !important; line-height:26px !important; }\r\n";cssCode+=".geogc_middle{ background:url(http://js.geoads.com/back.png) top center repeat-y !important; width:293px; padding:10px 10px 0 10px !important; text-align:left !important;}\r\n";cssCode+="#geogc_bottom{ background:url(http://js.geoads.com/bottom.png) top center no-repeat !important; width:313px !important; height:21px !important; }\r\n";cssCode+="#geogc_closeButton{ float:right !important; margin-right:8px !important; margin-top:4px !important; }\r\n";cssCode+="#geogc_visitSiteButton{ float:right !important; margin-bottom:3px !important; }\r\n";cssCode+="#geoAdPopUpTop{border-collapse:collapse !important;padding:0 !important;margin:0 !important;border:0 none !important;width:258px !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpTop tr{padding:0 !important;margin:0 !important;border:0 none !important;width:258px !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpTop tr:hover{padding:0 !important;margin:0 !important;border:0 none !important;width:258px !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpTop td{border-spacing:0 !important;padding:0 !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpTop td:hover{border-spacing:0 !important;padding:0 !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpTop a{background:tranparent none !important}\r\n";cssCode+="#geoAdPopUpTop a:hover{background:tranparent none !important}\r\n";cssCode+="#geoAdPopUpTop img{padding:0 !important;margin:0 !important;border:0 none !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpTop img:hover{padding:0 !important;margin:0 !important;border:0 none !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpTop #geoAdHeading{width:258px !important;height:67px !important;background:url(http://js.geoads.com/images/popUpImg/headingBackTop.png) top left no-repeat !important;vertical-align:top !important;margin:0 !important;}\r\n";cssCode+="#geoAdPopUpTop #geoAdLogo{width:50px !important;/*line-height:32px !important;*/font-size:12px !important;color:white !important;/*float:left !important;*/margin:0 0 0 15px !important;}\r\n";cssCode+="#geoAdPopUpTop #geoAdLogo #geoAdLogoSpan{color:#6d0000 !important;}\r\n";cssCode+="#geoAdPopUpTop #geoAdTxt{font:normal normal normal 12px/18px Arial, Helvetica, sans-serif !important;width:100% !important;height:18px !important;position:relative !important;margin:0 0 1px 0 !important;padding:0 !important;border:0 none !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpTop #geoAdAdvertisement{float:right !important;font-size:12px !important;color:#656565 !important;/*line-height:32px !important;*/margin:0 15px 0 0 !important;white-space:nowrap !important}\r\n";cssCode+="#geoAdPopUpTop #geoAdAdvertisement a{text-decoration:none !important;color:#444 !important}\r\n";cssCode+="#geoAdPopUpTop #geoAdAdvertisement a:hover{text-decoration:none !important}\r\n";cssCode+="#geoAdPopUpTop #geoAdTopBack{background:url(http://js.geoads.com/images/popUpImg/geoAdTopBack.png) bottom center no-repeat !important;padding:0px 20px 10px 20px !important;margin:0 !important;}\r\n";cssCode+="#geoAdPopUpTop #geoAdTopBack table{padding:0 !important;margin:0 !important;border:0 none !important;width:100% !important;font:normal normal normal 12px/18px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpTop #geoAdTopBack table:hover{padding:0 !important;margin:0 !important;border:0 none !important;width:100% !important;font:normal normal normal 12px/18px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpTop #geoAdTopBack img{cursor:pointer !important;}\r\n";cssCode+="#geoAdPopUpTop #geoAdLink{color:#0000ff !important;display:block !important;margin:0 0 3px 0 !important;padding:0 !important;border:0 none !important;font:normal normal normal 14px/17px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:pointer !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;text-decoration:underline;}\r\n";cssCode+="#geoAdPopUpTop #geoAdLink:hover{color:#0000ff !important;display:block !important;margin:0 0 3px 0 !important;padding:0 !important;border:0 none !important;font:normal normal normal 14px/17px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:pointer !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;text-decoration:underline !important;}\r\n";cssCode+="#geoAdPopUpTop #geoAdDescription{color:#000 !important;text-decoration:none !important;display:block !important;margin:0 0 1px 0 !important;padding:0 !important;border:0 none !important;font:normal normal normal 13px/17px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:pointer !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpTop #geoAdDescription:hover{color:#000 !important;text-decoration:none !important;display:block !important;margin:0 0 1px 0 !important;padding:0 !important;border:0 none !important;font:normal normal normal 13px/17px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:pointer !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpTop #geoAdUrl{color:#00721d !important;text-decoration:none !important;display:inline !important;margin:0 !important;padding:0 !important;border:0 none !important;font:normal normal normal 12px/17px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:pointer !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpTop #geoAdUrl:hover{text-decoration:underline !important;color:#00721d !important;display:inline !important;margin:0 !important;padding:0 !important;border:0 none !important;font:normal normal normal 12px/17px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:pointer !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpTop #geoAdCap{text-align:center !important;}\r\n";cssCode+="#geoAdPopUpTop #geoAdPointContainer{position:relative !important;width:100% !important;padding:0 !important;margin:0 !important;border:0 none !important;font:normal normal normal 12px/18px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;height:auto !important;overflow-x:visible !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpTop #geoAdPoint{position:absolute !important;top:19px !important;width:68px !important;height:37px !important;background:transparent url(http://js.geoads.com/images/popUpImg/pointDown.png) no-repeat scroll 0 0;padding:0 !important;margin:0 !important;border:0 none !important;font:normal normal normal 12px/18px Arial, Helvetica, sans-serif !important;clear:none !important;cursor:auto !important;float:none !important;overflow-x:visible !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpBottom{border-collapse:collapse !important;padding:0 !important;margin:0 !important;border:0 !important;width:258px !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpBottom tr{padding:0 !important;margin:0 !important;border:0 none !important;width:258px !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpBottom tr:hover{padding:0 !important;margin:0 !important;border:0 none !important;width:258px !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpBottom td{border-spacing:0 !important;padding:0 !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpBottom td:hover{border-spacing:0 !important;padding:0 !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpBottom a{background:tranparent none !important}\r\n";cssCode+="#geoAdPopUpBottom a:hover{background:tranparent none !important}\r\n";cssCode+="#geoAdPopUpBottom img{padding:0 !important;margin:0 !important;border:0 none !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpBottom img:hover{padding:0 !important;margin:0 !important;border:0 none !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpBottom #geoAdHeading{width:258px !important;height:51px !important;background:url(http://js.geoads.com/images/popUpImg/headingBackBottom.png) top left no-repeat !important;vertical-align:bottom !important;margin:0 0 -5px 0 !important;}\r\n";cssCode+="#geoAdPopUpBottom #geoAdLogo{width:50px !important;/*line-height:30px !important;*/font-size:12px !important;color:white !important;/*float:left !important;*/margin:0 0 0 15px !important;}\r\n";cssCode+="#geoAdPopUpBottom #geoAdLogo #geoAdLogoSpan{color:#6d0000 !important;}\r\n";cssCode+="#geoAdPopUpBottom #geoAdTxt{font:normal normal normal 12px/18px Arial, Helvetica, sans-serif !important;width:100% !important;height:18px !important;position:relative !important;margin:0 0 1px 0 !important;padding:0 !important;border:0 none !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpBottom #geoAdAdvertisement{float:right !important;font-size:12px !important;color:#444 !important;/*line-height:30px !important;*/margin:0 15px 0 0 !important;white-space:nowrap !important}\r\n";cssCode+="#geoAdPopUpBottom #geoAdAdvertisement a{text-decoration:none !important;color:#444 !important}\r\n";cssCode+="#geoAdPopUpBottom #geoAdAdvertisement a:hover{text-decoration:none !important}\r\n";cssCode+="#geoAdPopUpBottom #geoAdBottomBack{background:url(http://js.geoads.com/images/popUpImg/geoAdBottomBack.png) top center no-repeat !important;padding:10px 20px 5px 20px !important;margin:0 !important;}\r\n";cssCode+="#geoAdPopUpBottom #geoAdBottomBack table{padding:0 !important;margin:0 !important;border:0 none !important;width:100% !important;font:normal normal normal 12px/18px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpBottom #geoAdBottomBack table:hover{padding:0 !important;margin:0 !important;border:0 none !important;width:100% !important;font:normal normal normal 12px/18px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpBottom #geoAdBottomBack img{cursor:pointer !important;}\r\n";cssCode+="#geoAdPopUpBottom #geoAdLink{color:#0000ff !important;display:block !important;margin:0 0 3px 0 !important;padding:0 !important;border:0 none !important;font:normal normal normal 14px/17px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:pointer !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;text-decoration:underline;}\r\n";cssCode+="#geoAdPopUpBottom #geoAdLink:hover{color:#0000ff !important;display:block !important;margin:0 0 3px 0 !important;padding:0 !important;border:0 none !important;font:normal normal normal 14px/17px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:pointer !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;text-decoration:underline;}\r\n";cssCode+="#geoAdPopUpBottom #geoAdDescription{color:#000 !important;text-decoration:none !important;display:block !important;margin:0 0 1px 0 !important;padding:0 !important;border:0 none !important;font:normal normal normal 13px/17px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:pointer !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpBottom #geoAdDescription:hover{color:#000 !important;text-decoration:none !important;display:block !important;margin:0 0 1px 0 !important;padding:0 !important;border:0 none !important;font:normal normal normal 13px/17px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:pointer !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpBottom #geoAdUrl{color:#00721d !important;text-decoration:none !important;display:inline !important;margin:0 !important;padding:0 !important;border:0 none !important;font:normal normal normal 12px/17px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:pointer !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpBottom #geoAdUrl:hover{text-decoration:underline !important;color:#00721d !important;display:inline !important;margin:0 !important;padding:0 !important;border:0 none !important;font:normal normal normal 12px/17px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:pointer !important;float:none !important;height:auto !important;overflow-x:hidden !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpBottom #geoAdCap{text-align:center !important;}\r\n";cssCode+="#geoAdPopUpBottom #geoAdPointContainer{position:relative !important;width:100% !important;padding:0 !important;margin:0 !important;border:0 none !important;font:normal normal normal 12px/18px Arial, Helvetica, sans-serif !important;background:tranparent none !important;clear:none !important;cursor:auto !important;float:none !important;height:auto !important;overflow-x:visible !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdPopUpBottom #geoAdPoint{position:absolute !important;top:-32px !important;width:68px !important;height:33px !important;background:transparent url(http://js.geoads.com/images/popUpImg/pointUp.png) no-repeat scroll 0 0;padding:0 !important;margin:0 !important;border:0 none !important;font:normal normal normal 12px/18px Arial, Helvetica, sans-serif !important;clear:none !important;cursor:auto !important;float:none !important;overflow-x:visible !important;overflow-y:visible !important;vertical-align:baseline !important;white-space:normal !important;}\r\n";cssCode+="#geoAdClickHereTbl{padding:0 !important;margin:0 !important;}\r\n";cssCode+="#geoAdClickHereTbl tr td{text-align:right !important;}\r\n";cssCode+="#geoAdClickHereTbl tr td a{}\r\n";cssCode+="#geoShopPopUp{color:#000000;}\r\n";cssCode+=".geoShopPopUpRestoredNoDoctype{width:264px;position:absolute;z-index:9999;top:10%;right:5px;font-family:Arial, Helvetica, sans-serif;font-size:11px;}\r\n";cssCode+=".geoShopPopUpRestored{width:264px;position:fixed;z-index:9999;top:10%;right:5px;font-family:Arial, Helvetica, sans-serif;font-size:11px;}\r\n";cssCode+=".geoShopPopUpMinimizedNoDoctype{width:264px;position:absolute;z-index:9999;bottom:5px;right:5px;font-family:Arial, Helvetica, sans-serif;font-size:11px;}\r\n";cssCode+=".geoShopPopUpMinimized{width:264px;position:fixed;z-index:9999;bottom:5px;right:5px;font-family:Arial, Helvetica, sans-serif;font-size:11px;}\r\n";cssCode+="#geoShopHead{width:264px;background:url(http://js.geoads.com/images/head.png) no-repeat top left;height:133px;}\r\n";cssCode+="#geoShopClose{position:relative;float:right;margin:-3px 16px 0 5px;cursor:pointer;}\r\n";cssCode+="#geoShopMinimize{position:relative;float:right;margin:-3px 0px 0 0px;cursor:pointer;}\r\n";var leftMargin="-25px";var host=this.getHostnameFromUrl(document.location.href).toLowerCase();if(host.indexOf("zappos.com")>-1||(!this.isIE&&host.indexOf("borders.com")>-1)||(this.isFF&&host.indexOf("staples.com")>-1)){leftMargin="-125px"}cssCode+="#geoShopGopher{position:absolute;z-index:9;margin:-2px 0 0 "+leftMargin+";}\r\n";cssCode+="#geoShopDeals{width:138px;position:absolute;text-align:center;margin:21px 0 0 106px;color:#000;font-size:12px;}\r\n";cssCode+="#geoShopAds{background:url(http://js.geoads.com/images/back.png) repeat-y top left;text-align:center;width: 264px;}\r\n";cssCode+="#geoShopAds table tr td{font-family:Arial,Helvetica,sans-serif;font-size:12px !important;padding:7px 0;border-top:1px solid #292929;text-align:left;vertical-align:top;}\r\n";cssCode+="#geoShopAds table tr:hover{background:#eee;cursor:pointer;}\r\n";cssCode+="#geoShopAds td img{width:60px;}\r\n";cssCode+=".geoShopStore{color:blue;text-decoration:underline;font-weight:bold;font-size:14px;}\r\n";cssCode+="#geoShopAds td .geoShopPrice{color:#356300;font-size:12px;}\r\n";cssCode+=".geo_Block01 {width:728px; height:90px;}\r\n";cssCode+=".geo_Block02 {width:468px; height:60px;}\r\n";cssCode+=".geo_Block03 {width:234px; height:60px;}\r\n";cssCode+=".geo_Block04 {width:120px; height:600px;}\r\n";cssCode+=".geo_Block05 {width:160px; height:600px;}\r\n";cssCode+=".geo_Block06 {width:180px; height:150px;}\r\n";cssCode+=".geo_Block07 {width:120px; height:240px;}\r\n";cssCode+=".geo_Block08 {width:200px; height:200px;}\r\n";cssCode+=".geo_Block09 {width:250px; height:250px;}\r\n";cssCode+=".geo_Block10 {width:300px; height:250px;}\r\n";cssCode+=".geo_Block11 {width:336px; height:280px;}\r\n";cssCode+="#geoAnchorDomain{color:#0E774A !important;font:normal normal bold 11px/normal Tahoma,Arial,sans-serif !important;}\r\n";cssCode+='#geoAnchorClose{background-position:0px 0px !important;display:block !important;z-index:10 !important;position:absolute !important;width:14px !important;height:14px !important;top:27px !important;right:17px !important;overflow:hidden !important;cursor:pointer !important;background-image:url("http://js.geoads.com/images/anchor/anchorClose.png") !important;background-repeat:no-repeat !important;border:none 0 !important;}\r\n';cssCode+='#geoAnchorClose:hover{background-position:0 -14px !important;display:block !important;z-index:10 !important;position:absolute !important;width:14px !important;height:14px !important;top:27px !important;right:17px !important;overflow:hidden !important;cursor:pointer !important;background-image:url("http://js.geoads.com/images/anchor/anchorClose.png") !important;background-repeat:no-repeat !important;border:none 0 !important;}\r\n';cssCode+="#geoAnchorHelp{font:normal normal normal 14px/10px Tahoma,Arial,sans-serif !important;color:#9E9E9E !important;display:block !important;z-index:10 !important;position:absolute !important;width:14px !important;height:14px !important;top:27px !important;right:35px !important;cursor:pointer !important;white-space:nowrap !important}\r\n";cssCode+="#geoAnchorHelp:hover{font:normal normal normal 14px/10px Tahoma,Arial,sans-serif !important;color:#9E9E9E !important;cursor:pointer !important;}\r\n";cssCode+="#geoJump{display:none;position:absolute;left:0px;top:0px;width:100%;height:100%;min-height:100%;min-width:100%;text-align:center;z-index:1000;}\r\n";cssCode+="#geoJumpInner{width:100%;margin:0px auto;background-color:"+geoLink.headerBgColor2+";/*border:solid 1px #dedede;*/padding:0px;text-align:center;}\r\n";cssCode+="#geoCloseFullAd{text-decoration:underline;font-family:verdana,arial,helvetica,sans-serif;font-weight:bold;font-size:13px;color:"+geoLink.headerFontColor2+";}\r\n";cssCode+="#geoCloseText{text-decoration:underline;font-family:verdana,arial,helvetica,sans-serif;font-weight:bold;font-size:12px;cursor:pointer;color:"+geoLink.headerFontColor2+";}\r\n";cssCode+="#geoDvPreJump{display:block;position:fixed;left:0px;width:100%;top:-34px;min-height:34px;text-align:center;z-index:1000;background-color:"+geoLink.headerBgColor+";border-bottom:solid 1px black;}\r\n";cssCode+="#geoDvTime{font-family:verdana,arial,helvetica,sans-serif;font-size:13px;font-weight:bold;color:"+geoLink.headerFontColor+"}\r\n";cssCode+="#geoJumpHdr{min-height:34px;border-bottom:1px solid black}\r\n";cssCode+="#geoWhatsThis{white-space:nowrap !important;}\r\n";cssCode+="#geoWhatsThis a{white-space:nowrap;text-decoration:none;font:normal normal normal 12px/10px Tahoma,Arial,sans-serif !important;color:"+geoLink.headerFontColor2+" !important;cursor:pointer !important}\r\n";cssCode+="#geoWhatsThis a:hover{white-space:nowrap;text-decoration:none;font:normal normal normal 12px/10px Tahoma,Arial,sans-serif !important;color:"+geoLink.headerFontColor2+" !important;cursor:pointer !important}\r\n";cssCode+=".geoCloseJump{text-decoration:none;font-weight:bold;font-size:12pt;color:#105CB6;}\r\n";cssCode+=".geoCloseJump:hover{text-decoration:underline;color:#990000;font-weight:bold;font-size:12pt;}\r\n";cssCode+=".geoAddedit2 a{text-decoration:none;color:"+geoLink.headerCloseLinkColor+";font-weight: bold;font-size:12px;}\r\n";cssCode+=".geoAddedit2 a:hover{text-decoration:underline;color:"+geoLink.headerCloseLinkColor+";font-weight:bold;}\r\n";cssCode+=".geoAddedit2 a:visited:hover{text-decoration:underline;color:"+geoLink.headerCloseLinkColor+";font-weight:bold;}\r\n";cssCode+=".geoAddedit2 a:visited{color:"+geoLink.headerCloseLinkColor+";font-weight:bold;}\r\n";cssCode+=".geoAddedit2{text-decoration:none;color:"+geoLink.headerCloseLinkColor+";font-weight:bold;font-size:12px;}\r\n";cssCode+=".geoAddedit2:hover{text-decoration:underline;color:"+geoLink.headerCloseLinkColor+";font-weight:bold;font-size:12px;}\r\n";this.jQ.isolate(function($){$("head").append('<style type="text/css">'+cssCode+"</style>");$("head").append('<script type="text/javascript" src="http://js.geoads.com/json.js"><\/script>');$("head").append('<script type="text/javascript" src="http://js.geoads.com/getLinks.ashx?proxy"><\/script>')})},doLinksCb:function(resp){if(resp!=null&&resp.result!=null&&resp.result.results!=null){var resultItems=resp.result.results;var body=document.getElementsByTagName("body")[0];for(var i=0;i<resultItems.length;i++){var resultItem=resultItems[i];var idx=geoLink.linkResults.length;geoLink.linkResults[idx]=resultItem;geoLink.replaceKeyword(body,resultItem.keyword,resultItem.clickUrl,idx)}}},doLinks:function(){var s=new getLinks();s.channel=new this.ajaxChannel();s.kwargs=true;if(this.isCG){s.linkscg(geo_Partner,location.href,this.keywordStr,geoLink.doLinksCb)}else{s.links(geo_Partner,this.subPartner,location.href,this.keywordStr,geoLink.doLinksCb)}},shopDivHeader:function(kw){var m='<div id="geoShopHead">';m+='<img onclick="geoLink.hideDiv(\'geoShopPopUp\')" src="http://js.geoads.com/images/close.png" id="geoShopClose" title="Close" style="border:0" />';m+='<img onclick="geoLink.shopToggle()" src="http://js.geoads.com/images/minimize.png" id="geoShopMinimize" title="Minimize" style="border:0" />';m+='<img src="http://js.geoads.com/images/gopher.png" id="geoShopGopher" style="border:0" />';m+='<div id="geoShopDeals">';m+='<img src="http://js.geoads.com/images/deals.png" style="border:0" />';m+='<div style="margin:6px 0 0 0;">'+this.truncate(this.toProperCase(kw),64)+"</div>";m+='</div></div><div id="geoShopAds">';return m},shopDivAds:function(ads,numGeoAds){var m="";var start=this.shopCurrentAd;for(i=start;(i<numGeoAds&&i-start<this.shopMaxAdsShownAtOnce);i++){var node=ads[i];m+="<tr onclick=\"location='"+node.clickUrl+'\'" style="cursor:pointer">';m+='<td width="66px"><img src="'+node.imageUrl+'" style="border:0" /></td>';m+='<td width="160px">';m+='<span class="geoShopStore">'+this.truncate(node.displayUrl,80)+"</span><br />";m+=this.truncate(node.title,50)+"<br />";m+='<span class="geoShopPrice">$'+node.price+"</span>";m+="</td></tr>";this.shopCurrentAd++}if(this.shopCurrentAd>=numGeoAds){this.shopCurrentAd=0}return m},shopDivMoreImg:function(){var m='<tr style="background:#fff;">';m+='<td colspan="2">';m+='<a href="#" onclick="geoLink.shopShowNextAds();return false;"><img src="http://js.geoads.com/images/moreDeals.jpg" style="width:226px;border:0" /></a>';m+="</td></tr>";return m},shopDivFooter:function(){var m='</div><div><img src="http://js.geoads.com/images/foot.png" /></div>';return m},shopToggle:function(){var div=this.getElm("geoShopPopUp");var min=this.getElm("geoShopMinimize");var ads=this.getElm("geoShopAds");if(ads.style.visibility=="hidden"){ads.style.display="block";ads.style.visibility="visible";if(this.hasDocType){div.className="geoShopPopUpRestored"}else{div.className="geoShopPopUpRestoredNoDoctype"}min.title="Minimize";min.src="http://js.geoads.com/images/minimize.png"}else{ads.style.display="none";ads.style.visibility="hidden";if(this.hasDocType){div.className="geoShopPopUpMinimized"}else{div.className="geoShopPopUpMinimizedNoDoctype"}min.title="Restore";min.src="http://js.geoads.com/images/restore.png"}},shopShowNextAds:function(){var response=this.shopResponse;if(response!=null&&response.result!=null&&response.result.results!=null&&response.result.results.length>0){var numGeoAds=response.result.results.length;var div=this.getElm("geoShopAds");if(div!=null){var m="";var host=this.getHostnameFromUrl(document.location.href).toLowerCase();if(host.indexOf("borders.com")>-1||host.indexOf("staples.com")>-1){m+='<div style="margin-left:18px">'}m+='<table id="geoShopAdsParent" style="border-collapse:collapse;text-align:left;width:226px;margin:auto;">'+this.shopDivAds(response.result.results,numGeoAds)+this.shopDivMoreImg()+"</table>";if(host.indexOf("borders.com")>-1||host.indexOf("staples.com")>-1){m+="</div>"}div.innerHTML=m}}},hideDiv:function(id){var div=this.getElm(id);div.style.display="none";div.style.visibility="hidden"},doShopDivCb:function(resp){this.shopResponse=resp;if(resp!=null&&resp.result!=null&&resp.result.results!=null&&resp.result.results.length>0){var numGeoAds=resp.result.results.length;if(numGeoAds>0){var kw=resp.result.keyword;var div=geoLink.getElm("geoShopPopUp");if(div==null){var bod=geoLink.getBody();div=document.createElement("div");div.setAttribute("id","geoShopPopUp");if(geoLink.hasDocType){div.className="geoShopPopUpRestored"}else{div.className="geoShopPopUpRestoredNoDoctype"}div.style.display="none";div.style.visibility="hidden";bod.appendChild(div)}var m=geoLink.shopDivHeader(kw);var host=geoLink.getHostnameFromUrl(document.location.href).toLowerCase();if(host.indexOf("borders.com")>-1||host.indexOf("staples.com")>-1){m+='<div style="margin-left:18px">'}m+='<table id="geoShopAdsParent" style="border-collapse:collapse;text-align:left;width:226px;margin:auto;">';m+=geoLink.shopDivAds(resp.result.results,numGeoAds);if(numGeoAds>geoLink.shopMaxAdsShownAtOnce){m+=geoLink.shopDivMoreImg()}m+="</table>";if(host.indexOf("borders.com")>-1||host.indexOf("staples.com")>-1){m+="</div>"}m+=geoLink.shopDivFooter();div.innerHTML=m;div.style.display="block";div.style.visibility="visible"}}},doShopDiv:function(){if(this.shopMaxAdsShownAtOnce>0){this.checkDocType();var s=new getLinks();s.channel=new this.ajaxChannel();s.kwargs=true;var url=location.href;if(url.indexOf("localhost")>-1){url="http://www.amazon.com/Apple-touch-Generation-NEWEST-MODEL/dp/B002M3SOC4/ref=sr_1_1?s=electronics&ie=UTF8&qid=1280843911&sr=1-1"}var title=this.getPageTitle();s.shopcg(this.shopPartner,url,title,geoLink.doShopDivCb)}},doAnchor:function(){var s=new getLinks();s.channel=new this.ajaxChannel();s.kwargs=true;var url=location.href;if(url.indexOf("localhost")>-1){url="http://www.amazon.com/Apple-touch-Generation-NEWEST-MODEL/dp/B002M3SOC4/ref=sr_1_1?s=electronics&ie=UTF8&qid=1280843911&sr=1-1"}s.rotatehovercg2(geo_Partner,url,geoLink.keywordStr,geoLink.anchorCB)},anchorCB:function(response){ancResponse=response;geoLink.ancData=new Array();if(response!=null&&response.result!=null&&response.result.results!=null&&response.result.results.length>0){var ads=response.result.results;for(var i=0;i<ads.length;i++){var node=ads[i];geoLink.ancData[geoLink.ancData.length]=new Array(node.title,geoLink.truncate(node.description,115),node.displayUrl,node.destinationUrl)}}geoLink.ancCurrentIdx=-1;if(geoLink.ancData.length>0){geoLink.anchorCreate()}},ancShowNextAd:function(){geoLink.ancCurrentIdx++;if(geoLink.ancCurrentIdx==geoLink.ancData.length){geoLink.ancCurrentIdx=0}geoLink.getElm("geoAnchorText").innerHTML=geoLink.ancData[geoLink.ancCurrentIdx][0];geoLink.getElm("geoAnchorText").onclick=function(){window.location.href=geoLink.ancData[geoLink.ancCurrentIdx][3]};geoLink.getElm("getAnchorDesc").innerHTML=geoLink.ancData[geoLink.ancCurrentIdx][1]+' <div id="geoAnchorDomain" style="display:inline;color:#0E774A !important;font:bold 11px Tahoma,Arial,sans-serif !important">'+geoLink.ancData[geoLink.ancCurrentIdx][2]+"</div>";geoLink.getElm("getAnchorDesc").onclick=function(){window.location.href=geoLink.ancData[geoLink.ancCurrentIdx][3]};var ua=geoLink.getUserAgent();var quirks=geoLink.isQuirksMode();if(ua=="IEold"||(ua=="IE"&&quirks)){geoLink.getElm("geoAnchorDiv").style.height="45px";geoLink.getElm("geoAnchorOverlay").style.bottom="-30px"}else{geoLink.jQ.isolate(function($){$("#geoAnchorDiv").stop().animate({height:"45px"},500);$("#geoAnchorOverlay").stop().animate({bottom:"-30px"},500)})}geoLink.ancDownTimeout=setTimeout("geoLink.ancAnimateDown(false)",20000)},ancClose:function(){geoLink.ancClosing=true;geoLink.ancClearTimeout(geoLink.ancDownTimeout);geoLink.ancAnimateDown(true)},anchorDiv_StyleShow:function(obj){var s=obj.style;s.margin="0";s.padding="0";s.color="#000";s.fontFamily="Arial,Helvetica,sans-serif";s.fontSize="13px";s.display="block";s.background="none transparent scroll repeat 0% 0%";s.border="none 0";s.position="fixed";s.zIndex="1000000";s.width="500px";s.overflow="hidden";s.bottom="0px";s.right="0px";s.height="45px";var ua=this.getUserAgent();var quirks=this.isQuirksMode();if(ua=="IEold"||(ua=="IE"&&quirks)){s.position="absolute";s.backgroundImage="url(http://js.geoads.com/images/anchor/anchorTranspix.png)";s.backgroundAttachment="fixed";s.height="70px"}},anchorDiv_StyleHide:function(obj){var s=obj.style;s.margin="0";s.padding="0";s.color="#000";s.fontFamily="Arial,Helvetica,sans-serif";s.fontSize="13px";s.display="block";s.background="none transparent scroll repeat 0% 0%";s.border="none 0";s.position="fixed";s.zIndex="1000000";s.width="500px";s.overflow="hidden";s.bottom="0px";s.right="0px";s.height="0px";var ua=this.getUserAgent();var quirks=this.isQuirksMode();if(ua=="IEold"||(ua=="IE"&&quirks)){s.position="absolute";if(ua=="IE"&&quirks){s.backgroundImage="url(http://js.geoads.com/images/anchor/anchorTranspix.png)";s.backgroundAttachment="fixed";s.height="70px"}}},anchorOverlay_StyleShow:function(obj){var s=obj.style;s.display="block";s.position="absolute";s.zIndex="1";s.height="50px";s.width="453px";s.overflow="hidden";s.backgroundRepeat="no-repeat";s.bottom="-30px";s.right="0px";s.padding="25px 30px 0pt 17px";s.backgroundImage="url(http://js.geoads.com/images/anchor/anchorBG.png)";var ua=this.getUserAgent();var quirks=this.isQuirksMode();if(ua=="IE"&&quirks){s.height="75px";s.width="500px"}},anchorOverlay_StyleHide:function(obj){var s=obj.style;s.display="block";s.position="absolute";s.zIndex="1";s.height="50px";s.width="453px";s.overflow="hidden";s.backgroundRepeat="no-repeat";s.bottom="-75px";s.right="0px";s.padding="25px 30px 0pt 17px";s.backgroundImage="url(http://js.geoads.com/images/anchor/anchorBG.png)";var ua=this.getUserAgent();var quirks=this.isQuirksMode();if(ua=="IE"&&quirks){s.height="75px";s.width="500px"}},anchorText_StyleShow:function(obj){var s=obj.style;s.fontFamily="Tahoma,Arial,sans-serif";s.fontSize="14px";s.fontWeight="bold";s.textAlign="left";s.textDecoration="underline";s.border="medium none";s.overflow="hidden";s.lineHeight="normal";s.whiteSpace="nowrap";s.marginRight="24px";s.cursor="pointer";s.color="rgb(0, 51, 153)";s.opacity="1";s.display="block"},anchorDesc_StyleShow:function(obj){var s=obj.style;s.fontFamily="Tahoma,Arial,sans-serif";s.fontSize="12px";s.fontWeight="bold";s.textAlign="left";s.textDecoration="none";s.border="medium none";s.overflow="hidden";s.height="28px";s.lineHeight="normal";s.marginRight="5px";s.paddingTop="3px";s.cursor="pointer";s.color="rgb(0, 0, 0)";s.opacity="1";s.display="block";var ua=this.getUserAgent();var quirks=this.isQuirksMode();if(ua=="IE"&&quirks){s.height="32px"}},anchorCreate:function(){var d=document.createElement("div");d.setAttribute("id","geoAnchorDiv");this.anchorDiv_StyleShow(d);var dOver=document.createElement("div");dOver.setAttribute("id","geoAnchorOverlay");this.anchorOverlay_StyleShow(dOver);var aHelp=document.createElement("a");aHelp.setAttribute("id","geoAnchorHelp");aHelp.setAttribute("style","font:normal normal normal 14px/10px Tahoma,Arial,sans-serif !important;color:#9E9E9E !important;display:block !important;z-index:10 !important;position:absolute !important;width:14px !important;height:14px !important;top:27px !important;right:35px !important;cursor:pointer !important;white-space:nowrap !important");aHelp.onclick=function(){window.location.href="http://www.geoads.com"};aHelp.innerHTML="[?]";var aClose=document.createElement("a");aClose.setAttribute("id","geoAnchorClose");aClose.setAttribute("style",'background-position:0px 0px !important;display:block !important;z-index:10 !important;position:absolute !important;width:14px !important;height:14px !important;top:27px !important;right:17px !important;overflow:hidden !important;cursor:pointer !important;background-image:url("http://js.geoads.com/images/anchor/anchorClose.png") !important;background-repeat:no-repeat !important;border:none 0 !important;');aClose.onclick=function(){geoLink.ancClose()};var dUnit=document.createElement("div");dUnit.setAttribute("id","geoAnchorUnit");dUnit.style.border="none 0";dUnit.style.overflow="hidden";dUnit.style.lineHeight="normal";var dText=document.createElement("div");dText.setAttribute("id","geoAnchorText");this.anchorText_StyleShow(dText);var dDesc=document.createElement("div");dDesc.setAttribute("id","getAnchorDesc");this.anchorDesc_StyleShow(dDesc);dUnit.appendChild(dText);dUnit.appendChild(dDesc);dOver.appendChild(aHelp);dOver.appendChild(aClose);dOver.appendChild(dUnit);d.appendChild(dOver);this.getBody().appendChild(d);var ua=this.getUserAgent();var quirks=this.isQuirksMode();if(ua=="IEold"||(ua=="IE"&&quirks)){this.jQ.isolate(function($){$("#geoAnchorDiv").mouseover(function(){if(geoLink.ancClosing){return}geoLink.ancClearTimeout(geoLink.ancDownTimeout);geoLink.getElm("geoAnchorDiv").style.height="100px";geoLink.getElm("geoAnchorDiv").style.top=(geoLink.ancDivStyleTopShowHalf-25)+"px";geoLink.getElm("geoAnchorOverlay").style.bottom="0";geoLink.getElm("geoAnchorOverlay").style.height="105px"});$("#geoAnchorDiv").mouseout(function(){if(geoLink.ancClosing){return}geoLink.getElm("geoAnchorDiv").style.height="45px";geoLink.getElm("geoAnchorDiv").style.top=geoLink.ancDivStyleTopShowHalf+"px";geoLink.getElm("geoAnchorOverlay").style.bottom="-30px";geoLink.getElm("geoAnchorOverlay").style.height="75px";geoLink.ancDownTimeout=setTimeout("geoLink.ancAnimateDown(false)",5000)})})}else{this.jQ.isolate(function($){$("#geoAnchorDiv").mouseover(function(){if(geoLink.ancClosing){return}geoLink.ancClearTimeout(geoLink.ancDownTimeout);$(this).stop().animate({height:"75px"},200);$("#geoAnchorOverlay").stop().animate({bottom:"0"},200)});$("#geoAnchorDiv").mouseout(function(){if(geoLink.ancClosing){return}$(this).stop().animate({height:"45px"},200);$("#geoAnchorOverlay").stop().animate({bottom:"-30px"},200);geoLink.ancDownTimeout=setTimeout("geoLink.ancAnimateDown(false)",5000)})})}if(ua=="IEold"||(ua=="IE"&&quirks)){this.ancUpdatePosQuirks();this.ancDivStyleTopShowHalf=parseInt(this.getElm("geoAnchorDiv").style.top.replace(/px/,""));this.addEvent(window,"resize",geoLink.ancUpdatePosQuirks);this.addEvent(window,"scroll",geoLink.ancUpdatePosQuirks)}this.ancShowNextAd()},ancClearTimeout:function(timeoutObj){if(timeoutObj!=null){clearTimeout(timeoutObj)}timeoutObj=null},ancAnimateDown:function(bClosing){var ua=geoLink.getUserAgent();var quirks=geoLink.isQuirksMode();if(ua=="IEold"||(ua=="IE"&&quirks)){geoLink.getElm("geoAnchorDiv").style.height="0px";geoLink.getElm("geoAnchorOverlay").style.bottom="-75px";if(!bClosing){geoLink.ancNextAdTimeout=setTimeout("geoLink.ancShowNextAd()",8000)}}else{this.jQ.isolate(function($){$("#geoAnchorDiv").stop().animate({height:"0px"},500);$("#geoAnchorOverlay").stop().animate({bottom:"-75px"},500,function(){if(!bClosing){geoLink.ancNextAdTimeout=setTimeout("geoLink.ancShowNextAd()",8000)}})})}},ancUpdatePosQuirks:function(){geoLink.getViewport();geoLink.ancVAdj=0;if(((geoLink.geoVpx+21)<geoLink.geoBsx)||geoLink.geoPsx>0){geoLink.ancVAdj=65}else{geoLink.ancVAdj=48}geoLink.getElm("geoAnchorDiv").style.setExpression("top","Math.max(0,document.documentElement.offsetHeight)+Math.max(document.body.scrollTop,document.documentElement.scrollTop)-geoLink.ancVAdj-geoLink.ancGapV");geoLink.ancDivStyleTopShowHalf=parseInt(geoLink.getElm("geoAnchorDiv").style.top.replace(/px/,""));document.recalc(true)},doOverlay:function(){var isLocal=(location.href.indexOf("localhost")>-1);if(document.referrer!=""&&this.popupShow||isLocal){var s=new getLinks();s.channel=new this.ajaxChannel();s.kwargs=true;var referrer="";if(document.referrer!=""){ref=document.referrer}else{if(isLocal){ref="http://www.google.com/"}}s.overlay(geo_Partner,this.subPartner,location.href,ref,this.popupHeader,geoLink.overlayCB)}},overlayCB:function(response){if(response!=null&&response.result!=undefined&&response.result!=""){geoLink.initOverlay();geoLink.showOverlay(response.result)}},getViewportHeight:function(){if(window.innerHeight!=window.undefined){return window.innerHeight}if(document.compatMode=="CSS1Compat"){return document.documentElement.clientHeight}if(document.body){return document.body.clientHeight}return window.undefined},getViewportWidth:function(){if(window.innerWidth!=window.undefined){return window.innerWidth}if(document.compatMode=="CSS1Compat"){return document.documentElement.clientWidth}if(document.body){return document.body.clientWidth}return window.undefined},getScrollTop:function(){if(self.pageYOffset){return self.pageYOffset}else{if(document.documentElement&&document.documentElement.scrollTop){return document.documentElement.scrollTop}else{if(document.body){return document.body.scrollTop}}}},setMaskSize:function(){var theBody=this.getBody();var fullHeight=this.getViewportHeight();var fullWidth=this.getViewportWidth();var popHeight,popWidth;if(fullHeight>theBody.scrollHeight){popHeight=fullHeight}else{popHeight=theBody.scrollHeight}if(fullWidth>theBody.scrollWidth){popWidth=fullWidth}else{popWidth=theBody.scrollWidth}this.popupMask.style.height=popHeight+"px";this.popupMask.style.width=popWidth+"px"},geoCMW:function(width,height){if(geoLink.isShow==true){if(width==null||isNaN(width)){width=geoLink.popupContainer.offsetWidth}if(height==null){height=geoLink.popupContainer.offsetHeight}var theBody=geoLink.getBody();var scTop=parseInt(geoLink.getScrollTop(),10);var scLeft=parseInt(theBody.scrollLeft,10);geoLink.setMaskSize();var fullHeight=geoLink.getViewportHeight();var fullWidth=geoLink.getViewportWidth();geoLink.popupContainer.style.top=(scTop+((fullHeight-height)/2))+"px"}},showOverlay:function(deets){this.isShow=true;this.popupMask.style.display="block";this.popupContainer.style.display="block";this.popupContainer.innerHTML='<div class="geoPop_inner">'+deets+'<div class="popUpBorder"></div><div class="geoPop_close" onclick="geoLink.hideOverlay();"><span>&times;</span> CLOSE</div><br /></div>';this.geoCMW(null,null);this.setMaskSize()},hideOverlay:function(){this.isShow=false;this.popupMask.style.display="none";this.popupContainer.style.display="none"},initOverlay:function(){var theBody=this.getBody();var popMask=document.createElement("div");popMask.id="geoPopMask";var popCont=document.createElement("div");popCont.id="geoPopCont";popCont.innerHTML="";theBody.appendChild(popMask);popMask.appendChild(popCont);this.popupMask=document.getElementById("geoPopMask");this.popupContainer=document.getElementById("geoPopCont");this.popDetails=document.getElementById("geoPopDet");this.addEvent(window,"resize",geoLink.geoCMW);this.addEvent(window,"scroll",geoLink.geoCMW);window.onscroll=geoLink.geoCMW},isBingSearchResultPage:function(){var url=document.location.href.toLowerCase();if(url.indexOf("www.bing.com")>-1||url.indexOf("testbing.html")>-1){return true}return false},isYahooSearchResultPage:function(){var url=document.location.href.toLowerCase();if(url.indexOf("search.yahoo.com")>-1||url.indexOf("testyahoo.html")>-1){return true}return false},isGoogleSearchResultPage:function(){var url=document.location.href.toLowerCase();if(url.indexOf("http://www.google.com")>-1||url.indexOf("testgoogle.html")>-1){return true}return false},doIAGoogle:function(){var doInject=false;var tads=this.getElm("tads");if(tads!=null&&tads.childNodes!=null){var i;var ol=null;for(i=0;i<tads.childNodes.length;i++){if(tads.childNodes[i].nodeName.toUpperCase()=="OL"){ol=tads.childNodes[i];break}}if(ol!=null){doInject=true}}if(!doInject){var mbEnd=this.getElm("mbEnd");if(mbEnd==null){this.checkElmLoaded("mbEnd","geoLink.cbIAGoogleRightAdsLoaded")}else{if(mbEnd!=null&&mbEnd.childNodes!=null){try{var td=mbEnd.firstChild.firstChild.firstChild;if(td!=null){doInject=true}}catch(err){}}}}if(doInject){var s=new getLinks();s.channel=new this.ajaxChannel();s.kwargs=true;var url=location.href;if(url.indexOf("TestGoogle.html")>-1){url="http://www.google.com/#hl=en&q=cars&aq=&aqi=g10&aql=&oq=cars&gs_rfai=&pbx=1&fp=d34fb2510f8bfc11"}s.injectcg(geo_Partner,url,geoLink.cbIAGoogleCatWait)}},cbIAGoogleRightAdsLoaded:function(){var doInject=false;var mbEnd=geoLink.getElm("mbEnd");if(mbEnd!=null&&mbEnd.childNodes!=null){try{var td=mbEnd.firstChild.firstChild.firstChild;if(td!=null){doInject=true}}catch(err){}}if(doInject){var s=new getLinks();s.channel=new geoLink.ajaxChannel();s.kwargs=true;var url=location.href;if(url.indexOf("TestGoogle.html")>-1){url="http://www.google.com/#hl=en&q=cars&aq=&aqi=g10&aql=&oq=cars&gs_rfai=&pbx=1&fp=d34fb2510f8bfc11"}s.injectcg(geo_Partner,url,geoLink.cbIAGoogleCatWait)}},cbIAGoogleCatWait:function(response){setTimeout(function(){geoLink.cbIAGoogleCat(response)},3000)},cbIAGoogleCat:function(response){if(response!=null&&response.result!=null&&response.result.results!=null&&response.result.results.length>0){var numGeoAds=response.result.results.length;var i;var tads=geoLink.getElm("tads");if(tads!=null&&tads.childNodes!=null){var ol=null;for(i=0;i<tads.childNodes.length;i++){if(tads.childNodes[i].nodeName.toUpperCase()=="OL"){ol=tads.childNodes[i];break}}if(ol!=null){ol.innerHTML="";for(i=0;(i<numGeoAds&&i<geoLink.arGoogleAdsTop);i++){var node=response.result.results[i];var li=document.createElement("li");if(i==0){li.className="taf"}else{li.className="tal"}li.innerHTML='<h3><a href="'+node.clickUrl+'">'+node.title+"</a></h3><cite>"+node.displayUrl+"</cite>&nbsp; &nbsp; &nbsp; "+node.description;ol.appendChild(li);geoLink.arAdsUsed++}}}if(numGeoAds>geoLink.arAdsUsed){var mbEnd=geoLink.getElm("mbEnd");if(mbEnd!=null&&mbEnd.childNodes!=null){try{var td=mbEnd.firstChild.firstChild.firstChild;if(td!=null){var html='<h2 style="font-size: 11px; padding: 1px 0pt 4px; margin: 0pt; text-align: left;">Sponsored links</h2><br/><ol class="nobr" onmouseover="return true" style="width:256px;margin-top:-20px;overflow:hidden;white-space:normal;">';for(i=geoLink.arAdsUsed;i<numGeoAds;i++){var node=response.result.results[i];html+='<li><h3><a href="'+node.clickUrl+'">'+node.title+"</a></h3>"+node.description+"<br><cite>"+node.displayUrl+"</cite></li>";geoLink.arAdsUsed++}html+="</ol>";td.innerHTML=html}}catch(err){}}}}},doIAYahoo:function(){var doInject=false;var main=this.getElm("main");if(main!=null&&main.childNodes!=null){try{if(main.firstChild.className.toLowerCase().indexOf("ads")>-1&&main.firstChild.className.toLowerCase().indexOf("bot")==-1&&main.firstChild.childNodes[1].childNodes.length>0){doInject=true}}catch(err){}try{if(main.childNodes[2].className.toLowerCase().indexOf("ads")>-1&&main.childNodes[2].className.toLowerCase().indexOf("bot")>-1&&main.childNodes[2].childNodes[1].childNodes.length>0){doInject=true}}catch(err){}}try{var rads=this.getElm("east");if(rads!=null&&rads.childNodes[1].childNodes.length>0){doInject=true}}catch(err){}if(doInject){var s=new getLinks();s.channel=new this.ajaxChannel();s.kwargs=true;var url=location.href;if(url.indexOf("TestYahoo.html")>-1){url="http://search.yahoo.com/search;_ylt=Als2d3t5e.iyPNv6bVP5T.GbvZx4?p=ipod&toggle=1&cop=mss&ei=UTF-8&fr=yfp-t-937"}s.injectcg(geo_Partner,url,geoLink.cbIAYahooCat)}},cbIAYahooCat:function(response){if(response!=null&&response.result!=null&&response.result.results!=null&&response.result.results.length>0){var numGeoAds=response.result.results.length;var i;var main=geoLink.getElm("main");if(main!=null&&main.childNodes!=null){try{if(main.firstChild.className.toLowerCase().indexOf("ads")>-1&&main.firstChild.className.toLowerCase().indexOf("bot")==-1&&main.firstChild.childNodes[1].childNodes.length>0){var div=main.firstChild;div.innerHTML="";var h2=document.createElement("h2");h2.className="reducepx-spnshd";h2.style.color="#9DADBA";h2.style.fontSize="77%";h2.style.fontWeight="bold";h2.innerHTML="Sponsored Results";div.appendChild(h2);var ul=document.createElement("ul");ul.className="spns reducepx-spnslist";div.appendChild(ul);for(i=0;(i<numGeoAds&&i<geoLink.arYahooAdsTop);i++){var node=response.result.results[i];var li=document.createElement("li");if(i==numGeoAds-1||i==geoLink.arYahooAdsTop-1){li.className="last"}li.innerHTML='<div><a href="'+node.clickUrl+'">'+node.title+'</a></div><div class="abs">'+node.description+"</div><em>"+node.displayUrl+"</em>";ul.appendChild(li);geoLink.arAdsUsed++}}}catch(err){}}if(numGeoAds>geoLink.arAdsUsed){try{var rads=geoLink.getElm("east");if(rads!=null&&rads.childNodes[1].childNodes.length>0){var div=rads;div.innerHTML="";var h2=document.createElement("h2");h2.className="reducepx-spnshd";h2.style.color="#9DADBA";h2.style.fontSize="77%";h2.style.fontWeight="bold";h2.innerHTML="Sponsored Results";div.appendChild(h2);var ul=document.createElement("ul");ul.className="spns reducepx-spnslist";div.appendChild(ul);var start=geoLink.arAdsUsed;for(i=geoLink.arAdsUsed;(i<numGeoAds&&i-start<geoLink.arYahooAdsRight);i++){var node=response.result.results[i];var li=document.createElement("li");li.innerHTML='<div><a href="'+node.clickUrl+'">'+node.title+'</a></div><div class="abs">'+node.description+"</div><em>"+node.displayUrl+"</em>";ul.appendChild(li);geoLink.arAdsUsed++}}}catch(err){}}if(numGeoAds>geoLink.arAdsUsed&&main!=null&&main.childNodes!=null){try{if(main.childNodes[2].className.toLowerCase().indexOf("ads")>-1&&main.childNodes[2].className.toLowerCase().indexOf("bot")>-1&&main.childNodes[2].childNodes[1].childNodes.length>0){var div=main.childNodes[2];div.innerHTML="";var h2=document.createElement("h2");h2.className="reducepx-spnshd";h2.style.color="#9DADBA";h2.style.fontSize="77%";h2.style.fontWeight="bold";h2.innerHTML="Sponsored Results";div.appendChild(h2);var ul=document.createElement("ul");ul.className="spns reducepx-spnslist";div.appendChild(ul);var start=geoLink.arAdsUsed;for(i=geoLink.arAdsUsed;(i<numGeoAds&&i-start<geoLink.arYahooAdsBot);i++){var node=response.result.results[i];var li=document.createElement("li");if(i==numGeoAds-1||i==geoLink.arYahooAdsBot-1){li.className="last"}li.innerHTML='<div><a href="'+node.clickUrl+'">'+node.title+'</a></div><div class="abs">'+node.description+"</div><em>"+node.displayUrl+"</em>";ul.appendChild(li);geoLink.arAdsUsed++}}}catch(err){}}}},doIABing:function(){var doInject=false;var main=this.getElm("results_container");if(main!=null&&main.childNodes!=null){try{if(main.childNodes[1].className.toLowerCase().indexOf("sb_adswv2")>-1&&main.childNodes[1].className.toLowerCase().indexOf("sb_adsw2v2")==-1&&main.childNodes[1].firstChild.childNodes.length>0){doInject=true}}catch(err){}try{for(var i=0;i<main.childNodes.length;i++){if(main.childNodes[i].className.toLowerCase().indexOf("sb_adsw2v2")>0&&main.childNodes[i].firstChild.childNodes.length>0){doInject=true;break}}}catch(err){}}try{var rads=this.getElm("sidebar");if(rads!=null&&rads.firstChild.childNodes[1].childNodes.length>0){doInject=true}}catch(err){}if(doInject){var s=new getLinks();s.channel=new this.ajaxChannel();s.kwargs=true;var url=location.href;if(url.indexOf("TestBing.html")>-1){url="http://www.bing.com/search?q=ipod&go=&form=QBLH&qs=n&sk="}s.injectcg(geo_Partner,url,geoLink.cbIABingCat)}},cbIABingCat:function(response){if(response!=null&&response.result!=null&&response.result.results!=null&&response.result.results.length>0){var numGeoAds=response.result.results.length;var i;var main=geoLink.getElm("results_container");if(main!=null&&main.childNodes!=null){try{if(main.childNodes[1].className.toLowerCase().indexOf("sb_adswv2")>-1&&main.childNodes[1].className.toLowerCase().indexOf("sb_adsw2v2")==-1&&main.childNodes[1].firstChild.childNodes.length>0){var ul=main.childNodes[1].firstChild;ul.innerHTML="";for(i=0;(i<numGeoAds&&i<geoLink.arBingAdsTop);i++){var node=response.result.results[i];var li=document.createElement("li");if(i==0){li.innerHTML='<div class="sb_add sb_adW"><h2>Sponsored sites</h2><h3><a href="'+node.clickUrl+'">'+node.title+'</a></h3><span class="sb_adsD">·</span><cite>'+node.displayUrl+"</cite><p>"+node.description+"</p></div>"}else{li.innerHTML='<div class="sb_add sb_adW"><h3><a href="'+node.clickUrl+'">'+node.title+'</a></h3><span class="sb_adsD">·</span><cite>'+node.displayUrl+"</cite><p>"+node.description+"</p></div>"}ul.appendChild(li);geoLink.arAdsUsed++}}}catch(err){}}if(numGeoAds>geoLink.arAdsUsed){try{var rads=geoLink.getElm("sidebar");if(rads!=null&&rads.firstChild.childNodes[1].childNodes.length>0){var ul=rads.firstChild.childNodes[1];ul.innerHTML="";var start=geoLink.arAdsUsed;for(i=geoLink.arAdsUsed;(i<numGeoAds&&i-start<geoLink.arBingAdsRight);i++){var node=response.result.results[i];var li=document.createElement("li");li.innerHTML='<div class="sb_add sb_adN"><h3><a href="'+node.clickUrl+'">'+node.title+"</a></h3><p>"+node.description+"</p><cite>"+node.displayUrl+"</cite></div>";ul.appendChild(li);geoLink.arAdsUsed++}}}catch(err){}}if(numGeoAds>geoLink.arAdsUsed&&main!=null&&main.childNodes!=null){try{var ul=null;for(var i=0;i<main.childNodes.length;i++){if(main.childNodes[i].nodeName.toUpperCase()!="DIV"){continue}if(main.childNodes[i].className.toLowerCase().indexOf("sb_adsw2v2")>-1&&main.childNodes[i].firstChild.childNodes.length>0){ul=main.childNodes[i].firstChild;break}}if(ul!=null){ul.innerHTML="";var start=geoLink.arAdsUsed;for(i=geoLink.arAdsUsed;(i<numGeoAds&&i-start<geoLink.arBingAdsBot);i++){var node=response.result.results[i];var li=document.createElement("li");if(i==0){li.innerHTML='<div class="sb_add sb_adW"><h2>Sponsored sites</h2><h3><a href="'+node.clickUrl+'">'+node.title+'</a></h3><span class="sb_adsD">·</span><cite>'+node.displayUrl+"</cite><p>"+node.description+"</p></div>"}else{li.innerHTML='<div class="sb_add sb_adW"><h3><a href="'+node.clickUrl+'">'+node.title+'</a></h3><span class="sb_adsD">·</span><cite>'+node.displayUrl+"</cite><p>"+node.description+"</p></div>"}ul.appendChild(li);geoLink.arAdsUsed++}}}catch(err){}}}},doBlocksImage:function(){var body=this.getBody();var image=document.createElement("IMG");image.onload=function(){setTimeout("geoLink.doBlocks()",200)};image.src="http://xml3.geoads.com/pixel.ashx";image.setAttribute("width","1px");image.setAttribute("height","1px");body.appendChild(image)},doBlocks:function(){geoLink.findBlocks();var s=new getLinks();s.channel=new this.ajaxChannel();s.kwargs=true;var ads=geoLink.getAdTypeString();s.replacecg(geo_Partner,location.href,ads,geoLink.replaceBlocks)},isAdSize:function(node){if(node.offsetWidth==728&&node.offsetHeight==90){return 1}if(node.offsetWidth==468&&node.offsetHeight==60){return 2}if(node.offsetWidth==234&&node.offsetHeight==60){return 3}if(node.offsetWidth==120&&node.offsetHeight==600){return 4}if(node.offsetWidth==160&&node.offsetHeight==600){return 5}if(node.offsetWidth==180&&node.offsetHeight==150){return 6}if(node.offsetWidth==120&&node.offsetHeight==240){return 7}if(node.offsetWidth==200&&node.offsetHeight==200){return 8}if(node.offsetWidth==250&&node.offsetHeight==250){return 9}if(node.offsetWidth==300&&node.offsetHeight==250){return 10}if(node.offsetWidth==336&&node.offsetHeight==280){return 11}return 0},checkNodes:function(node){if(node.nodeType==1&&!(/(script|style)/i.test(node.tagName))){if(node.childNodes){for(var i=0;i<node.childNodes.length;++i){var adType=geoLink.isAdSize(node);if(adType>0){if(geoLink.adBlocks.length>0){if(geoLink.adBlocks[geoLink.adBlocks.length-1].element==node.parentNode){continue}}var adBlock=new Object();adBlock.type=adType;adBlock.element=node;geoLink.adBlocks[geoLink.adBlocks.length]=adBlock}i+=geoLink.checkNodes(node.childNodes[i])}}else{var adType=geoLink.isAdSize(node);if(adType>0){var doAdd=true;if(geoLink.adBlocks.length>0){if(geoLink.adBlocks[geoLink.adBlocks.length-1].element==node.parentNode){doAdd=false}}if(doAdd){var adBlock=new Object();adBlock.type=adType;adBlock.element=node;geoLink.adBlocks[geoLink.adBlocks.length]=adBlock}}}}return 0},findBlocks:function(){var body=geoLink.getBody();geoLink.checkNodes(body)},getAdTypeString:function(){var _ads="";for(var i=0;i<geoLink.adBlocks.length;i++){_ads=_ads+geoLink.adBlocks[i].type+"|"}return _ads},replaceBlocks:function(response){if(response!=null&&response.result!=null&&response.result.results!=null){var resultItems=response.result.results;for(var i=0;i<resultItems.length;i++){var resultItem=resultItems[i];var adBlock=-1;for(var k=0;k<geoLink.adBlocks.length;k++){if(geoLink.adBlocks[k].type==resultItem.adType){geoLink.adBlocks[k].element.innerHTML=resultItem.result;adBlock=k;break}}if(adBlock>-1){geoLink.adBlocks.remove(adBlock)}}}},loadFullPageAd:function(){if(this.checkRef){var loc=this.getHostnameFromUrl(location.href);var ref=loc;if(document.referrer!=null&&document.referrer!=""){ref=this.getHostnameFromUrl(document.referrer)}if(ref===loc){return}}var nom=this.readCookie("geoFull");if(!nom){var imp=this.readCookie("geoFullImp");if(!imp){imp="0"}var imp2=this.readCookie("geoFullSecImp");imp=parseInt(imp)+1;this.setCookie("geoFullImp",imp,1);if(parseInt(imp)==parseInt(this.impressionCount)){this.setCookie("geoFullSecImp",0,1);this.buildFrames();geoLink.doFullAd()}else{if(imp2){imp2=parseInt(imp2)+1;this.setCookie("geoFullSecImp",imp2,1);if(parseInt(imp2)==parseInt(this.secondaryImpressionCount)){this.setCookie("geoFullSecImp",0,1);this.buildFrames();geoLink.doFullAd()}}}}},buildFrames:function(){this.jQ.isolate(function($){$("body").append('<div id="geoJump"><div id="geoJumpInner"></div></div>')})},closeFullAd:function(){geoLink.jQ.isolate(function($){if(geoLink.scrollTopTimeout!=null){clearTimeout(geoLink.scrollTopTimeout)}geoLink.scrollTopTimeout=null;var ua=geoLink.userAgent;var v=geoLink.ieVer;geoLink.removeEvent(window,"resize",geoLink.onResizeFullAd);geoLink.getElm("geoJump").innerHTML="";geoLink.getElm("geoJump").style.display="none";if(ua=="IE"&&v>=7&&v<8){$("html").css("overflow","auto")}geoLink.getBody().style.overflow=geoLink.bodyOverflow;window.scroll(geoLink.pageScrollX,geoLink.pageScrollY)})},doFullAdCb:function(resp){if(resp!=null&&resp.result!=null){if(resp.result.adUrl!=""&&resp.result.realUrl!=""){var adUrl=resp.result.adUrl;if(adUrl.length>0){geoLink.fullPageAdUrl=adUrl;geoLink.fullPageRealAdUrl=resp.result.realUrl;if(geoLink.delayFullPageTimerStart>0){setTimeout("geoLink.startFullPageAdCountdown();",geoLink.delayFullPageTimerStart*1000)}else{geoLink.startFullPageAdCountdown()}}}}},startFullPageAdCountdown:function(){if(geoLink.fullPageTimerCountdown>0){geoLink.jQ.isolate(function($){var title=geoLink.getPageTitle();if(!title){title=location.hostname}var style="";var ua=geoLink.getUserAgent();if(ua=="IEold"||(ua=="IE"&&geoLink.isQuirksMode())){style='style="position:absolute"'}var width=geoLink.headerImageWidth;var height=geoLink.headerImageHeight;if(height>26){var max=height;var max2=26;var resizeRatio=max2/max;width=width*resizeRatio;height=height*resizeRatio}$("body").append('<div id="geoDvPreJump"'+style+'><table cellspacing="0" cellpadding="0" width="100%"><tr><td><img border="0" width="'+width+'" height="'+height+'" src="'+geoLink.headerImageUrl+'" onclick="geoLink.closeFullPageCountdown()" style="cursor:pointer;margin:4px 4px" title="Return to '+title+'" alt="Return to '+title+'"/></td><td style="text-align:center"><span id="geoDvTime"></span><!--<br/><img height="11px" border="0" width="16px" src="http://js.geoads.com/images/secloader.gif"/>--></td><td style="vertical-align:middle;text-align:right;padding-right:20px"><span onclick="geoLink.closeFullPageCountdown()" style="cursor: pointer;" class="geoAddedit2"><span style="text-decoration:underline;font-family:verdana,arial,helvetica,sans-serif">No thanks, cancel loading</span></span></td></tr></table><div style="clear:both;line-height:-1;font-size:0px"></div></div>');$("#geoDvPreJump").stop().animate({top:"0px"},500);geoLink.fullPageTimerCountdown++;geoLink.showFullPageAdCountdown()})}else{geoLink.showFullPageAd()}},showFullPageAdCountdown:function(){geoLink.fullPageTimerCountdown--;if(geoLink.fullPageTimerCountdown==0){geoLink.getElm("geoDvPreJump").style.display="none";geoLink.showFullPageAd();return}geoLink.getElm("geoDvTime").innerHTML="We will load a word from our sponsor in "+geoLink.fullPageTimerCountdown+" seconds...";geoLink.fullPageSetTimeout=setTimeout("geoLink.showFullPageAdCountdown();",1000)},closeFullPageCountdown:function(){if(geoLink.fullPageSetTimeout!=null){clearTimeout(geoLink.fullPageSetTimeout)}geoLink.getElm("geoDvPreJump").style.display="none"},showFullPageAd:function(){geoLink.jQ.isolate(function($){var title=geoLink.getPageTitle();if(!title){title=location.hostname}var width=geoLink.headerImageWidth2;var height=geoLink.headerImageHeight2;if(height>26){var max=height;var max2=26;var resizeRatio=max2/max;width=width*resizeRatio;height=height*resizeRatio}$("#geoJumpInner").html('<div id="geoJumpHdr"><table width="100%" cellpadding="0" cellspacing="0"><tr align="left"><td><img border="0" width="'+width+'px" height="'+height+'px" alt="Return to: '+title+'" title="Return to '+title+'" style="cursor: pointer; margin:4px 4px" onclick="geoLink.closeFullAd()" src="'+geoLink.headerImageUrl2+'"/></td><td style="text-align:center;"><span id="geoCloseFullAd" style="cursor: pointer;" onclick="geoLink.closeFullAd()">Return to '+title+'</span></td><td style="text-align:right;padding-right:10px"><div id="geoCloseText" onclick="geoLink.closeTopFrame();">'+geoLink.headerCloseText+'</div></td><td><span id="geoWhatsThis"><a title="What\'s This?" alt="What\'s This?" target="_blank" href="http://www.geoads.com/WhatsThis1.aspx">[?]</a></span></td></tr></table><div style="clear:both; height:0px; min-height:0px;">&nbsp;</div></div><div id="geoIFrameParent" style="width:100%; height: 100%; min-height:600px;"><iframe id="iJump" src="'+geoLink.fullPageAdUrl+'" name="iJump" frameborder="0" style="overflow:scroll"> </iframe></div>');geoLink.pageScrollX=geoLink.getScrollBarPosX();geoLink.pageScrollY=geoLink.getScrollBarPosY();window.scroll(0,0);var el=document.getElementById("geoJump");el.style.top="0px";el.style.left="0px";el.style.height=geoLink.getViewportHeight();var theFrame=$("#iJump",parent.document.body);geoLink.userAgent=geoLink.getUserAgent();var ua=geoLink.userAgent;var v=geoLink.ieVer;geoLink.bodyOverflow=geoLink.getBody().style.overflow;geoLink.getBody().style.overflow="hidden";if(ua=="IE"&&v>=7&&v<8){$("html").css("overflow","hidden")}$("#geoJump").show();geoLink.addEvent(window,"resize",geoLink.onResizeFullAd);geoLink.onResizeFullAd(null);geoLink.scrollTopTimeout=setTimeout("geoLink.scrollToTop()",1000)})},onResizeFullAd:function(e){geoLink.jQ.isolate(function($){var f=$("#iJump",parent.document.body);var ua=geoLink.userAgent;var v=geoLink.ieVer;var q=geoLink.isQuirksMode();if(ua=="IE"&&v>=7&&v<8){f.height($(window).height()-$("#geoJumpHdr").height());f.width($(window).width()+geoLink.getScrollBarWidth())}else{if((ua=="IE"&&q)||ua=="IEold"){f.height($(window).height()-$("#geoJumpHdr").height()+geoLink.getScrollBarHeight());f.width($(window).width()+geoLink.getScrollBarWidth())}else{f.height($(window).height()-$("#geoJumpHdr").height());f.width($(window).width())}}})},scrollToTop:function(){window.scroll(0,0);geoLink.scrollTopTimeout=setTimeout("geoLink.scrollToTop()",1000)},doFullAd:function(){var s=new getLinks();s.channel=new geoLink.ajaxChannel();s.kwargs=true;s.fullpagead2(geo_Partner,geoLink.subPartner,location.href,geoLink.keywordStr,geoLink.doFullAdCb)},closeTopFrame:function(){location.href=geoLink.fullPageRealAdUrl},doFullPageImage:function(){var body=geoLink.getBody();var image=document.createElement("IMG");image.onload=function(){setTimeout("geoLink.loadFullPageAd()",200)};image.src="http://xml3.geoads.com/pixel2.ashx?p="+escape(geo_Partner);image.setAttribute("width","1px");image.setAttribute("height","1px");body.appendChild(image)},fullPageCheckImpCount:function(){var s=new getLinks();s.channel=new this.ajaxChannel();s.kwargs=true;var domain=this.getHostnameFromUrl(document.location.href).toLowerCase();s.checkImpCount(domain,geoLink.impressionCount,geoLink.loadFullPageAdFinal)},loadFullPageAdFinal:function(resp){if(resp!=null&&resp.result!=null&&resp.result.showFullPageAd=="true"){geoLink.buildFrames();geoLink.doFullAd()}},updateLinksForTransitionalAd:function(adUrl){adUrl=geoLink.trim(adUrl);if(adUrl==""){return}this.jQ.isolate(function($){var currentDomain=geoLink.trim(geoLink.getHostnameFromUrl(document.location.href)).toLowerCase();$("a").each(function(){var domain="";if(this.href!=null){domain=geoLink.trim(geoLink.getHostnameFromUrl(this.href)).toLowerCase()}if(domain!=""&&currentDomain!=""){if(domain!=currentDomain){if(this.href.indexOf("?")>-1){return true}if(this.onclick!=null&&geoLink.trim(this.onclick+"")!=""){return true}var transPageHost="http://js.geoads.com/";var theHref=this.href;this.onclick=function(){document.location.href=transPageHost+"trans.aspx?type=cg&show="+encodeURIComponent(adUrl)+"&next="+encodeURIComponent(theHref)+"&prev="+encodeURIComponent(document.location.href);return false}}}})})},showTransitionalAd:function(resp){if(resp!=null&&resp.result!=null&&resp.result.showAd=="true"){if(resp.result.adUrl!=null){geoLink.updateLinksForTransitionalAd(resp.result.adUrl)}}},checkShowTransitionalAd:function(){this.jQ.isolate(function($){var hasOutboundLinks=false;var currentDomain=geoLink.trim(geoLink.getHostnameFromUrl(document.location.href)).toLowerCase();$("a").each(function(){var domain="";if(this.href!=null){domain=geoLink.trim(geoLink.getHostnameFromUrl(this.href)).toLowerCase()}if(domain!=""&&currentDomain!=""){if(domain!=currentDomain){hasOutboundLinks=true;return false}}});if(hasOutboundLinks){var s=new getLinks();s.channel=new geoLink.ajaxChannel();s.kwargs=true;s.showTransitionalAd_cg("",geo_Partner,location.href,geoLink.keywordStr,geoLink.showTransitionalAd)}})},load:function(){this.jQ.setup("1.4.2");this.loadVars();this.loadKeywords();this.injectCss();if(this.isCG){this.checkLoaded("geoLink.checkShowTransitionalAd");this.checkLoaded("geoLink.doLinks");this.checkLoaded("geoLink.doShopDiv")}else{if(this.isAppDev){this.checkLoaded("geoLink.doLinks");this.checkLoaded("geoLink.doAnchor")}else{if(this.doLinkUnderlining){this.checkLoaded("geoLink.doLinks")}if(this.doOverlayDiv){this.checkLoaded("geoLink.doOverlay")}if(this.fullPageAdsOn){this.checkLoaded("geoLink.doFullPageImage")}}}}};geoLink.jsonReq.prototype.buildScriptTag=function(){this.scriptObj=document.createElement("script");this.scriptObj.setAttribute("type","text/javascript");this.scriptObj.setAttribute("charset","utf-8");var url=this.fullUrl+"?jsonp="+this.scriptId;for(key in this.vars){url+="&"+key+"="+encodeURIComponent(this.vars[key])}url+=this.noCache;this.scriptObj.setAttribute("src",url);this.scriptObj.setAttribute("id",this.scriptId);var done=false;var head=this.headLoc;this.scriptObj.onload=this.scriptObj.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){done=true;this.onload=this.onreadystatechange=null;head.removeChild(this)}}};geoLink.jsonReq.prototype.addScriptTag=function(){this.headLoc.appendChild(this.scriptObj)};geoLink.load();
