//function chooseTab(tab,p_song,p_singer,p_album,p_video,p_lyric,p_searchType){
//	var song = document.getElementById(p_song);
//	var singer = document.getElementById(p_singer);
//	var album = document.getElementById(p_album);
//	var video = document.getElementById(p_video);
//	
//	//var composer = document.getElementById(p_composer);
//	var lyric = document.getElementById(p_lyric);
//	
//	var searchType = document.getElementById(p_searchType);
//	if(navigator.appName == "Netscape")
//	{
//		 switch(tab){
//			case 1:			
//				/*For song*/
//				song.setAttribute("class", "searchBaiHat_active");
//				singer.setAttribute("class", "searchCaSi");
//				//composer.setAttribute("class", "searchNhacSi");
//				album.setAttribute("class", "searchAlbum");	
//				video.setAttribute("class", "searchVideo");				
//				lyric.setAttribute("class", "searchLoiBaiHat");
//				searchType.value = '6';
//				break;
//			case 2:
//				/*For singer*/
//				song.setAttribute("class", "searchBaiHat");
//				singer.setAttribute("class", "searchCaSi_active");
//				//composer.setAttribute("class", "searchNhacSi");
//				album.setAttribute("class", "searchAlbum");	
//				video.setAttribute("class", "searchVideo");				
//				lyric.setAttribute("class", "searchLoiBaiHat");
//				searchType.value = '2';
//				break;
//			case 3:
//				/*For composer*/
//				song.setAttribute("class", "searchBaiHat");
//				singer.setAttribute("class", "searchCaSi");
//				//composer.setAttribute("class", "searchNhacSi_active");
//				album.setAttribute("class", "searchAlbum");	
//				video.setAttribute("class", "searchVideo");				
//				lyric.setAttribute("class", "searchLoiBaiHat");		
//				searchType.value = '4';
//				break;
//			case 4:
//				/*For album*/
//				song.setAttribute("class", "searchBaiHat");
//				singer.setAttribute("class", "searchCaSi");
//				//composer.setAttribute("class", "searchNhacSi");
//				album.setAttribute("class", "searchAlbum_active");	
//				video.setAttribute("class", "searchVideo");				
//				lyric.setAttribute("class", "searchLoiBaiHat");
//				searchType.value = '3';				
//				break;
//			case 5:
//				/*For lyric*/
//				song.setAttribute("class", "searchBaiHat");
//				singer.setAttribute("class", "searchCaSi");
//				//composer.setAttribute("class", "searchNhacSi");
//				album.setAttribute("class", "searchAlbum");				
//				video.setAttribute("class", "searchVideo");				
//				lyric.setAttribute("class", "searchLoiBaiHat_active");
//				searchType.value = '5';
//				break;
//			case 7:
//				/*For lyric*/
//				song.setAttribute("class", "searchBaiHat");
//				singer.setAttribute("class", "searchCaSi");
//				//composer.setAttribute("class", "searchNhacSi");
//				album.setAttribute("class", "searchAlbum");				
//				lyric.setAttribute("class", "searchLoiBaiHat");
//				video.setAttribute("class", "searchVideo_active");
//				searchType.value = '7';
//				break;
//		}
//	}
//	
//	if(navigator.appName == "Microsoft Internet Explorer")
//	{
//		switch(tab){
//			case 1:			
//				/*For song*/
//				song.setAttribute("class", "searchBaiHat_active");
//				singer.setAttribute("class", "searchCaSi");
//				//composer.setAttribute("class", "searchNhacSi");
//				album.setAttribute("class", "searchAlbum");	
//				video.setAttribute("class", "searchVideo");				
//				lyric.setAttribute("class", "searchLoiBaiHat");
//				searchType.value = '6';
//				break;
//			case 2:
//				/*For singer*/
//				song.setAttribute("class", "searchBaiHat");
//				singer.setAttribute("class", "searchCaSi_active");
//				//composer.setAttribute("class", "searchNhacSi");
//				album.setAttribute("class", "searchAlbum");	
//				video.setAttribute("class", "searchVideo");				
//				lyric.setAttribute("class", "searchLoiBaiHat");
//				searchType.value = '2';
//				break;
//			case 3:
//				/*For composer*/
//				song.setAttribute("class", "searchBaiHat");
//				singer.setAttribute("class", "searchCaSi");
//				//composer.setAttribute("class", "searchNhacSi_active");
//				album.setAttribute("class", "searchAlbum");	
//				video.setAttribute("class", "searchVideo");				
//				lyric.setAttribute("class", "searchLoiBaiHat");		
//				searchType.value = '4';
//				break;
//			case 4:
//				/*For album*/
//				song.setAttribute("class", "searchBaiHat");
//				singer.setAttribute("class", "searchCaSi");
//				//composer.setAttribute("class", "searchNhacSi");
//				album.setAttribute("class", "searchAlbum_active");	
//				video.setAttribute("class", "searchVideo");				
//				lyric.setAttribute("class", "searchLoiBaiHat");
//				searchType.value = '3';				
//				break;
//			case 5:
//				/*For lyric*/
//				song.setAttribute("class", "searchBaiHat");
//				singer.setAttribute("class", "searchCaSi");
//				//composer.setAttribute("class", "searchNhacSi");
//				album.setAttribute("class", "searchAlbum");				
//				video.setAttribute("class", "searchVideo");				
//				lyric.setAttribute("class", "searchLoiBaiHat_active");
//				searchType.value = '5';
//				break;
//			case 7:
//				/*For lyric*/
//				song.setAttribute("class", "searchBaiHat");
//				singer.setAttribute("class", "searchCaSi");
//				//composer.setAttribute("class", "searchNhacSi");
//				album.setAttribute("class", "searchAlbum");	
//				lyric.setAttribute("class", "searchLoiBaiHat");
//				video.setAttribute("class", "searchVideo_active");
//				searchType.value = '7';
//				break;
//		}
//	}
//}
function chooseTab(tab,p_song,p_singer,p_album,p_composer,p_lyric,p_searchType){
	var song = document.getElementById(p_song);
	var singer = document.getElementById(p_singer);
	var album = document.getElementById(p_album);
	
	var composer = document.getElementById(p_composer);
	var lyric = document.getElementById(p_lyric);
	
	var searchType = document.getElementById(p_searchType);
    // phuonghv add 19/11/2010  Reset result from suggestion
    if(aResults1) {
        aResults1 = new Array();
    }
    if(aEmptys1) {
        aEmptys1 = new Array();
    } 
    if(aResults) {
        aResults = new Array();
    }
    if(aEmptys) {
        aEmptys = new Array();
    }
    // phuonghv end 19/11/2010
	if(navigator.appName == "Netscape")
	{
		 switch(tab){
			case 1:			
				/*For song*/
				song.setAttribute("class", "searchBaiHat_active");
				singer.setAttribute("class", "searchCaSi");
				composer.setAttribute("class", "searchNhacSi");
				album.setAttribute("class", "searchAlbum");				
				lyric.setAttribute("class", "searchLoiBaiHat");
				searchType.value = 6;
				break;
			case 2:
				/*For singer*/
				song.setAttribute("class", "searchBaiHat");
				singer.setAttribute("class", "searchCaSi_active");
				composer.setAttribute("class", "searchNhacSi");
				album.setAttribute("class", "searchAlbum");				
				lyric.setAttribute("class", "searchLoiBaiHat");
				searchType.value = 2;
				break;
			case 3:
				/*For composer*/
				song.setAttribute("class", "searchBaiHat");
				singer.setAttribute("class", "searchCaSi");
				composer.setAttribute("class", "searchNhacSi_active");
				album.setAttribute("class", "searchAlbum");				
				lyric.setAttribute("class", "searchLoiBaiHat");		
				searchType.value =  7;
				break;
			case 4:
				/*For album*/
				song.setAttribute("class", "searchBaiHat");
				singer.setAttribute("class", "searchCaSi");
				composer.setAttribute("class", "searchNhacSi");
				album.setAttribute("class", "searchAlbum_active");				
				lyric.setAttribute("class", "searchLoiBaiHat");
				searchType.value = 3;
				break;
			case 5:
				/*For lyric*/
				song.setAttribute("class", "searchBaiHat");
				singer.setAttribute("class", "searchCaSi");
				composer.setAttribute("class", "searchNhacSi");
				album.setAttribute("class", "searchAlbum");				
				lyric.setAttribute("class", "searchLoiBaiHat_active");
				searchType.value = 5;
				break;
		}
	}
	
	if(navigator.appName == "Microsoft Internet Explorer")
	{
		switch(tab){
			case 1:			
				/*For song*/
				song.className =  "searchBaiHat_active";
				singer.className = "searchCaSi";
				composer.className = "searchNhacSi";
				album.className = "searchAlbum";				
				lyric.className = "searchLoiBaiHat";
				searchType.value =  6;
				break;
			case 2:
				
				/*For singer*/
				song.className =  "searchBaiHat";
				singer.className = "searchCaSi_active";
				composer.className = "searchNhacSi";
				album.className = "searchAlbum";				
				lyric.className = "searchLoiBaiHat";
				searchType.value =  2;
				
				break;
			case 3:
				/*For composer*/
				song.className =  "searchBaiHat";
				singer.className = "searchCaSi";
				composer.className = "searchNhacSi_active";
				album.className = "searchAlbum";				
				lyric.className = "searchLoiBaiHat";
				searchType.value = 7;
				break;
			case 4:			
				/*For album*/
				song.className =  "searchBaiHat";
				singer.className = "searchCaSi";
				composer.className = "searchNhacSi";
				album.className = "searchAlbum_active";				
				lyric.className = "searchLoiBaiHat";
				searchType.value = 3;
				break;
			case 5:			
				/*For lyric*/
				song.className =  "searchBaiHat";
				singer.className = "searchCaSi";
				composer.className = "searchNhacSi";
				album.className = "searchAlbum";				
				lyric.className = "searchLoiBaiHat_active";
				searchType.value = 5;
				break;
		}
	}
}
function chooseTab2(tab,p_song,p_singer,p_album,p_composer,p_lyric,p_searchType){
	var song = document.getElementById(p_song);
	var singer = document.getElementById(p_singer);
	var album = document.getElementById(p_album);
	
	var composer = document.getElementById(p_composer);
	var lyric = document.getElementById(p_lyric);
	
	var searchType = document.getElementById(p_searchType);
    // phuonghv add 19/11/2010  Reset result from suggestion
	if(aResults1) {
        aResults1 = new Array();
    }
    if(aEmptys1) {
        aEmptys1 = new Array();
    }  
    if(aResults) {
        aResults = new Array();
    }
    if(aEmptys) {
        aEmptys = new Array();
    }       
    // phuonghv end 19/11/2010
	if(navigator.appName == "Netscape")
	{
		 switch(tab){
			case 1:			
				/*For song*/
				song.setAttribute("class", "searchBaiHat2_active");
				singer.setAttribute("class", "searchCaSi2");
				composer.setAttribute("class", "searchNhacSi2");
				album.setAttribute("class", "searchAlbum2");				
				lyric.setAttribute("class", "searchLoiBaiHat2");
				searchType.value = '6';
				break;
			case 2:
				/*For singer*/
				song.setAttribute("class", "searchBaiHat2");
				singer.setAttribute("class", "searchCaSi2_active");
				composer.setAttribute("class", "searchNhacSi2");
				album.setAttribute("class", "searchAlbum2");				
				lyric.setAttribute("class", "searchLoiBaiHat2");
				searchType.value = '2';
				break;
			case 3:
				/*For composer*/
				song.setAttribute("class", "searchBaiHat2");
				singer.setAttribute("class", "searchCaSi2");
				composer.setAttribute("class", "searchNhacSi2_active");
				album.setAttribute("class", "searchAlbum2");				
				lyric.setAttribute("class", "searchLoiBaiHat2");		
				searchType.value = '4';
				break;
			case 4:
				/*For album*/
				song.setAttribute("class", "searchBaiHat2");
				singer.setAttribute("class", "searchCaSi2");
				composer.setAttribute("class", "searchNhacSi2");
				album.setAttribute("class", "searchAlbum2_active");				
				lyric.setAttribute("class", "searchLoiBaiHat2");
				searchType.value = '3';				
				break;
			case 5:
				/*For lyric*/
				song.setAttribute("class", "searchBaiHat2");
				singer.setAttribute("class", "searchCaSi2");
				composer.setAttribute("class", "searchNhacSi2");
				album.setAttribute("class", "searchAlbum2");				
				lyric.setAttribute("class", "searchLoiBaiHat2_active");
				searchType.value = '5';
				break;
		}
	}
	
	if(navigator.appName == "Microsoft Internet Explorer")
	{
		switch(tab){
			case 1:			
				/*For song*/
				song.className =  "searchBaiHat2_active";
				singer.className = "searchCaSi2";
				composer.className = "searchNhacSi2";
				album.className = "searchAlbum2";				
				lyric.className = "searchLoiBaiHat2";
				searchType.value = '6';
				break;
			case 2:
				
				/*For singer*/
				song.className =  "searchBaiHat2";
				singer.className = "searchCaSi2_active";
				composer.className = "searchNhacSi2";
				album.className = "searchAlbum2";				
				lyric.className = "searchLoiBaiHat2";
				searchType.value = '2';
				
				break;
			case 3:
				/*For composer*/
				song.className =  "searchBaiHat2";
				singer.className = "searchCaSi2";
				composer.className = "searchNhacSi2_active";
				album.className = "searchAlbum2";				
				lyric.className = "searchLoiBaiHat2";
				searchType.value = '4';
				break;
			case 4:			
				/*For album*/
				song.className =  "searchBaiHat2";
				singer.className = "searchCaSi2";
				composer.className = "searchNhacSi2";
				album.className = "searchAlbum2_active";				
				lyric.className = "searchLoiBaiHat2";
				searchType.value = '3';
				break;
			case 5:			
				/*For lyric*/
				song.className =  "searchBaiHat2";
				singer.className = "searchCaSi2";
				composer.className = "searchNhacSi2";
				album.className = "searchAlbum2";				
				lyric.className = "searchLoiBaiHat2_active";
				searchType.value = '5';
				break;
		}
	}
}




function chooseTabAlbum(tab,p_ttAlbum,p_albumLienQuan,p_ttLienQuan,p_searchType){
	var ttAlbum = document.getElementById(p_ttAlbum);
	var albumLienQuan = document.getElementById(p_albumLienQuan);
	var ttLienQuan = document.getElementById(p_ttLienQuan);
	
	var searchType = document.getElementById(p_searchType);
	
	if(navigator.appName == "Netscape")
	{
		 switch(tab){
			case 1:			
				/*For ttAlbum*/
				ttAlbum.setAttribute("class", "tab_ttAlbum_active");
				albumLienQuan.setAttribute("class", "tab_AlbumLienQuan");
				ttLienQuan.setAttribute("class", "tab_ttLienQuan");
				searchType.value = 'ttAlbum';
				break;
			case 2:
				/*For AlbumLienQuan*/
				ttAlbum.setAttribute("class", "tab_ttAlbum");
				albumLienQuan.setAttribute("class", "tab_AlbumLienQuan_active");
				ttLienQuan.setAttribute("class", "tab_ttLienQuan");
				searchType.value = 'AlbumLienQuan';
				break;
			case 3:
				/*For ttLienQuan*/
				ttAlbum.setAttribute("class", "tab_ttAlbum");
				albumLienQuan.setAttribute("class", "tab_AlbumLienQuan");
				ttLienQuan.setAttribute("class", "tab_ttLienQuan_active");	
				searchType.value = 'tab_ttLienQuan';
				break;			
		}
	}
	
	if(navigator.appName == "Microsoft Internet Explorer")
	{
		switch(tab){
			case 1:			
				/*For ttAlbum*/
				ttAlbum.className =  "tab_ttAlbum_active";
				albumLienQuan.className = "tab_AlbumLienQuan";
				ttLienQuan.className = "tab_ttLienQuan";
				searchType.value = 'ttAlbum';
				break;
			case 2:				
				/*For AlbumLienQuan*/
				ttAlbum.className =  "tab_ttAlbum";
				albumLienQuan.className = "tab_AlbumLienQuan_active";
				ttLienQuan.className = "tab_ttLienQuan";
				searchType.value = 'AlbumLienQuan';
				break;
			case 3:
				/*For ttLienQuan*/
				ttAlbum.className =  "tab_ttAlbum";
				albumLienQuan.className = "tab_AlbumLienQuan";
				ttLienQuan.className = "tab_ttLienQuan_active";
				searchType.value = 'tab_ttLienQuan';
				break;		
		}
	}
}


function chooseTabNhacCuaBan(tab,p_nhacCuaBan,p_cungAlbum,p_cungCaSi,p_cungNhacSi,p_searchType){
	var nhacCuaBan = document.getElementById(p_nhacCuaBan);
	var cungAlbum = document.getElementById(p_cungAlbum);
	var cungCaSi = document.getElementById(p_cungCaSi);
	var cungNhacSi=document.getElementById(p_cungNhacSi);
	
	var searchType = document.getElementById(p_searchType);
	
	if(navigator.appName == "Netscape")
	{
		 switch(tab){
			case 1:			
				/*For nhacCuaBan*/
				nhacCuaBan.setAttribute("class", "tab_nhacCuaBan_active");
				cungAlbum.setAttribute("class", "tab_cungAlbum");
				cungCaSi.setAttribute("class", "tab_cungCaSi");
				cungNhacSi.setAttribute("class","tab_cungNhacSi");
				searchType.value = 'nhacCuaBan';
				break;
			case 2:
				/*For cungAlbum*/
				nhacCuaBan.setAttribute("class", "tab_nhacCuaBan");
				cungAlbum.setAttribute("class", "tab_cungAlbum_active");
				cungCaSi.setAttribute("class", "tab_cungCaSi");
				cungNhacSi.setAttribute("class","tab_cungNhacSi");
				searchType.value = 'cungAlbum';
				break;
			case 3:
				/*For cungCaSi*/
				nhacCuaBan.setAttribute("class", "tab_nhacCuaBan");
				cungAlbum.setAttribute("class", "tab_cungAlbum");
				cungCaSi.setAttribute("class", "tab_cungCaSi_active");
				cungNhacSi.setAttribute("class","tab_cungNhacSi");
				searchType.value = 'cungCaSi';
				break;	
			case 4:
				/*For cungNhacSi*/
				nhacCuaBan.setAttribute("class", "tab_nhacCuaBan");
				cungAlbum.setAttribute("class", "tab_cungAlbum");
				cungCaSi.setAttribute("class", "tab_cungCaSi");
				cungNhacSi.setAttribute("class","tab_cungNhacSi_active");
				searchType.value = 'cungNhacSi';
				break;	
		}
	}
	
	if(navigator.appName == "Microsoft Internet Explorer")
	{
		switch(tab){
			case 1:			
				/*For nhacCuaBan*/
				nhacCuaBan.className =  "tab_nhacCuaBan_active";
				cungAlbum.className = "tab_cungAlbum";
				cungCaSi.className = "tab_cungCaSi";
				cungNhacSi.className = "tab_cungNhacSi";
				searchType.value = 'nhacCuaBan';
				break;
			case 2:			
				/*For cungAlbum*/
				nhacCuaBan.className =  "tab_nhacCuaBan";
				cungAlbum.className = "tab_cungAlbum_active";
				cungCaSi.className = "tab_cungCaSi";
				cungNhacSi.className = "tab_cungNhacSi";
				searchType.value = 'cungAlbum';
				break;
			case 3:			
				/*For cungCaSi*/
				nhacCuaBan.className =  "tab_nhacCuaBan";
				cungAlbum.className = "tab_cungAlbum";
				cungCaSi.className = "tab_cungCaSi_active";
				cungNhacSi.className = "tab_cungNhacSi";
				searchType.value = 'cungCaSi';
				break;
			case 4:			
				/*For cungNhacSi*/
				nhacCuaBan.className =  "tab_nhacCuaBan";
				cungAlbum.className = "tab_cungAlbum";
				cungCaSi.className = "tab_cungCaSi";
				cungNhacSi.className = "tab_cungNhacSi_active";
				searchType.value = 'cungNhacSi';
				break;
		}
	}
}
function chooseTabNgheNhac(tab,p_ttBaiHat,p_baiHatLienQuan,p_ttLienQuan,p_searchType){
	var ttBaiHat = document.getElementById(p_ttBaiHat);
	var baiHatLienQuan = document.getElementById(p_baiHatLienQuan);
	var ttLienQuan = document.getElementById(p_ttLienQuan);
	
	var searchType = document.getElementById(p_searchType);
	
	if(navigator.appName == "Netscape")
	{
		 switch(tab){
			case 1:			
				/*For ttBaiHat*/
				ttBaiHat.setAttribute("class", "tab_ttBaiHat_active");
				baiHatLienQuan.setAttribute("class", "tab_baiHatLienQuan");
				ttLienQuan.setAttribute("class", "tab_ttLienQuan");
				searchType.value = 'ttBaiHat';
				break;
			case 2:
				/*For baiHatLienQuan*/
				ttBaiHat.setAttribute("class", "tab_ttBaiHat");
				baiHatLienQuan.setAttribute("class", "tab_baiHatLienQuan_active");
				ttLienQuan.setAttribute("class", "tab_ttLienQuan");
				searchType.value = 'baiHatLienQuan';
				break;
			case 3:
				/*For ttLienQuan*/
				ttBaiHat.setAttribute("class", "tab_ttBaiHat");
				baiHatLienQuan.setAttribute("class", "tab_baiHatLienQuan");
				ttLienQuan.setAttribute("class", "tab_ttLienQuan_active");
				searchType.value = 'ttLienQuan';
				break;	
		}
	}
	
	if(navigator.appName == "Microsoft Internet Explorer")
	{
		switch(tab){
			case 1:			
				/*For ttBaiHat*/
				ttBaiHat.className =  "tab_ttBaiHat_active";
				baiHatLienQuan.className = "tab_baiHatLienQuan";
				ttLienQuan.className = "tab_ttLienQuan";
				searchType.value = 'ttBaiHat';
				break;
			case 2:			
				/*For baiHatLienQuan*/
				ttBaiHat.className =  "tab_ttBaiHat";
				baiHatLienQuan.className = "tab_baiHatLienQuan_active";
				ttLienQuan.className = "tab_ttLienQuan";
				searchType.value = 'baiHatLienQuan';
				break;
			case 3:			
				/*For ttLienQuan*/
				ttBaiHat.className =  "tab_ttBaiHat";
				baiHatLienQuan.className = "tab_baiHatLienQuan";
				ttLienQuan.className = "tab_ttLienQuan_active";
				searchType.value = 'ttLienQuan';
				break;
		}
	}
}

function chooseTabListNhacCuaBan(tab,p_nhacDangNghe,p_nhacCuaBan2,p_searchType){
	var nhacDangNghe = document.getElementById(p_nhacDangNghe);
	var nhacCuaBan2 = document.getElementById(p_nhacCuaBan2);
	
	var searchType = document.getElementById(p_searchType);
	
	if(navigator.appName == "Netscape")
	{
		 switch(tab){
			case 1:			
				/*For nhacDangNghe*/
				nhacDangNghe.setAttribute("class", "tab_nhacDangNghe_active");
				nhacCuaBan2.setAttribute("class", "tab_nhacCuaBan2");
				searchType.value = 'nhacDangNghe';
				break;
			case 2:
				/*For nhacCuaBan2*/
				nhacDangNghe.setAttribute("class", "tab_nhacDangNghe");
				nhacCuaBan2.setAttribute("class", "tab_nhacCuaBan2_active");
				searchType.value = 'nhacCuaBan';
				break;
		}
	}
	
	if(navigator.appName == "Microsoft Internet Explorer")
	{
		switch(tab){
			case 1:			
				/*For nhacDangNghe*/
				nhacDangNghe.className =  "tab_nhacDangNghe_active";
				nhacCuaBan2.className = "tab_nhacCuaBan2";
				searchType.value = 'nhacDangNghe';
				break;
			case 2:			
				/*For nhacCuaBan2*/
				nhacDangNghe.className =  "tab_nhacDangNghe";
				nhacCuaBan2.className = "tab_nhacCuaBan2_active";
				searchType.value = 'nhacCuaBan';
				break;
		}
	}
}

function chooseTabSearchResult(tab,p_ketQuaTimCaKhuc,p_ketQuaTimAlbum,p_searchType){
	var ketQuaTimCaKhuc = document.getElementById(p_ketQuaTimCaKhuc);
	var ketQuaTimAlbum = document.getElementById(p_ketQuaTimAlbum);
	
	var searchType = document.getElementById(p_searchType);
	
	if(navigator.appName == "Netscape")
	{
		 switch(tab){
			case 1:			
				/*For ketQuaTimCaKhuc*/
				ketQuaTimCaKhuc.setAttribute("class", "tab_ketQuaTimCaKhuc_active");
				ketQuaTimAlbum.setAttribute("class", "tab_ketQuaTimAlbum");
				searchType.value = 'ketQuaTimCaKhuc';
				break;
			case 2:
				/*For ketQuaTimAlbum*/
				ketQuaTimCaKhuc.setAttribute("class", "tab_ketQuaTimCaKhuc");
				ketQuaTimAlbum.setAttribute("class", "tab_ketQuaTimAlbum_active");
				searchType.value = 'ketQuaTimAlbum';
				break;
		}
	}
	
	if(navigator.appName == "Microsoft Internet Explorer")
	{
		switch(tab){
			case 1:			
				/*For ketQuaTimCaKhuc*/
				ketQuaTimCaKhuc.className =  "tab_ketQuaTimCaKhuc_active";
				ketQuaTimAlbum.className = "tab_ketQuaTimAlbum";
				searchType.value = 'ketQuaTimCaKhuc';
				break;
			case 2:			
				/*For ketQuaTimAlbum*/
				ketQuaTimCaKhuc.className =  "tab_ketQuaTimCaKhuc";
				ketQuaTimAlbum.className = "tab_ketQuaTimAlbum_active";
				searchType.value = 'ketQuaTimAlbum';
				break;
		}
	}
}
