// JavaScript Document
/**/
var N = 300; //¸ß¶È
function noneAds(){
 var dvid = document.getElementById('ad1Index');
 if(N>30){
  N = N-5;
 }else{
  return;
 }
 if(N<=30){
  document.getElementById('adIndex').style.display = "";
  dvid.style.background = "#ffffff";
  dvid.style.display = "none";
  N = 300;
  return;
 }
  dvid.style.height = N+"px";
  setTimeout("noneAds()",30); 
}
var M=30;
function showAds(){
 var dvid = document.getElementById('ad1Index');
 if(M < 300){
  M = M+8;
 }else{
  return;
 }
 if(M >= 30){
  document.getElementById('adIndex').style.display = "none";
  dvid.style.display = "";
  //return;
 }
 if(M < 300){
  dvid.style.height = M+"px";
 }else{
  dvid.style.height = "300px";
  M = 30;
  return;
 }
  setTimeout("showAds()",30);
  
}
window.onload = function loadAds(){
  setTimeout("noneAds()",3000);
}


