// JavaScript Document

function toggleWidget(targetId, linkId) {
    if(document.getElementById) {
    target=document.getElementById(targetId);
    targetLink=document.getElementById(linkId);
        if(target.style.display=="block") {
        target.style.display="none";
        targetLink.firstChild.nodeValue="[ show it ]";
   } else {
    target.style.display="block";
    targetLink.firstChild.nodeValue="[ hide it ]";
   }
  }
 }


function changeText(tag) {
if(document.getElementsByTagName) {
var els=document.getElementsByTagName(tag);
for (i=0; i<els.length; i++) {
if(els[i].firstChild.nodeValue!=null && els[i].className=='blogger-labels') {
els[i].firstChild.nodeValue=' '
els[i].style.background='transparent url(/images/tag_blue_xt.gif) left 5px no-repeat';
els[i].style.paddingLeft='22px';
}
}
 }
  }
  
  function popUp(url) {
	window.open(url);
  }