/* -*-java-*- */

/* ***  BeginFuncrion ***************************
  $B%\%?%s$G;XDj$5$l$?(BURL$B$K(B post$B%a%=%C%I$G0\F0$9$k(B
  -----------------------------------------------
***********************************************/
function Post_goToURL(action_page){
  window.document.form1.action = action_page;
  window.document.form1.method = "post";
  window.document.form1.submit();
}
/* ***  EndFuncrion *****************************/


/* ***  BeginFuncrion ***************************
  $B%\%?%s$G;XDj$5$l$?(BURL$B$K(B Send$B%a%=%C%I$G0\F0$9$k(B
  -----------------------------------------------
***********************************************/
function Send_goToURL(action_page){
  window.document.form1.head_id.value = window.document.form1.head_id.value;
  window.document.form1.action = action_page;
  window.document.form1.method = "get";
  window.document.form1.submit();
}
/***  EndFuncrion *****************************/

var nYPos;
var nTimer;
function SampleStartMove()
{
  //NN$B$N>l9g(B
  if (navigator.appName=="Netscape")
    {
      //$B2hLL$N0LCV$r<hF@(B
      nYPos = window.pageYOffset;
      //NN4
      if(document.layers)
	{
	  //$B%l%$%d!<$NI}$H9b$5$r%^%&%9:BI8$K%;%C%H(B
	  document.layerSample.left = 0;
	  document.layerSample.top = nYPos+150;
	}
      //NN6
      else
	{
	  document.getElementById("layerSample").style.left = 0;
	  document.getElementById("layerSample").style.top = nYPos+150;
	}
    }
  //IE$B$N>l9g(B
  if (document.all)
    {
      //$B2hLL$N0LCV$r<hF@(B
      nYPos = document.body.scrollTop;
      //$B%l%$%d!<$NI}$H9b$5$r:BI8$K%;%C%H(B
      layerSample.style.left = 0;
      layerSample.style.top = nYPos+150;
    }
  nTimer=setTimeout("SampleStartMove()",100);
}

/**
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;
self.onError=null;
currentX = currentY = 0;
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
function Branding() {
if(IE) { diffY = document.body.scrollTop; diffX = document.body.scrollLeft; }
if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
if(diffY != lastScrollY) {
percent = .5 * (diffY - lastScrollY);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.BrdIE.style.pixelTop += percent;
if(NS) document.Brd.top += percent;
lastScrollY = lastScrollY + percent;
}
if(diffX != lastScrollX) {
percent = .5 * (diffX - lastScrollX);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.Brd_IE.style.pixelLeft += percent;
if(NS) document.Brd.left += percent;
lastScrollX = lastScrollX + percent;
}
}
if(NS || IE) action = window.setInterval("Branding()",1);
**/
