function openwindow(){
window.open("special/winkup/061207/1207winkup.html","","width=320,height=450,left=0,top=0,status=yes,resizable=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=yes'");
}
function openwindow2(){
window.open("special/hanachu/061227/1227hanachu.html","","width=320,height=450,left=0,top=0,status=yes,resizable=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=yes'");
}
function openwindow3(){
window.open("special/seventeen/070105/0105seven.html","","width=320,height=600,left=0,top=0,status=yes,resizable=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=yes'");
}
function openwindow4(){
window.open("special/popteen/070601popteen/070601popteen.html","","width=320,height=450,left=0,top=0,status=yes,resizable=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=yes'");
}
function openwindow5(){
window.open("special/seventeen/0701seven/0701seven.html","","width=320,height=600,left=0,top=0,status=yes,resizable=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=yes'");
}
function openwindow6(){
window.open("special/hanachu/0707hana/0707hanachu.html","","width=320,height=450,left=0,top=0,status=yes,resizable=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=yes'");
}
function openwindow7(){
window.open("special/myojo/0823myojo/0823myojo.html","","width=320,height=450,left=0,top=0,status=yes,resizable=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=yes'");
}
function openwindow8(){
window.open("special/special/winkup/071207/1207winkup.html","","width=320,height=450,left=0,top=0,status=yes,resizable=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=yes'");
}
function openwindow9(){
window.open("special/hanachu/071227hana/1227hanachu.html","","width=320,height=450,left=0,top=0,status=yes,resizable=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=yes'");
}
function openwindow10(){
window.open("special/seventeen/071227seven/1227seven.html","","width=320,height=450,left=0,top=0,status=yes,resizable=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=yes'");
}
function openwindow11(){
window.open("special/popteen/080201pop/080201popteen.html","","width=320,height=450,left=0,top=0,status=yes,resizable=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=yes'");
}
CSInit = new Array;
function CSScriptInit() {
if(typeof(skipPage) != "undefined") { if(skipPage) return; }
idxArray = new Array;
for(var i=0;i<CSInit.length;i++)
	idxArray[i] = i;
CSAction2(CSInit, idxArray);}
CSAg = window.navigator.userAgent; CSBVers = parseInt(CSAg.charAt(CSAg.indexOf("/")+1),10);
function IsIE() { return CSAg.indexOf("MSIE") > 0;}
function CSIEStyl(s) { return document.all.tags("div")[s].style; }
function CSNSStyl(s) { return CSFindElement(s,0); }
function CSFindElement(n,ly) { if (CSBVers < 4) return document[n];
	var curDoc = ly ? ly.document : document; var elem = curDoc[n];
	if (!elem) { for (var i=0;i<curDoc.layers.length;i++) {
		elem = CSFindElement(n,curDoc.layers[i]); if (elem) return elem; }}
	return elem;
}

function CSClickReturn () {
	var bAgent = window.navigator.userAgent; 
	var bAppName = window.navigator.appName;
	if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/3") >= 0) && (bAgent.indexOf("Mac") >= 0))
		return true; // dont follow link
	else return false; // dont follow link
}

function CSButtonReturn () {
	var bAgent = window.navigator.userAgent; 
	var bAppName = window.navigator.appName;
	if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/3") >= 0) && (bAgent.indexOf("Mac") >= 0))
		return false; // follow link
	else return true; // follow link
}

CSIm = new Object();
function CSIShow(n,i) {
	if (document.images) {
		if (CSIm[n]) {
			var img = (!IsIE()) ? CSFindElement(n,0) : document[n];
			if (img && typeof(CSIm[n][i].src) != "undefined") {img.src = CSIm[n][i].src;}
			if(i != 0)
				self.status = CSIm[n][3];
			else
				self.status = " ";
			return true;
		}
	}
	return false;
}
function CSILoad(action) {
	im = action[1];
	if (document.images) {
		CSIm[im] = new Object();
		for (var i=2;i<5;i++) {
			if (action[i] != '') { CSIm[im][i-2] = new Image(); CSIm[im][i-2].src = action[i]; }
			else CSIm[im][i-2] = 0;
		}
		CSIm[im][3] = action[5];
	}
}
CSStopExecution = false;
function CSAction(array) { 
	return CSAction2(CSAct, array);
}
function CSAction2(fct, array) { 
	var result;
	for (var i=0;i<array.length;i++) {
		if(CSStopExecution) return false; 
		var actArray = fct[array[i]];
		if(actArray == null) return false; 
		var tempArray = new Array;
		for(var j=1;j<actArray.length;j++) {
			if((actArray[j] != null) && (typeof(actArray[j]) == "object") && (actArray[j].length == 2)) {
				if(actArray[j][0] == "VAR") {
					tempArray[j] = CSStateArray[actArray[j][1]];
				}
				else {
					if(actArray[j][0] == "ACT") {
						tempArray[j] = CSAction(new Array(new String(actArray[j][1])));
					}
				else
					tempArray[j] = actArray[j];
				}
			}
			else
				tempArray[j] = actArray[j];
		}			
		result = actArray[0](tempArray);
	}
	return result;
}
CSAct = new Object;

CSInit[CSInit.length] = new Array(CSILoad,/*CMP*/'button',/*URL*/'img/get01.gif',/*URL*/'img/get2.gif',/*URL*/'','');


function HpbImgPreload()
{
  var appVer=parseInt(navigator.appVersion);
  var isNC=false,isN6=false,isIE=false;
  if (document.all && appVer >= 4) isIE=true; else
    if (document.getElementById && appVer > 4) isN6=true; else
      if (document.layers && appVer >= 4) isNC=true;
  if (isNC||isN6||isIE)
  {
    if (document.images)
    {
      var imgName = HpbImgPreload.arguments[0];
      var cnt;
      swImg[imgName] = new Array;
      for (cnt = 1; cnt < HpbImgPreload.arguments.length; cnt++)
      {
        swImg[imgName][HpbImgPreload.arguments[cnt]] = new Image();
        swImg[imgName][HpbImgPreload.arguments[cnt]].src = HpbImgPreload.arguments[cnt];
      }
    }
  }
}

function HpbImgFind(doc, imgName)
{
  for (var i=0; i < doc.layers.length; i++)
  {
    var img = doc.layers[i].document.images[imgName];
    if (!img) img = HpbImgFind(doc.layers[i], imgName);
    if (img) return img;
  }
  return null;
}

function HpbImgSwap(imgName, imgSrc)
{
  var appVer=parseInt(navigator.appVersion);
  var isNC=false,isN6=false,isIE=false;
  if (document.all && appVer >= 4) isIE=true; else
    if (document.getElementById && appVer > 4) isN6=true; else
      if (document.layers && appVer >= 4) isNC=true;
  if (isNC||isN6||isIE)
  {
    if (document.images)
    {
      var img = document.images[imgName];
      if (!img) img = HpbImgFind(document, imgName);
      if (img) img.src = imgSrc;
    }
  }
}
var swImg; swImg=new Array;


HpbImgPreload('_HPB_ROLLOVER1', 'img/cut1.jpg', 'img/cut11.jpg');
HpbImgPreload('_HPB_ROLLOVER2', 'img/cut2.jpg', 'img/cut21.jpg');
HpbImgPreload('_HPB_ROLLOVER3', 'img/cut3.jpg', 'img/cut31.jpg');
HpbImgPreload('_HPB_ROLLOVER4', 'img/cut4.jpg', 'img/cut41.jpg');
HpbImgPreload('_HPB_ROLLOVER5', 'img/cut5.jpg', 'img/cut51.jpg');
HpbImgPreload('_HPB_ROLLOVER6', 'img/cut6.jpg', 'img/cut61.jpg');
HpbImgPreload('_HPB_ROLLOVER7', 'img/cut7.jpg', 'img/cut71.jpg');
HpbImgPreload('_HPB_ROLLOVER8', 'img/cut8.jpg', 'img/cut81.jpg');
HpbImgPreload('_HPB_ROLLOVER9', 'img/cut9.jpg', 'img/cut91.jpg');
HpbImgPreload('_HPB_ROLLOVER10', 'img/cut10.jpg', 'img/cut101.jpg');
