function func(id) {
  if (!document.getElementsByTagName) { return false; }
  var obj = document.getElementById(id);
  if (obj.style.display == "block") {
    obj.style.display = "none";
  } else {
    obj.style.display = "block";
  }
  return false;
}

function ChDsp2(strShow1,strShow2,strHidden1,strHidden2){
    var obj='';
    obj=document.all && document.all(strShow1) || document.getElementById && document.getElementById(strShow1);
    obj.style.display = "block";
    obj=document.all && document.all(strShow2) || document.getElementById && document.getElementById(strShow2);
    obj.style.display = "block";
    obj=document.all && document.all(strHidden1) || document.getElementById && document.getElementById(strHidden1);
    obj.style.display = "none";
    obj=document.all && document.all(strHidden2) || document.getElementById && document.getElementById(strHidden2);
    obj.style.display = "none";
}

 
<!--
var newsMessage = new Array(
'「SWEETS」10.01.08 from サワ',
'「六嘉湧水」10.01.07 from チルチル☆ミチル',
'「明里咲」10.01.07 from サワ',
'「ダイソーの駐車場にて...」10.01.06 from チルチル☆ミチル',
'「南阿蘇村湧水群」10.01.06 from チルチル☆ミチル',
'「新年　あけまして　おめでとうございます」10.01.01 from サワ',
'「VITALITY OF ASIAN FASHION part 1」09.12.23 from サワ',
'「ヒゴタイ大橋 in どこでも珈琲」09.12.14 from チルチル☆ミチル',
'「キャナルシティ」09.12.10 from サワ',
'「池山水源」09.12.08 from チルチル☆ミチル',
'「BARAKA」09.12.01 from サワ',
'「くちばしポーちゃん」09.12.01 from サワ',
'「トナカイ」09.12.01 from サワ',
'「アジアコレクション.5」09.12.01 from サワ',
'「アジアコレクション.4」09.12.01 from サワ',
'「アジアコレクション.3」09.12.01 from サワ',
'「アジアコレクション.2」09.12.01 from サワ',
'「アジアコレクション.1」09.12.01 from サワ',
'「09.11.28・29ANIMAL展vol.2」09.12.01 from サワ',
'「下園妙見様湧水」09.11.30 from チルチル☆ミチル',
'「名水の旅～2009.11～」09.11.27 from チルチル☆ミチル',
'「CAFE CAT & FISH」09.11.16 from サワ',
'「群青」09.11.16 from サワ',
'「くちばしピーちゃん」09.11.16 from サワ',
'「11/16珈琲が飲める帽子屋さん」09.11.10 from サワ',
'「夜に想う」09.10.28 from サワ',
'「すきまだらけのPINK」09.10.28 from サワ',
'「青い香り」09.10.28 from サワ',
'「木枯らしの色」09.10.28 from サワ',
'「twinkling」09.10.28 from サワ',
'「心つなぐ」09.10.28 from サワ',
'Loading...');
var newsLink = new Array(
'',
'http://sawasawa.hazelu.com/event/e420_sweets.html',
'http://michiru.hazelu.com/diary/post-40.html',
'http://sawasawa.hazelu.com/gallery/e416_post-121.html',
'http://michiru.hazelu.com/diary/post-38.html',
'http://michiru.hazelu.com/diary/post-37.html',
'http://sawasawa.hazelu.com/diary/e413_post-120.html',
'http://sawasawa.hazelu.com/diary/e412_vitality-of-asian-fashion-part.html',
'http://michiru.hazelu.com/diary/-in.html',
'http://sawasawa.hazelu.com/event/e409_post-119.html',
'http://michiru.hazelu.com/diary/post-36.html',
'http://sawasawa.hazelu.com/gallery/e407_baraka.html',
'http://sawasawa.hazelu.com/gallery/e406_post-118.html',
'http://sawasawa.hazelu.com/gallery/e405_post-117.html',
'http://sawasawa.hazelu.com/gallery/e404_5.html',
'http://sawasawa.hazelu.com/gallery/e403_4-1.html',
'http://sawasawa.hazelu.com/gallery/e402_3-1.html',
'http://sawasawa.hazelu.com/gallery/e401_2-2.html',
'http://sawasawa.hazelu.com/gallery/e399_1-1.html',
'http://sawasawa.hazelu.com/diary/e398_09112829animalvol2.html',
'http://michiru.hazelu.com/diary/post-35.html',
'http://michiru.hazelu.com/diary/200911.html',
'http://sawasawa.hazelu.com/diary/e392_cafe-cat-fish.html',
'http://sawasawa.hazelu.com/gallery/e395_post-116.html',
'http://sawasawa.hazelu.com/gallery/e393_post-115.html',
'http://sawasawa.hazelu.com/event/e390_-1116.html',
'http://sawasawa.hazelu.com/gallery/cat42/e388_post-114.html',
'http://sawasawa.hazelu.com/gallery/cat42/e387_pink-1.html',
'http://sawasawa.hazelu.com/gallery/cat42/e386_post-113.html',
'http://sawasawa.hazelu.com/gallery/cat42/e385_post-112.html',
'http://sawasawa.hazelu.com/gallery/cat42/e384_twinkling-1.html',
'http://sawasawa.hazelu.com/gallery/cat42/e383_post-111.html');
var inforText = ' ';
  var nIndex = 0;
  var listIndex = 0;
  var stopFlag = 1;
  var closeFlag = 1;
function loadNews(){
  if(listIndex < newsMessage.length){
  setText(newsMessage[listIndex]);
  listIndex++;
  }
  else{
  listIndex = 0;
  setText(newsMessage[listIndex]);
  }
  }
  function setText(gettext)
  {
  nIndex = 0;
  inforText = gettext;
  putText();
  }
function putText(){
	if(newsLink[listIndex] != ""){
		textData = inforText.substring(0,nIndex);
		textData = '<a href="' + newsLink[listIndex] + '">' + textData + '</a>';
		PutTextSpace.innerHTML = textData;
	}
	else{
		PutTextSpace.innerHTML = inforText.substring(0,nIndex);
	}
	
	if (nIndex < inforText.length && closeFlag == 1)
	{
		stopFlag = 1;
		nIndex++;
		setTimeout("putText()",50);
	}
	else if(stopFlag == 1){
		stopFlag++;
		closeFlag = 0;
		setTimeout("putText()",3000);
	}
	else if(nIndex > 0){
		nIndex--;
		setTimeout("putText()",30);
	}
	else{
		closeFlag = 1;
		stopFlag = 1;
		loadNews();
	}
}
function test(){
	now = new Date();
	alert(now);
}
-->
  -->
  