//youhua2.js
function show(){
if (!document.getElementById) return false;
if (!document.getElementById("case_style")) return false;
var show = document.getElementById("case_style");
show.style.width = "0px";
show.style.height = "0px";
show.style.display = "block";
movement = setTimeout("animation()",0)
}
function animation(){
if (!document.getElementById) return false;
if (!document.getElementById("case_style")) return false;
var show = document.getElementById("case_style");
var xpos = parseInt(show.style.width);
var ypos = parseInt(show.style.height);
   if (xpos == 900 && ypos == 472){
return true;
}
   if (xpos < 900){
xpos+=10
}
if (xpos > 900){
xpos-=10
}
if (ypos < 472){
ypos+=10
}
if (ypos > 472){
ypos-=10
}
   show.style.width = xpos + "px";
show.style.height = ypos + "px";
movement = setTimeout("animation()",0);
}
function show2(){
if (!document.getElementById) return false;
if (!document.getElementById("case_style")) return false;
var show = document.getElementById("case_style");
show.style.width = "900px";
show.style.height = "472px";
show.style.display = "block";
movement = setTimeout("animation2()",0)
}
function animation2(){
if (!document.getElementById) return false;
if (!document.getElementById("case_style")) return false;
var show = document.getElementById("case_style");
var xpos = parseInt(show.style.width);
var ypos = parseInt(show.style.height);
   if (xpos == 0 && ypos == 0){
return true;
}
   if (xpos < 0){
xpos+=10
}
if (xpos > 0){
xpos-=10
}
if (ypos < 0){
ypos+=10
}
if (ypos > 0){
ypos-=10
}
   show.style.width = xpos + "px";
show.style.height = ypos + "px";
movement = setTimeout("animation2()",0);
} 

