var kefu='http:KF666.vip/'; var ybty_link = { kyApp:'https://www.446yvi.vip:7988/?i_code=92041201', kytyApp:'https://www.446yvi.vip:7988/?i_code=92041201', kyPc:'https://www.smz7p4.vip:9013/register/?i_code=92041201', kyH5:'https://www.ru4fxi.vip:8003/entry/register/?i_code=92041201', ayxApp:'https://www.b0f6ca.vip:6501/?i_code=9371808', ayxPc:'https://www.4o51w.vip:7988/register?i_code=9371808', ayxH5:'https://www.y66s0o.vip:6501/entry/register/?i_code=9371808', jyApp:'https://www.rtyjwg.vip:9553/?i_code=22055190', jyPc:'https://www.4o51w.vip:7988/register?i_code=22055190', jyH5:'https://www.mv53n5.vip:6002/entry/register/?i_code=22055190', } function isPc(){ if(window.navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)) { return false; // 移动端 }else{ return true; // PC端 } } function _Reg(key){ if((key.indexOf('kyH5')>=0 || key.indexOf('ayxH5')>=0 || key.indexOf('jyH5')>=0) && isPc() ){ switch (key) { case 'kyH5': window.open(ybty_link['kyPc']); break; case 'ayxH5': window.open(ybty_link['ayxPc']); break; case 'jyH5': window.open(ybty_link['jyPc']); break; } } else{ window.open(ybty_link[key]); } } function _Kefu(){ if(kefu){window.open(kefu);} }