<!--Rollovers
/*
	Standards Compliant Rollover Script
	Author : Daniel Nolan
	http://www.bleedingego.co.uk/webdev.php
*/

function initRollovers() {
	if (!document.getElementById) return
	
	var aPreLoad = new Array();
	var sTempSrc;
	var aImages = document.getElementsByTagName('img');

	for (var i = 0; i < aImages.length; i++) {		
		if (aImages[i].className == 'imgover') {
			var src = aImages[i].getAttribute('src');
			var ftype = src.substring(src.lastIndexOf('.'), src.length);
			var hsrc = src.replace(ftype, '_f2'+ftype);

			aImages[i].setAttribute('hsrc', hsrc);
			
			aPreLoad[i] = new Image();
			aPreLoad[i].src = hsrc;
			
			aImages[i].onmouseover = function() {
				sTempSrc = this.getAttribute('src');
				this.setAttribute('src', this.getAttribute('hsrc'));
			}	
			
			aImages[i].onmouseout = function() {
				if (!sTempSrc) sTempSrc = this.getAttribute('src').replace('_f2'+ftype, ftype);
				this.setAttribute('src', sTempSrc);
			}
		}
	}
}

window.onload = initRollovers;

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

//-->

<!--�window open

imgwin = '';
function img_win_open(img)
{
  if (img != '')
  { 
    image=new Image(); 
    image.src=(img);
    img_win_openWin(img,image.width,image.height,0,0);
  }
}
function img_win_openWin(img,width,height,sb,rs)
{
  if (img != '')
  {
    if(imgwin !='')
    {
      imgwin.close();
    }
    opt="width="+width+",height="+height+",scrollbars="+sb+",resizable="+rs;
    imgwin=window.open('','_blank',opt);

    imgwin.document.open();
    imgwin.document.writeln("<html><head><title>"+img+"</title></head>");
    imgwin.document.writeln("<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>");
    imgwin.document.writeln("<div><img src='"+img+"'></div></body></html>"); 
    imgwin.document.close();

    imgwin.focus(); 
  }
}
//-->

<!--�window close

function check_win()
{
	if ((navigator.userAgent.indexOf("Mac","Win")> -2))
	{
		if(window.opener) window.close(); else window.location.href='http://www.000.jp/';
	}else{
		if(!window.opener.closed) window.close(); else window.location.href='http://www.000.jp/';
	}
}

//-->

<!--style none
  function showhide(id){
    if(document.getElementById){
      if(document.getElementById(id).style.display == "block"){
        document.getElementById(id).style.display = "none";
      }else{
        document.getElementById(id).style.display = "block";
      }
    }
  }
//-->