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(
'「帽子と花展 vol.2終了」10.05.31 from サワ',
'「帽子と花展 vol.2コラボ作品」10.05.30 from サワ',
'「FRENCH Kiss」10.05.30 from サワ',
'「雨に光が滲む頃」10.05.30 from サワ',
'「萌え出ずる」10.05.30 from サワ',
'「南風の予感」10.05.30 from サワ',
'「雨上がりの大輪」10.05.30 from サワ',
'「エーデルワイス」10.05.30 from サワ',
'「SUNSHINE GIRL」10.05.30 from サワ',
'「merry」10.05.30 from サワ',
'「DEAR MASSU」10.05.30 from サワ',
'「帽子と花展 vol.2」10.05.02 from サワ',
'「くちばしピーちゃん」10.05.01 from サワ',
'「今日感テレビに帽子だけ出演♪」10.04.30 from サワ',
'「2010.05.27〜30 帽子と花展vol.2」10.04.30 from サワ',
'「2010.6.3THE MUSE」10.04.25 from サワ',
'「VIORO★HAKATA JAPAN」10.04.21 from サワ',
'「2010黄金町桜祭り」10.04.11 from サワ',
'「ゴスロリribbon」10.03.11 from サワ',
'「ゴスロリmini hat」10.03.11 from サワ',
'「大丸エルガーラでの帽子受注会」10.03.11 from サワ',
'「台湾　ファッションショー」10.02.26 from サワ',
'「博多織　紗×献上」10.02.26 from サワ',
'「80s beach resort　博多織」10.02.26 from サワ',
'「博多織　ベレー」10.02.26 from サワ',
'「博多織　紗×献上」10.02.26 from サワ',
'「for kids」10.02.26 from サワ',
'「sawa koyanagi × NEFERTARI」10.02.09 from サワ',
'「sawaでーす」10.02.09 from サワ',
'「strawberry bubble」10.02.09 from サワ',
'「candy bird」10.02.09 from サワ',
'Loading...');
var newsLink = new Array(
'',
'http://sawasawa.hazelu.com/diary/e461_-vol2-2.html',
'http://sawasawa.hazelu.com/gallery/cat38/e471_-vol2-3.html',
'http://sawasawa.hazelu.com/gallery/e470_french-kiss.html',
'http://sawasawa.hazelu.com/gallery/hat/e469_post-144.html',
'http://sawasawa.hazelu.com/gallery/e468_post-143.html',
'http://sawasawa.hazelu.com/gallery/e467_post-142.html',
'http://sawasawa.hazelu.com/gallery/e466_post-141.html',
'http://sawasawa.hazelu.com/gallery/hat/e465_post-140.html',
'http://sawasawa.hazelu.com/gallery/e464_sunshine-girl.html',
'http://sawasawa.hazelu.com/gallery/e463_merry.html',
'http://sawasawa.hazelu.com/gallery/e462_dear-massu.html',
'http://sawasawa.hazelu.com/event/e456_-vol2-1.html',
'http://sawasawa.hazelu.com/gallery/e459_post-139.html',
'http://sawasawa.hazelu.com/event/e455_post-138.html',
'http://sawasawa.hazelu.com/gallery/heads-hats/e458_2010052730-vol2.html',
'http://sawasawa.hazelu.com/gallery/e460_201063the-muse.html',
'http://sawasawa.hazelu.com/event/e454_viorohakata-japan.html',
'http://sawasawa.hazelu.com/diary/e453_2010.html',
'http://sawasawa.hazelu.com/gallery/e452_ribbon.html',
'http://sawasawa.hazelu.com/gallery/e451_mini-hat.html',
'http://sawasawa.hazelu.com/diary/e450_post-137.html',
'http://sawasawa.hazelu.com/gallery/cat42/e449_post-136.html',
'http://sawasawa.hazelu.com/gallery/e448_post-135.html',
'http://sawasawa.hazelu.com/gallery/e447_80s-beach-resort.html',
'http://sawasawa.hazelu.com/gallery/e446_post-134.html',
'http://sawasawa.hazelu.com/gallery/e445_post-133.html',
'http://sawasawa.hazelu.com/gallery/e444_for-kids.html',
'http://sawasawa.hazelu.com/gallery/e443_sawa-koyanagi-nefertari.html',
'http://sawasawa.hazelu.com/gallery/e442_saw.html',
'http://sawasawa.hazelu.com/gallery/e441_post-132.html',
'http://sawasawa.hazelu.com/gallery/e440_post-131.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);
}
-->
  -->
  