function login(){
	try{
document.getElementById('main_index').style.display='block';
document.getElementById("Userlogin").src="/jayqqindexlogin.php"
	}
	
	catch(e){
window.open('../Forum/')
		}
}

document.write('<div id="main_JAYQQ_COM">');
document.write('<table width="260" border="0" cellpadding="3" cellspacing="1" id="table" align="center">');
document.write('  <tr>');
document.write('    <td><font color="#FFFFFF"><b>JAYQQ.COM - 用户登录</b></font></td>');
document.write('    <td align="right"><a onClick="closeme()" 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="155">');
document.write('<iframe id="Userlogin" name="Userlogin" 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_index"> </div>');



function reg(){
	try{
document.getElementById('main_index2').style.display='block';
document.getElementById("Userreg").src="../reg.php"
	}
	
	catch(e){
window.open('../reg.php')
		}
}

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>');


