    var time = 100;
    var h = 0;
    function addCount()
    {
        if(time>0)
        {
            time--;
            h = h+5;
        }
        else
        {
            return;
        }
        if(h>410)  //高度
        {
            return;
        }
        document.getElementById("ads").style.display = "";
        document.getElementById("ads").style.height = h+"px";
        setTimeout("addCount()",30); 
    }
    
    window.onload = function showAds()
    {
        addCount();
        setTimeout("noneAds()",1000); //停留时间自己适当调整
    } 



function $aaa(element) {
  if (typeof element == 'string')
    element = document.getElementById(element);
  return element;
}
var currTId = null;
var currDId = null;
function mouseOver(obj,tag0,tag1,id)
{
if( currTId!=null)
{
 if($aaa(currTId)) $aaa(currTId).style.display="block";
 if($aaa(currDId)) $aaa(currDId).style.display="none";	   
}	
var Tid = tag0 + id;
var Did = tag1 + id;
if($aaa(Tid)) $aaa(Tid).style.display="none";	   
if($aaa(Did)) $aaa(Did).style.display="block";	  
currTId = Tid;
currDId = Did;
}
function AddToDonateShoppingCart(product_id)
{
	var popup=window.open(url,"shoppingcart");
	popup.focus()
}
window.onerror=function()
{
	return true;
}
		function tabs_z(o,o2,n,nm,cm){
			var m_n = document.getElementById(o).getElementsByTagName(nm);
			var c_n = document.getElementById(o2).getElementsByTagName(cm);
			for(b=0;b<m_n.length;b++){
				 m_n[b].className=b==n?"bots":"botnos";
 				 c_n[b].className=b==n?"dis":"undis";
				 }
		}	
