﻿// JScript 文件
function TopAd()
{
    var strTopAd="";
	
	//定义小图片内容
    var topSmallBanner="<div></div>";
	

		//定义大图内容
        strTopAd="<div id=adimage style=\"width:950px\">"+
                    "<div id=adBig><a href=\"/servlet/wa/Channel?handle=news_detail&newsId=675\" " + 
                    "target=_blank><img "+
                    "src=\"/hd/2011/01/a1.gif\" " +
                    "border=0></A><a href=\"/servlet/wa/Channel?handle=news_detail&newsId=677\" " + 
                    "target=_blank><img "+
                    "src=\"/hd/2011/01/a2.gif\" " +
                    "border=0></A></div>"+
                    "<div id=adSmall style=\"display: none\">";
        //strTopAd+=  topFlash;     
		strTopAd+=  topSmallBanner;  
        strTopAd+=  "</div></div>";


    strTopAd+="<div style=\"height:7px; clear:both;overflow:hidden\"></div>";
    return strTopAd;
}
document.write(TopAd());
$(function(){
	//过两秒显示 showImage(); 内容
    setTimeout("showImage();",30000);
    //alert(location);
});
function showImage()
{
    $("#adBig").slideUp(1000,function(){$("#adSmall").slideDown(1000);$("#slideBanner").hide();});
}


