var parentDiv = document.getElementById("bdJssContainer");
if( parentDiv != null ){
writeBDDisplay();
}
function writeBDDisplay(){
var imgList = document.createElement("div");
imgList.style.width = "160px";
imgList.style.fontFamily = "Arial,Helvetica,Verdana,sans-serif";
imgList.style.fontSize = "13px";
imgList.style.textAlign = "center";
overrideDivInheritedCss(imgList);
var top = document.createElement("div");
top.style.background = "url(http://faves.com/images/il-top.gif) top left no-repeat";
top.style.height = "5px";
top.style.fontSize = "0";
overrideDivInheritedCss(top);
imgList.appendChild(top);
var dots = document.createElement("div");
overrideDivInheritedCss(dots);
dots.style.backgroundColor = "#fff";
dots.style.borderLeft = "solid 2px #bbd1e8";
dots.style.borderRight = "solid 2px #bbd1e8";
var heading = document.createElement("div");
overrideDivInheritedCss(heading);
heading.style.color = "#346180";
heading.style.fontWeight = "bold";
heading.style.borderBottom = "solid 1px #bbd1e8";
heading.style.padding = "5px 0 7px 0";
heading.style.margin = "0 0 10px 0";
heading.style.letterSpacing = "-0.04em";
var logo = document.createElement("img");
logo.style.verticalAlign = "text-bottom";
logo.style.margin = "0 5px 0 0";
logo.setAttribute("src", "http://faves.com/images/il-bdlogo.gif");
heading.appendChild(logo);
heading.appendChild(document.createTextNode(decodeURIComponent("I%27ve recently shared")));
dots.appendChild(heading);
var imgDiv = document.createElement("div");
overrideDivInheritedCss(imgDiv);
imgDiv.style.margin = "0px 15px 0px 15px";
imgDiv.onmouseover = bdDotBackgroundColorHover;
imgDiv.onmouseout = bdDotBackgroundColorDefault;
var imgLink = document.createElement("a");
overrideLinkInheritedCss(imgLink);
imgLink.setAttribute("href", decodeURIComponent("http%3a%2f%2ffaves.com%2fusers%2fred0303%3fst%3dtag%253amusic%26show%3d162358081329"));
var image = document.createElement("img");
image.setAttribute("alt", "Thumbnail");
image.setAttribute("src", "http://i.faves.com/01/b6/3133/582170af/1a39b083da928ba767_5.jpg");
image.setAttribute("height", "88");
image.setAttribute("width", "90");
image.style.marginTop = "1px";
image.style.marginRight = "0px";
image.style.marginBottom = "1px";
image.style.marginLeft = "0px";
image.style.border = "none";
imgLink.appendChild(image);
imgDiv.appendChild(imgLink);
var br = document.createElement("br");
imgDiv.appendChild(br);
var tagOrCatLink = document.createElement("a");
tagOrCatLink.style.color = "#007acd";
overrideLinkInheritedCss(tagOrCatLink);
tagOrCatLink.onmouseover = bdDotLinkCssHover;
tagOrCatLink.onmouseout = bdDotLinkCssDefault;
tagOrCatLink.setAttribute("href", decodeURIComponent("http%3a%2f%2ffaves.com%2fusers%2fred0303%3fst%3dtag%253amusic%26show%3d162358081329"));
tagOrCatLink.appendChild(document.createTextNode(decodeURIComponent("music")));
imgDiv.appendChild(tagOrCatLink);
dots.appendChild(imgDiv);
var divider = document.createElement("div");
overrideDivInheritedCss(divider);
divider.style.height = "1px";
divider.style.fontSize = "0";
divider.style.margin = "5px 15px 10px 15px";
divider.style.borderTop = "1px solid #bbd1e8";
dots.appendChild(divider);
var imgDiv = document.createElement("div");
overrideDivInheritedCss(imgDiv);
imgDiv.style.margin = "0px 15px 0px 15px";
imgDiv.onmouseover = bdDotBackgroundColorHover;
imgDiv.onmouseout = bdDotBackgroundColorDefault;
var imgLink = document.createElement("a");
overrideLinkInheritedCss(imgLink);
imgLink.setAttribute("href", decodeURIComponent("http%3a%2f%2ffaves.com%2fusers%2fred0303%3fst%3dtag%253abooks%26show%3d130397697676"));
var image = document.createElement("img");
image.setAttribute("alt", "Thumbnail");
image.setAttribute("src", "http://i.faves.com/01/aa/3cb1/71348b7e/a79f6b5607335d48ee_5.jpg");
image.setAttribute("height", "79");
image.setAttribute("width", "90");
image.style.marginTop = "5px";
image.style.marginRight = "0px";
image.style.marginBottom = "6px";
image.style.marginLeft = "0px";
image.style.border = "none";
imgLink.appendChild(image);
imgDiv.appendChild(imgLink);
var br = document.createElement("br");
imgDiv.appendChild(br);
var tagOrCatLink = document.createElement("a");
tagOrCatLink.style.color = "#007acd";
overrideLinkInheritedCss(tagOrCatLink);
tagOrCatLink.onmouseover = bdDotLinkCssHover;
tagOrCatLink.onmouseout = bdDotLinkCssDefault;
tagOrCatLink.setAttribute("href", decodeURIComponent("http%3a%2f%2ffaves.com%2fusers%2fred0303%3fst%3dtag%253abooks%26show%3d130397697676"));
tagOrCatLink.appendChild(document.createTextNode(decodeURIComponent("books")));
imgDiv.appendChild(tagOrCatLink);
dots.appendChild(imgDiv);
var divider = document.createElement("div");
overrideDivInheritedCss(divider);
divider.style.height = "1px";
divider.style.fontSize = "0";
divider.style.margin = "5px 15px 10px 15px";
divider.style.borderTop = "1px solid #bbd1e8";
dots.appendChild(divider);
var imgDiv = document.createElement("div");
overrideDivInheritedCss(imgDiv);
imgDiv.style.margin = "0px 15px 0px 15px";
imgDiv.onmouseover = bdDotBackgroundColorHover;
imgDiv.onmouseout = bdDotBackgroundColorDefault;
var imgLink = document.createElement("a");
overrideLinkInheritedCss(imgLink);
imgLink.setAttribute("href", decodeURIComponent("http%3a%2f%2ffaves.com%2fusers%2fred0303%3fst%3dtag%253aMcCain%26show%3d130355944004"));
var image = document.createElement("img");
image.setAttribute("alt", "Thumbnail");
image.setAttribute("src", "http://i.faves.com/01/32/5472/601571f3/1e1bf00674c368d335_6.jpg");
image.setAttribute("height", "1");
image.setAttribute("width", "1");
image.style.marginTop = "44px";
image.style.marginRight = "45px";
image.style.marginBottom = "45px";
image.style.marginLeft = "44px";
image.style.border = "none";
imgLink.appendChild(image);
imgDiv.appendChild(imgLink);
var br = document.createElement("br");
imgDiv.appendChild(br);
var tagOrCatLink = document.createElement("a");
tagOrCatLink.style.color = "#007acd";
overrideLinkInheritedCss(tagOrCatLink);
tagOrCatLink.onmouseover = bdDotLinkCssHover;
tagOrCatLink.onmouseout = bdDotLinkCssDefault;
tagOrCatLink.setAttribute("href", decodeURIComponent("http%3a%2f%2ffaves.com%2fusers%2fred0303%3fst%3dtag%253aMcCain%26show%3d130355944004"));
tagOrCatLink.appendChild(document.createTextNode(decodeURIComponent("McCain")));
imgDiv.appendChild(tagOrCatLink);
dots.appendChild(imgDiv);
var topGrey = document.createElement("div");
overrideDivInheritedCss(topGrey);
topGrey.style.background = "url(http://faves.com/images/il-grey_top.gif) top left no-repeat";
topGrey.style.height = "5px";
topGrey.style.margin = "5px 0 0 5px";
topGrey.style.fontSize = "0";
dots.appendChild(topGrey);
var midGrey = document.createElement("div");
overrideDivInheritedCss(midGrey);
midGrey.style.margin = "0 5px 0 5px";
midGrey.style.backgroundColor = "#ebebeb";
midGrey.style.textAlign = "center";
midGrey.style.fontSize = "0.85em";
var moreDotsLink = document.createElement("a");
moreDotsLink.style.color = "#007acd";
overrideLinkInheritedCss(moreDotsLink);
moreDotsLink.onmouseout = bdDotLinkCssDefault;
moreDotsLink.onmouseover = bdDotLinkCssHover;
moreDotsLink.setAttribute("href", decodeURIComponent("http%3a%2f%2ffaves.com%2fusers%2fred0303"));
moreDotsLink.appendChild(document.createTextNode(decodeURIComponent("34 More Faves")));
midGrey.appendChild(moreDotsLink);
var br = document.createElement("br");
midGrey.appendChild(br);
var userDotsLink = document.createElement("a");
overrideLinkInheritedCss(userDotsLink);
userDotsLink.style.color = "#8a8a8a";
userDotsLink.onmouseout = bdDotGreyLinkCssDefault;
userDotsLink.onmouseover = bdDotLinkCssHover;
userDotsLink.setAttribute("href", decodeURIComponent("http%3a%2f%2ffaves.com%2fusers%2fred0303"));
userDotsLink.appendChild(document.createTextNode("From me on Faves"));
midGrey.appendChild(userDotsLink);
dots.appendChild(midGrey);
var bottomGrey = document.createElement("div");
overrideDivInheritedCss(bottomGrey)
bottomGrey.style.background = "url(http://faves.com/images/il-grey_bottom.gif) top left no-repeat";
bottomGrey.style.height = "5px";
bottomGrey.style.margin = "0 0 0 5px";
bottomGrey.style.fontSize = "0";
dots.appendChild(bottomGrey);
imgList.appendChild(dots);
var bottom = document.createElement("div");
overrideDivInheritedCss(bottom)
bottom.style.fontSize = "0";
bottom.style.background = "url(http://faves.com/images/il-bottom.gif) top left no-repeat";
bottom.style.height = "5px";
imgList.appendChild(bottom);
parentDiv.appendChild(imgList);
}
function bdDotBackgroundColorHover(){
this.style.backgroundColor="#BBD1E8";
}
function bdDotBackgroundColorDefault(){
this.style.backgroundColor="#fff";
}
function bdDotLinkCssHover(){
this.style.color="#00385d";this.style.textDecoration="underline";
}
function bdDotLinkCssDefault(){
this.style.color="#007acd";this.style.textDecoration="none";
}
function bdDotGreyLinkCssDefault(){
this.style.color="#8a8a8a";this.style.textDecoration="none";
}
function overrideLinkInheritedCss(e){
e.style.border = "0";
e.style.textDecoration = "none";
e.style.styleFloat = "none";
e.style.display = "inline";
e.style.margin = "0";
e.style.padding = "0";
}
function overrideDivInheritedCss(e){
e.style.border = "0";
e.style.styleFloat = "none";
e.style.display = "block";
e.style.margin = "0";
e.style.padding = "0";
e.style.lineHeight = "1.2em";
}
