﻿document.write('<div style="position:absolute; top:-35px;"><a href="http://www.rayli.com.cn/vs/" target="_blank"><img src="http://www.rayli.com.cn/vs/vs/images/menu_03.jpg" style="cursor:pointer" onmouseover="chege(1)" id="imgnam1" width="104" height="26" align="absmiddle" border="0" /></a><a href="http://www.rayli.com.cn/vs/shipin10.html" target="_blank"><img src="http://www.rayli.com.cn/vs/vs/images/menu_04.jpg" style="cursor:pointer" onmouseover="chege(2)" onmouseout="outech(2)" id="imgnam2" width="111" height="26" align="absmiddle" border="0" /></a><a href="http://www.rayli.com.cn/vs/huodong.html" target="_blank"><img src="http://www.rayli.com.cn/vs/vs/images/menu_05.jpg" style="cursor:pointer" onmouseover="chege(3)" onmouseout="outech(3)" id="imgnam3" width="106" height="26" align="absmiddle" border="0" /></a><a href="http://www.rayli.com.cn/vs/list.html" target="_blank"><img src="http://www.rayli.com.cn/vs/vs/images/menu_06.jpg" style="cursor:pointer" onmouseover="chege(4)" id="imgnam4" width="109" height="26" align="absmiddle" border="0" /></a><a href="http://www.vs.com.cn/" target="_blank"><img src="http://www.rayli.com.cn/vs/vs/images/menu_07.jpg" style="cursor:pointer" onmouseover="chege(5)" id="imgnam5" width="84" height="26" align="absmiddle" border="0" /></a><a href="http://shenghuojia.taobao.com/shop/xshop/wui_page-cat-57895461-117308789-ybPQ+w==.htm" target="_blank"><img src="http://www.rayli.com.cn/vs/vs/images/menu_08.jpg" style="cursor:pointer" onmouseover="chege(6)" id="imgnam6" width="92" height="26" align="absmiddle" border="0" /></a><img src="http://www.rayli.com.cn/vs/vs/images/top1_09.gif" width="63" height="26" align="absmiddle" border="0" /></div>');
document.write('    <div id="hddiv2" onmouseover="overid(2)" onmouseout="outech(2)" style="display:none;position:absolute; width:111px; left:104px; top:-5px; background:#2C2C2C">');

document.write('    	<div onMouseOver="this.style.background=\'#000\';" onMouseOut="this.style.background=\'#2C2C2C\'" style="width:91px; height:18px; clear:both; padding:4px 0 0 20px;" class="txtc"><a href="http://www.rayli.com.cn/vs/shipin.html ">第一期视频</a></div>');
document.write('        <div onMouseOver="this.style.background=\'#000\'" onMouseOut="this.style.background=\'#2C2C2C\'" style="width:91px; height:18px; clear:both; padding:4px 0 0 20px;" class="txtc"><a href="http://www.rayli.com.cn/vs/shipin2.html ">第二期视频</a></div>');
document.write('        <div onMouseOver="this.style.background=\'#000\'" onMouseOut="this.style.background=\'#2C2C2C\'" style="width:91px; height:18px; clear:both; padding:4px 0 0 20px;" class="txtc"><a href="http://www.rayli.com.cn/vs/shipin3.html ">第三期视频</a></div>');
document.write('        <div onMouseOver="this.style.background=\'#000\'" onMouseOut="this.style.background=\'#2C2C2C\'" style="width:91px; height:18px; clear:both; padding:4px 0 0 20px;" class="txtc"><a href="http://www.rayli.com.cn/vs/shipin4.html ">第四期视频</a></div>');
document.write('        <div onMouseOver="this.style.background=\'#000\'" onMouseOut="this.style.background=\'#2C2C2C\'" style="width:91px; height:18px; clear:both; padding:4px 0 0 20px;" class="txtc"><a href="http://www.rayli.com.cn/vs/shipin5.html ">第五期视频</a></div>');
document.write('        <div onMouseOver="this.style.background=\'#000\'" onMouseOut="this.style.background=\'#2C2C2C\'" style="width:91px; height:18px; clear:both; padding:4px 0 0 20px;" class="txtc"><a href="http://www.rayli.com.cn/vs/shipin6.html ">第六期视频</a></div>');
document.write('        <div onMouseOver="this.style.background=\'#000\'" onMouseOut="this.style.background=\'#2C2C2C\'" style="width:91px; height:18px; clear:both; padding:4px 0 0 20px;" class="txtc"><a href="http://www.rayli.com.cn/vs/shipin7.html ">第七期视频</a></div>');
document.write('        <div onMouseOver="this.style.background=\'#000\'" onMouseOut="this.style.background=\'#2C2C2C\'" style="width:91px; height:18px; clear:both; padding:4px 0 0 20px;" class="txtc"><a href="http://www.rayli.com.cn/vs/shipin8.html ">第八期视频</a></div>');
document.write('        <div onMouseOver="this.style.background=\'#000\'" onMouseOut="this.style.background=\'#2C2C2C\'" style="width:91px; height:18px; clear:both; padding:4px 0 0 20px;" class="txtc"><a href="http://www.rayli.com.cn/vs/shipin9.html ">第九期视频</a></div>');
document.write('        <div onMouseOver="this.style.background=\'#000\'" onMouseOut="this.style.background=\'#2C2C2C\'" style="width:91px; height:18px; clear:both; padding:4px 0 0 20px;" class="txtc"><a href="http://www.rayli.com.cn/vs/shipin10.html ">第十期视频</a></div>');
document.write('    </div>');
    
document.write('    <div id="hddiv3" onmouseover="overid(3)" onmouseout="outech(3)" style="display:none;position:absolute; width:111px; left:215px; top:-5px; background:#2C2C2C">');
document.write('    	<div onMouseOver="this.style.background=\'#000\'" onMouseOut="this.style.background=\'#2C2C2C\'" style="width:91px; height:18px; clear:both; padding:4px 0 0 20px;" class="txtc"><a href="http://www.rayli.com.cn/vs/ceshi.html">第一期活动</a></div>');
document.write('        <div onMouseOver="this.style.background=\'#000\'" onMouseOut="this.style.background=\'#2C2C2C\'" style="width:91px; height:18px; clear:both; padding:4px 0 0 20px;" class="txtc"><a href="http://www.rayli.com.cn/vs/huodong.html">第二期活动</a></div>');
document.write('        <div onMouseOver="this.style.background=\'#000\'" onMouseOut="this.style.background=\'#2C2C2C\'" style="width:91px; height:18px; clear:both; padding:4px 0 0 20px;" class="txtc"><a href="http://www.rayli.com.cn/vs/vs/huodong3.html">第三期活动</a></div>');
       
document.write('    </div>');
    

var imgname=new Array();
var imgnameon=new Array();
for (i=1;i<7;i++){
	imgname[i]=new Image();
	imgname[i].src="http://www.rayli.com.cn/vs/vs/images/menu_0"+(i+2)+".jpg";
	imgnameon[i]=new Image();
	imgnameon[i].src="http://www.rayli.com.cn/vs/vs/images/menu2_0"+(i+2)+".jpg";
	
}
var scrollItv;
function chege(n){
	for (i=1;i<7;i++){
		document.getElementById("imgnam"+i).src=imgname[i].src;
	}
	document.getElementById("imgnam"+n).src=imgnameon[n].src;
	overid(n);
}

function overid(n){
	if (document.getElementById("hddiv"+n)){
		clearTimeout(scrollItv);
		if (n==2){
			document.getElementById("hddiv2").style.display="block"
			document.getElementById("hddiv3").style.display="none"
		}
		if (n==3){
			document.getElementById("hddiv3").style.display="block"
			document.getElementById("hddiv2").style.display="none"
		}
	}
}
function outech(n){
	
	scrollItv = setTimeout(function(){
								document.getElementById("hddiv"+n).style.display="none";
							},500);

	
}

