function setFocus1Hottopics(i)
{
  switch(i)
 {
 case 1:
document.getElementById("DivInPicturesIndex0").style.display="block";
 document.getElementById("DivInPicturesIndex1").style.display="none";
 document.getElementById("DivInPicturesIndex2").style.display="none";
 document.getElementById("DivInPicturesIndex3").style.display="none";
 break;
 case 2:
 document.getElementById("DivInPicturesIndex0").style.display="none";
 document.getElementById("DivInPicturesIndex1").style.display="block";
 document.getElementById("DivInPicturesIndex2").style.display="none";
 document.getElementById("DivInPicturesIndex3").style.display="none";
 break;
 case 3:
 document.getElementById("DivInPicturesIndex0").style.display="none";
 document.getElementById("DivInPicturesIndex1").style.display="none";
 document.getElementById("DivInPicturesIndex2").style.display="block";
 document.getElementById("DivInPicturesIndex3").style.display="none";
 break;
  case 4:
 document.getElementById("DivInPicturesIndex0").style.display="none";
 document.getElementById("DivInPicturesIndex1").style.display="none";
 document.getElementById("DivInPicturesIndex2").style.display="none";
 document.getElementById("DivInPicturesIndex3").style.display="block";
 break;
 }
}

function emailFriend(title,EmailAdd) {
            var doc = "mailto:"+EmailAdd + "?subject=" + escape(title.replace("#douhao#","'")) + "&body=" + escape("");
            window.location = doc;
}

function openWin(u, w, h) {
            var l = (screen.width - w) / 2;
            var t = (screen.height - h) / 2;
            var s = 'width=' + w + ', height=' + h + ', top=' + t + ', left=' + l;
            s += ',toolbar=no, scrollbars=yes, menubar=yes, location=no, resizable=no';
            open(u, 'oWin', s);
      }
