
title_tmp1=document.title
if (title_tmp1.indexOf(">>")!=-1){
title_tmp2=title_tmp1.split(">>");
title_last="*~*"+title_tmp2[1];
title_last=title_last + "*~*" + title_tmp2[2];
}else{

if (title_tmp1.indexOf("*~*")!=-1){
title_tmp2=title_tmp1.split("*~*");
title_last="*~*"+title_tmp2[1];
if (title_last=="*~*"){title_last="*~*"};
if (title_last=="*~*"){title_last="*~*"};
}
else { title_last=" 3gMax.vn"}
}


title_new=""+title_last+""
step=0

function flash_title()
{
var extitionTitle ='Thế giới nhạc chuông sành điêu, hình nền cool, Game đẳng cấp... chỉ có tại 3gMax.vn';
step++;
if (step==8) {step=1}
if (step==1) {document.title='[---*'+title_new+'*---]'+ extitionTitle }
if (step==2) {document.title='[--*-'+title_new+'-*--]'+ extitionTitle}
if (step==3) {document.title='[-*--'+title_new+'--*-]'+ extitionTitle}
if (step==4) {document.title='[*---'+title_new+'---*]'+ extitionTitle}
if (step==5) {document.title='[-*--'+title_new+'--*-]'+ extitionTitle}
if (step==6) {document.title='[--*-'+title_new+'-*--]'+ extitionTitle}
if (step==7) {document.title='[---*'+title_new+'*---]'+ extitionTitle}
setTimeout("flash_title()",180);
}
flash_title()


//chay tiep//

message =
">> The gioi nhac chuong sanh dieu, hinh nen cool^" +
"3gMax.vn" +
" - The gioi nhac chuong, game hinh nen, sanh dieu ^"
scrollSpeed = 60
lineDelay = 450

// Do not change the text below //
txt = ""
function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
pauze = scrollSpeed
}
else {
pauze = lineDelay
txt = ""
if (pos == message.length-1) pos = -1
}
pos++
setTimeout("scrollText('"+pos+"')",pauze)
}
// Unhide -->
scrollText(0)