document.write("<div class='top_adgg'>");
document.write("<div class='top_adgg_right'>");
document.write("<ul>");
document.write("<li><a href='http://www.yfu.cn/e/member/register/'>注册会员</a></li>");
document.write("<li><a href='http://www.yfu.cn/e/tool/gbook/?bid=1'>留言建议</a></li>");
document.writeln("<li><span onclick=\"var strHref=window.location.href;this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http:\/\/www.yfu.cn\');\" style=\"CURSOR: hand\">设为首页<\/span>");
document.writeln("<\/li>")
document.write("</ul>");
document.write("</div>");
document.write("<div class='top_adgg_left'>");

var ad = parseInt(Math.random()*5+1); //里面的5可以改得到一个1至5的随机数值
switch(ad){
case 1:
document.write("<a href='http://cd.yfu.cn/'><img src='http://www.yfu.cn/img/ggao/200809_100001.gif' alt='2012-13年春夏时装发布会图片光盘' border='0' /></a>") // 广告的JS代码，上面以此类推。
break;
case 2:
document.write("<a href='http://www.yfu.cn/'><img src='http://www.yfu.cn/img/ggao/ty_top01.gif' alt='中国服装款式网' border='0' /></a>")
break;
case 3:
document.write("<a href='http://cd.yfu.cn/la12cx/'><img src='http://www.yfu.cn/img/ggao/ty_top03.gif' alt='2012春夏时装秀款式光盘' border='0' /></a>")
break;
case 4:
document.write("<a href='http://cd.yfu.cn/show/'><img src='http://www.yfu.cn/img/ggao/ty_top02.gif' alt='时装秀视频DVD-时装店播放的最佳选择' border='0' /></a>")
break;
case 5:
document.write("<a href='http://cd.yfu.cn/'><img src='http://www.yfu.cn/img/ggao/200809_100001.gif' alt='2012-13年春夏时装秀款式光盘' border='0' /></a>")
break;
}

document.write("</div>");
document.write("<div class='clear'> </div>");
document.write("</div>");
