var f=0;
var y=0;
var div_obj
var div_obj1
function over(obj){
 div_obj=obj
 _f=0;
 y=0;
 document.getElementById(obj).innerHTML="";
 document.getElementById(obj).style.width="0px";
 document.getElementById(obj).style.height="1px";
 document.getElementById(obj).style.display="";
 timerDIV();
}
function over1(obj){
 div_obj1=obj
 _f=0;
 y=0;
 document.getElementById(obj).innerHTML="";
 document.getElementById(obj).style.width="0px";
 document.getElementById(obj).style.height="1px";
 document.getElementById(obj).style.display="";
 timerDIV1();
}
function out(obj){
 obj.style.display="none";
}
function out1(obj){
 obj.style.display="none";
}
function Tout(){
document.getElementById(div_obj).style.display="none";
}
function Tover(){
 document.getElementById(div_obj).style.display="";
}

function Tout1(){
document.getElementById(div_obj1).style.display="none";
}
function Tover1(){
 document.getElementById(div_obj1).style.display="";
}
function timerDIV(){
 if( _f >= 140){/*宽度*/
  objy();
  return ;
 }
 else{
  _f=_f+10;
  document.getElementById(div_obj).style.width=_f+"px";
  window.setTimeout(timerDIV,1);
 }
}

function timerDIV1(){
 if( _f >= 78){/*宽度*/
  objy1();
  return ;
 }
 else{
  _f=_f+10;
  document.getElementById(div_obj1).style.width=_f+"px";
  window.setTimeout(timerDIV1,1);
 }
}

function objy(){
 if(y >= 50){/*高度*/
  var str="<div style=\"width:50px;text-align:center;font-size:12px;margin:6px auto;line-height:20px\"><a href=\"update.aspx\">Update</a><br /><a href=\"history.aspx\" style=\"font-size:11px;\">History</a><br/><\/div>";
  document.getElementById(div_obj).innerHTML=str
  return ;
 }
 else{
  y+=6;
  document.getElementById(div_obj).style.height=y+"px"; 
  window.setTimeout(objy,1);
 }
}

function objy1(){
 if(y >= 60){/*高度*/
 
   var str="<div style=\"width:80px;float:left;font-size:12px;margin:6px;line-height:20px\"><a href=\"pic/Closeups.html\" style=\"font-size:11px;\">Close Ups</a><br /><a href=\"Storephoto.aspx\">Store Photo</a><br/><\/div>";
  document.getElementById(div_obj1).innerHTML=str
 
  return ;
 }
 else{
  y+=6;
  document.getElementById(div_obj1).style.height=y+"px"; 
  window.setTimeout(objy1,1);
 }
}
