function qq_process(){var testTable = document.getElementById('kftencent');while(testTable.hasChildNodes()){testTable.removeChild(testTable.lastChild);}addRow_withInsert('2220795506','顾珉','2542397176','仲丛蕾');} //广告处理 var piaofuggprocess = []; function gg_process(){ if( 'L1' == 'L1' ){ openwindowsth( "", 0 ); }else if( document.getElementById( 'GG_' + 'L1' ) != null && "" != "" ){ document.getElementById( 'GG_' + 'L1' ).innerHTML = ""; } if( 'L1' == 'L2' ){ openwindowsth( "", 307 ); }else if( document.getElementById( 'GG_' + 'L1' ) != null && "" != "" ){ document.getElementById( 'GG_' + 'L1' ).innerHTML = ""; } if( 'L1' == 'L3' ){ openwindowsth( "", 307 * 2 ); }else if( document.getElementById( 'GG_' + 'L1' ) != null && "" != "" ){ document.getElementById( 'GG_' + 'L1' ).innerHTML = ""; } if( 'L1' == 'P1' || 'L1' == 'P2' ){ //piaofugg( "" ); piaofuggprocess.push( "" ); } if( 'L1' == 'A1' && "" == '' ){ if( document.getElementById( 'GG_A1' ) != null ) document.getElementById( 'GG_A1' ).style.height = ''; } if( 'L1' == 'A2' && "" == '' ){ if( document.getElementById( 'GG_A2' ) != null ) document.getElementById( 'GG_A2' ).style.height = ''; } if( 'T1' == 'L1' ){ openwindowsth( "
", 0 ); }else if( document.getElementById( 'GG_' + 'T1' ) != null && "
" != "" ){ document.getElementById( 'GG_' + 'T1' ).innerHTML = "
"; } if( 'T1' == 'L2' ){ openwindowsth( "
", 307 ); }else if( document.getElementById( 'GG_' + 'T1' ) != null && "
" != "" ){ document.getElementById( 'GG_' + 'T1' ).innerHTML = "
"; } if( 'T1' == 'L3' ){ openwindowsth( "
", 307 * 2 ); }else if( document.getElementById( 'GG_' + 'T1' ) != null && "
" != "" ){ document.getElementById( 'GG_' + 'T1' ).innerHTML = "
"; } if( 'T1' == 'P1' || 'T1' == 'P2' ){ //piaofugg( "
" ); piaofuggprocess.push( "
" ); } if( 'T1' == 'A1' && "
" == '' ){ if( document.getElementById( 'GG_A1' ) != null ) document.getElementById( 'GG_A1' ).style.height = ''; } if( 'T1' == 'A2' && "
" == '' ){ if( document.getElementById( 'GG_A2' ) != null ) document.getElementById( 'GG_A2' ).style.height = ''; } if( 'T2' == 'L1' ){ openwindowsth( "
", 0 ); }else if( document.getElementById( 'GG_' + 'T2' ) != null && "
" != "" ){ document.getElementById( 'GG_' + 'T2' ).innerHTML = "
"; } if( 'T2' == 'L2' ){ openwindowsth( "
", 307 ); }else if( document.getElementById( 'GG_' + 'T2' ) != null && "
" != "" ){ document.getElementById( 'GG_' + 'T2' ).innerHTML = "
"; } if( 'T2' == 'L3' ){ openwindowsth( "
", 307 * 2 ); }else if( document.getElementById( 'GG_' + 'T2' ) != null && "
" != "" ){ document.getElementById( 'GG_' + 'T2' ).innerHTML = "
"; } if( 'T2' == 'P1' || 'T2' == 'P2' ){ //piaofugg( "
" ); piaofuggprocess.push( "
" ); } if( 'T2' == 'A1' && "
" == '' ){ if( document.getElementById( 'GG_A1' ) != null ) document.getElementById( 'GG_A1' ).style.height = ''; } if( 'T2' == 'A2' && "
" == '' ){ if( document.getElementById( 'GG_A2' ) != null ) document.getElementById( 'GG_A2' ).style.height = ''; } if( 'P1' == 'L1' ){ openwindowsth( "", 0 ); }else if( document.getElementById( 'GG_' + 'P1' ) != null && "" != "" ){ document.getElementById( 'GG_' + 'P1' ).innerHTML = ""; } if( 'P1' == 'L2' ){ openwindowsth( "", 307 ); }else if( document.getElementById( 'GG_' + 'P1' ) != null && "" != "" ){ document.getElementById( 'GG_' + 'P1' ).innerHTML = ""; } if( 'P1' == 'L3' ){ openwindowsth( "", 307 * 2 ); }else if( document.getElementById( 'GG_' + 'P1' ) != null && "" != "" ){ document.getElementById( 'GG_' + 'P1' ).innerHTML = ""; } if( 'P1' == 'P1' || 'P1' == 'P2' ){ //piaofugg( "" ); piaofuggprocess.push( "" ); } if( 'P1' == 'A1' && "" == '' ){ if( document.getElementById( 'GG_A1' ) != null ) document.getElementById( 'GG_A1' ).style.height = ''; } if( 'P1' == 'A2' && "" == '' ){ if( document.getElementById( 'GG_A2' ) != null ) document.getElementById( 'GG_A2' ).style.height = ''; } if( 'KS' == 'L1' ){ openwindowsth( "", 0 ); }else if( document.getElementById( 'GG_' + 'KS' ) != null && "" != "" ){ document.getElementById( 'GG_' + 'KS' ).innerHTML = ""; } if( 'KS' == 'L2' ){ openwindowsth( "", 307 ); }else if( document.getElementById( 'GG_' + 'KS' ) != null && "" != "" ){ document.getElementById( 'GG_' + 'KS' ).innerHTML = ""; } if( 'KS' == 'L3' ){ openwindowsth( "", 307 * 2 ); }else if( document.getElementById( 'GG_' + 'KS' ) != null && "" != "" ){ document.getElementById( 'GG_' + 'KS' ).innerHTML = ""; } if( 'KS' == 'P1' || 'KS' == 'P2' ){ //piaofugg( "" ); piaofuggprocess.push( "" ); } if( 'KS' == 'A1' && "" == '' ){ if( document.getElementById( 'GG_A1' ) != null ) document.getElementById( 'GG_A1' ).style.height = ''; } if( 'KS' == 'A2' && "" == '' ){ if( document.getElementById( 'GG_A2' ) != null ) document.getElementById( 'GG_A2' ).style.height = ''; } if( topalertgg != '' ){ document.body.innerHTML = topalertgg + document.body.innerHTML; setTimeout( "closeallwindows();", 20000 ); } for( var i = 0; i < piaofuggprocess.length; ++i ){ piaofugg( piaofuggprocess[i] ); } for( var i = 0; i < piaofucount; ++i ){ piaofuobj[i] = new piaofuaction( document.getElementById( 'piaofugg' + i ) ); setInterval( "piaofuobj[" + i + "].changPos();", 100 ); } } //弹出广告和漂浮广告处理 openwindowcount = 0; var topalertgg = ""; function openwindowsth( divstr, startx){ var windiv = document.createElement('div'); windiv.id="openwindows"+openwindowcount; windiv.innerHTML = "
" + divstr + "
"; topalertgg += "
" + windiv.innerHTML + "
"; openwindowcount++; windiv.style.width = 5000; windiv.style.zIndex = 200; windiv.style.left = startx; windiv.style.top = 2; } //可以关闭 function closeallwindows(){ //clearTimeout( openwintimer ); for( i = 0; i" + ggstr + ""; document.body.innerHTML = ggstr + document.body.innerHTML; //piaofuobj[piaofucount] = new piaofuaction( document.getElementById( 'piaofugg' + piaofucount ) ); //setInterval( "piaofuobj[" + piaofucount + "].changPos();", 100 ); piaofucount++; } function closewindows(id){ document.body.removeChild(document.getElementById("openwindows"+id)); } //漂浮动作 function piaofuaction( obj ){ var xPos = Math.round(Math.random()*800); var yPos = document.body.clientHeight; var step = 1; var delay = 100;//30; var height = 0; var Hoffset = 0; var Woffset = 0; var yon = 0; var xon = 0; var pause = true; var interval; var width = 0; obj.style.top = yPos; this.changPos = function() { width = document.body.clientWidth; height = document.body.clientHeight; Hoffset = obj.offsetHeight; Woffset = obj.offsetWidth; obj.style.left = xPos + document.body.scrollLeft; obj.style.top = yPos + document.body.scrollTop; if (yon) { yPos = yPos + step; }else { yPos = yPos - step; } if (yPos < 0) { yon = 1; yPos = 0; } if (yPos >= (height - Hoffset)) { yon = 0; yPos = (height - Hoffset); } if (xon) { xPos = xPos + step; }else { xPos = xPos - step; } if (xPos <0) { xon = 1; xPos = 0; } if (xPos >= (width - Woffset)) { xon = 0; xPos = (width - Woffset); } } } function _hiddenspdiv( divobj ){ var str = 'ggsp_showdiv_'; var strflag = divobj.id; var tp = strflag.split( "_" ); var divname = str + tp[1]; if( document.getElementById( divname ) != null ){ document.getElementById( divname ).style.display = 'none' ; } } function _showspdiv( divobj ){ var str = 'ggsp_showdiv_'; var strflag = divobj.id; var tp = strflag.split( "_" ); var divname = str + tp[1]; if( document.getElementById( divname ) != null ){ document.getElementById( divname ).style.display = "block" ; } } gg_process(); qq_process(); duilian(); window.onresize = myche; window.onscroll = myche;