function chuyen1(a) {
x=a['replace'](/Message not voted/, '0')['replace'](/Message reputation : (.+)% \((.+) vote(s?)\)/, '$2');
y=a['replace'](/Message not voted/, '0')['replace'](/Message reputation : (.+)% \((.+) vote(s?)\)/, '$1');
return Math.round(((Number(x)*Number(y))/100));
}
function chuyen2(a) {
x=a['replace'](/Message not voted/, '0')['replace'](/Message reputation : (.+)% \((.+) vote(s?)\)/, '$2');
y=a['replace'](/Message not voted/, '0')['replace'](/Message reputation : (.+)% \((.+) vote(s?)\)/, '$1');
return Math.round(((Number(x)*(100-Number(y)))/100));
}
$(document).ready(function(){
$(".cong").click(function(){
$(this).parent().prev().html(Number($(this).parent().prev().html())+1);
$(this).parent().next().html('');
$(this).parent().html('');
})
$(".tru").click(function(){
$(this).parent().next().next().html(Number($(this).parent().next().next().html())+1);
$(this).parent().prev().html('');
$(this).parent().html('');
})})
function hiendn(){
jQuery(".guestwarn").fadeOut("slow",function() {
jQuery(".amature").fadeIn("slow");
})
};
function andn(){
jQuery(".amature").fadeOut("slow",function() {
jQuery(".guestwarn").fadeIn("slow");
});
};
jQuery(document).ready(function(){
jQuery(".close").click(function(){
hiendn();
});
jQuery(".dady").click(function(){
andn();
});
});