function openWin(f,t,w,h,scrollbars,resizable) {
	ww = window.open(f,t,'width='+w+',height='+h+',scrollbars,'+scrollbars+',resizable='+resizable);
	ww.focus();
}/*http://www2.ocn.ne.jp/~yoochan/decoration/JavaScript/library_dom.htmクロスブラウザ実現のための基本関数群（DOMブラウザ対応）より*/function getWindowHeight(){  if(window.innerHeight) return window.innerHeight; // Mozilla, Opera, NN4  if(document.documentElement && document.documentElement.clientHeight){ // 以下 IE   return document.documentElement.clientHeight;  }  else if(document.body && document.body.clientHeight){   return document.body.clientHeight;  }  return 0;}function getWindowWidth(){  if(window.innerWidth) return window.innerWidth; // Mozilla, Opera, NN4  if(document.documentElement && document.documentElement.clientWidth){ // 以下 IE   return document.documentElement.clientWidth;  }  else if(document.body && document.body.clientWidth){   return document.body.clientWidth;  }  return 0;}function doPreload(images){  for(i = 0; i < images.length; i++){    var img = new Image();    img.src = images[i];  }}