无为清净楼资源网 Design By www.qnjia.com
var iconwar = "<img src=\/AliImages\/icon_war.gif align=absmiddle \/> ";
var iconload = "<img src=\/AliImages\/ajaxload.gif align=absmiddle \/> ";
var badstr = "!&^#|%$)(-+/?<>@`~';:{}[],=\".\\";
var badsql = "!&^|+/?<>`~'=";
var $show = function (e) {try{document.getElementById(e).style.display="";} catch(e) {} };
var $hide = function (e) {try{document.getElementById(e).style.display="none";} catch(e) {} };
var $W = document.write;
var reurl,js_UserName;
reurl = document.referrer;
if (reurl=="")
{
reurl = "/index.html";
}
function onDisplay(id) {
if (document.getElementById(id).style.display == 'none') {
$show(id);
}
else {
$hide(id);
}
}
function onLabelTxt(id,LabelID,ShowTxt,HideTxt) {
if (document.getElementById(id).style.display == 'none') {
$show(id);
document.getElementById(LabelID).value = HideTxt;
}
else {
$hide(id);
document.getElementById(LabelID).value = ShowTxt;
}
}
function listdisp(tid,lid) {
if (document.getElementById(tid).style.display == 'none') {
$show(tid);
}
else {
$hide(tid);
}
if (lid == 't1') {
return 't1_off';
}
else if (lid == 't2') {
return 't2_off';
}
else if (lid == 't1_off') {
return 't1';
}
else if (lid == 't2_off') {
return 't2';
}
}
function trim(str) {
return (str + '').replace(/(\s+)$/g, '').replace(/^\s+/g, '');
}
function addbookmark(url, site){
if(is_ie) {
window.external.addFavorite(url, site);
} else {
alert('Please press "Ctrl+D" to add bookmark');
}
}
//AJAX_START
var xmlhttp=null;
function createxmlhttp(){
try {
xmlhttp=new ActiveXObject("Msxml2.xmlhttp") ;
}
catch(e) {
try {
xmlhttp=new ActiveXObject("Microsoft.xmlhttp") ;
}
catch(oc) {
xmlhttp=null ;
}
}
if ( !xmlhttp && typeof XMLHttpRequest != "undefined" ) {
xmlhttp = new XMLHttpRequest();
}
if (!xmlhttp) {
alert("您的浏览器不支AJAX特性,本页某些功能将无法正常使用!");
}
}
//js操作cookies函数 *********************
function delcookie(name){
setcookie(name, "");
}
function getcookie(name) {
var cookie_start = document.cookie.indexOf(name);
var cookie_end = document.cookie.indexOf(";", cookie_start);
return cookie_start == -1 ? '' : unescape(document.cookie.substring(cookie_start + name.length + 1, (cookie_end > cookie_start ? cookie_end : document.cookie.length)));
}
function setcookie(cookieName, cookieValue, seconds) {
var expires = new Date();
var path = "/";
var domain = "alixixi.com";
var secure = "";
expires.setTime(expires.getTime() + seconds);
document.cookie = escape(cookieName) + '=' + escape(cookieValue)
+ (expires ? '; expires=' + expires.toGMTString() : '')
+ (path ? '; path=' + path : '/')
+ (domain ? '; domain=' + domain : '')
+ (secure ? '; secure' : '');
}
//GetQueryString ***********************
var LocString=String(window.document.location.href);
function GetQueryString(str){
var rs=new RegExp("(^|)"+str+"=([^\&]*)(\&|$)","gi").exec(LocString),tmp;
if(tmp=rs)return tmp[2];
return " ";
}
//VScroll 显示上翻单条标题************************
function _ge(a) {return document.getElementById?document.getElementById(a):null;}
function VScroll() {
var m_box = null;
var m_lineHeight = 0;
var m_lineNum = 0;
var m_splitStr = '';
var m_speed = 0;
var m_delay = 0;
var m_pos = 0;
var m_stopTimes = 0;
var m_stop = false;
this.init = function(box,lnum,lheight,speed,delay,split) {
m_box = _ge(box);
m_lineNum = lnum;
m_lineHeight = lheight;
m_speed = speed;
m_delay = delay;
m_splitStr = split;
}
this.play = function() {
if ( m_stop ) {
return;
}
m_pos = m_box.scrollTop;
if( m_pos % m_lineHeight == 0 && m_stopTimes < m_delay && m_box.scrollTop < m_lineHeight * m_lineNum ) {
m_stopTimes++;
} else {
m_box.scrollTop++;
if ( m_pos % m_lineHeight == 0 && m_stopTimes >= m_delay ) {
m_stopTimes = 0;
}
}
if ( m_box.scrollTop > m_lineHeight * m_lineNum ) {
m_box.scrollTop = 0;
}
}
this.show = function () {
setInterval( m_self + ".play()", m_speed );
}
this.setSelf = function(n) {
m_self = n;
}
this.stop = function(n) {
m_stop = n;
}
}
function show_date() {
var today = new Date();
var day = new Array();
var str = '';
day[0] = "日";
day[1] = "一";
day[2] = "二";
day[3] = "三";
day[4] = "四";
day[5] = "五";
day[6] = "六";
str += today.getFullYear();
str += "年";
str += today.getMonth() + 1;
str += "月";
str += today.getDate();
str += "日";
str += " ";
str += "星期";
str += day[today.getDay()];
return str;
}
function ajaxPost(url,stateurl,data,info,loading){
var url,stateurl,data,info,loading
createxmlhttp();
if (data=="" || data==null)
{
//getMode
xmlhttp.open("get",url,true);
xmlhttp.setRequestHeader("CONTENT-TYPE","application/x-www-form-urlencoded");
xmlhttp.onreadystatechange= function () { checkState(stateurl,info,loading); } ;
xmlhttp.send(null);
}
else
{
//postMode
xmlhttp.open("post",url, true, "", "");
xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
xmlhttp.onreadystatechange= function () { checkState(stateurl,info,loading); }
xmlhttp.send(data);
}
}
function checkState(stateurl,info,loadnews){
if (xmlhttp.readyState == 4){
document.getElementById(info).innerHTML = loadnews;
if(xmlhttp.status == 200){
var retext = xmlhttp.responseText.split("$");
document.getElementById(info).innerHTML=retext[1];
switch(retext[0]) {
case "usreg" : if(stateurl!=="")location.href=stateurl;
break;
case "uslogin" : if(stateurl!=="")location.href=stateurl;
break;
case "active" : location.href=retext[2];
break;
case "errinfo" : return false;
break;
default : document.getElementById(info).innerHTML=retext[0];
}
}
}
else{
document.getElementById(info).innerHTML=loadnews;
}
}
//AJAX_END
//运行代码
function runEx(cod1) {
cod=document.getElementById(cod1)
var code=cod.value;
if (code!=""){
var newwin=window.open('','','');
newwin.opener = null
newwin.document.write(code);
newwin.document.close();
}
}
//复制代码
function doCopy2(ID) {
if (document.all){
textRange = document.getElementById(ID).createTextRange();
textRange.execCommand("Copy");
alert('复制成功');
}
else{
alert("此功能只能在IE上有效")
}
}
//复制代码
function doCopy(obj) {
var rng = document.body.createTextRange();
rng.moveToElementText(obj);
rng.scrollIntoView();
rng.select();
rng.execCommand("Copy");
rng.collapse(false);
}
function doCopyUrl()
{
document.getElementById("CopyUrl").value=parent.location.href;
document.getElementById("CopyUrl").select();
document.execCommand("copy");
alert("网址成功复制到剪贴板!")
}
//另存代码
function doSave(obj) {
var winname = window.open('', '_blank', 'top=10000');
winname.document.open('text/html', 'replace');
winname.document.writeln(obj.value);
winname.document.execCommand('saveas','','code.htm');
winname.close();
}
function findobj(n, d) {
var p, i, x;
if(!d) d = document;
if((p = n.indexOf("?"))>0 && parent.frames.length) {
d = parent.frames[n.substring(p + 1)].document;
n = n.substring(0, p);
}
if(x != d[n] && d.all) x = d.all[n];
for(i = 0; !x && i < d.forms.length; i++) x = d.forms[i][n];
for(i = 0; !x && d.layers && i < d.layers.length; i++) x = findobj(n, d.layers[i].document);
if(!x && document.getElementById) x = document.getElementById(n);
return x;
}
function submitonce(theform){
//if IE 4+ or NS 6+
if (document.all||document.getElementById){
//screen thru every element in the form, and hunt down "submit" and "reset"
for (i=0;i<theform.length;i++){
var tempobj=theform.elements[i]
if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
//disable em
tempobj.disabled=true
}
}
}
function openScript(url, width, height){
var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
}
function CheckAll(form) {
for (var i=0;i<form.elements.length;i++) {
var e = form.elements[i];
if (e.name != 'chkall') e.checked = form.chkall.checked;
}
}
function chkuserlogin() {
if (getcookie('userid') == ''||getcookie('userid') == 0||getcookie('username') == '') {
return false;
}
else {
return true;
}
}
function chkcookieed() {
if (getcookie("username") !== "") {
var url = "/ajax.asp?action=loginmenu";
url += "&random="+Math.random();
ajaxPost(url,null,null,"top_login"," ");
}
}
function userlogout() {
var url = "/AspCode.asp?getType=logout";
url += "&random="+Math.random();
ajaxPost(url,null,null,"top_login","正在退出...");
chkcookieed();
alert('欢迎再次光临阿里西西WEB开发社区...');
}
//Cookie解密
function DecodeCookie(str)
{
var strArr;
var strRtn="";
strArr=str.split("a");
try{
for (var i=strArr.length-1;i>=0;i--)
strRtn+=String.fromCharCode(eval(strArr[i]));
}catch(e){
}
return strRtn;
}
function isnumber(str){
var digits="1234567890";
var i=0;
var strlen=str.length;
while((i<strlen)){
var char=str.charAt(i);
if(digits.indexOf(char)==-1)return false;i++;
}
return true;
}
//检查非法字符
//str 要检查的字符
//badwords 非法字符 &|<>=
function checkbadwords(str, badwords) {
if (typeof (str) != "string" || typeof (badwords) != "string") {
return (false);
}
for (i=0; i<badwords.length; i++) {
bad = badwords.charAt(i);
for (j=0; j<str.length; j++) {
if (bad == str.charAt(j)) {
return false;
break;
}
}
}
return true;
}
function switchTag(tag,bar)
{
for(i=1; i <6; i++)
{
if ("tag"+i==tag)
{
document.getElementById(tag).getElementsByTagName("a")[0].className="selectli"+i;
document.getElementById(tag).getElementsByTagName("a")[0].getElementsByTagName("span")[0].className="selectspan"+i;
}else{
document.getElementById("tag"+i).getElementsByTagName("a")[0].className="";
document.getElementById("tag"+i).getElementsByTagName("a")[0].getElementsByTagName("span")[0].className="";
}
if ("bar"+i==bar)
{
document.getElementById(bar).className="";
}else{
document.getElementById("bar"+i).className="hidebar";
}
document.getElementById("bar").className=bar;
}
}
function switchNew(fornum,showname,lname,newid)
{
for(i=1; i < fornum; i++)
{
if (lname+i==newid)
{
document.getElementById(newid).className=showname;
}else{
document.getElementById(lname+i).className="hidebar";
}
}
}
function bgc(cssid) {
switch(cssid) {
case 0 : this.style.background='#FFFFFF';
break;
case 1 : this.style.background='#E8F5FE';
break;
case 2 : this.style.background='#FFFFDD';
break;
case 3 : this.style.background='#F2FDDB';
break;
case 4 : this.style.background='#FFE7F4';
break;
case 5 : this.style.background='#F7F7F7';
break;
default : this.style.background='#FFFFFF';
}
}
function imgzoom(o){
if(event.ctrlKey) {
var zoom = parseInt(o.style.zoom, 10) || 100;
zoom -= event.wheelDelta / 12;
if(zoom > 0) {
o.style.zoom = zoom + '%';
}
return false;
} else {
return true;
}
}
function CheckAll(form)
{
for (var i=0;i<form.elements.length;i++)
{
var e = form.elements[i];
if (e.Name != "chkAll"&&e.disabled!=true)
e.checked = form.chkAll.checked;
}
}
function addfav(favtitle,favform,favid)
{
location.href = "http://www.alixixi.com/account/user_Favorites.asp?url="+ document.URL +"&favtitle="+ favtitle +"&from="+ favform +"&id=" + favid;
}
function mto(aid) {
location.href = "http://www.alixixi.com/account/user_post.asp?aid=" + aid;
}
function apost(url){
createxmlhttp();
//getMode
url += "&random="+Math.random();
xmlhttp.open("get",url,true);
xmlhttp.setRequestHeader("CONTENT-TYPE","application/x-www-form-urlencoded");
//xmlhttp.onreadystatechange= function () { checkSeo(); } ;
xmlhttp.send(null);
}
function checkSeo(){
var info = 'test';
var loadnews = '正在加载';
if (xmlhttp.readyState == 4){
document.getElementById(info).innerHTML = loadnews;
if(xmlhttp.status == 200){
var retext = xmlhttp.responseText;
document.getElementById(info).innerHTML=retext;
}
}
else{
document.getElementById(info).innerHTML=loadnews;
}
}
function setstyle(sid) {
if (sid!=='' || sid!==null)
{
switch (parseInt(sid))
{
case 1:
setcookie('ali_style', 1, 600000);
document.all.css.href = '/css/style1.css';
break;
case 2:
setcookie('ali_style', 2, 600000);
document.all.css.href = '/css/style2.css';
break;
case 3:
setcookie('ali_style', 3, 600000);
document.all.css.href = '/css/style3.css';
break;
}
}
}
function ResumeError() {
return true;
}
window.onerror = ResumeError;
setstyle(getcookie('ali_style'));
//window.onload = setstyle(getcookie('ali_style'));
var iconload = "<img src=\/AliImages\/ajaxload.gif align=absmiddle \/> ";
var badstr = "!&^#|%$)(-+/?<>@`~';:{}[],=\".\\";
var badsql = "!&^|+/?<>`~'=";
var $show = function (e) {try{document.getElementById(e).style.display="";} catch(e) {} };
var $hide = function (e) {try{document.getElementById(e).style.display="none";} catch(e) {} };
var $W = document.write;
var reurl,js_UserName;
reurl = document.referrer;
if (reurl=="")
{
reurl = "/index.html";
}
function onDisplay(id) {
if (document.getElementById(id).style.display == 'none') {
$show(id);
}
else {
$hide(id);
}
}
function onLabelTxt(id,LabelID,ShowTxt,HideTxt) {
if (document.getElementById(id).style.display == 'none') {
$show(id);
document.getElementById(LabelID).value = HideTxt;
}
else {
$hide(id);
document.getElementById(LabelID).value = ShowTxt;
}
}
function listdisp(tid,lid) {
if (document.getElementById(tid).style.display == 'none') {
$show(tid);
}
else {
$hide(tid);
}
if (lid == 't1') {
return 't1_off';
}
else if (lid == 't2') {
return 't2_off';
}
else if (lid == 't1_off') {
return 't1';
}
else if (lid == 't2_off') {
return 't2';
}
}
function trim(str) {
return (str + '').replace(/(\s+)$/g, '').replace(/^\s+/g, '');
}
function addbookmark(url, site){
if(is_ie) {
window.external.addFavorite(url, site);
} else {
alert('Please press "Ctrl+D" to add bookmark');
}
}
//AJAX_START
var xmlhttp=null;
function createxmlhttp(){
try {
xmlhttp=new ActiveXObject("Msxml2.xmlhttp") ;
}
catch(e) {
try {
xmlhttp=new ActiveXObject("Microsoft.xmlhttp") ;
}
catch(oc) {
xmlhttp=null ;
}
}
if ( !xmlhttp && typeof XMLHttpRequest != "undefined" ) {
xmlhttp = new XMLHttpRequest();
}
if (!xmlhttp) {
alert("您的浏览器不支AJAX特性,本页某些功能将无法正常使用!");
}
}
//js操作cookies函数 *********************
function delcookie(name){
setcookie(name, "");
}
function getcookie(name) {
var cookie_start = document.cookie.indexOf(name);
var cookie_end = document.cookie.indexOf(";", cookie_start);
return cookie_start == -1 ? '' : unescape(document.cookie.substring(cookie_start + name.length + 1, (cookie_end > cookie_start ? cookie_end : document.cookie.length)));
}
function setcookie(cookieName, cookieValue, seconds) {
var expires = new Date();
var path = "/";
var domain = "alixixi.com";
var secure = "";
expires.setTime(expires.getTime() + seconds);
document.cookie = escape(cookieName) + '=' + escape(cookieValue)
+ (expires ? '; expires=' + expires.toGMTString() : '')
+ (path ? '; path=' + path : '/')
+ (domain ? '; domain=' + domain : '')
+ (secure ? '; secure' : '');
}
//GetQueryString ***********************
var LocString=String(window.document.location.href);
function GetQueryString(str){
var rs=new RegExp("(^|)"+str+"=([^\&]*)(\&|$)","gi").exec(LocString),tmp;
if(tmp=rs)return tmp[2];
return " ";
}
//VScroll 显示上翻单条标题************************
function _ge(a) {return document.getElementById?document.getElementById(a):null;}
function VScroll() {
var m_box = null;
var m_lineHeight = 0;
var m_lineNum = 0;
var m_splitStr = '';
var m_speed = 0;
var m_delay = 0;
var m_pos = 0;
var m_stopTimes = 0;
var m_stop = false;
this.init = function(box,lnum,lheight,speed,delay,split) {
m_box = _ge(box);
m_lineNum = lnum;
m_lineHeight = lheight;
m_speed = speed;
m_delay = delay;
m_splitStr = split;
}
this.play = function() {
if ( m_stop ) {
return;
}
m_pos = m_box.scrollTop;
if( m_pos % m_lineHeight == 0 && m_stopTimes < m_delay && m_box.scrollTop < m_lineHeight * m_lineNum ) {
m_stopTimes++;
} else {
m_box.scrollTop++;
if ( m_pos % m_lineHeight == 0 && m_stopTimes >= m_delay ) {
m_stopTimes = 0;
}
}
if ( m_box.scrollTop > m_lineHeight * m_lineNum ) {
m_box.scrollTop = 0;
}
}
this.show = function () {
setInterval( m_self + ".play()", m_speed );
}
this.setSelf = function(n) {
m_self = n;
}
this.stop = function(n) {
m_stop = n;
}
}
function show_date() {
var today = new Date();
var day = new Array();
var str = '';
day[0] = "日";
day[1] = "一";
day[2] = "二";
day[3] = "三";
day[4] = "四";
day[5] = "五";
day[6] = "六";
str += today.getFullYear();
str += "年";
str += today.getMonth() + 1;
str += "月";
str += today.getDate();
str += "日";
str += " ";
str += "星期";
str += day[today.getDay()];
return str;
}
function ajaxPost(url,stateurl,data,info,loading){
var url,stateurl,data,info,loading
createxmlhttp();
if (data=="" || data==null)
{
//getMode
xmlhttp.open("get",url,true);
xmlhttp.setRequestHeader("CONTENT-TYPE","application/x-www-form-urlencoded");
xmlhttp.onreadystatechange= function () { checkState(stateurl,info,loading); } ;
xmlhttp.send(null);
}
else
{
//postMode
xmlhttp.open("post",url, true, "", "");
xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
xmlhttp.onreadystatechange= function () { checkState(stateurl,info,loading); }
xmlhttp.send(data);
}
}
function checkState(stateurl,info,loadnews){
if (xmlhttp.readyState == 4){
document.getElementById(info).innerHTML = loadnews;
if(xmlhttp.status == 200){
var retext = xmlhttp.responseText.split("$");
document.getElementById(info).innerHTML=retext[1];
switch(retext[0]) {
case "usreg" : if(stateurl!=="")location.href=stateurl;
break;
case "uslogin" : if(stateurl!=="")location.href=stateurl;
break;
case "active" : location.href=retext[2];
break;
case "errinfo" : return false;
break;
default : document.getElementById(info).innerHTML=retext[0];
}
}
}
else{
document.getElementById(info).innerHTML=loadnews;
}
}
//AJAX_END
//运行代码
function runEx(cod1) {
cod=document.getElementById(cod1)
var code=cod.value;
if (code!=""){
var newwin=window.open('','','');
newwin.opener = null
newwin.document.write(code);
newwin.document.close();
}
}
//复制代码
function doCopy2(ID) {
if (document.all){
textRange = document.getElementById(ID).createTextRange();
textRange.execCommand("Copy");
alert('复制成功');
}
else{
alert("此功能只能在IE上有效")
}
}
//复制代码
function doCopy(obj) {
var rng = document.body.createTextRange();
rng.moveToElementText(obj);
rng.scrollIntoView();
rng.select();
rng.execCommand("Copy");
rng.collapse(false);
}
function doCopyUrl()
{
document.getElementById("CopyUrl").value=parent.location.href;
document.getElementById("CopyUrl").select();
document.execCommand("copy");
alert("网址成功复制到剪贴板!")
}
//另存代码
function doSave(obj) {
var winname = window.open('', '_blank', 'top=10000');
winname.document.open('text/html', 'replace');
winname.document.writeln(obj.value);
winname.document.execCommand('saveas','','code.htm');
winname.close();
}
function findobj(n, d) {
var p, i, x;
if(!d) d = document;
if((p = n.indexOf("?"))>0 && parent.frames.length) {
d = parent.frames[n.substring(p + 1)].document;
n = n.substring(0, p);
}
if(x != d[n] && d.all) x = d.all[n];
for(i = 0; !x && i < d.forms.length; i++) x = d.forms[i][n];
for(i = 0; !x && d.layers && i < d.layers.length; i++) x = findobj(n, d.layers[i].document);
if(!x && document.getElementById) x = document.getElementById(n);
return x;
}
function submitonce(theform){
//if IE 4+ or NS 6+
if (document.all||document.getElementById){
//screen thru every element in the form, and hunt down "submit" and "reset"
for (i=0;i<theform.length;i++){
var tempobj=theform.elements[i]
if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
//disable em
tempobj.disabled=true
}
}
}
function openScript(url, width, height){
var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
}
function CheckAll(form) {
for (var i=0;i<form.elements.length;i++) {
var e = form.elements[i];
if (e.name != 'chkall') e.checked = form.chkall.checked;
}
}
function chkuserlogin() {
if (getcookie('userid') == ''||getcookie('userid') == 0||getcookie('username') == '') {
return false;
}
else {
return true;
}
}
function chkcookieed() {
if (getcookie("username") !== "") {
var url = "/ajax.asp?action=loginmenu";
url += "&random="+Math.random();
ajaxPost(url,null,null,"top_login"," ");
}
}
function userlogout() {
var url = "/AspCode.asp?getType=logout";
url += "&random="+Math.random();
ajaxPost(url,null,null,"top_login","正在退出...");
chkcookieed();
alert('欢迎再次光临阿里西西WEB开发社区...');
}
//Cookie解密
function DecodeCookie(str)
{
var strArr;
var strRtn="";
strArr=str.split("a");
try{
for (var i=strArr.length-1;i>=0;i--)
strRtn+=String.fromCharCode(eval(strArr[i]));
}catch(e){
}
return strRtn;
}
function isnumber(str){
var digits="1234567890";
var i=0;
var strlen=str.length;
while((i<strlen)){
var char=str.charAt(i);
if(digits.indexOf(char)==-1)return false;i++;
}
return true;
}
//检查非法字符
//str 要检查的字符
//badwords 非法字符 &|<>=
function checkbadwords(str, badwords) {
if (typeof (str) != "string" || typeof (badwords) != "string") {
return (false);
}
for (i=0; i<badwords.length; i++) {
bad = badwords.charAt(i);
for (j=0; j<str.length; j++) {
if (bad == str.charAt(j)) {
return false;
break;
}
}
}
return true;
}
function switchTag(tag,bar)
{
for(i=1; i <6; i++)
{
if ("tag"+i==tag)
{
document.getElementById(tag).getElementsByTagName("a")[0].className="selectli"+i;
document.getElementById(tag).getElementsByTagName("a")[0].getElementsByTagName("span")[0].className="selectspan"+i;
}else{
document.getElementById("tag"+i).getElementsByTagName("a")[0].className="";
document.getElementById("tag"+i).getElementsByTagName("a")[0].getElementsByTagName("span")[0].className="";
}
if ("bar"+i==bar)
{
document.getElementById(bar).className="";
}else{
document.getElementById("bar"+i).className="hidebar";
}
document.getElementById("bar").className=bar;
}
}
function switchNew(fornum,showname,lname,newid)
{
for(i=1; i < fornum; i++)
{
if (lname+i==newid)
{
document.getElementById(newid).className=showname;
}else{
document.getElementById(lname+i).className="hidebar";
}
}
}
function bgc(cssid) {
switch(cssid) {
case 0 : this.style.background='#FFFFFF';
break;
case 1 : this.style.background='#E8F5FE';
break;
case 2 : this.style.background='#FFFFDD';
break;
case 3 : this.style.background='#F2FDDB';
break;
case 4 : this.style.background='#FFE7F4';
break;
case 5 : this.style.background='#F7F7F7';
break;
default : this.style.background='#FFFFFF';
}
}
function imgzoom(o){
if(event.ctrlKey) {
var zoom = parseInt(o.style.zoom, 10) || 100;
zoom -= event.wheelDelta / 12;
if(zoom > 0) {
o.style.zoom = zoom + '%';
}
return false;
} else {
return true;
}
}
function CheckAll(form)
{
for (var i=0;i<form.elements.length;i++)
{
var e = form.elements[i];
if (e.Name != "chkAll"&&e.disabled!=true)
e.checked = form.chkAll.checked;
}
}
function addfav(favtitle,favform,favid)
{
location.href = "http://www.alixixi.com/account/user_Favorites.asp?url="+ document.URL +"&favtitle="+ favtitle +"&from="+ favform +"&id=" + favid;
}
function mto(aid) {
location.href = "http://www.alixixi.com/account/user_post.asp?aid=" + aid;
}
function apost(url){
createxmlhttp();
//getMode
url += "&random="+Math.random();
xmlhttp.open("get",url,true);
xmlhttp.setRequestHeader("CONTENT-TYPE","application/x-www-form-urlencoded");
//xmlhttp.onreadystatechange= function () { checkSeo(); } ;
xmlhttp.send(null);
}
function checkSeo(){
var info = 'test';
var loadnews = '正在加载';
if (xmlhttp.readyState == 4){
document.getElementById(info).innerHTML = loadnews;
if(xmlhttp.status == 200){
var retext = xmlhttp.responseText;
document.getElementById(info).innerHTML=retext;
}
}
else{
document.getElementById(info).innerHTML=loadnews;
}
}
function setstyle(sid) {
if (sid!=='' || sid!==null)
{
switch (parseInt(sid))
{
case 1:
setcookie('ali_style', 1, 600000);
document.all.css.href = '/css/style1.css';
break;
case 2:
setcookie('ali_style', 2, 600000);
document.all.css.href = '/css/style2.css';
break;
case 3:
setcookie('ali_style', 3, 600000);
document.all.css.href = '/css/style3.css';
break;
}
}
}
function ResumeError() {
return true;
}
window.onerror = ResumeError;
setstyle(getcookie('ali_style'));
//window.onload = setstyle(getcookie('ali_style'));
无为清净楼资源网 Design By www.qnjia.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
无为清净楼资源网 Design By www.qnjia.com
暂无评论...
RTX 5090要首发 性能要翻倍!三星展示GDDR7显存
三星在GTC上展示了专为下一代游戏GPU设计的GDDR7内存。
首次推出的GDDR7内存模块密度为16GB,每个模块容量为2GB。其速度预设为32 Gbps(PAM3),但也可以降至28 Gbps,以提高产量和初始阶段的整体性能和成本效益。
据三星表示,GDDR7内存的能效将提高20%,同时工作电压仅为1.1V,低于标准的1.2V。通过采用更新的封装材料和优化的电路设计,使得在高速运行时的发热量降低,GDDR7的热阻比GDDR6降低了70%。
更新日志
2024年11月16日
2024年11月16日
- 齐豫.2003-THE.UNHEARD.OF.CHYI.3CD【苏活音乐】【WAV+CUE】
- 黄乙玲1986-讲什么山盟海誓[日本东芝版][WAV+CUE]
- 曾庆瑜1991-柔情陷阱[台湾派森东芝版][WAV+CUE]
- 陈建江《享受男声》DTS-ES6.1【WAV】
- 群星《闪光的夏天 第5期》[FLAC/分轨][392.38MB]
- 徐小凤《三洋母带》1:1母盘直刻[WAV+CUE][981M]
- 王菲1995《菲靡靡之音》[香港首版][WAV+CUE][1G]
- 《双城之战》主题小游戏现已上线 扮演金克丝探索秘密基地
- 《霍格沃茨之遗》PS5Pro画面对比:光追性能显著提升
- 《怪猎荒野》PS5Pro主机版对比:B测性能都不稳定
- 黄宝欣.1992-黄宝欣金装精选2CD【HOMERUN】【WAV+CUE】
- 群星.1996-宝丽金流行爆弹精丫宝丽金】【WAV+CUE】
- 杜德伟.2005-独领风骚新歌精选辑3CD【滚石】【WAV+CUE】
- 安与骑兵《心无疆界》[低速原抓WAV+CUE]
- 柏菲唱片-群星〈胭花四乐〉2CD[原抓WAV+CUE]