
Function.NoOp = function(a) { return (a); }
if (!window.BtvOverlay) window.BtvOverlay = {};
(function(){
if (!BtvOverlay.Util) BtvOverlay.Util = {};
BtvOverlay.Util.ArrayToHash = function(a, fnc)
{
fnc = fnc || Function.NoOp;
var ht = {};
for (var i = 0; a && (i < a.length); i++) ht[fnc(a[i])] = true;
return (ht);
}
BtvOverlay.Util.ToLowerCase = function(s)
{
return(s.toLowerCase());
}
BtvOverlay.Util.ToUpperCase = function(s)
{
return(s.toUpperCase());
}
var re = new RegExp("[\\[\\]{}\\\\|().*+?\^\$]", "g");
BtvOverlay.Util.RegExpEscape = function(s)
{
return s.replace(re, "\\$&");
}
})();
BtvOverlay.Dom = new function()
{
var oThis = this;
oThis.Traverse = function(oNode, fnc, fncStop)
{
function Loop()
{
while (aNodesToSearch.length > 0)
{
if (iDelayIterations++ == 100)
{
iDelayIterations = 0;
window.setTimeout(Loop, 10);
fncStop(true);
return;
}
else
{
oNode = aNodesToSearch[aNodesToSearch.length-1];
if (oNode == aParentNodes[aParentNodes.length-1])
{
aParentNodes.pop();
aNodesToSearch.pop();
fnc(oNode, false);
}
else
{
if (!fnc(oNode, true) && oNode.childNodes.length)
{
aParentNodes.push(oNode);
for (var i = oNode.childNodes.length - 1; i >= 0; i--)
{
aNodesToSearch.push(oNode.childNodes[i]);
}
}
else
{
aNodesToSearch.pop();
fnc(oNode, false)
}
}
}
}
fncStop(false);
}
var iDelayIterations = 0;
var aNodesToSearch = oNode ? [oNode] : [];
var aParentNodes = [];
Loop();
}
oThis.FindNodes = function(oNode, aNodeTypes, oRules, fncCallback)
{
function Nodify(oNode, bln)
{
if (bln)
{
var iType = oNode.nodeType;
if (iInclude && htNodeTypes[iType]) aTextNodes.push(oNode);
if (iType != 1) return(true);
var id = oNode.getAttribute("id");
if (lookup[0] && lookup[0].ids[id]) return(true);
var strTagName = oNode.tagName;
if (lookup[0] && lookup[0].tags[strTagName]) return(true);
var strClasses = oNode.className;
if (lookup[0] && lookup[0].classes[strClasses]) return(true);
if (lookup[1] && (lookup[1].tags[strTagName] || lookup[1].ids[id] || lookup[1].classes[strClasses]))
{
aIncludeNodes.push(oNode);
iInclude++;
}
return(false);
}
else
{
if (aIncludeNodes.length && (aIncludeNodes[aIncludeNodes.length-1] == oNode))
{
aIncludeNodes.pop();
iInclude--;
}
}
}
function Stop(bln)
{
fncCallback(aTextNodes, bln);
aTextNodes = [];
}
function CreateLookup()
{
var lookup = [];
if (oRules.oExclude) lookup[0] = {
tags: ath(oRules.oExclude.aTags, BtvOverlay.Util.ToUpperCase)
,ids: ath(oRules.oExclude.aIds)
,classes: ath(oRules.oExclude.aClasses)
};
if (oRules.oInclude) lookup[1] = {
tags: ath(oRules.oInclude.aTags, BtvOverlay.Util.ToUpperCase)
,ids: ath(oRules.oInclude.aIds)
,classes: ath(oRules.oInclude.aClasses)
};
return(lookup);
}
oRules.aNodeTypes = aNodeTypes;
var iInclude = oRules.oInclude ? 0 : 1;
var ath = BtvOverlay.Util.ArrayToHash;
var htNodeTypes = BtvOverlay.Util.ArrayToHash(oRules.aNodeTypes);
var lookup = CreateLookup();
var aIncludeNodes = [];
var aTextNodes = [];
BtvOverlay.Dom.Traverse(oNode, Nodify, Stop);
}
};
BtvOverlay.Dom.Tokenizer = new function()
{
var oThis = this;
oThis.Run = function(oNode, astrKeywords, htTermsData, oRules, strTermColor, fnc)
{
function RunSet(aNodes, astrKeywords, fnc)
{
function BuildReplacement(oNode, strText, aMatches)
{
function InAnchor()
{
var o = oNode;
while (o.parentNode)
{
if (o.parentNode.tagName && (o.parentNode.tagName.toLowerCase() == "a")) return(true);
o = o.parentNode
}
return(false);
}
function Adorn(str)
{
var span = document.createElement("foo");
if (!span.addEventListener) span.style.position = "relative";
span.style.display = "inline";
span.style.textDecoration = "underline";
span.style.borderBottom = "solid 1px " + strTermColor;
if (!span.addEventListener) span.style.top = "1px";
span.style.cursor = "pointer";
span.style.zoom = 1;
fnc(span, str);
span.innerHTML = str;
return (span);
}
function CheckSpan(span)
{
var str = span.innerHTML;
span.innerHTML = '&nbsp;';
var iOneLineHeight = span.offsetHeight;
span.innerHTML = str;
var iEntireHeight = span.offsetHeight;
span._blnWrap = (iEntireHeight > (1.5 * iOneLineHeight));
}
function CreateIcon(str)
{
var img = document.createElement('img');
img.src = '/images/overlay-action.png';
img.style.borderWidth = '0px';
img.style.display = 'inline';
//img.style.verticalAlign = 'text-bottom';
img.style.padding = '1px 0px 0px 4px';
img.style.margin = '0px';
img.style.cursor = "pointer";
img.style.zoom = 1;
img.__blnOverlay = true;
fnc(img, str);
return(img);
}
if (!oNode.parentNode) return;
for (var i=0; i < oNode.parentNode.childNodes.length; i++)
{
if (oNode.parentNode.childNodes[i].__blnOverlay) return;
}
var iStart = 0;
for (var i = 0; i < aMatches.length; i++)
{
var strMatch = aMatches[i][0];
var strTerm = aMatches[i][1];
if (true)
{
var iPlainTextLength = aMatches[i].index + strMatch.indexOf(strTerm);
var textNode = document.createTextNode(strText.substring(iStart, iPlainTextLength));
oNode.parentNode.insertBefore(textNode, oNode);
var span = Adorn(strTerm);
oNode.parentNode.insertBefore(span, oNode);
CheckSpan(span);
iStart = iPlainTextLength + strTerm.length;
}
else
{
var iPlainTextLength = aMatches[i].index + strMatch.indexOf(strTerm) + strTerm.length;
var textNode = document.createTextNode(strText.substring(iStart, iPlainTextLength));
oNode.parentNode.insertBefore(textNode, oNode);
oNode.parentNode.insertBefore(CreateIcon(strTerm), oNode);
iStart = iPlainTextLength;
}
}
var textNode = document.createTextNode(strText.substring(iStart));
oNode.parentNode.insertBefore(textNode, oNode);
oNode.parentNode.removeChild(oNode);
}
function SortKeywords(s1, s2)
{
var i1 = s1.length;
var i2 = s2.length;
return((i1 < i2) ? 1 : ((i1 > i2) ? -1 : 0));
}
astrKeywords.sort(SortKeywords);
var aReKeywords = [];
for (var i=0; i < astrKeywords.length; i++)
{
aReKeywords.push(BtvOverlay.Util.RegExpEscape(astrKeywords[i]));
}
var reSearch = new RegExp("(?:^|[^0-9A-Za-z])(" + aReKeywords.join('|') + ")([^0-9A-Za-z]|$)", "g");
var aMatch;
var aMatches;
var strTerm;
for (var i = 0; i < aNodes.length; i++)
{
aMatches = null;
var str = aNodes[i].nodeValue;
while ((aMatch = reSearch.exec(str)) != null)
{
aMatches = aMatches || [];
strTerm = aMatch[1];
if (!htTermMatches[strTerm]) htTermMatches[strTerm] = 0;
if (!htTermsData[strTerm] || (htTermsData[strTerm].MaxCount <= 0) || (htTermMatches[strTerm] < htTermsData[strTerm].MaxCount))
{
htTermMatches[strTerm]++;
aMatches.push(aMatch);
}
if (aMatch[2]) reSearch.lastIndex -= 1;
}
if (aMatches) BuildReplacement(aNodes[i], str, aMatches);
}
}
function HaveNodes(aTextNodes, bln)
{
RunSet(aTextNodes, astrKeywords, fnc);
if (!bln)
{
var dtEnd = (new Date()).valueOf();
//alert(dtEnd - dtStart);
}
}
var dtStart = (new Date()).valueOf();
if (!oRules.oExclude) oRules.oExclude = {};
if (!oRules.oExclude.aTags) oRules.oExclude.aTags = [];
if (!oRules.oExclude.aClasses) oRules.oExclude.aClasses = [];
oRules.oExclude.aTags.push("script");
oRules.oExclude.aTags.push("foo");
oRules.oExclude.aTags.push("textarea");
oRules.oExclude.aClasses.push("nooverlay", "btv_orange_button", "article_page_title");
var htTermMatches = {};
var aTextNodes = BtvOverlay.Dom.FindNodes(oNode, [3], oRules, HaveNodes);
}
};
(function()
{
var oOverlayData = {"data":[{"Url":"mandisa.aspx","PhotoCount":13,"Rank":2525,"ImageSrc":"/articles/american-idol/profile/Mandisa.jpg","Term":"Mandisa","ID":1298,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"carrie-underwood.aspx","PhotoCount":572,"Rank":1830,"ImageSrc":"/articles/american-idol/profile/Carrie-Underwood.jpg","Term":"Carrie Underwood","ID":2098,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"jackie-tohn.aspx","PhotoCount":41,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_94fcde64-6cfa-491f-a5d2-ac43b52fb851-100109447-9a5ddc2e-6df6-49ca-8172-6ac4f540cabf-20090212-aitohn.jpg","Term":"Jackie Tohn","ID":40000441,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"ryan-starr.aspx","PhotoCount":71,"Rank":2900,"ImageSrc":"/articles/american-idol/profile/Ryan-Starr.jpg","Term":"Ryan Starr","ID":18612,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"chris-richardson.aspx","PhotoCount":59,"Rank":1497,"ImageSrc":"/articles/american-idol/profile/Chris-Richardson.jpg","Term":"Chris Richardson","ID":4272,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"randy-jackson.aspx","PhotoCount":284,"Rank":2992,"ImageSrc":"/articles/americas-best-dance-crew/profile/Randy-Jackson.jpg","Term":"Randy Jackson","ID":16224,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"ruben-studdard.aspx","PhotoCount":51,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Ruben-Studdard.jpg","Term":"Ruben Studdard","ID":2103,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"kady-malloy.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Kady-Malloy.jpg","Term":"Kady Malloy","ID":16645,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"amanda-overmyer.aspx","PhotoCount":27,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Amanda-Overmyer.jpg","Term":"Amanda Overmyer","ID":16662,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"ace-young.aspx","PhotoCount":117,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Ace-Young.jpg","Term":"Ace Young","ID":1291,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"jon-peter-lewis.aspx","PhotoCount":2,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Jon-Peter-Lewis.jpg","Term":"Jon Peter Lewis","ID":2125,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"jasmine-trias.aspx","PhotoCount":12,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Jasmine-Trias.jpg","Term":"Jasmine Trias","ID":2091,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"nikki-mckibbin.aspx","PhotoCount":9,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Nikki-McKibbin-.jpg","Term":"Nikki McKibbin ","ID":2134,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"syesha-mercado.aspx","PhotoCount":27,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Syesha-Mercado.jpg","Term":"Syesha Mercado","ID":16638,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"melinda-doolittle.aspx","PhotoCount":47,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Melinda-Doolittle.jpg","Term":"Melinda Doolittle","ID":4263,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"amy-adams.aspx","PhotoCount":69,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Amy-Adams.jpg","Term":"Amy Adams","ID":2093,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"gina-glocksen.aspx","PhotoCount":23,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Gina-Glocksen.jpg","Term":"Gina Glocksen","ID":4274,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"casey-carlson.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_291bf75c-ea3c-4c0b-82b8-8d59bf731bba-100109447-f5bfcafe-393c-425c-9a6b-e05d8b4aa7a6-20090212-aicarlson.jpg","Term":"Casey Carlson","ID":40000439,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"alexandrea-lushington.aspx","PhotoCount":2,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Alexandrea-Lushington.jpg","Term":"Alexandrea Lushington","ID":16663,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"asiah-epperson.aspx","PhotoCount":2,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Asiah-Epperson.jpg","Term":"Asiah Epperson","ID":16660,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"ryan-seacrest.aspx","PhotoCount":393,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Ryan-Seacrest.jpg","Term":"Ryan Seacrest","ID":1303,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"luke-menard.aspx","PhotoCount":1,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Luke-Menard.jpg","Term":"Luke Menard","ID":16643,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"matthew-rogers.aspx","PhotoCount":4,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Matthew-Rogers.jpg","Term":"Matthew Rogers","ID":4592,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"rudy-cardenas.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Rudy-Cardenas.jpg","Term":"Rudy Cardenas","ID":4260,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"george-huff.aspx","PhotoCount":11,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/George-Huff.jpg","Term":"George Huff","ID":2121,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"sabrina-sloan.aspx","PhotoCount":29,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Sabrina-Sloan.jpg","Term":"Sabrina Sloan","ID":4259,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"allison-iraheta.aspx","PhotoCount":272,"Rank":1234,"ImageSrc":"/usrimages/usr-1/-1_cf9fca8f-e86b-4339-8ec4-0d892741a57a-100109447-be6f1294-f807-4f1e-8202-07662bd2132e-20090212-aiiraheta.jpg","Term":"Allison Iraheta","ID":40000434,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"von-smith.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_51e0612a-5cd3-42ad-9368-c21a56509d71-100109447-c3a425e8-bb91-468f-9766-7c4fe3c22fea-20090212-aismith.jpg","Term":"Von Smith","ID":40000469,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"aj-tabaldo.aspx","PhotoCount":4,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/AJ-Tabaldo.jpg","Term":"AJ Tabaldo","ID":4277,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"stephanie-edwards.aspx","PhotoCount":35,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Stephanie-Edwards.jpg","Term":"Stephanie Edwards","ID":4258,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"paula-abdul.aspx","PhotoCount":690,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Paula-Abdul.jpg","Term":"Paula Abdul","ID":1301,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"kristen-mcnamara-ai8.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_5af7279f-a254-4fb0-a509-417bda3e6ef5-100109447-19059c42-218c-4c65-bad8-5faf36580c60-20090212-aimcnamara.jpg","Term":"Kristen McNamara","ID":40000451,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"taylor-vaifanua.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_aee67f6c-f86b-4391-a1fa-ffca7f44286c-100109447-5c004841-0203-499f-828f-5c31c3103478-20090212-aivaifanua.jpg","Term":"Taylor Vaifanua","ID":40000468,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"antonella-barba.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Antonella-Barba.jpg","Term":"Antonella Barba","ID":4275,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"anoop-desai.aspx","PhotoCount":235,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_2e5707c5-3dfa-4500-ba7f-d18da8c74b68-100109447-5119a42a-320a-49c2-8553-1a7c1032b729-20090212-aidesai.jpg","Term":"Anoop Desai","ID":40000436,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"latoya-london.aspx","PhotoCount":9,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/LaToya-London.jpg","Term":"LaToya London","ID":2122,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"josh-gracin.aspx","PhotoCount":14,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Josh-Gracin.jpg","Term":"Josh Gracin","ID":2105,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"matt-breitzke.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_5997063b-00d6-4665-964b-5b07ca852c06-100109447-ad3cdba4-f6cb-4e1e-ae75-45b6dcd1b6d4-20090212-aibreitzke.jpg","Term":"Matt Breitzke","ID":40000453,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"constantine-maroulis.aspx","PhotoCount":217,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Constantine-Maroulis.jpg","Term":"Constantine Maroulis","ID":2096,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"jared-cotter.aspx","PhotoCount":12,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Jared-Cotter.jpg","Term":"Jared Cotter","ID":4268,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"jessica-langseth.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_58a8b3b2-7962-4c52-8ee9-31ea9a695d4c-100109447-20dcbb21-ad28-4bf0-884e-fc9a7202f43f-20090212-ailangseth.jpg","Term":"Jessica Langseth","ID":40000444,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"nick-hendrix.aspx","PhotoCount":1,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_1f9e454d-f687-496a-90b5-f936970b6e72-a-1-bd4bc714-7159-43d4-8f9a-d3dc6ae87228-nickhendrix.jpg","Term":"Nick Hendrix","ID":40000461,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"lakisha-jones.aspx","PhotoCount":38,"Rank":2718,"ImageSrc":"/articles/american-idol/profile/Lakisha-Jones.jpg","Term":"Lakisha Jones","ID":4267,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"corey-clark.aspx","PhotoCount":14,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Corey-Clark.jpg","Term":"Corey Clark","ID":4591,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"ricky-braddy.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_18ae53f5-d6be-4f76-a8d5-6906dea2459d-100109447-619336d0-50a1-4c17-907b-d4a52e1bd110-20090212-aibraddy.jpg","Term":"Ricky Braddy","ID":40000463,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"brandon-rogers.aspx","PhotoCount":23,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Brandon-Rogers.jpg","Term":"Brandon Rogers","ID":4273,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"carmen-rasmusen.aspx","PhotoCount":5,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Carmen-Rasmusen.jpg","Term":"Carmen Rasmusen","ID":2101,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"leah-labelle.aspx","PhotoCount":6,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Leah-LaBelle.jpg","Term":"Leah LaBelle","ID":2127,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"david-cook.aspx","PhotoCount":61,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/David-Cook.jpg","Term":"David Cook","ID":16653,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"garrett-haley.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Garrett-Haley.jpg","Term":"Garrett Haley","ID":16650,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"bo-bice.aspx","PhotoCount":50,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Bo-Bice.jpg","Term":"Bo Bice","ID":2095,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"jeanine-vailes.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_cb5269fb-9841-4898-b94a-985a8af1b37d-100109447-a9ad7083-61ac-4d91-a577-8e2a221b6b26-20090212-aivailes.jpg","Term":"Jeanine Vailes","ID":40000443,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"bucky-covington.aspx","PhotoCount":61,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Bucky-Covington.jpg","Term":"Bucky Covington","ID":1292,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"nick-mitchell.aspx","PhotoCount":33,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_598cd0c3-11fc-4eee-9ef3-26d5f0a1f9ab-100109447-25dff278-165e-4d93-a98d-0bc57dde8fce-20090212-aimitchell.jpg","Term":"Nick Mitchell","ID":40000462,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"mikalah-gordon.aspx","PhotoCount":46,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Mikalah-Gordon.jpg","Term":"Mikalah Gordon","ID":2113,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"taylor-hicks.aspx","PhotoCount":292,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Taylor-Hicks.jpg","Term":"Taylor Hicks","ID":591,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"kellie-pickler.aspx","PhotoCount":185,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Kellie-Pickler.jpg","Term":"Kellie Pickler","ID":1295,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"kevin-covais.aspx","PhotoCount":32,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Kevin-Covais.jpg","Term":"Kevin Covais","ID":1296,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"jorge-nunez.aspx","PhotoCount":30,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_a62fa25a-6e47-417f-b9c1-422fb5d53581-100109447-ccd6f659-4a30-403f-94ae-b81ba8512787-20090212-ainunez.jpg","Term":"Jorge Nunez","ID":40000446,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"kendall-beard.aspx","PhotoCount":3,"Rank":549,"ImageSrc":"/usrimages/usr-1/-1_b8bc4b7d-6bfa-4f5c-99b3-5f4a23a46421-100109447-7f4ac916-c4c8-483e-92e9-53be23df5d66-20090212-aibeard.jpg","Term":"Kendall Beard","ID":40000449,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"adam-lambert.aspx","PhotoCount":1425,"Rank":374,"ImageSrc":"/usrimages/usr-1/-1_a9cc3d46-22d9-4c1e-9dde-2c44002a0e3c-100109447-6eff4d7b-30ad-4506-8e58-7c0da388ad0e-20090212-ailambert.jpg","Term":"Adam Lambert","ID":40000431,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"nicholas-pedro.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Nicholas-Pedro.jpg","Term":"Nicholas Pedro","ID":4265,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"kai-kalama.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_97b9e2ff-926c-4563-8e23-92b3888f2998-100109447-d42e14d2-f2ee-4c93-8da3-823634a5849f-20090212-aikalama.jpg","Term":"Kai Kalama","ID":40000448,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"justin-guarini.aspx","PhotoCount":50,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Justin-Guarini.jpg","Term":"Justin Guarini","ID":2100,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"charles-grigsby.aspx","PhotoCount":2,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Charles-Grigsby.jpg","Term":"Charles Grigsby","ID":2132,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"john-stevens.aspx","PhotoCount":43,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/John-Stevens.jpg","Term":"John Stevens","ID":2123,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"jennifer-hudson.aspx","PhotoCount":114,"Rank":681,"ImageSrc":"/articles/american-idol/profile/Jennifer-Hudson.jpg","Term":"Jennifer Hudson","ID":2090,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"michael-lee-johns.aspx","PhotoCount":129,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Michael-Johns.jpg","Term":"Michael Johns","ID":16641,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"danny-noriega.aspx","PhotoCount":45,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Danny-Noriega.jpg","Term":"Danny Noriega","ID":16655,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"jason-yeager.aspx","PhotoCount":1,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Jason-Yeager.jpg","Term":"Jason Yeager","ID":16648,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"nicole-tranquillo.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Nicole-Tranquillo.jpg","Term":"Nicole Tranquillo","ID":4262,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"michael-castro.aspx","PhotoCount":1,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_9e29df91-9e15-4925-8968-d93885aaf94d-a-1-1fcc9664-ef22-49f1-85fe-80d47821da88-michaelcastro.jpg","Term":"Michael Castro","ID":40000456,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"simon-cowell.aspx","PhotoCount":557,"Rank":2872,"ImageSrc":"/articles/american-idol/profile/Simon-Cowell.jpg","Term":"Simon Cowell","ID":1304,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"brent-keith.aspx","PhotoCount":3,"Rank":2604,"ImageSrc":"/usrimages/usr-1/-1_a5201348-e41b-4caa-ab18-074d0f0d9fca-100109447-acd2100f-31bf-47f7-a591-7a865869d2b9-20090212-aikeith.jpg","Term":"Brent Keith","ID":40000438,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"vanessa-olivarez.aspx","PhotoCount":11,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Vanessa-Olivarez.jpg","Term":"Vanessa Olivarez","ID":2133,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"lisa-tucker.aspx","PhotoCount":33,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Lisa-Tucker.jpg","Term":"Lisa Tucker","ID":1297,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"alex-wagner-trugman.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_8866b326-a39e-402b-9a7b-d742578015c1-100109447-f398a893-d9b3-4320-83fb-f21bec047878-20090212-aiwagnertruman.jpg","Term":"Alex Wagner-Trugman","ID":40000432,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"nikko-smith.aspx","PhotoCount":1,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Nikko-Smith.jpg","Term":"Nikko Smith","ID":2116,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"jason-castro.aspx","PhotoCount":52,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Jason-Castro.jpg","Term":"Jason Castro","ID":16649,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"carly-smithson.aspx","PhotoCount":53,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Carly-Smithson.jpg","Term":"Carly Smithson","ID":16658,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"jessica-sierra.aspx","PhotoCount":46,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Jessica-Sierra.jpg","Term":"Jessica Sierra","ID":17115,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"david-archuleta.aspx","PhotoCount":61,"Rank":2749,"ImageSrc":"/articles/american-idol/profile/David-Archuleta.jpg","Term":"David Archuleta","ID":16654,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"megan-corkrey.aspx","PhotoCount":146,"Rank":2210,"ImageSrc":"/usrimages/usr-1/-1_1e077524-5dbe-4619-86a1-49553b09bf63-100109447-71afcbf0-2314-4aca-9576-d1349597e9de-20090212-aicorkrey.jpg","Term":"Megan Joy","ID":40000455,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"diana-degarmo.aspx","PhotoCount":40,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Diana-DeGarmo.jpg","Term":"Diana DeGarmo","ID":2107,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"scott-macintyre.aspx","PhotoCount":184,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_65552fb8-b0b9-4838-96ec-fc28acf951bf-100109447-c97c2327-6198-4f93-812f-c8140e27b257-20090212-aimacintyre.jpg","Term":"Scott MacIntyre","ID":40000464,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"tamyra-gray.aspx","PhotoCount":39,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Tamyra-Gray.jpg","Term":"Tamyra Gray","ID":4590,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"alaina-alexander.aspx","PhotoCount":34,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Alaina-Alexander.jpg","Term":"Alaina Alexander","ID":4279,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"sundance-head.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Sundance-Head.jpg","Term":"Sundance Head","ID":4256,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"sanjaya-malakar.aspx","PhotoCount":58,"Rank":1373,"ImageSrc":"/articles/american-idol/profile/Sanjaya-Malakar.jpg","Term":"Sanjaya Malakar","ID":4257,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"danny-gokey.aspx","PhotoCount":787,"Rank":223,"ImageSrc":"/usrimages/usr-1/-1_1d7e6edb-08bd-46e7-aa71-be33b1a02906-100109447-d83bf90d-7d92-4aab-a3fd-ed3601108ccf-20090212-aigokey.jpg","Term":"Danny Gokey","ID":40000440,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"stevie-wright.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_b99df493-0e33-4538-9230-cf9d615beaf2-100109447-5cc881a6-aa61-4fe6-8973-c310c638f487-20090212-aiwright.jpg","Term":"Stevie Wright","ID":40000466,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"michael-sarver.aspx","PhotoCount":84,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_84588c74-84c1-4794-bf45-6ed35f301db3-100109447-59a1f887-cdaf-423a-a38c-eac2e445491b-20090212-aisarver.jpg","Term":"Michael Sarver","ID":40000457,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"joanne-borgella.aspx","PhotoCount":34,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Joanne-Borgella.jpg","Term":"Joanne Borgella","ID":16647,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"vonzell-solomon.aspx","PhotoCount":7,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Vonzell-Solomon.jpg","Term":"Vonzell Solomon","ID":2118,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"colton-berry.aspx","PhotoCount":2,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Colton-Berry.jpg","Term":"Colton Berry","ID":16656,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"elliott-yamin.aspx","PhotoCount":64,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Elliott-Yamin.jpg","Term":"Elliott Yamin","ID":1294,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"david-hernandez.aspx","PhotoCount":16,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/David-Hernandez.jpg","Term":"David Hernandez","ID":16651,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"jordin-sparks.aspx","PhotoCount":107,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Jordin-Sparks.jpg","Term":"Jordin Sparks","ID":4270,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"chris-sligh.aspx","PhotoCount":32,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Chris-Sligh.jpg","Term":"Chris Sligh","ID":4269,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"rickey-smith.aspx","PhotoCount":6,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Rickey-Smith-.jpg","Term":"Rickey Smith ","ID":2130,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"katherine-mcphee.aspx","PhotoCount":120,"Rank":2085,"ImageSrc":"/articles/american-idol/profile/Katharine-McPhee.jpg","Term":"Katharine McPhee","ID":1794,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"ellen-degeneres.aspx","PhotoCount":63,"Rank":1974,"ImageSrc":"/articles/the-ellen-degeneres-show/profile/Ellen-DeGeneres.jpg","Term":"Ellen DeGeneres","ID":9417,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"mishavonna-henson.aspx","PhotoCount":3,"Rank":2874,"ImageSrc":"/usrimages/usr-1/-1_3a80f1bc-7890-4508-b5ae-7cc62cf023b1-100109447-4fd4330a-2dda-45fb-9613-119cfd5b9394-20090212-aihenson.jpg","Term":"Mishavonna Henson","ID":40000459,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"leslie-hunt.aspx","PhotoCount":3,"Rank":2337,"ImageSrc":"/articles/american-idol/profile/Leslie-Hunt.jpg","Term":"Leslie Hunt","ID":4266,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"joanna-pacitti.aspx","PhotoCount":8,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_abdaa294-a0e7-4faa-bd6a-d0bf65ded706-a-1-d5cc1574-e055-42c7-b376-5e86cea49efb-joannapacitti.jpg","Term":"Joanna Pacitti","ID":40000445,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"lindsey-cardinale.aspx","PhotoCount":1,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Lindsey-Cardinale.jpg","Term":"Lindsey Cardinale","ID":2112,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"nathaniel-marshall.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_6ead6be8-dc57-49bb-99c5-7604f76858e5-100109447-0fe81584-864d-4976-a354-bf228b4ae167-20090212-aimarshall.jpg","Term":"Nathaniel Marshall","ID":40000460,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"jim-verraros.aspx","PhotoCount":6,"Rank":1926,"ImageSrc":"/articles/american-idol/profile/Jim-Verraros.jpg","Term":"Jim Verraros","ID":4588,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"trenyce.aspx","PhotoCount":17,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Trenyce.jpg","Term":"Trenyce","ID":2129,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"anwar-farid-robinson.aspx","PhotoCount":5,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Anwar-Robinson.jpg","Term":"Anwar Robinson","ID":2097,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"chris-daughtry.aspx","PhotoCount":208,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Chris-Daughtry.jpg","Term":"Chris Daughtry","ID":1293,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"anthony-federov.aspx","PhotoCount":10,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Anthony-Fedorov.jpg","Term":"Anthony Fedorov","ID":2094,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"jasmine-murray.aspx","PhotoCount":41,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_52c79c56-8372-4c88-85ca-e877b8c4a9a4-100109447-ebdbf68b-3370-4e61-b9e8-8c368af2d0f7-20090212-aimurray.jpg","Term":"Jasmine Murray","ID":40000442,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"kara-dioguardi.aspx","PhotoCount":317,"Rank":2992,"ImageSrc":"/articles/profiles/kara-dioguardi.jpg","Term":"Kara DioGuardi","ID":30000156,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"anne-marie-boskovich.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_d7136358-87a0-4f5a-8599-7e664e77985b-100109447-8c70f833-51ce-488a-b126-6f742a7f36f0-20090212-aiboskovich.jpg","Term":"Anne Marie Boskovich","ID":40000435,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"christina-christian.aspx","PhotoCount":17,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Christina-Christian.jpg","Term":"Christina Christian","ID":2136,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"kimberly-caldwell.aspx","PhotoCount":48,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Kimberly-Caldwell-.jpg","Term":"Kimberly Caldwell ","ID":2104,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"lil-rounds.aspx","PhotoCount":237,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_3eb3a831-ce6c-4e20-83be-5384ff5297a7-100109447-e731aca8-a50d-4610-9b77-69f5525e2593-20090212-airounds.jpg","Term":"Lil Rounds","ID":40000452,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"amy-davis.aspx","PhotoCount":5,"Rank":2787,"ImageSrc":"/articles/american-idol/profile/Amy-Davis.jpg","Term":"Amy Davis","ID":16661,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"brooke-white.aspx","PhotoCount":40,"Rank":2056,"ImageSrc":"/articles/american-idol/profile/Brooke-White.jpg","Term":"Brooke White","ID":16659,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"rj-helton.aspx","PhotoCount":2,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/RJ-Helton.jpg","Term":"RJ Helton","ID":2135,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"arianna-afsar.aspx","PhotoCount":3,"Rank":2687,"ImageSrc":"/usrimages/usr-1/-1_d103e84f-4cc4-49db-a9e4-e611c2158216-100109447-43c8e00f-18e8-44ba-b834-dc98c3f9039a-20090212-aiasfar.jpg","Term":"Arianna Afsar","ID":40000437,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"aj-gil.aspx","PhotoCount":4,"Rank":2456,"ImageSrc":"/articles/american-idol/profile/AJ-Gil.jpg","Term":"AJ Gil","ID":2138,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"paris-bennett.aspx","PhotoCount":53,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Paris-Bennett.jpg","Term":"Paris Bennett","ID":1300,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"amy-krebs.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Amy-Krebs.jpg","Term":"Amy Krebs","ID":4278,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"kristy-lee-cook.aspx","PhotoCount":34,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Kristy-Lee-Cook.jpg","Term":"Kristy Lee Cook","ID":16644,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"blake-lewis.aspx","PhotoCount":67,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Blake-Lewis.jpg","Term":"Blake Lewis","ID":4276,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"phil-stacey.aspx","PhotoCount":40,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Phil-Stacey.jpg","Term":"Phil Stacey","ID":4261,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"fantasia-barrino.aspx","PhotoCount":88,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Fantasia-Barrino.jpg","Term":"Fantasia Barrino","ID":2119,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"alexis-grace.aspx","PhotoCount":101,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_f54c7c19-081e-4df7-b186-7ea1720fe689-100109447-2ba22e8d-afb3-482b-b564-f12d1d4522d2-20090212-aigrace.jpg","Term":"Alexis Grace","ID":40000433,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"tatiana-del-toro.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_9aafd587-3354-4e5e-b8a2-dc223295c92e-100109447-d802d51d-d719-4a16-92f6-accd6c510259-20090212-aideltoro.jpg","Term":"Tatiana del Toro","ID":40000467,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"kimberley-locke.aspx","PhotoCount":50,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Kimberley-Locke.jpg","Term":"Kimberley Locke","ID":2102,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"kris-allen.aspx","PhotoCount":924,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_753c504a-6434-427c-9962-257e0cad00c0-100109447-59ced2b2-c0f6-4d90-80f2-404df12a8b30-20090212-aiallen.jpg","Term":"Kris Allen","ID":40000450,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"camile-velasco.aspx","PhotoCount":2,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Camile-Velasco.jpg","Term":"Camile Velasco","ID":2124,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"alaina-whitaker.aspx","PhotoCount":3,"Rank":2691,"ImageSrc":"/articles/american-idol/profile/Alaina-Whitaker.jpg","Term":"Alaina Whitaker","ID":16664,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"junot-joyner.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_ca179442-c0b9-412d-94b2-ad29dc25f622-100109447-c835f06e-2f81-4b0f-b413-d43a3bb68bbe-20090212-aijoyner.jpg","Term":"Junot Joyner","ID":40000447,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"ejay-day.aspx","PhotoCount":1,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Ejay-Day.jpg","Term":"Ejay Day","ID":4589,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"haley-scarnato.aspx","PhotoCount":35,"Rank":2423,"ImageSrc":"/articles/american-idol/profile/Haley-Scarnato.jpg","Term":"Haley Scarnato","ID":4271,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"matt-giraud.aspx","PhotoCount":256,"Rank":1860,"ImageSrc":"/usrimages/usr-1/-1_ba8e3034-62d9-4a7b-93fd-d048588db492-100109447-36e08165-4f88-4cd1-b22d-a5c676beb29d-20090212-aigiraud.jpg","Term":"Matt Giraud","ID":40000454,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"michael-tristan.aspx","PhotoCount":2,"Rank":1387,"ImageSrc":"/usrimages/usr-1/-1_85305f82-07cf-455e-96e5-24b5bdeeaf8b-a-1-f6dbd423-fc3b-476d-960f-6ee032b1eff3-michaeltristan.jpg","Term":"Michael Tristan","ID":40000458,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"chikezie-eze.aspx","PhotoCount":5,"Rank":2409,"ImageSrc":"/articles/american-idol/profile/Chikezie-Eze.jpg","Term":"Chikezie Eze","ID":16657,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"felicia-barton.aspx","PhotoCount":2,"Rank":1862,"ImageSrc":"/usrimages/usr-1/-1_ca9c4de5-a729-47fe-ba04-a25fd0e11dcd-a-1-e202598d-a4f2-431b-b941-cb1bfda8651b-ai8-felicia.jpg","Term":"Felicia Barton","ID":40000479,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"julia-demato.aspx","PhotoCount":6,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Julia-DeMato.jpg","Term":"Julia DeMato","ID":2131,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"melissa-mcghee.aspx","PhotoCount":15,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Melissa-McGhee.jpg","Term":"Melissa McGhee","ID":1299,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"stephen-fowler.aspx","PhotoCount":3,"Rank":2992,"ImageSrc":"/usrimages/usr-1/-1_e0c18bab-2382-421e-a239-7b33c2653cb3-100109447-b47156d2-a94c-4981-a805-1b369fbd52bb-20090212-aifowler.jpg","Term":"Stephen Fowler","ID":40000465,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"robbie-carrico.aspx","PhotoCount":2,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Robbie-Carrico.jpg","Term":"Robbie Carrico","ID":16639,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"scott-savol.aspx","PhotoCount":9,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Scott-Savol.jpg","Term":"Scott Savol","ID":2092,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"nadia-turner.aspx","PhotoCount":7,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Nadia-Turner.jpg","Term":"Nadia Turner","ID":2117,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"clay-aiken.aspx","PhotoCount":113,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Clay-Aiken.jpg","Term":"Clay Aiken","ID":2099,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"ramiele-malubay.aspx","PhotoCount":29,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Ramiele-Malubay.jpg","Term":"Ramiele Malubay","ID":16689,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"kelly-clarkson.aspx","PhotoCount":82,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Kelly-Clarkson.jpg","Term":"Kelly Clarkson","ID":2106,"RelatedID":3,"Scope":0,"MaxCount":3},{"Url":"paul-kim.aspx","PhotoCount":53,"Rank":2992,"ImageSrc":"/articles/american-idol/profile/Paul-Kim.jpg","Term":"Paul Kim","ID":4264,"RelatedID":3,"Scope":0,"MaxCount":3}]};
var oExcludeData = {"Ids":null,"Tags":["h2"],"Classes":["wiki-text"]};
var oIncludeData = {"Ids":null,"Tags":null,"Classes":["content-col"]};
var strTermColor = null || "#999999";
var strBaseUrl = '';
var oRules = {};
if (oExcludeData)
{
oRules.oExclude = {
aIds: oExcludeData.Ids || []
,aTags: oExcludeData.Tags || []
,aClasses: oExcludeData.Classes || []
};
}
if (oIncludeData)
{
oRules.oInclude = {
aIds: oIncludeData.Ids || []
,aTags: oIncludeData.Tags || []
,aClasses: oIncludeData.Classes || []
};
}
var afncCastOverlayBuilders = {};
afncCastOverlayBuilders[0] = function($data){var $text = [];var _write = function(text) {$text.push((typeof text == "number")?text:(text||""));};with($data){ _write('<div id=\"divHoverHandle');_write(Term);_write('\" style=\"width:285px;background:url(\'');_write(strBaseUrl);_write('/images/pop-shadow.png\');zoom:1;\">\n<div style=\"border:1px solid #666666; background:#eeeeee; font-size:11px;  padding:7px; position:relative;bottom:3px;right:3px;zoom:1;\">\n<a href=\"');_write(strBaseUrl);_write('/');_write(Url);_write('\"><img src=\"http://www.buddytv.com');_write(ImageSrc);_write('\" style=\"border:none;width:92px;float:left;margin-right:5px;\"/></a>\n<div style=\"float:right;width:165px;zoom:1;\">\n<div style=\"font-size:16px;font-weight:bold;margin:-2px 0px 5px 0px;zoom:1;\"><a href=\"');_write(strBaseUrl);_write('/');_write(Url);_write('\">');_write(Term);_write('</a></div>\n<div style=\"margin-bottom:2px;zoom:1;\">Today’s Ranking: ');_write(Rank);_write('</div>\n<div style=\"margin-bottom:3px;zoom:1;\"><a href=\"');_write(strBaseUrl);_write('/btvredir.aspx?ctxtypid=21&ctxid=');_write(ID);_write('&pid=21&pnum=-1\">View Photos</a></div>\n<div style=\"zoom:1;\"><a href=\"');_write(strBaseUrl);_write('/btvredir.aspx?ctxtypid=21&ctxid=');_write(ID);_write('&pid=28&pnum=-1\">Rate now &raquo;</a></div>\n</div>\n<div style=\"clear:both;\"></div>\n</div>\n</div>');}return $text.join("");};
afncCastOverlayBuilders[1] = function($data){var $text = [];var _write = function(text) {$text.push((typeof text == "number")?text:(text||""));};with($data){ _write('<div id=\"divHoverHandle');_write(Term);_write('\" style=\"width:285px;background:url(\'');_write(strBaseUrl);_write('/images/pop-shadow.png\'); zoom:1;\">\n<div style=\"border:1px solid #666666; background:#eeeeee; font-size:11px;  padding:7px; position:relative;bottom:3px;right:3px;zoom:1;\">\n<a href=\"');_write(strBaseUrl);_write('/');_write(Url);_write('\"><img src=\"http://www.buddytv.com');_write(ImageSrc);_write('\" style=\"border:none;width:92px;float:left;margin-right:5px;\"/></a>\n<div style=\"float:right;width:165px;zoom:1;\">\n<div style=\"font-size:16px;font-weight:bold;margin:-2px 0px 5px 0px;zoom:1;\"><a href=\"');_write(strBaseUrl);_write('/');_write(Url);_write('\">');_write(Term);_write('</a></div>\n<div style=\"margin-bottom:2px;zoom:1;\">Today’s Ranking: ');_write(Rank);_write('</div>\n<div style=\"margin-bottom:3px;zoom:1;\"><a href=\"');_write(strBaseUrl);_write('/btvredir.aspx?ctxtypid=-1000&ctxid=');_write(ID);_write('&pid=21&pnum=-1\">View Photos (');_write(PhotoCount);_write(')</a></div>\n<div style=\"margin-bottom:3px;zoom:1;\"><a href=\"');_write(strBaseUrl);_write('/btvredir.aspx?ctxtypid=-1000&ctxid=');_write(ID);_write('&pid=35&pnum=-1\">Play Trivia &raquo;</a></div>\n</div>\n<div style=\"clear:both;\"></div>\n</div>\n</div>');}return $text.join("");};
function Run()
{
function GiveElementLayout(el)
{
if (el && !el.hasLayout) el.style.zoom = 1;
}
function GetWindowPosition()
{
function f(p1, p2)
{
var iWin = window[p1] ? window[p1] : 0;
var iDocEl = document.documentElement ? document.documentElement[p2] : 0;
var iBody = document.body ? document.body[p2] : 0;
var i = iWin ? iWin : 0;
if (iDocEl && (!i || (i > iDocEl))) i = iDocEl;
return(iBody && (!i || (i > iBody)) ? iBody : i);
}
var iW = f('innerWidth', 'clientWidth');
var iH = f('innerHeight', 'clientHeight');
var iL = f('pageXOffset', 'scrollLeft');
var iT = f('pageYOffset', 'scrollTop');
return({t:iT, r:(iW + iL), b:(iH + iT), l:iL});
}
function GetElPosition(el)
{
var pt = GetAbsPos(el);
return({t:pt.y, r:(pt.x + el.offsetWidth), b:(pt.y + el.offsetHeight), l:pt.x});
}
function GetOverlayPlacementPoint(elContext, elOverlay)
{
var elPos = GetElPosition(elContext);
var wndPos = GetWindowPosition();
var iSpace = 10;
var posSpace = {t:(elPos.t - wndPos.t - iSpace), r:(wndPos.r - elPos.r - iSpace), b:(wndPos.b - elPos.b - iSpace), l:(elPos.l - wndPos.l - iSpace)};
var iW = elOverlay.offsetWidth;
var iH = elOverlay.offsetHeight;
var pt = {x:wndPos.l, y:wndPos.t};
if (posSpace.t >= iH)
{
pt.y = elPos.t - iH;
}
else if (posSpace.b >= iH)
{
pt.y = elPos.b;
}
if (posSpace.r >= iW)
{
pt.x = elPos.r;
}
else if (posSpace.l >= iW)
{
pt.x = elPos.l - iW;
}
//pt.y += 3;
return(pt);
}
function AdjustPlacementPoint(pt, elOverlay)
{
var iW = elOverlay.offsetWidth;
var iH = elOverlay.offsetHeight;
var posOverlay = {t:pt.y, r:(pt.x + iW), b:(pt.y + iH), l:pt.x};
var wndPos = GetWindowPosition();
var iSpace = 10;
var posSpace = {t:(posOverlay.t - wndPos.t - iSpace), r:(wndPos.r - posOverlay.r - iSpace), b:(wndPos.b - posOverlay.b - iSpace), l:(posOverlay.l - wndPos.l - iSpace)};
if (posSpace.r < 0)
{
pt.x += posSpace.r;
}
else if (posSpace.l < 0)
{
pt.x += (0 - posSpace.l);
}
if (posSpace.t < 0)
{
pt.y += (0 - posSpace.t);
}
else if (posSpace.b < 0)
{
pt.y += posSpace.b;
}
return(pt);
}
function GetAbsPos(element)
{
function F(el)
{ 
var pt = {x:0,y:0};
if (el)
{ 
GiveElementLayout(el); 
pt.x += el.offsetLeft;
pt.y += el.offsetTop; 
var elOffset = el.offsetParent;
var elParent = el.parentNode;
while (elOffset)
{
GiveElementLayout(elOffset);
pt.x += elOffset.offsetLeft; 
pt.y += elOffset.offsetTop; 
if ((document.body != elOffset) && (document.documentElement != elOffset))
{ 
pt.x -= elOffset.scrollLeft; 
pt.y -= elOffset.scrollTop; 
} 
if (false && blnFirefox)
{ 
while (elParent && (elOffset != elParent))
{ 
pt.x -= elParent.scrollLeft; 
pt.y -= elParent.scrollTop; 
elParent = elParent.parentNode; 
}
} 
elParent = elOffset.parentNode;
elOffset = elOffset.offsetParent; 
} 
} 
return pt; 
} 
var blnFirefox = !!element.addEventListener;
if (!blnFirefox)
{
F(element, blnFirefox);
}
return(F(element, blnFirefox));
}
function AddEvent(obj, type, fn)
{
if (obj.addEventListener)
{
obj.addEventListener(type, fn, false);
}
else if (obj.attachEvent)
{
obj["e" + type + fn] = fn;
obj[type + fn] = function() { obj["e" + type + fn](window.event); }
obj.attachEvent("on" + type, obj[type + fn]);
}
}
function GetOverlayNode(strTerm)
{
if (!htOverlays[strTerm])
{
var oData = htTermsData[strTerm];
var strOverlayHtml = afncCastOverlayBuilders[oData.Scope](oData);
var div = document.createElement("div");
div.innerHTML = strOverlayHtml;
htOverlays[strTerm] = div.childNodes[0];
}
return(htOverlays[strTerm]);
}
function ShowOverlay(oNode, strTerm, pt)
{
blnNeedEventHookup = !htOverlays[strTerm];
HideCurrentOverlay(true);
elCurrentOverlay = GetOverlayNode(strTerm);
divOverlay.appendChild(elCurrentOverlay);
document.body.appendChild(divOverlay);
if (blnNeedEventHookup)
{
var elHandler = document.getElementById("divHoverHandle" + strTerm);
AddEvent(elHandler, blnIsIE ? "mouseenter" : "mouseover", OverlayOver);
AddEvent(elHandler, blnIsIE ? "mouseleave" : "mouseout", CommonOut);
}
var oPoint = GetAbsPos(oNode);
var overlayPt = GetOverlayPlacementPoint(oNode, divOverlay);
if (oNode._blnWrap)
{
overlayPt.x = pt.x - divOverlay.offsetWidth;
AdjustPlacementPoint(overlayPt, divOverlay);
}
divOverlay.style.visibility = "hidden";
divOverlay.style.top = overlayPt.y + "px";
divOverlay.style.left = overlayPt.x + "px";
divOverlay.style.visibility = "visible";
}
function MouseCoordinates(evt)
{
if (blnIsIE)
{
var oPoint = GetAbsPos(evt.srcElement);
return({x:(evt.x + oPoint.x), y:(evt.y + oPoint.y)});
}
else
{
return({x:evt.pageX, y:evt.pageY});
}
}
function HideCurrentOverlay(bln)
{
function F()
{
if ((elCurrentOverlay) && (iCounter_local == iCounter) && (!iOverCount))
{
iOverCount = 0;
divOverlay.removeChild(elCurrentOverlay);
divOverlay.parentNode.removeChild(divOverlay);
elCurrentOverlay = null;
}
}
iCounter++;
var iCounter_local = iCounter;
if (bln)
{
iOverCount= 0;
F();
}
else
{
window.setTimeout(F, 400);
}
}
var iCounter = 0;
if (Btv && Btv.Ads)
{
//Btv.Ads.onChangeRequest.Attach(RunFromBody);
}
var elCurrentOverlay;
var htOverlays = {};
function HookupTerm(oNode, strTerm)
{
function Over(evt)
{
ShowOverlay(oNode, strTerm, MouseCoordinates(evt));
iOverCount++;
}
AddEvent(oNode, blnIsIE ? "mouseenter" : "mouseover", Over);
AddEvent(oNode, blnIsIE ? "mouseleave" : "mouseout", CommonOut);
AddEvent(oNode, "click", function(){HideCurrentOverlay(true);});
}
function OverlayOver()
{
iOverCount++;
}
function CommonOut()
{
iOverCount--;
HideCurrentOverlay();
}
var iOverCount = 0; 
var divOverlay = document.createElement('div');
divOverlay.style.position = "absolute";
divOverlay.style.zIndex = "9999";
var blnIsIE = !divOverlay.addEventListener;
var astrTerms = [];
var htTermsData = {};
function ProcessOverlayData()
{
for (var i=0; i < oOverlayData.data.length; i++)
{
if (!htTermsData[oOverlayData.data[i].Term])
{
astrTerms.push(oOverlayData.data[i].Term);
htTermsData[oOverlayData.data[i].Term] = oOverlayData.data[i];
oOverlayData.data[i].strBaseUrl = "";
}
}
}
ProcessOverlayData();
window["RunBtvTokenizer"] = function(el, oOverlayData_)
{
if (oOverlayData_)
{
oOverlayData.data = oOverlayData_;
ProcessOverlayData();
} 
if (el)
{
if (astrTerms.length > 0) BtvOverlay.Dom.Tokenizer.Run(el, astrTerms, htTermsData, oRules, strTermColor, HookupTerm);
blnPending = false;
}
else
{
Refresh();
}
}
function RunFromBody()
{
RunBtvTokenizer(document.body);
}
function TimedRun()
{
if (blnPending) RunFromBody();
}
function Refresh()
{
if (!blnPending)
{
blnPending = true;
window.setTimeout(TimedRun, 1000);
}
}
var blnPending = true;
if (true)
{
if (window["YAHOO"] && YAHOO.Btv && YAHOO.Btv.Runtime && YAHOO.Btv.Runtime.RegisterOnInit)
{
YAHOO.Btv.Runtime.RegisterOnInit(RunFromBody);
}
else
{
window.setTimeout(RunFromBody, 100);
}
} 
}
Run();
})();
