//AJAX BANNER ADVERTISING TOP
animatedcollapse.addDiv('bannertop', 'fade=0,speed=200,persist=1')
 
animatedcollapse.ontoggle=function($, divobj, state){
if (divobj.id=="bannertop")
 document.getElementById(divobj.id+"-toggle").src=(state=="block")? "../images/bannerhide.png" : "../images/bannerhide2.png"
}
 
animatedcollapse.init()

//AJAX MODULE CHAT BOX NHOM DOT  BIZ
animatedcollapse.addDiv('chatbox', 'fade=0,speed=300,persist=1')
 
animatedcollapse.ontoggle=function($, divobj, state){
if (divobj.id=="chatbox")
 document.getElementById(divobj.id+"-toggle").src=(state=="block")? "../images/chatbox.gif" : "../images/chatbox.gif"
}
 
animatedcollapse.init()

//AJAX MODULE TOP X & BLOG TRANSLATOR
animatedcollapse.addDiv('nhomtopx', 'fade=0,speed=300,persist=1')
 
animatedcollapse.ontoggle=function($, divobj, state){
if (divobj.id=="nhomtopx")
 document.getElementById(divobj.id+"-toggle").src=(state=="block")? "../images/chatbox.gif" : "../images/chatbox.gif"
}
 
animatedcollapse.init()

//AJAX MODULE SHOUTBOX
animatedcollapse.addDiv('shoutbox', 'fade=0,speed=300,persist=1')
 
animatedcollapse.ontoggle=function($, divobj, state){
if (divobj.id=="shoutbox")
 document.getElementById(divobj.id+"-toggle").src=(state=="block")? "../images/chatbox.gif" : "../images/chatbox.gif"
}
 
animatedcollapse.init()

//AJAX MODULE TOP X & BLOG TRANSLATOR
animatedcollapse.addDiv('topxnhom', 'fade=0,speed=300,persist=1')
 
animatedcollapse.ontoggle=function($, divobj, state){
if (divobj.id=="topxnhom")
 document.getElementById(divobj.id+"-toggle").src=(state=="block")? "../images/chatbox.gif" : "../images/chatbox.gif"
}
 
animatedcollapse.init()
//AJAX MODULE  MUSIC
animatedcollapse.addDiv('musicnhom', 'fade=0,speed=300,persist=1')
 
animatedcollapse.ontoggle=function($, divobj, state){
if (divobj.id=="musicnhom")
 document.getElementById(divobj.id+"-toggle").src=(state=="block")? "dong" : "mo"
}
 
animatedcollapse.init()
