ÿØÿà JFIF  ` ` ÿþš 403 WEBHELL REBORN
403 WEBHELL REBORN
Server : Apache/2
System : Linux vps.phamthanh.local 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64
User : benhviencoc7 ( 1008)
PHP Version : 5.6.40
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/benhviencoc7/domains/benhviendkkvcampha.vn/private_html/templates/tech/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

Buat Folder Baru:
Buat File Baru:

Current File : /home/benhviencoc7/domains/benhviendkkvcampha.vn/private_html/////templates/tech/js/vip.js
/*!
  jQuery outside events - v1.1 - 3/16/2010
  http://benalman.com/projects/jquery-outside-events-plugin/ 
  Copyright (c) 2010 "Cowboy" Ben Alman
  Dual licensed under the MIT and GPL licenses.
  http://benalman.com/about/license/
 */(function($,doc,outside){'$:nomunge';$.map('click dblclick mousemove mousedown mouseup mouseover mouseout change select submit keydown keypress keyup'.split(' '),function(event_name){jq_addOutsideEvent(event_name);});jq_addOutsideEvent('focusin','focus'+outside);jq_addOutsideEvent('focusout','blur'+outside);$.addOutsideEvent=jq_addOutsideEvent;function jq_addOutsideEvent(event_name,outside_event_name){outside_event_name=outside_event_name||event_name+outside;var elems=$(),event_namespaced=event_name+'.'+outside_event_name+'-special-event';$.event.special[outside_event_name]={setup:function(){elems=elems.add(this);if(elems.length===1){$(doc).bind(event_namespaced,handle_event);}},teardown:function(){elems=elems.not(this);if(elems.length===0){$(doc).unbind(event_namespaced);}},add:function(handleObj){var old_handler=handleObj.handler;handleObj.handler=function(event,elem){event.target=elem;old_handler.apply(this,arguments);};}};function handle_event(event){$(elems).each(function(){var elem=$(this);if(this!==event.target&&!elem.has(event.target).length){elem.triggerHandler(outside_event_name,[event.target]);}});};};})(jQuery,document,"outside");

var time='';
var check=0;
var current_here=6;
function topstorycounter(vecto)
{
	//vecto=1: next, vecto=2: prev
	var size = $('#list_items>div').size();
	var cur=$('#dw_show'+current_here+'');	
	$('#dw_show'+current_here+'').hide();
	$('#here'+current_here+'').removeClass();
	
	if(vecto==1)
	{
		current_here=parseInt(current_here)+1;	
	}
	else
	{
		current_here=parseInt(current_here)-1;	
	}
	if(current_here > size) current_here = 1;
	else if(current_here == 0)
		current_here = size;
	var next_cur = $('#dw_show'+current_here+'');
	/*
	cur.animate({ opacity: "hide" }, "slow",function(){
		next_cur.animate({ opacity: "show" }, "slow");
	 });*/
	cur.hide();
	next_cur.show();
	
	$('#here'+current_here+'').removeClass().addClass('active');
	clearTimeout(time);
	start();

}
function start(){
	time = setInterval(function(){topstorycounter(1);},5000);
	//check=0;
}


function change_slide(num)
{
	clearInterval(time);
	if(current_here!=num)
	{
		$('#dw_show'+current_here+'').hide();
		$('#here'+current_here+'').removeClass();
		current_here=num;
		$('#here'+num+'').removeClass().addClass('active');
		$('#dw_show'+num+'').show();
	}
}

function change_tab(tab)
{
	$('#tab_click>a').each(function(){
		if($(this).attr('rel')==tab)
		{
			$(this).removeClass().addClass('active');
		}
		else
			$(this).removeClass();
	});
	if(tab==1)
	{
		$('#tab1').show();
		$('#tab2').hide();
		$('#tab3').hide();
	}
	else if(tab==2)
	{
		$('#tab1').hide();
		$('#tab2').show();
		$('#tab3').hide();
	}
	else
	{
		$('#tab1').hide();
		$('#tab2').hide();
		$('#tab3').show();
	}
};
function change_comment(comment)
{
	$('#linkcomment>a').each(function(){
		if($(this).attr('rel')==comment)
		{
			$(this).removeClass().addClass('active');
		}
		else
			$(this).removeClass();
	});
	if(comment==1)
	{
		$('#comment1').show();
		$('#comment2').hide();
		$('#comment3').hide();
		$('#comment4').hide();
	}
	else if(comment==2)
	{
		$('#comment1').hide();
		$('#comment2').show();
		$('#comment3').hide();
		$('#comment4').hide();
	}
	else if(comment==3)
	{
		$('#comment1').hide();
		$('#comment2').hide();
		$('#comment3').show();
		$('#comment4').hide();
	}
	else
	{
		$('#comment1').hide();
		$('#comment2').hide();
		$('#comment3').hide();
		$('#comment4').show();
	}
};

function change_loaitien(comment)
{
	$('#tcomment>a').each(function(){
		if($(this).attr('rel')==comment)
		{
			$(this).removeClass().addClass('active');
		}
		else
			$(this).removeClass();
	});
	if(comment==1)
	{
		$('#loaitien1').show();
		$('#loaitien2').hide();
		$('#loaitien3').hide();
	}
	else if(comment==2)
	{
		$('#loaitien1').hide();
		$('#loaitien2').show();
		$('#loaitien3').hide();
	}
	else
	{
		$('#loaitien1').hide();
		$('#loaitien2').hide();
		$('#loaitien3').show();
	}
};

function change_raovat(i)
{
	if(i==1)
	{
		$('#raovat1').removeClass().addClass('active');
		$('#raovat2').removeClass();
		$('#modsubtab1').show();
		$('#modsubtab2').hide();
	}
	else
	{
		$('#raovat2').removeClass().addClass('active');
		$('#raovat1').removeClass();
		$('#modsubtab2').show();
		$('#modsubtab1').hide();
	}
}
function tab_list_new(i)
{
	var size=$('.contentnew').size();
	for(var k=1;k<=size;k++)
	{
		if(k!=i)
		{
			$('#listnew'+k+'').removeClass();
			$('#contentnew'+k+'').hide();
		}
		else
		{
			$('#listnew'+k+'').removeClass().addClass('active');
			$('#contentnew'+k+'').show();
		}
	}
}

function show_weather()
{
	var size = $('#pscroller21>span').size();
	var cur = $('#pscroller21>span:visible');
	var next;
	if(cur)
	{
		var currentIndex = cur.prevAll().length+1;
		if (currentIndex<size)
			next = cur.next();
		else
			next=$('#pscroller21>span:first-child');	
	}
	
	cur.hide();
	next.show();
}

function change_tags(i)
{
	var total_div=$('.brt_new11 .tnd').size();
	for(var k=1;k<=total_div;k++)
	{
		if(i!=k)
		{	
			$('#tnd'+ k +'').hide();
			$('#tags'+ k +'').removeClass();
		}
		else
		{
			$('#tnd'+ k +'').show();
			$('#tags'+ k +'').removeClass().addClass('active');
			
		}
	}
}

function ChangeFont(value)
{
	var currentFontSize = $('div.textnd').css('font-size');
	var currentFontSizeNum = parseFloat(currentFontSize, 10);

	if (value==1)
		var newFontSize = currentFontSizeNum*1.2;
	else
		var newFontSize = currentFontSizeNum*0.8;

	$('div.textnd').css('font-size', newFontSize);
	return false;
}

/* Slilde clip */
var time_clip_ban_thang=0;
var time_clip_hot=0;
var slide=1;
function clip(tab,slide)
{
	var list;
	if(tab==1)
		list='#clip_ban_thang';
	else
		list='#clip_hot';
	var size = $(list+'>div').size();
	var cur = $(list+'>div:visible');
	var next;
	if(cur)
	{
		if(slide==1)
		{
			var currentIndex = cur.prevAll().length+1;
			if (currentIndex<size)
				next = cur.next();
			else
				next=$(list+'>div:first-child');
		}
		else
		{
			var currentIndex = cur.prevAll().length-1;
			if (currentIndex>0)
				next = cur.prev();
			else
				next=$(list+'>div:first-child');
		}
	}
	
	var selected=next.attr('rel');
	$('#page-sport>li').removeClass();
	$('#page-sport li').each(function(){
		if($(this).children('a').attr('rel')==selected)
			$(this).removeClass().addClass('active');
		
	});										
	cur.hide();
	next.show();
}
function change_clip(tab)
{
	if(tab==1)
	{
		$('#clip_ban_thang').show();
		$('#clip_hot').hide();
		$('#clip1').removeClass().addClass('active');
		$('#clip2').removeClass();
		run_clip(1,1);
	}
	else
	{
		$('#clip_ban_thang').hide();
		$('#clip_hot').show();
		$('#clip1').removeClass();
		$('#clip2').removeClass().addClass('active');
		run_clip(2,1);
	}
}
function run_clip(tab)
{
	$('#page-sport>li').removeClass();
	$('#page-sport>li:first-child').removeClass().addClass('active');
	if(tab==1)
	{
		clearInterval(time_clip_hot);
		clearInterval(time_clip_ban_thang);
		time_clip_ban_thang = setInterval(function(){clip(1,1);},5000);
	}
	else
	{
		clearInterval(time_clip_hot);
		clearInterval(time_clip_ban_thang);											
		time_clip_hot = setInterval(function(){clip(2,1);},5000);
	}
}

function change_table_point(tab)
{
	var size=$('.tbl-mark').size();
	for(var i=1; i<=size;i++)
	{
		if(tab==i)
		{
			if($('#title-mark'+i).attr('class')=='noactive')
			{
				$('#tbl-mark'+i).show();
				$('#title-mark'+i).removeClass().addClass('active');
			}
			else
			{
				$('#tbl-mark'+i).hide();
				$('#title-mark'+i).removeClass().addClass('noactive');	
			}
		}
		else
		{
			$('#tbl-mark'+i).hide();
			$('#title-mark'+i).removeClass().addClass('noactive');	
		}
	}
}

function change_table_sport(tab)
{
	var size=$('.tbl-csport').size();
	for(var i=1; i<=size;i++)
	{
		if(tab==i)
		{
			$('#tab'+i).show();
			$('#tab-sport'+i).removeClass().addClass('active');
		}
		else
		{
			$('#tab'+i).hide();
			$('#tab-sport'+i).removeClass();	
		}
	}
}

<!--End-->
<!-- Begin tab film -->
function change_film(tabf)
{
	var size=$('.sub-tab-p').size();
	for(var i=1; i<=size;i++)
	{
		if(tabf==i)
		{
			$('#tabf'+i).show();
			$('#tab-p'+i).removeClass().addClass('active');
		}
		else
		{
			$('#tabf'+i).hide();
			$('#tab-p'+i).removeClass();	
		}
	}
}

<!--End-->
<!-- Begin tab Tieu diem -->
function change_modtd(tabt)
{
	var size=$('.sub-focustop').size();
	for(var i=1; i<=size;i++)
	{
		if(tabt==i)
		{
			$('#tabt'+i).show();
			$('#tab-td'+i).removeClass().addClass('active');

		}
		else
		{
			$('#tabt'+i).hide();
			$('#tab-td'+i).removeClass();	
		}
	}
}

<!--End-->
<!-- Begin tab rate -->
function change_rate(tabs)
{
	var size=$('.list-rate').size();
	for(var i=1; i<=size;i++)
	{
		if(tabs==i)
		{
			$('#tabs'+i).show();
			/*$('#tab-rate'+i).removeClass().addClass('active');*/
		}
		else
		{
			$('#tabs'+i).hide();
			/*$('#tab-rate'+i).removeClass();*/
		}
	}
}
<!-- End -->
$(function(){
	$.fn.resizeImg = function(new_width,new_height) {
		this.each(function(){
			var oldwidth = this.width;                   
			var oldheight = this.height;
			if (oldwidth>oldheight) this.height=new_height;
			if (oldheight>oldwidth) this.width=new_width;
			if(oldheight==oldwidth)                    
			{                                
				this.width=new_width;
				this.height=new_height;                          
			}  
			return this;

		});
	};          
});

$(function(){
	$('div.textnd').find("img").each(function(){
		if(this.width>500)
			this.width=500;
	});
	$('div.commentin').hover(function(){
		var object=$(this).find('.linkbot');
		object.children('a:first-child').removeClass('active').addClass('active');
		},function(){
		var object=$(this).find('.linkbot');
		object.children('a:first-child').removeClass('active');
		});
	$('div.commentin').find("img").each(function(){
	if(this.width>350)
	this.width=350;
	});
	$('div.imgcomment1').find("img").each(function(){
	if(this.width>350)
	this.width=350;
	});
	$('div.imgcomment2').find("img").each(function(){
	if(this.width>325)
	this.width=325;
	});
	$('div.imgcomment3').find("img").each(function(){
	if(this.width>300)
	this.width=300;
	});
	$('.contentnew').each(function(i){
		if(i!=0)
			$(this).hide();
		else
			$(this).show();
	});
	//Hot topic
	$('#list_items>div:not(:first-child)').hide();
	//time = setInterval(function(){topstorycounter(1);},5000);	
	topstorycounter(1);
	$("a#next").click(function(){
		topstorycounter(1);
		$(this).parent('li').addClass('active');
		$('#stop_slide').parent('li').removeClass();
		$('#prev').parent('li').removeClass();
	});
	
	$("a#prev").click(function(){
		topstorycounter(2);
		$(this).parent('li').addClass('active');
		$('#stop_slide').parent('li').removeClass();
		$('#next').parent('li').removeClass();
	});
	
	$('#stop_slide').click(function(){
		if($(this).parent('li').attr('class')=='')
		{
			$(this).parent('li').addClass('active');
			$('#prev').parent('li').removeClass();
			$('#next').parent('li').removeClass();
			clearInterval(time);
		}
		else
		{
			$(this).parent('li').removeClass();
			setTimeout(function(){start()},5000);
			check=1;
		}	
	});
	
	
	$(".linkslide1").click(function(){
		$("#slide1,#slide2,#slide3,#slide4,#slide5,#slide6").slideToggle("slow");
		$(this).toggleClass("active"); return false;
	});
	
	$('.childcontent').each(function(){
		$(this).hide();
	});
	$('.top2').children('ul').children('li').find('a').hover(function(){
		$(this).next().show();
		$(this).prev().removeClass().addClass('active');
	});
	$('.childcontent').parent('li').bind("mousemoveoutside",function(){
		$(this).children('div').hide();
	});
	//Thoi tiet
	$('.weather-wap').bind( 'mousemoveoutside', function(event){
		$('#show').hide();
	});
	$('#place').hover(
		function(){
			$('#place').addClass('active');
			$('#show').show();
		}
	);
	//Show thoi tiet theo tinh/thanh
	$(".linkslide2").hover(function(){
		$("#slide2").show();
	}); 
	
	$('#right_showlist').bind( 'mousemoveoutside', function(event){
		$("#slide2").hide();
	});

	$(".link-ti").hover(function(){
		$("#slide_tienich").show();
	}); 
	
	$('.righthome').bind( 'mousemoveoutside', function(event){
		$("#slide_tienich").hide();
	});
	
	//
	$('.writeRev').click(function(){
		if($('.request').css('display')=='none')
		{
			$('.request').show();
		}
		else
		{
			$('.request').hide();
		}
	});
    $('.writeRev').ready(function(){
        if($('.request').css('display')=='none')
        {
            $('.request').show();
        }
        else
        {
            $('.request').hide();
        }
    });    
	$('.comment_content').click(function(){
        if($('.check').css('display')=='none')
        {
            $('.check').show();
        }
        if($('.grippie').css('display')=='none')
        {
            $('.grippie').show();
        }
    });
	//Thoi tiet run
	$('#pscroller21>span:not(:first-child)').hide();
	time1 = setInterval(function(){show_weather();},1000);
	
	
	//Trang category
	
	$('.brt_new11 .tnd').each(function(i){
		if(i!=0)
			$(this).hide();
		else
			$(this).show();
	});
	$('#all_item>div:not(:first-child)').hide();
	$('#all_item').children('div').each(function(i){
		if(i !=0)
			$(this).hide();
		$(this).attr('rel',i)
	});
	$('.next').click(function(){
		var cur=$('#all_item .tnd:visible');
		var index_next=cur.next().attr('rel');
		if(index_next<=5)
		{
			$('#all_item').children('div').each(function(i){
				if(i !=index_next)
					$(this).hide();
				else
					$(this).show();
			});
			$('#count_item').html((parseInt(index_next)+1)+'/5');
		}
	});
	$('.pre').click(function(){
		var cur=$('#all_item .tnd:visible');
		var index_prev=cur.prev().attr('rel');
		if(index_prev>=0)
		{
			$('#all_item').children('div').each(function(i){
				if(i !=index_prev)
					$(this).hide();
				else
					$(this).show();
			});
			$('#count_item').html((parseInt(index_prev)+1)+'/5');
		}
	});
	
	//
	var total_item=$('#list1>div').size()-1;
	$('#list1 .image').each(function(i){
		if(i!=0)
			$(this).hide();
		$(this).attr('rel',i);
	});
	$('#left').click(function(){
		var cur=$('#list1 .image:visible');
		var index_prev=cur.prev().attr('rel');
		if(index_prev>=0)
		{
			$('#list1').children('.image').each(function(i){
				if(i !=index_prev)
					$(this).hide();
				else
					$(this).show();
			});
		}
	});
	$('#right').click(function(){
		var cur=$('#list1 .image:visible');
		var index_next=cur.next().attr('rel');
		if(index_next<=total_item)
		{
			$('#list1').children('.image').each(function(i){
				if(i!=index_next)
					$(this).hide();
				else
					$(this).show();
			});
		}
	});
	
	//Slide clip
	clearInterval(time_clip_hot);
	time_clip_ban_thang = setInterval(function(){clip(1,1);},5000);
	$('#page-sport>li:first-child').removeClass().addClass('active');
	var tab_select;	
	$('#page-sport a').hover(function(){									  
		clearInterval(time_clip_hot);
		clearInterval(time_clip_ban_thang);	
		if($('#clip1').attr('class')=='active')
			tab_select=1;
		else
			tab_select=2;
		if(tab_select==1)
				div_id='#clip_ban_thang';
			else
				div_id='#clip_hot';	
		var size = $(div_id+'>div').size();
		
		var a_hover=$(this).attr('rel');
		var div_id;
		$('#page-sport>li').removeClass();
		$(this).parent('li').removeClass().addClass('active');
		$(div_id+' .sub-sport-inner').each(function(){
			if(a_hover)
			{
				if($(this).attr('rel')==a_hover)
				{
					$(this).show();
				}
				else
				{
					$(this).hide();
				}
			}
		});
	});
	$('#prev_clip').click(function(){
		if($('#clip1').attr('class')=='active')
			tab_select=1;
		else
			tab_select=2;
		clip(tab_select,2);
		$('#prev_clip').parent('span').removeClass().addClass('active');
		$('#next_clip').parent('span').removeClass();
	});
	
	$('#next_clip').click(function(){
		if($('#clip1').attr('class')=='active')
			tab_select=1;
		else
			tab_select=2;
		clip(tab_select,1);
		$('#prev_clip').parent('span').removeClass();
		$('#next_clip').parent('span').removeClass().addClass('active');
	});
	//End
	//Bong da
	//$('#title-mark')
	//End
});
//addon
m=Array(Array(136,'http://vietbao.vn','Trang Chủ',Array(Array('http://vietbao.vn/vn/dat-vietbao-lam-trang-chu/','Đặt làm trang chủ','phome'),Array('http://vietbao.vn/vn/contact/','Liên hệ','ct'),Array('http://vietbao.vn/vn/quang-cao/','Quảng Cáo',''),Array('http://vietbao.vn/vn/rss/','Việt Báo RSS','vbrss'))),Array(1156,'http://vietbao.vn/The-gioi/','Thế giới',Array(Array('http://vietbao.vn/The-gioi/Tin-the-gioi/','Tin thế giới',''),Array('http://vietbao.vn/The-gioi/An-ninh-the-gioi/','An ninh thế giới',''),Array('http://vietbao.vn/The-gioi/Tim-hieu/','Hồ sơ - Tư liệu',''),Array('http://vietbao.vn/The-gioi/Su-kien-qua-anh/','Video- Ảnh',''),Array('http://vietbao.vn/the-gioi/chuyen-la/','Chuyện lạ',''),Array('http://vietbao.vn/The-gioi/Phan-tich-Binh-luan/','Binh luận',''),Array('http://vietbao.vn/Kham-pha-Viet-Nam/','Khám phá Việt Nam',''),Array('http://vietbao.vn/Nguoi-Viet-bon-phuong/','Người Việt bốn phương',''))),Array(1224,'http://vietbao.vn/Xa-hoi/','Xã hội',Array(Array('http://vietbao.vn/Xa-hoi/Tin-xa-hoi/','Sự kiện',''),Array('http://vietbao.vn/Xa-hoi/Cung-suy-ngam/','Suy ngẫm ',''),Array('http://vietbao.vn/Xa-hoi/chuyen-de','Chuyên đề',''),Array('http://vietbao.vn/Phong-su/','Phóng sự ',''),Array('http://vietbao.vn/Video-clip/','Clip - Ảnh',''),Array('http://vietbao.vn/Xa-hoi/Tuong-tro/','Tương trợ',''))),Array(408,'http://vietbao.vn/Kinh-te/','Kinh tế',Array(Array('http://vietbao.vn/Kinh-te/Tin-kinh-te/','Tin kinh tế',''),Array('http://vietbao.vn/Kinh-te/Thi-truong/','Thị trường',''),Array('http://vietbao.vn/Kinh-te/Chung-khoan/','Chứng khoán',''),Array('http://vietbao.vn/Nha-dat/','Nhà đất',''),Array('http://vietbao.vn/Kinh-te/Tai-chinh/','Tài chính - Ngân hàng',''),Array('http://vietbao.vn/Kinh-te/Thuong-mai/','Thương mại',''),Array('http://vietbao.vn/Kinh-te/Phan-tich/','Phân tích- Nhận định',''),Array('http://vietbao.vn/Kinh-te/Doanh-nghiep/','Doanh nghiệp',''),Array('http://vietbao.vn/Viec-lam/','Việc Làm ',''))),Array(1904,'http://vietbao.vn/An-ninh-Phap-luat/','Pháp luật',Array(Array('http://vietbao.vn/An-ninh-Phap-luat/Tin-phap-luat/','Tin pháp luật',''),Array('http://vietbao.vn/An-ninh-Phap-luat/Hinh-su/','Hình sự',''),Array('http://vietbao.vn/An-ninh-Phap-luat/The-gioi/','Điểm nóng',''),Array('http://vietbao.vn/An-ninh-Phap-luat/Tu-van/','Hỏi đáp pháp luật',''))),Array(2380,'http://vietbao.vn/Bong-da/','Bóng đá',Array(Array('http://vietbao.vn/','Lịch thi đấu - Kết quả',''),Array('http://vietbao.vn/Bong-da/Tin-Tong-Hop/','Tổng hợp tin',''),Array('http://vietbao.vn/Bong-da/Video-clip/','Video-Clip',''),Array('http://vietbao.vn/Bong-da/Chuyen-nguoi-chuyen-ta/','Sự kiện-bình luận',''),Array('http://vietbao.vn','Chuyển nhượng',''),Array('http://vietbao.vn/Bong-da/V-League/','Bóng đá Việt Nam',''),Array('http://vietbao.vn/Bong-da/Bong-da-the-gioi/','Bóng đá thế giới',''),Array('http://vietbao.vn/Bong-da/Champions-League/','Champion League',''),Array('http://vietbao.vn/Bong-da/La-Liga/','La Liga',''),Array('http://vietbao.vn/Bong-da/Premier-League/','Premier League',''),Array('http://vietbao.vn/Bong-da/Serie-A/','Seri A',''),Array('http://vietbao.vn/Bong-da/Bundesliga/','Bundesliga',''),Array('http://vietbao.vn/Bong-da/Ligue-1/','Ligue 1',''),Array('http://vietbao.vn/Bong-da/Chuyen-cua-sao/','Bên lề sân cỏ',''))),Array(1632,'http://vietbao.vn/Dep/','Đẹp',Array(Array('http://vietbao.vn/Dep/Thoi-trang/','Thời Trang ',''),Array('http://vietbao.vn/Dep/Khoe-Dep/','Khỏe và Đẹp ',''),Array('http://vietbao.vn/Dep/Lam-Dep/','Làm Đẹp ',''),Array('http://vietbao.vn/Dep/Trang-Suc/','Trang Sức ',''),Array('http://vietbao.vn/Dep/Dia-Chi-Cua-Ban/','Địa chỉ của bạn',''))),Array(2720,'http://vietbao.vn/The-gioi-giai-tri/','Giải Trí',Array(Array('http://vietbao.vn/The-Gioi-Giai-tri/Giai-tri-tong-hop/','Giải trí tổng hợp',''),Array('http://vietbao.vn/The-Gioi-Giai-tri/The-gioi-sao/','Làng sao',''),Array('http://vietbao.vn/The-gioi-giai-tri/Trac-Nghiem/','Trắc nghiệm',''),Array('http://vietbao.vn/Cuoi/','Cười',''),Array('http://vietbao.vn/The-Gioi-Giai-tri/Phim-Anh/','Phim ảnh',''),Array('http://vietbao.vn/The-Gioi-Giai-tri/Am-nhac/','Âm nhạc',''),Array('http://vietbao.vn/The-gioi-giai-tri/Truyen-Hay/','Truyện hay',''),Array('http://vietbao.vn/O-to-xe-may/Thu-gian/','Thư giãn',''),Array('http://vietbao.vn/Game/','Game',''),Array('http://vietbao.vn/Blog/','Blog',''))),Array(1496,'http://vietbao.vn/cong-nghe/','Công nghệ',Array(Array('http://vietbao.vn/Cong-nghe/Tin-Tong-hop/','Tin tổng hợp',''),Array('http://vietbao.vn/Cong-nghe/Cong-nghe-moi/','Công nghệ mới',''),Array('http://vietbao.vn/Cong-nghe/Internet/','Vi tính - Internet',''),Array('http://vietbao.vn/Cong-nghe/Vien-thong/','Viễn thông ',''),Array('http://vietbao.vn/Cong-nghe/Bao-mat/','Bảo Mật ',''),Array('http://vietbao.vn/Cong-nghe/Kinh-nghiem/','Thủ Thuật ',''),Array('http://vietbao.vn/Cong-nghe/Tu-van-tieu-dung/','Mua sắm',''),Array('http://vietbao.vn/Khoa-hoc/','Khoa học',''))),Array(1768,'http://vietbao.vn/O-to-xe-may/','Xe',Array(Array('http://vietbao.vn/O-to-xe-may/Tong-hop/','Tổng hợp',''),Array('http://vietbao.vn/O-to-xe-may/Thi-truong/','Thị trường xe ',''),Array('http://vietbao.vn/O-to-xe-may/Sanh-dieu/','Ô tô sành điệu',''),Array('http://vietbao.vn/O-to-xe-may/Xe-may-sanh-dieu/','Xe máy sành điệu',''),Array('http://vietbao.vn/O-to-xe-may/Xe-cua-sao/','Người đẹp - Xe đẹp',''),Array('http://vietbao.vn/O-to-xe-may/Danh-gia-xe/','Đánh giá - Kinh nghiệm ',''),Array('http://vietbao.vn/O-to-xe-may/Cong-nghe/','Công nghệ xe',''))),Array(1836,'http://vietbao.vn/Doi-song-Gia-dinh/','Đời sống',Array(Array('http://vietbao.vn/Doi-song-Gia-dinh/Tong-hop/','Tin tức',''),Array('http://vietbao.vn/Doi-song-Gia-dinh/Tinh-yeu-Hon-nhan/','Tình yêu - Hôn nhân',''),Array('http://vietbao.vn/Doi-song-Gia-dinh/Hanh-phuc-gia-dinh/','Hạnh phúc gia đình',''),Array('http://vietbao.vn/Doi-song-Gia-dinh/Khong-gian-song/','Không gian sống',''),Array('http://vietbao.vn/Doi-song-Gia-dinh/Am-thuc/','Ẩm thực',''),Array('http://vietbao.vn/Doi-song-Gia-dinh/Meo-vat/','Mẹo vặt',''),Array('http://vietbao.vn/Doi-song-Gia-dinh/Mua-sam/','Tư vấn tiêu dùng',''),Array('http://vietbao.vn/Doi-song-Gia-dinh/Tam-su/','Tâm sự',''))),Array(340,'http://vietbao.vn/Giao-duc/','Giáo dục',Array(Array('http://vietbao.vn/Giao-duc/Tin-giao-duc/','Tin giáo dục',''),Array('http://vietbao.vn/Giao-duc/Van-de/','Thời sự học đường',''),Array('http://vietbao.vn/Giao-duc/Du-hoc/','Du học',''),Array('http://vietbao.vn/','Kỹ năng sống',''),Array('http://vietbao.vn/Giao-duc/Khuyen-hoc/','Khuyến học',''),Array('http://vietbao.vn/Giao-duc/Guong-sang/','Gương sáng',''))),Array(2652,'http://vietbao.vn/Tuyen-sinh/','Tuyển sinh',Array(Array('http://vietbao.vn/Tuyen-sinh/tin-tuyen-sinh','Tin tuyển sinh',''),Array('http://vietbao.vn/Tuyen-sinh/gioi-thieu-truong','Chỉ tiêu - Điểm thi',''),Array('http://vietbao.vn/Tuyen-sinh/de-thi-va-dap-an-dh-cd','Đề thi - Đáp án',''),Array('http://vietbao.vn/Tuyen-sinh/kinh-nghiem-on-thi','Tư vấn mùa thi',''))),Array(1428,'http://vietbao.vn/Suc-khoe','Sức khỏe',Array(Array('http://vietbao.vn/Suc-khoe/Tin-suc-khoe/','Tin sức khỏe',''),Array('http://vietbao.vn/Suc-khoe/Gioi-tinh/','Giới tính ',''),Array('http://vietbao.vn/Suc-khoe/Nhung-dieu-nen-biet/','Những điều nên biết',''),Array('http://vietbao.vn/Suc-khoe/Suc-khoe-Me-va-Be/','Mẹ và Bé',''),Array('http://vietbao.vn/Suc-khoe/Bai-thuoc-co-truyen/','Bài thuốc hay',''),Array('http://vietbao.vn/Suc-khoe/Hoi-dap-suc-khoe/','Hỏi đáp sức khỏe',''))));
function topmenu(id1,hp)
        {
            if (hp==1)
                {
            mtext='';
            } else 
            mtext='<div id="mainmenu"><div class="top2"><ul class="menumain clearfix">';
            mstext='';
            for(i=0;i<m.length;i++)
                {
                    i2=i+1;
                    if (hp!=1 || i>0)
                    {
                if(m[i][0]===id1 && id1!=136)
                    {mtext+='<li class="active item'+i2+'"><a href="'+m[i][1]+'"> <span> '+m[i][2]+' </span></a>';}
                else{mtext+='<li class="item'+i+'"><a href="'+m[i][1]+'"> <span> '+m[i][2]+' </span></a>';}
                if(m[i][3]&&i>0)
                    {mtext+='<div class="childcontent" style="display:none;"><div class="childin"><ul class="listsub clearfix">';if(m[i][0]==id1)
                        {mstext='<div id="submenu"><div class="sub_mnt"><div class="left"><ul>';msftext='<div class="right showlist" id="right_showlist"><a class="linkslide2"><span>Xem danh mục đầy đủ</span></a><div class="showdetail" id="slide2" style="display:none">';}
                    milength3=m[i][3].length;for(j=0;j<milength3;j++)
                        {if(m[i][3][j][3]!='')
                            {mtexti='<li class="'+m[i][3][j][3]+'"><a href="'+m[i][3][j][0]+'">'+m[i][3][j][1]+'</a></li>';}
                        else
                            {mtexti='<li><a href="'+m[i][3][j][0]+'">'+m[i][3][j][1]+'</a></li>';}
                        mtext+=mtexti;if(m[i][0]==id1)
                            {if(j<6)
                                {mstext+=mtexti;}
                            if(j==(milength3-1))
                                {msftext+='<a class="last" href="'+m[i][3][j][0]+'">'+m[i][3][j][1]+'</a>';}
                            else
                                {msftext+='<a href="'+m[i][3][j][0]+'">'+m[i][3][j][1]+'</a>';}}}
                    mtext+='</ul></div></div>';if(m[i][0]==id1)
                        {msftext+='</div></div>';mstext+='</ul></div>'+msftext+'</div></div>';}}
                mtext+='</li>';                        
                    }
                }
            if(!mstext && hp!=1){mstext="";}
            if (hp!=1)
            {
            mtext+='</ul></div></div>'+mstext;
            }
            document.write(mtext);
        } 
function showImage(URL)
{
    URL = URL.replace ('sm.jpg','.jpg');
    showDialog(location.protocol + "//" + location.hostname + '/support/js/view_image.html?' + URL, 600, 600);  //domain
}
function showDialog(url, width, height)
{
    return showWindow(url, false, false, false, false, false, false, true, true, width, height, 0, 0);
}
function showWindow(url, isStatus, isResizeable, isScrollbars, isToolbar, isLocation, isFullscreen, isTitlebar, isCentered, width, height, top, left)
{
    if (isCentered)
    {
        top = (screen.height - height) / 2;
        left = (screen.width - width) / 2;
    }
    open(url, '_blank', 'status=' + (isStatus ? 'yes' : 'no') + ','
    + 'resizable=' + (isResizeable ? 'yes' : 'no') + ','
    + 'scrollbars=' + (isScrollbars ? 'yes' : 'no') + ','
    + 'toolbar=' + (isToolbar ? 'yes' : 'no') + ','
    + 'location=' + (isLocation ? 'yes' : 'no') + ','
    + 'fullscreen=' + (isFullscreen ? 'yes' : 'no') + ','
    + 'titlebar=' + (isTitlebar ? 'yes' : 'no') + ','
    + 'height=' + height + ',' + 'width=' + width + ','
    + 'top=' + top + ',' + 'left=' + left);
}
function showsource(from)
{
    var    sources = null;
    switch (from) {
    case "1":sources='(Theo_VnExpress.net)';break;
    case "2": sources='(Theo_VietNamNet)';break;
    case "3": sources='(Theo_DanTri)';    break;
    case "4": sources='(Theo_TuoiTre)';    break;
    case "5": sources='(Theo_NgoiSao)';break;
    case "6":    sources='(Theo_Autonet.com.vn)';    break;
    case "7":    sources='(Theo_Thanh_Nien)';    break;
    case "8":    sources='(Theo_Tien_Phong)';    break;
    case "6":    sources='(Theo_Autonet.com.vn)';    break;
    case "7":    sources='(Theo_Thanh_Nien)';    break;
    case "8":    sources='(Theo_Tien_Phong)';    break;
    case "55": sources='(Theo_24h)';break;
    case "62":    sources='(Theo_NLĐ)';    break;
    case "65":    sources='(Theo_VnMedia)';    break;
    case "75":    sources='(Theo_VTC)';    break;                                
    default: sources='';    break;    
    }
document.writeln(sources);
}

function set_cookie ( name, value, exp_y, exp_m, exp_d,path,domain,secure)
{
  var cookie_string = name + "=" + escape ( value );
  if ( exp_y >0 )
  {
    var expires = new Date ( exp_y, exp_m, exp_d );
    cookie_string += "; expires=" + expires.toGMTString();
  } else {
var expires = new Date();
expires.setTime(expires.getTime()+864000000);    
cookie_string += "; expires=" + expires.toGMTString();    
}
  if ( path ) cookie_string += "; path=" + escape ( path );
  if ( domain ) cookie_string += "; domain=vietbao.vn";  
  if ( secure ) cookie_string += "; secure";
  document.cookie = cookie_string;
}
function get_cookie ( cookie_name )
{
  var results = document.cookie.match ( cookie_name + '=(.*?)(;|$)' );
  if ( results )
    return ( unescape ( results[1] ) );
  else
    return null;
}
function displayLinkF(p_type, p_url, p_title, p_link_text) {

  var agt = navigator.userAgent.toLowerCase();
  var p_here = top.location.href

  if (p_type == 3)
  {
    if ((agt.indexOf("opera") != -1)) // || (agt.indexOf("firefox") != -1))
    {
      document.write("<a href=\""+p_here+"\" title=\"" + p_title + "\" rel=\"sidebar\" class=\"save\" >" + p_link_text + "</a>");
    } else
    {
      document.write("<a href=\"javascript:addBookmark('"+p_title+"',top.location.href);\" title=\"" + p_title + "\" class=\"save\">" + p_link_text + "</a>");
    }
  } 
  else
    if (p_type == 4)
  {
    if ((agt.indexOf("opera") != -1)) // || (agt.indexOf("firefox") != -1))
    {
//      document.write("<a href=\""+p_here+"\" title=\"" + p_title + "\" rel=\"sidebar\" class=\"save\" >" + p_link_text + "</a>");
      document.write('<a class="ico5 pngFix"  title="' + p_title + '"  href="'+p_here+'"><span>Ghi nhớ </span></a>');      
      
    } else
    {
      document.write("<a href=\"javascript:addBookmark('"+p_title+"',top.location.href);\" title=\"" + p_title + "\" class=\"ico5 pngFix\"><span>Ghi nhớ </span></a>");
//      document.write('<a class="ico5 pngFix"  title="' + p_title + '"  href="'+p_here+'"><span>Ghi nhớ </span></a>');        
    }
  } else
  {
    if (agt.indexOf("opera") != -1) 
    {
      document.write("<a href=\"" + p_url + "\" title=\"" + p_title + "\" rel=\"sidebar\" class=\"save\">" + p_link_text + "</a>");
    } else
    {
      document.write("<a href=\"javascript:addBookmark('"+p_title+"','"+p_url+"');\" title=\"" + p_title + "\" class=\"save\">" + p_link_text + "</a>");
    }
  }
}

function displayLinkR(p_type, p_url, p_title, p_link_text) {

  var agt = navigator.userAgent.toLowerCase();
  var p_here = top.location.href

  if (p_type == 3)
  {
    if ((agt.indexOf("opera") != -1)) // || (agt.indexOf("firefox") != -1))
    {
      document.write("<a href=\""+p_here+"\" title=\"" + p_title + "\" rel=\"sidebar\">" + p_link_text + "</a>");
    } else
    {
      document.write("<a href=\"javascript:addBookmark('"+p_title+"',top.location.href);\" title=\"" + p_title + "\" >" + p_link_text + "</a>");
    }
  } else
  {
    if (agt.indexOf("opera") != -1) 
    {
      document.write("<a href=\"" + p_url + "\" title=\"" + p_title + "\" rel=\"sidebar\">" + p_link_text + "</a>");
    } else
    {
      document.write("<a href=\"javascript:addBookmark('"+p_title+"','"+p_url+"');\" title=\"" + p_title + "\" >" + p_link_text + "</a>");
    }
  }
}

function addBookmark0(title,url) {

  var msg_netscape = "NetScape message";
  var msg_opera    = "This function does not work with this version of Opera.  Please bookmark us manually.";
  var msg_other    = "Your browser does not support automatic bookmarks.  Please bookmark us manually.";
  var agt          = navigator.userAgent.toLowerCase();
  if (agt.indexOf("opera") != -1) 
  {
    if (window.opera && window.print)
    {
      return true;
    } else 
    {
      alert(msg_other);
    }
  }     
  else if (agt.indexOf("firefox") != -1) window.sidebar.addPanel(title,url,"");
  else if ((agt.indexOf("msie") != -1) && (parseInt(navigator.appVersion) >=4)) window.external.AddFavorite(url,title); 
  else if (agt.indexOf("netscape") != -1) window.sidebar.addPanel(title,url,"") ; 
  else if (agt.indexOf("chrome") != -1) window.sidebar.addPanel(title,url,"");         
  else if (window.sidebar && window.sidebar.addPanel) window.sidebar.addPanel(title,url,""); 
  else alert(msg_other);
  
}
function addBookmark1(title,url){
if(window.sidebar){
window.sidebar.addPanel(title, url, "");
} else if(document.all){
window.external.AddFavorite(url, title);
} else if(window.opera && window.print){
alert('Press ctrl+D to bookmark (Command+D for macs) after you click Ok');
} else if(window.chrome){
alert('Press ctrl+D to bookmark (Command+D for macs) after you click Ok');
}
}
function addBookmark(title,url){
if (window.sidebar) // firefox
window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
var elem = document.createElement('a');
elem.setAttribute('href',url);
elem.setAttribute('title',title);
elem.setAttribute('rel','sidebar');
elem.click();
} 
else if(document.all)// ie
window.external.AddFavorite(url, title);
}

function showarticletop(site,aid)
{
btext='<li style=" padding-right:6px; padding-top:2px"> Cỡ chữ </li><li class="larger" onclick="ChangeFont(1);"></li> <li class="textsmall" onclick="ChangeFont(2);"></li>\
<li class="print"><a href="'+site+'/index2.php?option=com_content&amp;task=view&amp;id='+aid+'&amp;pop=1&amp;page=0" target="_blank" onclick="window.open(\''+site+'/index2.php?option=com_content&amp;task=view&amp;id='+aid+'&amp;pop=1&amp;page=0\',\'win2\',\'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=580,height=580,directories=no,location=no\'); return false;" title="Bản để In"> </a></li>\
<li class="acrb"><a href="'+site+'/index2.php?option=com_content&amp;do_pdf=1&amp;id='+aid+'" target="_blank" onclick="window.open(\''+site+'/index2.php?option=com_content&amp;do_pdf=1&amp;do_pdf=1&amp;id='+aid+'\',\'win2\',\'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no\'); return false;" title="print as PDF file"> </a></li>';
document.writeln(btext);
}
                                               
function showtoprightbar1(site,aid)
{
    var documenttitle=removequote(document.title);
btext='<div class="br_nd"><div class="rbookm"><a href="ymsgr:im?+&amp;msg='+top.location.href+' '+documenttitle+'"  class="email active">Chia sẻ</a><a href="http://www.facebook.com/sharer.php?u='+top.location.href+'" class="fac">Facebook</a><a href="'+site+'/index2.php?option=com_content&amp;task=emailform&amp;id='+aid+'" target="_blank" onclick="window.open(\''+site+'/index2.php?option=com_content&amp;task=emailform&amp;id='+aid+'\',\'win2\',\'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=480,height=480,directories=no,location=no\'); return false;"  class="senem"> Email </a>';
document.writeln(btext);
displayLinkF('3','',documenttitle,'Lưu tin');
btext='<a href="http://vietbao.vn/vn/rss/" class="rSS" target="_blank">RSS </a></div></div>';
document.writeln(btext);
}
function leftbar()
{
    pagelink=top.location.href;
    btext='<div class="icort">\
        <div class="ico_rt"></div>\
        <div class="ico_rc">\
            <a href="'+ pagelink +'#top" class="ico1">&nbsp;</a>        </div>\
        <div class="ico_rb"></div></div>\
    <div class="icorb"><div class="ico_rt"></div>\
        <div class="ico_rc">\
            <a href="'+ pagelink +'#latest" class="ico2">&nbsp;</a>\
            <a href="'+ pagelink +'#related" class="ico3">&nbsp;</a>\
            <a href="'+ pagelink +'#comment" class="ico4">&nbsp;</a>\
            <a href="'+ pagelink +'#other" class="ico5">&nbsp;</a>        </div>\
        <div class="ico_rb"></div></div>';
        document.writeln(btext);
}
function showtopright()
{
btext='<div class="br_nd"><div class="br_search1 clearfix"><form method="get" action="index.php" target="_top"><input name="option" value="search" type="hidden"><div class="b_search ml"><div class="left1"><input name="q" type="text" onfocus="if(this.value==\'Từ khóa tìm kiếm\') this.value=\'\';" onblur="if(this.value==\'\') this.value=\'Từ khóa tìm kiếm\';" type="text"  value="Từ khóa tìm kiếm"/></div><div class="right1"> <input name="sa" type="submit" class="timkiem" value=""/> </div></div></form></div></div>';
document.writeln(btext);
}
function showtoputility()
{
    btext='<div id="show-tienich" class="wap-tienich"><a class="link-ti" href="#">Tiện ích</a></div><div id="slide_tienich" class="subtienich" style="display: block; ">    <div class="subinti clearfix">    <ul class="listinfor">     <li class="tygiangoaite"><a href="http://www3.vietbao.vn/vn/ty-gia-ngoai-te/">Tỷ giá ngoại tệ</a></li>     <li class="chungkhoan"><a href="http://www3.vietbao.vn/vn/chung-khoan-truc-tuyen/">Chứng khoán VN - Quốc tế</a></li>     <li class="vang"><a href="http://www3.vietbao.vn/vn/market/gia-vang/">Giá vàng</a></li>     <li class="lxnganhang"><a href="http://www3.vietbao.vn/vn/lai-suat-ngan-hang/">Lãi suất ngân hàng</a></li>     <li class="giacatt"><a href="http://www3.vietbao.vn/vn/gia-ca-thi-truong/">Giá cả thị trường trong nước</a></li>     <li class="diemdatatm"><a href="http://www3.vietbao.vn/vn/diem-dat-atm/">Điểm đặt ATM</a></li>     <li class="thoitiet"><a href="http://www3.vietbao.vn/vn/thoitiet/">Thời tiết</a></li>    </ul>    <ul class="listinfor">     <li class="lichxemth"><a href="http://www3.vietbao.vn/vn/lich-phat-song-truyen-hinh/">Lịch xem truyền hình</a></li>     <li class="lichcp"><a href="http://www3.vietbao.vn/vn/lich-chieu-phim/">Lịch chiếu phim rạp</a></li>     <li class="lichcnsk"><a href="http://www3.vietbao.vn/vn/lich-bieu-dien/">Lịch Ca nhạc &amp; sân khấu</a></li>     <li class="ketquaxs"><a href="http://www3.vietbao.vn/vn/ket-qua-xo-so/">Kết quả xổ số</a></li>     <li class="ketquabd"><a href="http://www3.vietbao.vn/vn/ket-qua-bong-da/">Kết quả bóng đá</a></li>     <li class="tuyuenxb"><a href="http://www3.vietbao.vn/vn/tuyen-xe-buyt/">Tuyến xe Buýt</a></li>     <li class="diadiemvc"><a href="http://www3.vietbao.vn/vn/dia-diem/">Địa điểm vui chơi</a></li>    </ul>    </div>   </div>';
document.writeln(btext);    
}

function showfooter(site,aid)
{
var    btext = null;
var documenttitle=removequote(document.title);
btext='<div class="bl_nd"><div class="box_bm_m"><ul class="clearfix"><li><a href="'+top.location.href+'#comment" class="ykien">Ý kiến</a></li><li><a class="Zingme" href="http://link.apps.zing.vn/share?u='+top.location.href+'" target="_blank">Zing Me</a></li><li><a href="ymsgr:im?+&amp;msg='+top.location.href+' '+documenttitle+'"  class="yahoo">Chia sẻ</a></li>\
<li><a href="http://www.facebook.com/sharer.php?u='+top.location.href+'" class="Facebook" target="_blank"> Facebook  </a></li><li><a href="http://twitter.com/home?status='+top.location.href+'" class="twitter" target="_blank"> Twitter   </a></li>\
<li><a href="'+site+'/index2.php?option=com_content&amp;task=emailform&amp;id='+aid+'" target="_blank" onclick="window.open(\''+site+'/index2.php?option=com_content&amp;task=emailform&amp;id='+aid+'\',\'win2\',\'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=480,height=480,directories=no,location=no\'); return false;"  class="email">Email</a></li><li>';
document.writeln(btext);
displayLinkF('3','',documenttitle,'Lưu tin');

btext='</li><li><a href="'+site+'/index2.php?option=com_content&amp;task=view&amp;id='+aid+'&amp;pop=1&amp;page=0" target="_blank" class="print" onclick="window.open(\''+site+'/index2.php?option=com_content&amp;task=view&amp;id=' +aid+ '&amp;pop=1&amp;page=0\',\'win2\',\'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=580,height=580,directories=no,location=no\'); return false;" title="Bản để In">In</a></li></ul></div></div>';
document.writeln(btext);
}
function showusertool_utility()
{
var    btext = null;
var documenttitle=removequote(document.title);
btext='<div class="ico-small">    <a class="ico1 pngFix" href="ymsgr:im?+&amp;msg='+top.location.href+' '+documenttitle+'"><span>Chia sẻ</span></a>    <a class="ico2 pngFix" href="http://www.facebook.com/sharer.php?u='+top.location.href+'"><span>Facebook</span></a>    <a class="ico3 pngFix" href="http://twitter.com/home?status='+top.location.href+'"><span>Twitter</span></a>    <a href="http://vietbao.vn/index2.php?option=com_content&amp;task=ef&amp;pu='+top.location.href+'&amp;pt='+documenttitle+'" target="_blank" onclick="window.open(\'http://vietbao.vn/index2.php?option=com_content&amp;task=ef&amp;pu='+top.location.href+'&amp;pt='+documenttitle+'\',\'win2\',\'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=480,height=480,directories=no,location=no\'); return false;"  class="ico4 pngFix"> <span>Email</span></a>';
document.writeln(btext);
displayLinkF('4','',documenttitle,'Lưu tin');
btext='<a class="ico6 pngFix" href="javascript:window.print()"><span>In trang</span></a>   </div>';
document.writeln(btext);   
}

    
/***** searchbotinarticle *****/
function searchbotinarticle(sbid)
{
/***** Copyright VietBao.vn 2007*****/    
default_search_text='Chuyện lạ';ref = document.referrer;link='http://tim.vietbao.vn/'; var vbhptext=''; if (ref.indexOf('?') != -1 )
        {mysite = 'http://vietbao.vn';mysitelength = mysite.length - 1;
        do_exit = ( (1==0) && (mysite.indexOf(ref.substr(0, mysitelength)) != -1) );
        if (!do_exit) {
        cLocation = document.location + "|";
        if ( (mysite.indexOf(ref.substr(0, mysitelength)) == -1) && ( cLocation.indexOf('com_googlesearch') == -1 ) ) {    
        qs = ref.substr(ref.indexOf('?')+1);
        qsa = qs.split('&');
        for (i=0;i<qsa.length;i++) {
            qsip = qsa[i].split('=');
                if (qsip.length == 1) continue;
                if (qsip[0] == 'q' || qsip[0] == 'p' || qsip[0] == 'query' || qsip[0] == 'searchword'|| qsip[0] == 'search'|| qsip[0] == 'qt') {
                words = decodeURIComponent(qsip[1].replace(/\+/g,' '));
                }
        }
        }
        }         
        }
                 
if (words) {set_cookie("vbskqt",words,2016,12,31,"/",'');} else if ( !get_cookie ( "vbskqt" ) )    { words =default_search_text;} else {var words = get_cookie ( "vbskqt" );}
if (sbid=='hp')
{
    var searchbotinarticletext= '<div class="br_searchh clearfix"><form method="get" action="index.php" target="_blank"><input name="option" value="search" type="hidden"><div class="b_search"><div class="left1"><input name="q" type="text"  value="'+words+'"/></div><div class="right1"> <input name="sa" type="submit" class="timkiem" value="" '+vbhptext+'/></div></div></form></div>';     
} 
else
if (sbid=='br1')
{
 var searchbotinarticletext='<div class="br_nd"><div class="br_search1 clearfix"><form method="get" action="index.php" target="_top"><input name="option" value="search" type="hidden"><div class="b_search ml"><div class="left1"><input name="q" type="text"  value="'+words+'"/></div><div class="right1"> <input name="sa" type="submit" class="timkiem" value="" '+vbhptext+'/> </div></div></form></div></div>';
}
else
{
    var searchbotinarticletext= '<div class="line1 clearfix"><form action="index.php" target="_blank"><div class="b_search_m"><div class="left1"><input name="q" type="text"  value="'+words+'"/></div>\
                                <div class="right1"><input type="hidden" name="option" value="search"/><input name="sa" type="submit" class="timkiem" value="" '+vbhptext+'/> </div></div></form></div>';    
}

document.writeln(searchbotinarticletext);
} 
function showsource(from)
{
    var    sources = null;
    switch (from) {
    case "1":sources='(Theo_VnExpress.net)';break;
    case "2": sources='(Theo_VietNamNet)';break;
    case "3": sources='(Theo_DanTri)';    break;
    case "4": sources='(Theo_TuoiTre)';    break;
    case "5": sources='(Theo_NgoiSao)';break;
    case "6":    sources='(Theo_Autonet.com.vn)';    break;
    case "7":    sources='(Theo_Thanh_Nien)';    break;
    case "8":    sources='(Theo_Tien_Phong)';    break;
    case "6":    sources='(Theo_Autonet.com.vn)';    break;
    case "7":    sources='(Theo_Thanh_Nien)';    break;
    case "8":    sources='(Theo_Tien_Phong)';    break;
    case "55": sources='(Theo_24h)';break;
    case "62":    sources='(Theo_NLĐ)';    break;
    case "65":    sources='(Theo_VnMedia)';    break;
    case "75":    sources='(Theo_VTC)';    break;                                
    default: sources='';    break;    
    }
document.writeln(sources);
}  
function box_jobsearch ()
{
    var box_text='<div class="br_tvn">    <div class="title"><span class="searchw">Tìm việc nhanh</span></div>    <div class="tnd">    <form action="http://vinacareers.com/jobfind.php" method="get" name="cst_search_job" target="_blank">     <span> Bạn đang cần tìm việc? Hãy thử một cơ hội với chúng tôi </span>        <span>     <strong>Nhập từ khóa</strong>     <input name="kwd" value="việc làm" style="width:190px" onfocus="if(cst_kwd_focus==false){this.value= \' \'; cst_kwd_focus=true;}" type="text">    </span>        <span>     <strong>Chọn ngành nghề</strong>     <select name="jids[]" id="jumpMenu" onchange="MM_jumpMenu(\'parent\',this,0)" style="width:194px">     <option selected="selected" value="00">Ngành nghề bất kỳ</option> <option value="100">Đồ gỗ - Nội thất</option> <option value="99">Điện-điện tử</option> <option value="47">Bán hàng</option> <option value="48">Bán hàng kỹ thuật</option> <option value="49">Bán lẻ/Bán sỉ</option> <option value="50">Báo chí/truyền hình</option> <option value="51">Bảo hiểm</option> <option value="52">Bất động sản</option> <option value="53">Biên phiên dịch</option> <option value="96">Cơ khí chế tạo</option> <option value="54">Y tế</option> <option value="95">Chế biến</option> <option value="94">CNTT Phần cứng</option> <option value="55">CNTT Phần mềm</option> <option value="56">Da giày</option> <option value="97">Dịch vụ</option> <option value="98">Dịch vụ an ninh</option> <option value="60">Dịch vụ khách hàng</option> <option value="58">Dệt may</option> <option value="57">Dầu khí/Khoáng sản</option> <option value="62"> Công nghệ sinh học</option> <option value="61">Du lịch/Khách sạn</option> <option value="64">Giáo dục/Đào tạo</option> <option value="101">Hàng hải</option> <option value="102">Hàng không</option> <option value="65">Hành chánh/Thư ký</option> <option value="66">Hóa chất/Sinh hóa</option> <option value="104">Kỹ thuật ứng dụng</option> <option value="67">Kế toán/Tài chính</option> <option value="68">Kho vận</option> <option value="103">Khoa học xã hội</option> <option value="69">Kiến trúc</option> <option value="105">Lao động phổ thông</option> <option value="106">Lương thực</option> <option value="107">Môi giới</option> <option value="72">Môi trường</option> <option value="71">Mới tốt nghiệp</option> <option value="73">Mỹ phẩm</option> <option value="108">Mỹ thuật</option> <option value="79">Nông/Lâm nghiệp</option> <option value="74">Ngân hàng/Đầu tư</option> <option value="75">Nghệ thuật/Thiết kế</option> <option value="109">Nghiên cứu phát triển</option> <option value="77">Nhà hàng</option> <option value="78">Nhân sự</option> <option value="80">Pháp lý</option> <option value="81">Phi chính phủ</option> <option value="82">Quản lý điều hành</option> <option value="83">Quảng cáo/Đối ngoại</option> <option value="84">Sản Xuất Thời vụ</option> <option value="86">Tư vấn</option> <option value="111">Thủ công mỹ nghệ</option> <option value="110">Thể dục thể thao</option> <option value="85">Tiếp thị</option> <option value="87">Vận chuyển</option> <option value="88">Vật tư/Hậu cần</option> <option value="89">Viễn Thông</option> <option value="90">Xây dựng</option> <option value="91">Xuất nhập khẩu</option> <option value="113">Các ngành nghề khác</option> </select>     </span>        <span>     <strong>Chọn nơi làm việc </strong>     <select name="bx_prv[]" id="jumpMenu" onchange="MM_jumpMenu(\'parent\',this,0)" style="width:194px"><option selected="selected" value="000"> Tất cả địa điểm</option> <option value="Hà Nội">Hà Nội</option> <option value="Hồ Chí Minh">Hồ Chí Minh</option> <option value="Hải Phòng">Hải Phòng</option> <option value="Đà Nẵng">Đà Nẵng</option> <option value="Cần Thơ">Cần Thơ</option> <option value="An Giang">An Giang</option> <option value="Bà Rịa-Vũng Tàu">Bà Rịa-Vũng Tàu</option> <option value="Bạc Liêu">Bạc Liêu</option> <option value="Bắc Kạn">Bắc Kạn</option> <option value="Bắc Giang">Bắc Giang</option> <option value="Bắc Ninh">Bắc Ninh</option> <option value="Bến Tre">Bến Tre</option> <option value="Bình Dương">Bình Dương</option> <option value="Bình Định">Bình Định</option> <option value="Bình Phước">Bình Phước</option> <option value="Bình Thuận">Bình Thuận</option> <option value="Cà Mau">Cà Mau</option> <option value="Cao Bằng">Cao Bằng</option> <option value="Đăk Lăk">Đăk Lăk</option> <option value="Đăk Nông">Đăk Nông</option> <option value="Điện Biên">Điện Biên</option> <option value="Đồng Nai">Đồng Nai</option> <option value="Đồng Tháp">Đồng Tháp</option> <option value="Gia Lai">Gia Lai</option> <option value="Hà Giang">Hà Giang</option> <option value="Hà Nam">Hà Nam</option> <option value="Hà Tây">Hà Tây</option> <option value="Hà Tĩnh">Hà Tĩnh</option> <option value="Hải Dương">Hải Dương</option> <option value="Hậu Giang">Hậu Giang</option> <option value="Hòa Bình">Hòa Bình</option> <option value="Hưng Yên">Hưng Yên</option> <option value="Khánh Hòa">Khánh Hòa</option> <option value="Kiên Giang">Kiên Giang</option> <option value="Kon Tum">Kon Tum</option> <option value="Lai Châu">Lai Châu</option> <option value="Lâm Đồng">Lâm Đồng</option> <option value="Lạng Sơn">Lạng Sơn</option> <option value="Lào Cai">Lào Cai</option> <option value="Long An">Long An</option> <option value="Nam Định">Nam Định</option> <option value="Nghệ An">Nghệ An</option> <option value="Ninh Bình">Ninh Bình</option> <option value="Ninh Thuận">Ninh Thuận</option> <option value="Phú Thọ">Phú Thọ</option> <option value="Phú Yên">Phú Yên</option> <option value="Quảng Bình">Quảng Bình</option> <option value="Quảng Nam">Quảng Nam</option> <option value="Quảng Ngãi">Quảng Ngãi</option> <option value="Quảng Ninh">Quảng Ninh</option> <option value="Quảng Trị">Quảng Trị</option> <option value="Sóc Trăng">Sóc Trăng</option> <option value="Sơn La">Sơn La</option> <option value="Tây Ninh">Tây Ninh</option> <option value="Thái Bình">Thái Bình</option> <option value="Thái Nguyên">Thái Nguyên</option> <option value="Thanh Hóa">Thanh Hóa</option> <option value="Thừa Thiên-Huế">Thừa Thiên-Huế</option> <option value="Tiền Giang">Tiền Giang</option> <option value="Trà Vinh">Trà Vinh</option> <option value="Tuyên Quang">Tuyên Quang</option> <option value="Vĩnh Long">Vĩnh Long</option> <option value="Vĩnh Phúc">Vĩnh Phúc</option> <option value="Yên Bái.">Yên Bái.</option> </select>         </span>        <span>     <input name="jobsubmit" class="tim" value="Tìm" type="submit">     <a href="http://vinacareers.com/vieclam/search_jobs.php" style=" margin-left:15px" target="_blank"> Tìm kiếm nâng cao </a>     </span>    </form>    </div>    </div>';
box_text

    document.writeln(box_text);
}

function box_weather_city()
{
    box_text='<div class="wearther_d">    <a id="place" href="vn/thoitiet/Ha-Noi/" class="active"> Nơi khác </a>    <div class="wearther_drop" id="show" style="display: none; ">    <div class="north">     <a href="vn/thoitiet/Ha-Noi/">Hà Nội</a>     <a href="vn/thoitiet/Bach-Long-Vi/">Bạch Long Vĩ</a>     <a href="vn/thoitiet/Bac-Giang/">Bắc Giang</a>     <a href="vn/thoitiet/Cao-Bang/">Cao Bằng</a>     <a href="vn/thoitiet/Hai-Phong/">Hải Phòng</a>     <a href="vn/thoitiet/Hoa-Binh/">Hòa Bình</a>     <a href="vn/thoitiet/Nam-Dinh/">Nam Định</a>     <a href="vn/thoitiet/Lang-Son/">Lạng Sơn</a>     <a href="vn/thoitiet/Lao-Cai/">Lào Cai</a>     <a href="vn/thoitiet/Phu-Lien/">Phù Liễu</a>     <a href="vn/thoitiet/Thai-Nguyen/">Thái Nguyên</a>     <a href="vn/thoitiet/Thanh-Hoa/">Thanh Hóa</a>     <a href="vn/thoitiet/Viet-Tri/">Việt Trì</a>    </div>    <div class="center">     <a href="vn/thoitiet/Da-Nang/">Đà Nẵng</a>     <a href="vn/thoitiet/Dong-Hoi/">Đồng Hới</a>     <a href="vn/thoitiet/Hue/">Huế</a>     <a href="vn/thoitiet/Nha-Trang/">Nha Trang</a>     <a href="vn/thoitiet/Phan-Thiet/">Phan Thiết</a>     <a href="vn/thoitiet/Truong-Sa/">Trường Xa</a>     <a href="vn/thoitiet/Tuy-Hoa/">Tuy Hòa</a>     <a href="vn/thoitiet/Song-Cau/">Sông Cầu</a>     <a href="vn/thoitiet/Song-Tu-Tay-Nam/">Sông Tử Tây Nam</a>     <a href="vn/thoitiet/Vinh/">Vinh</a>    </div>    <div class="South">     <a href="vn/thoitiet/TP-Ho-Chi-Minh/">TP HCM</a>     <a href="vn/thoitiet/Bien-Hoa/">Biên Hòa</a>     <a href="vn/thoitiet/Con-Son/">Côn Sơn</a>     <a href="vn/thoitiet/Can-Tho/">Cần Thơ</a>     <a href="vn/thoitiet/My-Tho/">Mỹ Tho</a>     <a href="vn/thoitiet/Phu-Quoc/">Phú Quốc</a>     <a href="vn/thoitiet/Quy-Nhon/">Quy Nhơn</a>     <a href="vn/thoitiet/Vung-Tau/">Vũng Tàu</a>    </div>    </div>   </div>';
    document.writeln(box_text);
}

function removequote(str) {
str=str.replace(/'/g,'');
str=str.replace(/"/g,'');
return str;
}

function commentform (id,object_group,title)
{
    bcode='<form id="comments-form" name="comments-form" action="javascript:void(null);"> <div class="descommentbot" id="comment1" style="display: block;"> <div class="comin-tl">&nbsp;</div><div class="comin-tr">&nbsp;</div><div class="comin-bl">&nbsp;</div><div class="comin-br">&nbsp;</div> <div class="f-c">       <p class="check"> <input id="comments-form-title" type="text" name="title" value="Tiêu đề"  onblur="if(this.value==\'\') this.value=\'Tiêu đề\';" onfocus="if(this.value==\'Tiêu đề\') this.value=\'\';" tabindex="1" class="txt-tieude" /> <input id="comments-form-name" type="text" name="name" value="Tên" onblur="if(this.value==\'\') this.value=\'Tên\';" onfocus="if(this.value==\'Tên\') this.value=\'\';" maxlength="20" tabindex="4" class="txt-name" /> <input id="comments-form-email" type="text" name="email" value="E-mail"  onblur="if(this.value==\'\') this.value=\'E-mail\';" onfocus="if(this.value==\'E-mail\') this.value=\'\';" tabindex="5" class="txt-email"/>  </p><textarea id="comments-form-comment" name="comment" cols="" rows="" tabindex="2" class="comment_content" onblur="if(this.value==\'\') this.value=\'Nội dung phản hồi\';" onfocus="if(this.value==\'Nội dung phản hồi\') this.value=\'\';">Nội dung phản hồi</textarea> <p class="check"><input class="checkbox" id="comments-form-subscribe" type="checkbox" name="subscribe" value="1" tabindex="3" />Thông báo khi có phản hồi phúc đáp</p> <p class="code"> <span class="btn"><input type="button" tabindex="7" onclick="jcomments.saveComment();return false;" value="Gửi" title="Gửi (Ctrl+Enter)"></span> <span class="btn" id="comments-form-cancel" style="display:none;"><input type="button" tabindex="8" onclick="return false;" value="Hủy bỏ"></span> </p> <input type="hidden" name="object_id" value="'+id+'" /> <input type="hidden" name="object_group" value="'+object_group+'" />      </div>     </div>      </form>';
    document.writeln(bcode);
if (window.addEventListener) {window.addEventListener('load',JCommentsInitializeForm,false);} else if (document.addEventListener){document.addEventListener('load',JCommentsInitializeForm,false);} else if (window.attachEvent){window.attachEvent('onload',JCommentsInitializeForm);} else {if (typeof window.onload=='function'){var oldload=window.onload;window.onload=function(){oldload();JCommentsInitializeForm();}} else window.onload=JCommentsInitializeForm;}         
}
function JCommentsInitializeForm() { var jcEditor = new JCommentsEditor('comments-form-comment', true); jcEditor.addButton('b','Chữ đậm','Nhập câu chữ'); jcEditor.addButton('i','Chứ nghiêng','Nhập câu chữ'); jcEditor.addButton('u','Gạch dưới','Nhập câu chữ'); jcEditor.addButton('s','Gạch ngang','Nhập câu chữ'); jcEditor.addButton('img','Thêm hình ảnh','Nhập đường dẫn đầy đủ của hình ảnh'); jcEditor.addButton('url','Link','Nhập đường dẫn đầy đủ của link'); jcEditor.addButton('quote','Trích dẫn','Nhập câu để trích dẫn'); jcEditor.initSmiles('http://vietbao.vn/images/comment/smiles'); jcEditor.addSmile(':D','laugh.gif'); jcEditor.addSmile(':lol:','lol.gif'); jcEditor.addSmile(':-)','smile.gif'); jcEditor.addSmile(';-)','wink.gif'); jcEditor.addSmile('8)','cool.gif'); jcEditor.addSmile(':-|','normal.gif'); jcEditor.addSmile(':-*','whistling.gif'); jcEditor.addSmile(':oops:','redface.gif'); jcEditor.addSmile(':sad:','sad.gif'); jcEditor.addSmile(':cry:','cry.gif'); jcEditor.addSmile(':o','surprised.gif'); jcEditor.addSmile(':-?','confused.gif'); jcEditor.addSmile(':-x','sick.gif'); jcEditor.addSmile(':eek:','shocked.gif'); jcEditor.addSmile(':zzz','sleeping.gif'); jcEditor.addSmile(':P','tongue.gif'); jcEditor.addSmile(':roll:','rolleyes.gif'); jcEditor.addSmile(':sigh:','unsure.gif'); jcEditor.addCounter(3000, '', 'kí tự còn lại', 'counter'); jcomments.setForm(new JCommentsForm('comments-form', jcEditor)); } 

Anon7 - 2021