function login(){
	try{
document.getElementById('main_index').style.display='block';
document.getElementById("Userlogin").src="../jayqqindexlogin.asp"
	}
	
	catch(e){
window.open('../Forum/')
		}
}
var loginnr;
loginnr=('<div id="main_JAYQQ_COM">');
loginnr+=('<table width="260" border="0" cellpadding="3" cellspacing="1" id="table" align="center">');
loginnr+=('  <tr>');
loginnr+=('    <td><font color="#FFFFFF"><b>JAYQQ.COM - 用户登录</b></font></td>');
loginnr+=('    <td align="right"><a onClick="closeme()" style="cursor:pointer"><img src="/images/dialogclose.gif" border=0></a></td>');
loginnr+=(' </tr>');
loginnr+=('  <tr align="center">');
loginnr+=('<td colspan="2" width="98%" bgcolor="#FFFFFF" height="155">');
loginnr+=('<iframe id="Userlogin" name="Userlogin" width="95%" style="margin:0" frameborder="0" height="95%" scrolling="no" src="../jayqq-window/loading.htm"></iframe>');
loginnr+=('</td>');
loginnr+=('  </tr>');
loginnr+=('</table>');
loginnr+=('</div>');
loginnr+=('<div id="main_index"> </div>');
document.write(loginnr);




function reg(){
	try{
document.getElementById('main_index2').style.display='block';
document.getElementById("Userreg").src="../reg.asp"
	}
	
	catch(e){
window.open('../reg.asp')
		}
}

document.write('<div id="main_JAYQQ_COM2">');
document.write('<table width="340" border="0" cellpadding="3" cellspacing="1" id="table2" align="center">');
document.write('  <tr>');
document.write('    <td><font color="#FFFFFF"><b>JAYQQ.COM - 用户注册</b></font></td>');
document.write('    <td align="right"><a onClick="close_me()" style="cursor:pointer"><img src="/images/dialogclose.gif" border=0></a></td>');
document.write(' </tr>');
document.write('  <tr align="center">');
document.write('<td colspan="2" width="98%" bgcolor="#FFFFFF" height="200">');
document.write('<iframe id="Userreg" name="Userreg" width="95%" style="margin:0" frameborder="0" height="95%" scrolling="no" src="/jayqq-window/loading.htm"></iframe>')
document.write('</td>');
document.write('  </tr>');
document.write('</table>');
document.write('</div>');
document.write('<div id="main_index2"> </div>');

function jayqq_video(){
	try{
document.getElementById("video").src="../video.htm"
	}
	
	catch(e){
window.open('../video.htm')
		}
}
document.write('<div id="main_JAYQQ_COM_video">');
document.write('<table width="520" border="0" cellpadding="3" cellspacing="1" id="table_video" align="center">');
document.write('  <tr>');
document.write('    <td><font color="#FFFFFF"><b>JAYQQ.COM - 推荐视频</b></font></td>');
document.write('    <td align="right"><a onClick="close_video()" style="cursor:pointer"><img src="/images/dialogclose.gif" border=0></a></td>');
document.write(' </tr>');
document.write('  <tr align="center">');
document.write('<td colspan="2" width="100%" bgcolor="#FFFFFF" height="385">');
document.write('<iframe id="video" name="video" width="100%" style="margin:0" frameborder="0" height="100%" scrolling="no" src="/jayqq-window/loading.htm"></iframe>')
document.write('</td>');
document.write('  </tr>');
document.write('</table>');
document.write('</div>');
document.write('<div id="main_index_video"> </div>');

