var topbannnerh=0;	 
var div2in;
div2in=0;
/*
function topbannerover() {
	Obj=document.getElementById("topbanner");
	Obj.style.display="none";
	topbannnerh=0;
}
*/
function restr(num,str) {
	switch (num) {
		case 1://我的七彩谷
			str=str+'<tr><td>　<a href="/my7cv/index.php?righttype=0" target="_top">登录/取消登录/注册</a> <a href="/my7cv/index.php?righttype=1" target="_top">信息修改</a> <a href="/my7cv/index.php?righttype=2" target="_top">订单查询</a> <a href="/my7cv/index.php?righttype=3" target="_top">七彩币查询</a> <a href="/my7cv/index.php?righttype=4" target="_top">我的留言板</a> <a href="/my7cv/index.php?righttype=5" target="_top">心仪商品</a> <a href="/my7cv/index.php?righttype=6" target="_top">浏览过的商品</a> <a href="/kfzx/e_print/e_print.htm" target="_top">七彩谷E周刊</a></td></tr>';	
			break;
		case 2://客服中心
			str=str+'<tr><td>　<a href="/kfzx/index.php?righttype=00" target="_top">新手上路</a> <a href="/kfzx/index.php?righttype=03" target="_top">订购方式</a> <a href="/kfzx/index.php?righttype=08" target="_top">配送方式</a> <a href="/kfzx/index.php?righttype=12" target="_top">付款方式</a> <a href="/kfzx/index.php?righttype=20" target="_top">订单查询</a> <a href="/kfzx/index.php?righttype=24" target="_top">服务保证</a> <a href="/kfzx/index.php?righttype=26" target="_top">客户优惠</a> <a href="/kfzx/index.php?righttype=28" target="_top">客户意见</a> <a href="/kfzx/index.php?righttype=31" target="_top">常见问题FAQ</a> <a href="/kfzx/index.php?righttype=33" target="_top">联系我们</a> <a href="/kfzx/e_print/e_print.htm" target="_top">七彩谷E周刊</a></td></tr>';	
			break;
		case 10://保健品
			str=str+'<tr><td>　<a href="/sub_health.php?cid=900" target="_top" class="ta1"><font color="#000000">美容</font></a> <a href="/keepfat.php" target="_top" class="ta1"><font color="#000000">瘦身</font></a> <a href="/sub_health.php?cid=144" target="_top" class="ta1"><font color="#000000">营养补充</font></a> <a href="/sub_health.php?cid=145" target="_top" class="ta1"><font color="#000000">抗疲劳衰老</font></a> <a href="/sub_health.php?cid=147" target="_top" class="ta1"><font color="#000000">免疫力增强</font></a> <a href="/sub_health.php?cid=148" target="_top" class="ta1"><font color="#000000">睡眠记忆</font></a> <a href="/sub_health.php?cid=149" target="_top" class="ta1"><font color="#000000">丰胸美乳</font></a> <a href="/sub_health.php?cid=153" target="_top" class="ta1"><font color="#000000">保肝</font></a> <a href="/sub_health.php?cid=481" target="_top" class="ta1"><font color="#000000">保健器材</font></a> <a href="/sub_health.php?cid=479" target="_top" class="ta1"><font color="#000000">运动营养</font></a> <a href="/sub_health.php?cid=146" target="_top" class="ta1"><font color="#000000">心脑血管</font></a> <a href="/sub_health.php?cid=1272" target="_top" class="ta1"><font color="#000000">更年期保健</font></a> <a href="/sub_health.php?cid=831" target="_top" class="ta1"><font color="#000000">护目</font></a> <a href="/sub_health.php?cid=917" target="_top" class="ta1"><font color="#000000">胃肠保健</font></a></td></tr>';
			break;
		case 11://壮阳
			str=str+'<tr><td>　<a href="/sub_zengda.php?cid=862" target="_top"><font color="#FFFFFF">阴茎增大</font></a> <a href="/sub_zengda.php?cid=863" target="_top"><font color="#FFFFFF">壮阳助勃</font></a> <a href="/sub_zengda.php?cid=865" target="_top"><font color="#FFFFFF">外用延时</font></a> <a href="/sub_zengda.php?cid=864" target="_top"><font color="#FFFFFF">滋补调理</font></a> <a href="/sub_zengda.php?cid=1219" target="_top"><font color="#FFFFFF">欧美精品</font></a> <a href="/sub_zengda.php?cid=1222" target="_top"><font color="#FFFFFF">国产精品</font></a> <a href="/sub_zengda.php?cid=1216" target="_top"><font color="#FFFFFF">套装分类</font></a> <a href="/products.php" target="_top"><font color="#FFFFFF">成人用品</font></a> <a href="/bycys.php" target="_top"><font color="#FFFFFF">避孕测孕</font></a></td></tr>';
			break;
		case 12://内衣
			str=str+'<tr><td>　<a href="/sub_neiyi.php?cid=273" target="_top"><font color="#FFFFFF">无底开裆</font></a> <a href="/sub_neiyi.php?cid=506" target="_top"><font color="#FFFFFF">露乳</font></a> <a href="/sub_neiyi.php?cid=975" target="_top"><font color="#FFFFFF">游戏装</font></a> <a href="/sub_neiyi.php?cid=270" target="_top"><font color="#FFFFFF">紧身衣</font></a> <a href="/sub_neiyi.php?cid=272" target="_top"><font color="#FFFFFF">超短裙</font></a> <a href="/sub_neiyi.php?cid=269" target="_top"><font color="#FFFFFF">睡裙</font></a> <a href="/sub_neiyi.php?cid=426" target="_top"><font color="#FFFFFF">肚兜</font></a> <a href="/sub_neiyi.php?cid=268" target="_top"><font color="#FFFFFF">三点式</font></a> <a href="/sub_neiyi.php?cid=277" target="_top"><font color="#FFFFFF">文胸</font></a> <a href="/sub_neiyi.php?cid=267" target="_top"><font color="#FFFFFF">内裤</font></a> <a href="/sub_neiyi.php?cid=274" target="_top"><font color="#FFFFFF">丝袜吊袜带</font></a> <a href="/sub_neiyi.php?cid=697" target="_top"><font color="#FFFFFF">精品</font></a> <a href="/sub_neiyi.php?cid=1027" target="_top"><font color="#FFFFFF">泳装</font></a> <a href="/sub_neiyi.php?cid=271" target="_top"><font color="#FFFFFF">两件套</font></a> <a href="/sub_neiyi.php?cid=1038" target="_top"><font color="#FFFFFF">内衣套装</font></a> <a href="/sub_neiyi.php?cid=1061" target="_top"><font color="#FFFFFF">无痕系列</font></a> <a href="/sub_neiyi.php?cid=276" target="_top"><font color="#FFFFFF">家居服</font></a></td></tr>';
			break;
		case 13://化妆品
			if (location.hostname != 'china.7cv.com') {
			str=str+'<tr><td>　<a href="/sub_cosmetic.php?cid=764" target="_top"><font color="#FFFFFF">护肤类</font></a>　<a href="/sub_cosmetic.php?cid=765" target="_top"><font color="#FFFFFF">彩妆类</font></a>　<a href="/perfume.php" target="_top"><font color="#FFFFFF">香水类</font></a>　<a href="/sub_cosmetic.php?cid=766" target="_top"><font color="#FFFFFF">美发类</font></a>　<a href="/sub_cosmetic.php?cid=766" target="_top"><font color="#FFFFFF">洗护类</font></a>　<a href="/sub_cosmetic.php?cid=548" target="_top"><font color="#FFFFFF">套装礼盒</font></a>　<a href="/sub_cosmetic.php?cid=1268" target="_top"><font color="#FFFFFF">男士专区</font></a>　<a href="/keepfat.php" target="_top"><font color="#FFFFFF">美体瘦身</font></a>　<a href="/sub_health.php?cid=149" target="_top"><font color="#FFFFFF">丰胸美乳</font></a>　<a href="/perfumepinpai.php" target="_top"><font color="#FFFFFF">知名品牌</font></a></td></tr>';
			} else {
			str=str+'<tr><td>　<a href="/sub_cosmetic.php?cid=764" target="_top"><font color="#FFFFFF">护肤类</font></a>　<a href="/sub_cosmetic.php?cid=765" target="_top"><font color="#FFFFFF">彩妆类</font></a>　<a href="/perfume.php" target="_top"><font color="#FFFFFF">香水类</font></a>　<a href="/sub_cosmetic.php?cid=766" target="_top"><font color="#FFFFFF">美发类</font></a>　<a href="/sub_cosmetic.php?cid=766" target="_top"><font color="#FFFFFF">洗护类</font></a>　<a href="/sub_cosmetic.php?cid=548" target="_top"><font color="#FFFFFF">套装礼盒</font></a>　<a href="/perfumepinpai.php" target="_top"><font color="#FFFFFF">知名品牌</font></a>　<a href="/sub_health.php?cid=900" target="_top"><font color="#FFFFFF">美容</font></a>　<a href="/keepfat.php" target="_top"><font color="#FFFFFF">瘦身</font></a>　<a href="/sub_health.php?cid=149" target="_top"><font color="#FFFFFF">丰胸美乳</font></a>　<a href="/sub_gerenhuli.php?cid=525" target="_top"><font color="#FFFFFF">止脱生发</font></a>　<a href="/sub_gerenhuli.php?cid=527" target="_top"><font color="#FFFFFF">祛斑除疤</font></a>　<a href="/sub_gerenhuli.php?cid=531" target="_top"><font color="#FFFFFF">特效护肤</font></a>  <a href="/sub_gerenhuli.php?cid=526" target="_top"><font color="#FFFFFF">脱毛</font></a>　<a href="/sub_gerenhuli.php?cid=667" target="_top"><font color="#FFFFFF">洗浴</font></a>　<a href="/sub_gerenhuli.php?cid=924" target="_top"><font color="#FFFFFF">祛痘</font></a></td></tr>';
			} 
			break;
		case 14://个人护理
			str=str+'<tr><td>　<a href="/sub_gerenhuli.php?cid=530" target="_top"><font color="#FFFFFF">香熏精油</font></a> <a href="/sub_gerenhuli.php?cid=525" target="_top"><font color="#FFFFFF">止脱生发</font></a> <a href="/sub_gerenhuli.php?cid=527" target="_top"><font color="#FFFFFF">祛斑除疤</font></a> <a href="/sub_gerenhuli.php?cid=528" target="_top"><font color="#FFFFFF">口腔护理</font></a> <a href="/sub_gerenhuli.php?cid=529" target="_top"><font color="#FFFFFF">男士洁阴</font></a> <a href="/sub_gerenhuli.php?cid=1282" target="_top"><font color="#FFFFFF">女士洁阴</font></a> <a href="/sub_gerenhuli.php?cid=531" target="_top"><font color="#FFFFFF">特效护肤</font></a> <a href="/sub_gerenhuli.php?cid=1318" target="_top"><font color="#FFFFFF">电视购物</font></a> <a href="/sub_gerenhuli.php?cid=928" target="_top"><font color="#FFFFFF">足部护理</font></a> <a href="/sub_gerenhuli.php?cid=526" target="_top"><font color="#FFFFFF">脱毛</font></a> <a href="/sub_gerenhuli.php?cid=667" target="_top"><font color="#FFFFFF">洗浴</font></a> <a href="/sub_gerenhuli.php?cid=924" target="_top"><font color="#FFFFFF">祛痘</font></a> <a href="/sub_gerenhuli.php?cid=648" target="_top"><font color="#FFFFFF">优惠套装</font></a> <a href="/sub_gerenhuli.php?cid=1302" target="_top"><font color="#FFFFFF">母婴防护</font></a></td></tr>';
			break;
		case 15://避孕测孕
			str=str+'<tr><td>　<a href="/sub_bycys.php?cid=881" target="_top"><font color="#FFFFFF">安全套</font></a> <a href="/sub_bycys.php?cid=883"><font color="#FFFFFF">避孕检测</font></a> <a href="/sub_bycys.php?cid=877"><font color="#FFFFFF">滋养润滑</font></a> <a href="/sub_bycys.php?cid=882"><font color="#FFFFFF">口服避孕</font></a> <a href="/sub_bycys.php?cid=884"><font color="#FFFFFF">外用避孕</font></a> <a href="/sub_bycys.php?cid=861"><font color="#FFFFFF">性病防护</font></a> <a href="/sub_bycys.php?cid=1193"><font color="#FFFFFF">优惠套装</font></a> <a href="/products.php"><font color="#FFFFFF">成人用品</font></a> <a href="/zengda.php"><font color="#FFFFFF">滋补壮阳</font></a></td></tr>';
			break;
		case 16://成人用品
			str=str+'<tr><td>　<a href="/sub_product.php?cid=857" target="_top"><font color="#FFFFFF">助情类</font></a>　<a href="/sub_product.php?cid=855" target="_top"><font color="#FFFFFF">男用系列</font></a>　<a href="/sub_product.php?cid=856" target="_top"><font color="#FFFFFF">女用系列</font></a>　<a href="/sub_product.php?cid=858" target="_top"><font color="#FFFFFF">调情系列</font></a>　<a href="/sub_product.php?cid=860" target="_top"><font color="#FFFFFF">皮革服饰系列</font></a>　<a href="/sub_product.php?cid=1002" target="_top"><font color="#FFFFFF">优惠套装</font></a>　<a href="/zengda.php" target="_top"><font color="#FFFFFF">滋补壮阳</font></a>　<a href="/bycys.php" target="_top"><font color="#FFFFFF">避孕测孕</font></a></td></tr>';
			break;
		case 17://精品街
			str=str+'<tr><td>　<font color="#FFFFFF">鲜花</font>　<font color="#FFFFFF">925纯银</font>　<a href="http://www.yeedee.net/?id=17" target="_blank"><font color="#FFFFFF">饰品</font></a>　<font color="#FFFFFF">汽车用品</font>　<font color="#FFFFFF">男士增高鞋</font></td></tr>';
			//str=str+'<tr><td>　<a href="http://www.sunnyflower.net/" target="_blank"><font color="#FFFFFF">鲜花</font></a>　<a href="http://www.5fashion.com/index.jsp?from=7cv1" target="_blank"><font color="#FFFFFF">925纯银</font></a>　<a href="http://www.yeedee.net/?id=17" target="_blank"><font color="#FFFFFF">饰品</font></a>　<a href="http://www.autosup.com" target="_blank"><font color="#FFFFFF">汽车用品</font></a>　<a href="http://zenggao.mooxoo.com/" target="_blank"><font color="#FFFFFF">男士增高鞋</font></a></td></tr>';
			break;
		case 20://文字版
			str=str+'<tr><td>　<a href=/sub_text.php?productclass=004>成人用品</a>　<a href=/sub_text.php?productclass=007>情趣内衣</a>　<a href=/sub_text.php?productclass=003>保健品</a>　<a href=/sub_text.php?cid=854&productclass=001>滋补壮阳</a>　<a href=/sub_text.php?cid=859&productclass=005>避孕测孕</a>　<a href=/sub_text.php?productclass=008>化妆品</a>　<a href=/sub_text.php?productclass=012>个人护理</a></tr></td>';
			break;
		case 21://男性专区
			str=str+'<tr><td>　<a href="/sub_product.php?cid=746" target="_top">口服壮阳类</a> <a href="/sub_product.php?cid=747" target="_top">外用延时壮阳类</a>  <a href="/sub_health.php?cid=748" target="_top">性功能保健类</a> <a href="/sub_product.php?cid=855" target="_top">自慰器具类</a> <a href="/sub_bycys.php?cid=881" target="_top">安全套类</a> <a href="/sub_bycys.php?cid=861" target="_top">性病防护类</a> <a href="/sub_gerenhuli.php?cid=752" target="_top">修颜理容类</a> <a href="/sub_health.php?cid=936" target="_top">健美强身类</a> <a href="/sub_cosmetic.php?cid=753" target="_top">男用化妆品</a> <a href="/sub_neiyi.php?cid=745" target="_top">男士内衣</a></td></tr>';
			break;
		case 22://女性专区
			str=str+'<tr><td>　<a href="/sub_product.php?cid=858" target="_top">调情嬉戏类</a> <a href="/sub_product.php?cid=875" target="_top">外用助情类</a> <a href="/sub_product.php?cid=856" target="_top">自慰器具类</a> <a href="/sub_gerenhuli.php?cid=759">洁阴杀菌类</a> <a href="/sub_health.php?cid=760" target="_top">美容瘦身类</a> <a href="/sub_health.php?cid=761" target="_top">丰胸美乳类</a> <a href="/sub_cosmetic.php?cid=762" target="_top">女用化妆品</a> <a href="/sub_neiyi.php?cid=754" target="_top">女士性感内衣</a></td></tr>';
			break;
		case 23://新品上架
			str=str+'<tr><td>　<a href="/newthirty/newarrival.php?cid=101&productclass=004" target="_top">成人用品</a>　<a href="/sub_neiyi_newarrival.php?cid=103" target="_top">情趣内衣</a>　<a href="/newthirty/newarrival.php?cid=102&productclass=003" target="_top">保健品</a>　<a href="/newthirty/newarrival.php?cid=854&productclass=001" target="_top">滋补壮阳</a>　<a href="/newthirty/newarrival.php?cid=859&productclass=005" target="_top">避孕测孕</a>　<a href="/newthirty/newarrival.php?cid=108&productclass=012" target="_top">个人护理</a>　<a href="/newthirty/newarrival.php?cid=100&productclass=008" target="_top">化妆品</a></td></tr>';
			break;
		case 24://清仓
			str=str+'<tr><td>　<a href="/qc/qclist.php?cid=101&productclass=004" target="_top">成人用品</a>　<a href="/qc/qclist_ny.php?cid=103&productclass=007" target="_top">情趣内衣</a>　<a href="/qc/qclist.php??cid=102&productclass=003" target="_top">保健品</a>　<a href="/qc/qclist.php?cid=108&productclass=012" target="_top">个人护理</a></td></tr>';
			break;
		case 25://排行榜
			str=str+'<tr><td>　<a href="/topthirty/productsthirty.php?productclass=004" target="_top">成人用品</a>　<a href="/topthirty/neiyi_top.php?productclass=007" target="_top">情趣内衣</a>　<a href="/topthirty/healthtop.php?productclass=003" target="_top">保健品</a>　<a href="/topthirty/topthirty_zengda.php?productclass=001" target="_top">滋补壮阳</a>　<a href="/topthirty/topthirty_bycys.php?productclass=005" target="_top">避孕测孕</a>　<a href="/topthirty/perfumetop.php?productclass=012" target="_top">化妆品</a>　<a href="/topthirty/grhltop.php?productclass=012" target="_top">个人护理</a></td></tr>';
			break;
		case 26://周周特价
			str=str+'<tr><td>　<a href="/kfzx/sale/index.php#1" target="_top">VIP专区</a>　<a href="/kfzx/sale/index.php#2" target="_top">七彩币</a>　<a href="/kfzx/sale/index.php#3" target="_top">七彩币连环送</a>　<a href="/kfzx/sale/index.php#4" target="_top">七彩谷优惠券使用规则</a>　<a href="/kfzx/sale/index.php#5" target="_top">七彩谷购物券使用规则</a></td></tr>';
			break;
		}
		return str;
}
function toph(toph)
{
	var s,siteUrl,toph;
	toph=0;//默认
	s=document.location+"";
    	siteUrl=s.substring(7,s.indexOf('/',7));
	if (siteUrl == "joyo.7cv.com" || siteUrl == "7cv.163.com" || siteUrl == "163.7cv.com" || siteUrl == "7cv.cn.tom.com" || siteUrl == "www.lovebay.com" || siteUrl == "shol.7cv.com" || siteUrl == "maybud.7cv.com" || siteUrl == "6688.7cv.com")
		toph=90;
	else {
	if (siteUrl=="7cv.china.com")
		toph=140;
	if (siteUrl=="china.7cv.com")
		toph=90;
	if (siteUrl=="mall.7cv.com")
		toph=0;
	if (siteUrl=="tom.7cv.com")
		toph=190;
	if (siteUrl=="7cv.igo5.com" || siteUrl=="igo5.7cv.com")
		toph=78;
	if (siteUrl=="263.7cv.com")
		toph=130;
	if (siteUrl=="mm137.7cv.com")
		toph=100;
	if (siteUrl=="dangdang.7cv.com")
		toph=110;
	if (siteUrl=="0556.7cv.com")
		toph=155;
	if (siteUrl=="21cnmall.7cv.com")
		toph=115;
	if (siteUrl=="7cv.yuliao.cn")
		toph=155;
	if (siteUrl=="tjonline.7cv.com")
		toph=155;
	/*
	if (siteUrl=="cchot.7cv.com")
		toph=105;
	*/
	if (siteUrl=="7cv.cobuy.com.cn")
		toph=20;
	if (siteUrl=="8848.7cv.com")
		toph=190;
	if (siteUrl=="7cv.cobuy.com.cn")
		toph=120;
	if (siteUrl=="xilu.7cv.com")
		toph=50;
	if (siteUrl=="joyo2.7cv.com" || siteUrl == "joyonew.7cv.com")
		toph=0;
	if (siteUrl=="7cv.beehot.com.cn")
		toph=0;
	if (siteUrl=="chinanews.7cv.com")
		toph=0;
	if (siteUrl=="eastday.7cv.com")
		toph=180;
	/*
	if (siteUrl=="yahoo.7cv.com")
		toph=125;
	*/
	if (siteUrl=="51eh.7cv.com")
		toph=133;
	if (siteUrl=="xa.7cv.com")
		toph=150;
	}
	toph+=topbannnerh;	
	return toph;
}
function local(num,divflag)
{
	var str,toph1;
	toph1=toph(90);
	if (num < 10) {
		Obj.style.top=40+toph1;
		Obj.style.width=640;
		Obj.style.backgroundColor='#DFDFDF';
			str='<table width="640" height="30" border="0" cellspacing="0" cellpadding="0" class="table2">';
		if (screen.width == 1024)
			Obj.style.left=123+113;
		else
			Obj.style.left=11+113;
	}
	if (num >= 10 && num < 20){
		Obj.style.top=76+toph1;
		Obj.style.width=703;
		if (divflag=='index') {
			str='<table width="703" height="31" border="0" cellspacing="0" cellpadding="0" class="table2">';
		} else {
			str='<table width="703" height="30" border="0" cellspacing="0" cellpadding="0">';
		}
		if (screen.width == 1024)
			Obj.style.left=123+50;
		else
			Obj.style.left=11+50;
	}
	if (num >= 20){
		Obj.style.top=106+div2in+toph1;
		Obj.style.width=733;
		Obj.style.backgroundColor='#DFDFDF';
		str='<table width="733" height="30" border="0" cellspacing="0" cellpadding="0" class="table2">';
		if (screen.width == 1024)
			Obj.style.left=123+20;
		else
			Obj.style.left=11+20;
	}
	return str;
}
function colorchoose(num) {
	switch (num) {
		case 10://保健品
		    	Obj.style.backgroundColor='#ADDF00';
			break;
		case 11://壮阳
			Obj.style.backgroundColor='#FF5400';
			break;
		case 12://内衣
			Obj.style.backgroundColor='#FF4CA9';
			break;
		case 13://化妆品
			Obj.style.backgroundColor='#A800FF';
			break;
		case 14://个人护理
			Obj.style.backgroundColor='#CEAE29';
			break;
		case 15://避孕测孕
			Obj.style.backgroundColor='#00A6CF';
			break;
	    	case 16://成人用品
		    	Obj.style.backgroundColor='#D61400';
            		break;
		case 17://精品街
		    Obj.style.backgroundColor='#00A8FF';
			break;
		}
}
function hide(me) 
{
if (me.style.visibility=="show" || me.style.visibility=="visible")
		me.style.visibility=(bw.ns4)?'hide':'hidden';
}
function show(me) 
{
if (me.style.visibility=="hide" || me.style.visibility=="hidden")
		me.style.visibility=(bw.ns4)?'show':'visible';
}
function con1(num) {
	Obj=document.getElementById("div1");
	var str;
	var divflag='index';
	str=local(num,divflag);
	show(Obj);
	str1=restr(num,str);
	colorchoose(num);
	str1=str1+'</table>';
	if (bw.ns4){
		Obj.document.write(str1);
		Obj.document.close();
	} else {
		Obj.innerHTML = str1;
	}
	if (num >=10 && num <=17) {
		for (i=10;i<=17;i++) {
			Objc=document.getElementById("channel"+i);
			Objc.style.color="#FFFFFF";
		}
		Objc=document.getElementById("channel"+num);
		Objc.style.color="#000000";
	}
}
function con2()
{
	Obj=document.getElementById("div1");
	hide(Obj);
}
function con3()
{
	Obj=document.getElementById("div1");
	Obj.style.visibility=(bw.ns4)?'show':'visible';
}
function div2init(num)
{
	Obj=document.getElementById("div2");
	var str2;
	var divflag='other';
    	str2=local(num,divflag);
	str2=str2+restr(num,str2);
	str2=str2+"</table>";
	if (bw.ns4){
		Obj.document.write(str2);
		Obj.document.close();
	} else {
		Obj.innerHTML = str2;
	}
	show(Obj);
	div2in=22;
}
