// JavaScript Document
function art01(){
if(document.body.clientWidth>730){
	document.getElementById('div01').style.paddingLeft=parseInt((document.body.clientWidth-650)/2)+'px'; 
	document.getElementById('yb01').style.paddingLeft=parseInt((document.body.clientWidth-650)/2)+'px'; 
	document.getElementById('div02').style.paddingLeft=parseInt((document.body.clientWidth-730)/2)+'px'; 
	document.getElementById('div03').style.left=parseInt(((document.body.clientWidth-730)/2)+150)+'px'; 
}else{
	document.getElementById('div01').style.paddingLeft=0;
	document.getElementById('yb01').style.paddingLeft=0; 
	document.getElementById('div02').style.paddingLeft=0; 
	document.getElementById('div03').style.left='150px'; 
	}
document.getElementById('div01').style.display='block';
}
function art02(h){
document.getElementById('div04').style.display='block';
document.getElementById('yb01').style.height = (10*h)+'px'; 
if(h>10){document.getElementById('div02').style.display='block';
document.getElementById('bb01').style.width = parseInt(730/19*(h-10))+'px'; }
 if (h<19) {setTimeout(function(){art02(h+1)},30);}else art03(10);
}

function art03(i){
document.getElementById('bb01').style.width = parseInt(730/19*i)+'px'; 
document.getElementById('div03').style.width = parseInt(168/9*(i-10))+'px'; 
 if (i<19) {setTimeout(function(){art03(i+1)},30);} else art04();
}

function art04(){
for(n=1;n<25;n++){
	if(document.body.clientWidth>730){
	document.getElementById('div1'+n).style.left=parseInt(((document.body.clientWidth-730)/2)+20+26*n)+'px';
}else{document.getElementById('div1'+n).style.left=(20+26*n)+'px';}}
art11(1);
}

function art11(m){
if (m<25)document.getElementById('div1'+m).style.display='block';
for (var p=0;p<24;p++){if ((m>p)&&(m<(p+11))){document.getElementById('div1'+(p+1)).style.bottom=((m-p-1)*8)+'px'; }}
for (var q=10;q<34;q++){if ((m>q)&&(m<(q+10))){document.getElementById('div1'+(q-9)).style.bottom=((q+8-m)*8)+'px'; }}
for (var r=20;r<44;r++){
	if (m==r){document.getElementById('img1'+(r-19)).style.width='22px';
if (r%2==1){document.getElementById('img1'+(r-19)).src="imgs/index_v0111.gif";}else{
	document.getElementById('img1'+(r-19)).src="imgs/index_v0110.gif";}}
}
if (m<44) {setTimeout(function(){art11(m+1)},30); }
}

function mover01(n1,p1){
	document.getElementById('test'+p1).src='imgs/'+n1+'/testico/test'+p1+'c.jpg';
}
function mout01(n2,p2){
	document.getElementById('test'+p2).src='imgs/'+n2+'/testico/test'+p2+'a.jpg';
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}