  var guid="";
  var smenu="0";
  var flash_tower = "";
  var TrueCustomer="";
  var CentralID="";
  var CreateStation="";
  var StrLeftAdv = "";
  var MyStation = "";
  var jkplayer=null;
  // +++++++++++++++++++++++++++++++++++++ getXMLHttpRequest ++++++++++++++++++++++++++++++++++++++
  function getXMLHttpRequest(){
          try{
                  try{
                          q = new XMLHttpRequest();
                  }catch(error){
                          q = new ActiveXObject("Microsoft.XMLHTTP");
                  }
                  return q;
          }catch(error){
                  return false;
          }
  }
 // +++++++++++++++++++++++++++++++++++++ Help Menu ++++++++++++++++++++++++++++++++++++++
 function writeHtmlTable() {
	document.write("<tr bgcolor=\"#CC6666\"><td align=\"center\" valign=\"center\"><img src=\"http://trueworld.truelife.com/help/images/help_icon.gif\" onClick=\"window.open('http://trueworld.truelife.com/help/index.jsp','_blank','toolbar=yes,location=yes,menubar=yes,resizable=yes,directories=no,scrollbars=yes,width=1000,height=490,left=0,top=0')\" style=\"cursor:pointer\"></td></tr>");
}
  // +++++ LEFTAdvertise+++++++++++++++++++++++++++++++++
  function leftAdv(){
          try{
                  q = getXMLHttpRequest();
                  q.onreadystatechange = leftAdv_action;
                  q.open("GET","http://truemusic.truelife.com/service/JSLeftAdv.jsp");
                  q.send(null);
          }catch(error){
                 // alert("Error");
          }
  }
// ++++++++++++ LEFTAdvertise +++++++++++++++++++++++++
function leftAdv_action() {
            if (q.readyState == 4) {
                if (q.status == 200) {
                  StrLeftAdv=q.responseText;
                } else {
                   // alert('There was a problem with the request.');
                }
            }
    return true;
}
  // +++++ JSProfile+++++++++++++++++++++++++++++++++
  function loadProfile(){
          try{
                  q = getXMLHttpRequest();
                  q.onreadystatechange = loadProfile_action;
                  q.open("POST","http://truemusic.truelife.com/service/getCookies.jsp?name=CentralID");
                  q.send(null);
                  //alert("Add Song Complete");
          }catch(error){
                  //alert("Error");
          }
  }
// ++++++++++++ jk_addsongs +++++++++++++++++++++++++
function loadProfile_action() {
        if (q.readyState == 4) {
            if (q.status == 200) {
	CentralID = q.responseText;
	alert("Post "+CentralID);
            } else {
                //alert('There was a problem with the request.');
            }
        }
	return true;
}
  // +++++ JS Right+++++++++++++++++++++++++++++++++
  function loadJSRight(){
          try{
                  ran = Math.floor(Math.random()*100);
                  q = getXMLHttpRequest();
                  q.onreadystatechange = loadJSRight_action;
                  q.open("GET","http://truemusic.truelife.com/service/flash_tower.jsp");
                  q.send(null);
                  //alert("Add Song Complete");
          }catch(error){
                  //alert("Error");
          }
  }
// ++++++++++++ JS Right+++++++++++++++++++++++++
function loadJSRight_action() {
        if (q.readyState == 4) {
            if (q.status == 200) {
                flash_tower = q.responseText;
            } else {
                //alert('There was a problem with the request.');
            }
        }
	return true;
}
  // +++++++++++++++++++++++++++++++++++++ jk_addsong ++++++++++++++++++++++++++++++++++++++
  function jk_addsong(guid){
          try{
                  q = getXMLHttpRequest();
                  q.onreadystatechange = jk_addsongs;
                  q.open("POST","http://truemusic.truelife.com/service/db/jk_addsong.jsp?guid="+guid);
                  q.send(null);
                  //alert("??????????? jukebox ?????????");
          }catch(error){
                  //alert("Error");
          }
  }
  function jk_addsongList(guid){
          try{
                  q = getXMLHttpRequest();
                  q.onreadystatechange = jk_addsongs;
				  q.open("POST","http://truemusic.truelife.com/service/db/jk_addListSong.jsp?s_list="+guid);
                  q.send(null);
                  //alert("??????????? jukebox ?????????");
          }catch(error){
                  //alert("Error");
          }
  }
  function jk_inter_addsongList(guid){
          try{
                  q = getXMLHttpRequest();
                  q.onreadystatechange = jk_addsongs;
				  q.open("POST","http://truemusic.truelife.com/service/db/jk_inter_addListSong.jsp?s_list="+guid);
                  q.send(null);
                  //alert("??????????? jukebox ?????????");
          }catch(error){
                  //alert("Error");
          }
  }
  // +++++++++++++++++++++++++++++++++++++ jk_addsongs ++++++++++++++++++++++++++++++++++++++
  function jk_addsongs() {
          if (q.readyState == 4) {
              if (q.status == 200) {
                 response = q.responseText;
                 alert(response);
                  if(jkplayer==null){
                    jukeboxPlayer();
                  }else{
                    jkplayer.location.href="http://truemusic.truelife.com/jukebox/player.jsp?session="+Math.floor(Math.random()*1000);
                  }
              } else {
                 // alert('There was a problem with the request.');
              }
          }
          return true;
  }
  // +++++++++++++++++++++++++++++++++++++ jk_addsong ++++++++++++++++++++++++++++++++++++++
  function jk_interaddsong(guid){
          try{
                  q = getXMLHttpRequest();
                  q.onreadystatechange = jk_interaddsongs;
                  q.open("POST","http://truemusic.truelife.com/service/db/jk_inter_addsong.jsp?guid="+guid);
                  q.send(null);
                  //alert("??????????? jukebox ?????????");
          }catch(error){
                  //alert("Error");
          }
  }
  // +++++++++++++++++++++++++++++++++++++ jk_addsongs ++++++++++++++++++++++++++++++++++++++
  function jk_interaddsongs() {
          if (q.readyState == 4) {
              if (q.status == 200) {
                 response = q.responseText;
                 alert(response);
                  if(jkplayer==null){
                    jukeboxPlayer();
                  }else{
                    jkplayer.location.href="http://truemusic.truelife.com/jukebox/player.jsp?session="+Math.floor(Math.random()*1000);
                  }
              } else {
                 // alert('There was a problem with the request.');
              }
          }
          return true;
  }
  // +++++++++++++++++++++++++++++++++++++ jk_deletesong ++++++++++++++++++++++++++++++++++++++
  function jk_deletesong(guid){
          try{
                  q = getXMLHttpRequest();
                  q.onreadystatechange = jk_action;
                  q.open("POST","http://truemusic.truelife.com/service/db/jk_deletesong.jsp?guid="+guid);
                  q.send(null);
                  alert("ลบข้อมูลเรียบร้อย");
          }catch(error){
                  //alert("Error");
          }
  }
  // +++++++++++++++++++++++++++++++++++++ jk_deletesongs ++++++++++++++++++++++++++++++++++++++
  function jk_action() {
          if (q.readyState == 4) {
              if (q.status == 200) {
                  response = q.responseXML.getElementsByTagName("response").length;
              } else {
                  //alert('There was a problem with the request.');
              }
          }
          return true;
  }
  // +++++++++++++++++++++++++++++++++++++ jukebox ++++++++++++++++++++++++++++++++++++++
  function jukeboxPlayer(){
  /*
    var windowprops = "toolbar=0,location=0,directories=0,status=0, menubar=0,scrollbars=0,resizable=0,left=0, top=0, width=750,height=550";
    jkplayer = window.open("http://truemusic.truelife.com/jukebox/player.jsp?session="+Math.floor(Math.random()*1000),"jkDevice",windowprops);
    openWindow.title = "Jukebox";
  */
    var windowprops = "toolbar=0,location=0,directories=0,status=0, menubar=0,scrollbars=0,resizable=0,left=0, top=0, width=900,height=590";
    jkplayer = window.open("http://truemusic.truelife.com/jukebox/newPlayer.jsp?session="+Math.floor(Math.random()*1000),"jkPlayer",windowprops);
    jkplayer.title = "Jukebox";
  }
  function writeRightMenu(){
          var html="";
          var flash="";
          var table_flash="";
          //loadJSRight();
		   //form="<form name=\"form1\" method=\"post\" action=\"http://truemusic.truelife.com/service/x_artistsearch.jsp\">\n";	
          form="<form name=\"form1\" method=\"get\" action=\"http://services.truelife.com/SearchEngine/search.aspx\" target=\"search\">\n";
          form+=" <img src=\"http://truemusic.truelife.com/images/spacer.gif\" width=\"80\" height=\"2\" >";
          form+=" &nbsp;&nbsp;<input name=\"keywordSearch\" type=\"text\" id=\"keywordSearch\" value=\"ค้นหา\"  onFocus=\"this.value=''\" size=\"25\" style=\"width:195\">\n";
          form+=" <br/>&nbsp;&nbsp;<select name=\"categorySelected\" size=\"1\" id=\"category\" style=\"width:135\">\n";
          form+="                <option value=\"0\" selected>----- ศิลปิน -----</option>\n";
          form+="                <option value=\"1\">----- อัลบั้ม -----</option>\n";
		  form+="                <option value=\"2\">----- เพลง -----</option>\n";
          //form+="                <option value=\"FS\">-- mobile fullsong --</option>\n";
          form+="  </select>\n";
          form+="<input type=\"submit\" name=\"Submit\" value=\"ค้นหา\" style=\"width:60\">";
          form+="</form>\n";

          //t_bonjovi.swf
          html="<table width=\"100%\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#000000\">\n";
          html+="<tr> \n";
          html+="  <td background=\"http://truemusic.truelife.com/images/headbar1_03.gif\" height=\"25\"><font class=\"searchTitle\"> &nbsp;";
          html+="<img src=\"http://truemusic.truelife.com/images/arrow3.gif\">&nbsp;ค้นหา ศิลปิน/เพล </td>\n";
          html+="</tr>\n";
          html+="</table>\n";
          html+="<table width=\"100%\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#000000\">";
          html+="<tr >\n";
          html+="<td   bgcolor=\"#000000\" >\n";
          html+=form;
          html+="</td>\n";
          html+="</tr>\n";
          html+="</table>";
          document.write(html);
  }
  // +++++++++++++++++++++++++++++++++++++ create_album ++++++++++++++++++++++++++++++++++++++
  function create_album(){
   var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=400,height=146";
   var openWindow = window.open("http://truemusic.truelife.com/jukebox/createalbum.jsp" ,"create_album",windowprops );
  }
  // +++++++++++++++++++++++++++++++++++++ preview_song ++++++++++++++++++++++++++++++++++++++
  function preview_song(guid){
   //var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=400,height=150";
   //var openWindow = window.open("http://truemusic.truelife.com/listen/demo.jsp?guid=" + guid ,"Preview",windowprops );
   fullsonglistening(guid);
  }
  //Open MV Special
  function openMVSpecial(mv){
    var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=570,height=650";
    var openWindow = window.open("http://truemusic.truelife.com/service/mvSpecial.jsp?mvtype="+mv ,"CrazyHits",windowprops );
  }
  //Open MV Special
  function openMVCreazyHits(guid,direct){
    var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=570,height=650";
    /*var openWindow = window.open("http://truemusic.truelife.com/MVCreazyHits/Creazy_Player_"+direct+".jsp?gid="+guid ,"CrazyHits",windowprops );*/
  	 var openWindow = window.open("http://my.truelife.com/playMVCrazy/playMVCrazy.jsp?gid="+guid ,"_blank" );
  	 }
	 
	  function openMVCreazyHits2(guid,direct){
		 
    var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=570,height=650";
    /*var openWindow = window.open("http://truemusic.truelife.com/MVCreazyHits/Creazy_Player_"+direct+".jsp?gid="+guid ,"CrazyHits",windowprops );*/
  	 var openWindow = window.open("http://my.truelife.com/playMVCrazy/playMVCrazy.jsp?gid="+guid ,"_blank" );
  	 /* var openWindow = window.open("http://truemusic.truelife.com/home/player/player_mv.php?songguid="+guid ,"_blank" );*/
	 }
  //fullsonglistening June 12 2007
  /*
  function fullsonglistening(guid){
   var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=400,height=150";
   var openWindow = window.open("http://truemusic.truelife.com/listen/fullsong.jsp?guid=" + guid ,"FullSong",windowprops );
  }
  */
  //fullsonglistening
   function fullsonglistening(guid){
   var windowprops = "";
   var openWindow = window.open("http://truemusic.truelife.com/home/player/player_song.php?songguid=" + guid ,"FullSong",windowprops );
  }

  //Open Lyric page by lyricGuid
  function openLyric(lyricGuid){
	var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=570,height=600";
	var openWindow = window.open("http://truemusic.truelife.com/lyrics/lyrics.jsp?guid=" + lyricGuid ,"lyrics",windowprops );
  }

  //Open Lyric page by lyricGuid
  function openSendToFriend(){
	var path = window.location;
	var windowprops = "directories=no,scrollbars=no,width=480,height=350,left=200,top=50,resizable=1";
	window.open("http://trueworld.truelife.com/newsletter/send2fr/index.jsp?requestpath=" + escape(path),"",windowprops)
   }	

  //Open MV Player by song_content_id (type=mv)
  function openMV(guid){
    var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=570,height=650";
    //var openWindow = window.open("http://truemusic.truelife.com/service/newMVplay.jsp" +"?guid=" + guid ,"MV",windowprops );
	guid = guid.replace(/\n/g,"");
	guid = guid.replace(/\r/g,"");
	guid = guid.replace(" ","");
	/*var openWindow = window.open("http://my.truelife.com/playMV/playMV.jsp" +"?cid=" + guid ,"MV",'' );*/
	var openWindow = window.open("http://truemusic.truelife.com/home/player/player_mv.php?songguid="+guid ,"MV","" );
   //var openWindow = window.open("http://my.truelife.com/shopping/productDetail.jsp?world=ms&cid="+guid+"&type=streaming","MV",'' );  
  }
  //Open MV Player by song_content_id (type=mv)
  function openMVPlay(guid){
    var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=570,height=650";
   //var openWindow = window.open("http://truemusic.truelife.com/service/newMVplay2.jsp" +"?guid=" + guid ,"MV",windowprops );
	//var openWindow = window.open("http://my.truelife.com/shopping/productDetail.jsp?world=ms&cid="+guid+"&type=streaming","MV",'' );
	//var openWindow = window.open("http://my.truelife.com/playMV/playMV.jsp" +"?cid=" + guid ,"MV",'' );
	//var openWindow = window.open("http://my.truelife.com/playMV/playMVByStreamingId.jsp?guid="+guid+"","MV",'' );
	var openWindow = window.open("http://truemusic.truelife.com/home/player/player_mv.php?songguid="+guid ,"MV","" );
  }
  //Open MV Player by song_content_id (type=mv)
  function openKaraoke(guid){
    var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=650,height=500";
    var openWindow = window.open("http://truemusic.truelife.com/service/karaoke.jsp" +"?guid=" + guid ,"karaoke",windowprops );
  }
  //Open MV Player by song_content_id (type=mv)
  function openConcert(guid){
    var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=650,height=500";
    var openWindow = window.open("http://truemusic.truelife.com/service/concert.jsp" +"?guid=" + guid ,"concert",windowprops );
  }
  //Open MV Player by song_content_id (type=mv)
  function openConcertPlay(guid){
    //var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=650,height=500";
    var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=570,height=650";
	var openWindow = window.open("http://truemusic.truelife.com/home/player/player_concert.php?guid="+guid,"concert"); 
	//var openWindow = window.open("http://my.truelife.com/playMV/playConcert.jsp?cid="+guid+"&r=54554455454654545","concert"); 	
	// var openWindow = window.open("http://my.truelife.com/shopping/productDetail.jsp?world=ms&cid="+guid+"&type=streaming","concert" );
    //var openWindow = window.open("http://truemusic.truelife.com/service/concert_play.jsp" +"?guid=" + guid ,"concert",windowprops );
  }
  //Open MV Player by song_content_id (type=mv)
  function openStation(path,guid){
    var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=500,height=370";
    var openWindow = window.open("http://truemusic.truelife.com/msstation/miniplaystation.jsp" +"?guid=" + guid ,"openStation"+ guid,windowprops );

  }
  //Open MV Player by song_content_id (type=mv)
  function openMiniStation(guid){
    var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=500,height=370";
    var openWindow = window.open("http://truemusic.truelife.com/msstation/miniplaystation.jsp" +"?guid=" + guid ,"openStation",windowprops );
  }
  //Open My Station Player by song_content_id (type=mv)
  function openMiniMyStation(){
    var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=500,height=370";
    var openWindow = window.open("http://truemusic.truelife.com/msstation/minimystation.jsp" ,"openStation",windowprops );
  }
  function myStation(){
    var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=500,height=370";
    var openWindow = window.open("http://truemusic.truelife.com/msstation/minimystation.jsp" ,"openStation",windowprops );

  }
  //Open openNews
  function openNews(guid){
    var windowprops = "height=680,width=570,location=no,"+ "scrollbars=no,menubars=no,toolbars=no,status=no,resizable=no";
    var openWindow = window.open("http://truemusic.truelife.com/news/read.jsp?guid="+guid,	"news",	windowprops);
    openWindow.title = "news";
  }
  //Open openNews
  function openNewsMovie(guid){
    var windowprops = "height=680,width=570,location=no,"+ "scrollbars=no,menubars=no,toolbars=no,status=no,resizable=no";
    var openWindow = window.open("http://truemusic.truelife.com/news/new_movie.jsp?guid="+guid,	"news",	windowprops);
    openWindow.title = "news";
  }
  //open Window
  function openURL(url){
    window.location.href=url;
  }
  // +++++++++++++++++++++++++++++++++++++ writeLeftMenu ++++++++++++++++++++++++++++++++++++++
  function writeLeftMenu(imgpath,menu){
         //loadProfile();
         TrueCustomer="0";
          if(CentralID==null){
            CentralID="none";
          }
          if(menu==null){
            menu="0";
          }
          var html="";
          html+="<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#310100\">\n";
          html+="  <tr>\n";
          html+="    <td width=\"10\"><img src=\"http://truemusic.truelife.com/images/th_insidemusic_01.gif\" width=\"10\" height=\"40\"></td>\n";
          html+="    <td  background=\"http://truemusic.truelife.com/images/th_insidemusic_03.gif\"><a href=\"http://truemusic.truelife.com/index.jsp\">\n";
          html+="	<img src=\"http://truemusic.truelife.com/images/head_1_02.gif\" width=\"158\" height=\"40\" border=\"0\"></a></td>\n";
          html+="    <td width=\"11\"><img src=\"http://truemusic.truelife.com/images/th_insidemusic_04.gif\" width=\"11\" height=\"40\"></td>\n";
          html+="  </tr>\n";
          html+="</table>\n";
          // +++++++++++++++++++++++++++++++++++++++++++++ menu +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
          html+=" 	<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\" bgcolor=\"#993333\">";
          if(menu=="0"){
                  html+="        <tr>";
                  html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/musicstore')\">Music Store</a></td> \n";
                  html+="        </tr> \n";
                  html+="        <tr>";
                  html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/msstation/publicStation.jsp')\">NET RADIO</a></td> \n";
                  html+="        </tr> \n";
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  html+="        <tr>";
                  html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/msstation/editgenre.jsp')\">My Station</a></td> \n";
                  html+="        </tr> \n";
                    if(CentralID.length>=10){
                      html+="        <tr> \n";
                      html+="          <td align=\"left\" >&nbsp;&nbsp;&nbsp;";
                      html+="          <a href=\"javascript:void(0)\" onclick=\"myStation();\">ฟังเพลง  my station</a></td> \n";
                      html+="        </tr> \n";
                    }
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  html+="        <tr> \n";
                  html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/jukebox/jkhome.jsp')\">Jukebox</a></td> \n";
                  html+="        </tr> \n";
                   if(CentralID.length>=10){
                        if(TrueCustomer=="0"){
                        html+="        <tr> \n";
                        html+="          <td align=\"left\">&nbsp;&nbsp;&nbsp;";
                        html+="          <a href=\"javascript:void(0)\" onclick=\"jukeboxPlayer();\">ฟังเพลง jukebox</a></td> \n";
                        html+="        </tr> \n";
                        }
                  }
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  html+="        <tr> \n";
                  html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/chart/home.jsp')\">TrueMusic Chart</a></td> \n";
                  html+="        </tr> \n";
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  html+="        <tr>";
                  html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://services.truelife.com/SearchEngine/search.aspx')\">ศิลปิน</a></td> \n";
                  html+="        </tr> \n";
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  html+="        <tr> \n";
                  html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/mv/mvhome.jsp')\">มิวสิควีดีโอ</a></td> \n";
                  html+="        </tr> \n";
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  html+="        <tr> \n";
                  html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/news/newshome.jsp')\">ข่าวและสกู๊ป</a></td> \n";
                  html+="        </tr> \n";
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  html+="        <tr> \n";
                  html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/concert/home.jsp')\">คอนเสิร์ต</a></td> \n";
                  html+="        </tr> \n";
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  html+="        <tr> \n";
                  html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"http://audition.truelife.com\">ทรู ออดิชั่น</a></td> \n";
                  html+="        </tr> \n";
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  //html+="        <tr> \n";
                  //html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"http://truemusic.truelife.com/fullsong\">FullSong Download</a></td> \n";
                  //html+="        </tr> \n";
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
          }else{
                  if(menu=="11"){
                          html+="        <tr bgcolor=\"#CC6666\"> \n";
                          html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/musicstore')\"><b>Music Store</b></a></td> \n";
                          html+="        </tr> \n";
                  }else{
                          html+="        <tr> \n";
                          html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/musicstore')\">Music Store</a></td> \n";
                          html+="        </tr> \n";
                  }
                  if(menu=="9"){
                        html+="        <tr bgcolor=\"#CC6666\"> \n";
                        html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<b> NET Radio </b></td> \n";
                        html+="        </tr> \n";
                  }else{
                        html+="        <tr> \n";
                        html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/msstation/publicStation.jsp')\">NET Radio</a></td> \n";
                        html+="        </tr> \n";
                  }
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  //alert(menu);
                  if(menu=="2"){
                    if(MyStation=="true"){
                        html+="        <tr bgcolor=\"#CC6666\"> \n";
                        html+="          <td align=\"left\" valign=\"middle\"><b> My Station </b></td> \n";
                        html+="        </tr> \n";
                        html+="        <tr bgcolor=\"#CC6666\"> \n";
                        html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;";
                        html+="          <a href=\"javascript:void(0)\" onclick=\"myStation();\">ฟังเพลง  my station</a></td> \n";
                        html+="        </tr> \n";

                        html+="        <tr bgcolor=\"#CC6666\"> \n";
                        html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;";
                        html+="          <a href=\"javascript:openURL('http://truemusic.truelife.com/msstation/mysongs.jsp')\">เพลงที่ชอบ</a></td> \n";
                        html+="        </tr> \n";

                        html+="        <tr bgcolor=\"#CC6666\"> \n";
                        html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;";
                        html+="          <a href=\"javascript:openURL('http://truemusic.truelife.com/msstation/myalbumrate.jsp')\" >อัลบัมที่ชอบ</a></td> \n";
                        html+="        </tr> \n";

                        html+="        <tr bgcolor=\"#CC6666\"> \n";
                        html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;";
                        html+="          <a href=\"javascript:openURL('http://truemusic.truelife.com/msstation/myartistrate.jsp')\" >ศิลปินที่ชอบ</a></td> \n";
                        html+="        </tr> \n";

                        html+="        <tr bgcolor=\"#CC6666\"> \n";
                        html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;";
                        html+="          <a href=\"javascript:openURL('http://truemusic.truelife.com/msstation/editgenre.jsp')\">แนวเพลงที่ชอบ?</a></td> \n";
                        html+="        </tr> \n";
                    }else{
                        //html+="        <tr bgcolor=\"#CC6666\"> \n";
                        //html+="          <td align=\"left\" valign=\"middle\"><a href=\"javascript:openURL('http://truemusic.truelife.com/msstation/publicStation.jsp')\">NET RADIO</a></td> \n";
                        //html+="        </tr> \n";
                        html+="        <tr bgcolor=\"#CC6666\"> \n";
                        html+="          <td align=\"left\" valign=\"middle\"><a href=\"javascript:openURL('http://truemusic.truelife.com/msstation/editgenre.jsp')\">My Station</a></td> \n";
                        html+="        </tr> \n";
                        html+="        <tr bgcolor=\"#CC6666\"> \n";
                        html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;";
                        html+="          <a href=\"javascript:openURL('http://truemusic.truelife.com/msstation/createStation.jsp')\">สร้างสถานีเพลง</a></td> \n";
                        html+="        </tr> \n";
                    }
                  }else{
                    //html+="        <tr>";
                    //html+="          <td align=\"left\" valign=\"middle\"><a href=\"javascript:openURL('http://truemusic.truelife.com/msstation/publicStation.jsp')\">NET RADIO</a></td> \n";
                    //html+="        </tr> \n";
                    html+="        <tr > \n";
                    html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/msstation/editgenre.jsp')\">My Station</a></td> \n";
                    html+="        </tr> \n";
                    if(CentralID.length>=10){
                    html+="        <tr> \n";
                    html+="          <td align=\"left\" >&nbsp;&nbsp;&nbsp;";
                    html+="          <a href=\"javascript:void(0)\" onclick=\"myStation();\">ฟังเพลง my station</a></td> \n";
                    html+="        </tr> \n";
                    }
                  }
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  //alert(menu);
                  if(menu=="3"){
                          html+="        <tr bgcolor=\"#CC6666\"> \n";
                          html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<b> Jukebox </b></td> \n";
                          html+="        </tr> \n";
                          if(TrueCustomer=="0"){
                          html+="        <tr bgcolor=\"#CC6666\"> \n";
                          html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;";
                          html+="          <a href=\"javascript:void(0)\" onclick=\"jukeboxPlayer();\">ฟังเพลง jukebox</a></td> \n";
                          html+="        </tr> \n";
                          }
                  }else{
                          html+="        <tr> \n";
                          html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/jukebox/jkhome.jsp')\">Jukebox</a></td> \n";
                          html+="        </tr> \n";
                         if(CentralID.length>=10){
                            if(TrueCustomer=="0"){
                            html+="        <tr> \n";
                            html+="          <td align=\"left\">&nbsp;&nbsp;&nbsp;";
                            html+="          <a href=\"javascript:void(0)\" onclick=\"jukeboxPlayer();\">ฟังเพลง jukebox</a></td> \n";
                            html+="        </tr> \n";
                            }
                        }
                  }
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  if(menu=="10"){
                          html+="        <tr bgcolor=\"#CC6666\"> \n";
                          html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/chart/home.jsp')\"><b> TrueMusic Chart </b></a></td> \n";
                          html+="        </tr> \n";
                          html+="        <tr bgcolor=\"#CC6666\"> \n";
                          html+="          <td align=\"left\" valign=\"middle\">&nbsp;&nbsp;&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/chart/music_more.jsp?page=1')\">True Hits Music</a></td> \n";
                          html+="        </tr> \n";
                          html+="        <tr bgcolor=\"#CC6666\"> \n";
                          html+="          <td align=\"left\" valign=\"middle\">&nbsp;&nbsp;&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/chart/mv_more.jsp?page=1')\">True Hits MV</a></td> \n";
                          html+="        </tr> \n";
                  }else{
                          html+="        <tr> \n";
                          html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/chart/home.jsp')\">TrueMusic Chart</a></td> \n";
                          html+="        </tr> \n";
                  }
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  //alert(menu);
                  if(menu=="1"){
                          html+="        <tr bgcolor=\"#CC6666\"> \n";
                          html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://services.truelife.com/SearchEngine/search.aspx')\">";
                          html+=" <b>ศิลปิน</b></a></td> \n";
                          html+="        </tr> \n";
                          if (guid!=""){
                                  if(smenu=="10"){
                                          html+="        <tr bgcolor=\"#CC6666\"> \n";
                                          html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;<a href=\"http://truemusic.truelife.com/artist/artist.jsp?guid="+guid+"\">";
                                          html+="          <b>ข้อมูลศิลปิน</b></a></td> \n";
                                          html+="        </tr> \n";
                                  }else{
                                          html+="        <tr>";
                                          html+="          <td align=\"left\" valign=\"middle\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;<a href=\"http://truemusic.truelife.com/artist/artist.jsp?guid="+guid+"\">ข้อมูลศิลปิน</a></td> \n";
                                          html+="        </tr> \n";
                                  }
                                  if(smenu=="11"){
                                          html+="        <tr bgcolor=\"#CC6666\"> \n";
                                          html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;<a href=\"http://truemusic.truelife.com/artist/albums.jsp?guid="+guid+"\">";
                                          html+="          <b> อัลบั้ม </b></a></td> \n";
                                          html+="        </tr> \n";
                                  }else{
                                          html+="        <tr>";
                                          html+="          <td align=\"left\" valign=\"middle\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;<a href=\"http://truemusic.truelife.com/artist/albums.jsp?guid="+guid+"\">อัลบั้ม</a></td> \n";
                                          html+="        </tr> \n";
                                  }
                                  if(smenu=="12"){
                                          html+="        <tr bgcolor=\"#CC6666\"> \n";
                                          html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;<a href=\"http://truemusic.truelife.com/artist/mv.jsp?guid="+guid+"\">";
                                          html+="          <b> มิวสิควิดีโอ </b></a></td> \n";
                                          html+="        </tr> \n";
                                  }else{
                                          html+="        <tr>";
                                          html+="          <td align=\"left\" valign=\"middle\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;<a href=\"http://truemusic.truelife.com/artist/mv.jsp?guid="+guid+"\">มิวสิควิดีโอ</a></td> \n";
                                          html+="        </tr> \n";
                                  }
                                  if(smenu=="13"){
                                          html+="        <tr bgcolor=\"#CC6666\"> \n";
                                          html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;<a href=\"http://truemusic.truelife.com/artist/relate.jsp?guid="+guid+"\">";
                                          html+="          <b> ศิลปินแนวเดียวกัน</b></a></td> \n";
                                          html+="        </tr> \n";
                                  }else{
                                          html+="        <tr>";
                                          html+="          <td align=\"left\" valign=\"middle\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;<a href=\"http://truemusic.truelife.com/artist/relate.jsp?guid="+guid+"\">ศิลปินแนวเดียวกัน</a></td> \n";
                                          html+="        </tr> \n";
                                  }
                                  if(smenu=="14"){
                                          html+="        <tr bgcolor=\"#CC6666\"> \n";
                                          html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;<a href=\"http://truemusic.truelife.com/artist/station.jsp?guid="+guid+"\">";
                                          html+="          <b>สถานีเพลง</b></a></td> \n";
                                          html+="        </tr> \n";
                                  }else{
                                          html+="        <tr>";
                                          html+="          <td align=\"left\" valign=\"middle\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;<a href=\"http://truemusic.truelife.com/artist/station.jsp?guid="+guid+"\">สถานีเพลง</a></td> \n";
                                          html+="        </tr> \n";
                                  }
                                  if(smenu=="15"){
                                          html+="        <tr bgcolor=\"#CC6666\"> \n";
                                          html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;<a href=\"http://truemusic.truelife.com/artist/news.jsp?guid="+guid+"\">";
                                          html+="          <b>ข่าวศิลปิน</b></a></td> \n";
                                          html+="        </tr> \n";
                                  }else{
                                          html+="        <tr>";
                                          html+="          <td align=\"left\" valign=\"middle\" bgcolor=\"#CC6666\">&nbsp;&nbsp;&nbsp;<a href=\"http://truemusic.truelife.com/artist/news.jsp?guid="+guid+"\">ข่าวศิลปิน</a></td> \n";
                                          html+="        </tr> \n";
                                  }
                          }
                  }else{
                          html+="        <tr>";
                          html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://services.truelife.com/SearchEngine/search.aspx')\">ศิลปิน</a></td> \n";
                          html+="        </tr> \n";
                  }
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  //alert(menu);
                  if(menu=="4"){
                          html+="        <tr bgcolor=\"#CC6666\"> \n";
                          html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/mv/mvhome.jsp')\"><b> มิวสิควีดีโอ </b></a></td> \n";
                          html+="        </tr> \n";
                  }else{
                          html+="        <tr> \n";
                          html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/mv/mvhome.jsp')\">มิวสิควีดีโอ</a></td> \n";
                          html+="        </tr> \n";
                  }
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  //alert(menu);
                  if(menu=="6"){
                          html+="        <tr bgcolor=\"#CC6666\"> \n";
                          html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<b> ข่าวและสกู๊ป </b></td> \n";
                          html+="        </tr> \n";
                  }else{
                          html+="     <tr> \n";
                          html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/news/newshome.jsp')\">ข่าวและสกู๊ป</a></td> \n";
                          html+="        </tr> \n";
                  }
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  //alert(menu);
                  if(menu=="8"){
                          html+="        <tr bgcolor=\"#CC6666\"> \n";
                          html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<b> คอนเสิร์ต  </b></td> \n";
                          html+="        </tr> \n";
                  }else{
                          html+="     <tr> \n";
                          html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"javascript:openURL('http://truemusic.truelife.com/concert/home.jsp')\">คอนเสิร์ต </a></td> \n";
                          html+="        </tr> \n";
                  }
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  //alert(menu);
                  if(menu=="5"){
                          html+="        <tr bgcolor=\"#CC6666\"> \n";
                          html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<b> ทรู ออดิชั่ </b></td> \n";
                          html+="        </tr> \n";
                  }else{
                          html+="     <tr> \n";
                          html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"http://audition.truelife.com\">ทรู ออดิชั่น</a></td> \n";
                          html+="        </tr> \n";
                  }
                  //html+="        <tr> \n";
                  //html+="          <td><img src=\"http://truemusic.truelife.com/images/line1.gif\" width=\"168\" height=\"2\"></td> \n";
                  //html+="        </tr> \n";
                  //alert(menu);
                  if(menu=="10"){
                         // html+="        <tr bgcolor=\"#CC6666\"> \n";
                         // html+="          <td align=\"left\" bgcolor=\"#CC6666\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<b> FullSong Download </b></td> \n";
                         // html+="        </tr> \n";
                  }else{
                         // html+="     <tr> \n";
                        //  html+="          <td align=\"left\" valign=\"middle\">&nbsp;<img src=\"http://truemusic.truelife.com/home/images/arrow_white.gif\">&nbsp;<a href=\"http://truemusic.truelife.com/fullsong\">FullSong Download</a></td> \n";
                        //  html+="        </tr> \n";
                  }
                  html+="        <tr> \n";
                  html+="          <td><img src=\"http://truemusic.truelife.com/images/spacer.gif\" height=\"2\"></td> \n";
                  html+="        </tr> \n";
          }
          html+="      </table>";
          html+=" <table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"#310100\" > \n";
          html+=" <tr> \n";
          html+="   <td height=\"10\" background=\"http://truemusic.truelife.com/images/footter_submenu_02.gif\"></td> \n";
          html+=" </tr> \n";
          html+=" </table> \n";
          // +++++++++++++++++++++++++++++++++++++++++++++ adv +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

          //html+="  <script language=\"JavaScript\">writeHtmlTable();</script></td></tr>\n";

		  //html+="<tr><td><img src=\"http://truemusic.truelife.com/images/spacer.gif\" height=\"5\"></td></tr>";
		  //html+="<tr bgcolor=\"#000000\"><td bgcolor=\"#000000\"><script language=\"JavaScript\">writeHtmlTable();</script></td></tr>";
		  //html+=" </table> \n";
          // +++++++++++++++++++++++++++++++++++++++++++++ adv +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
          document.write(html);
  }
  function writeWM9(){
          html="<table width=\"100%\" bgcolor=\"#000000\">\n";
          html+="  <tr bgcolor=\"#000000\"> \n";
          html+="    <td align=\"center\">\n";
          html+="	<a href=\"http://trueworld.truelife.com/help/faq-4.jsp\" target=\"_blank\">";
          html+="	<img src=\"http://truemusic.truelife.com/images/ic_win9.gif\" border=\"0\"></a> \n";
		  html+="  </td> \n";
		  html+="  </tr> \n";
		  html+=" </table> \n";
		  document.write(html);
  }
  function Footer(){
          var html="";
          html+="	<TABLE cellSpacing=\"0\" cellPadding=\"0\" width=\"100%\" border=\"0\">\n";
          html+="  <TR>\n";
          html+="    <TD width=\"10\"></TD>\n";

          html+="    <TD vAlign=\"center\" align=\"middle\" background=\"http://music.trueworld.get/images/bgfooter_02.gif\" width=\"100%\">\n";
          html+="      <TABLE cellSpacing=\"0\" cellPadding=\"3\" border=\"0\" width=\"100%\">\n";
          html+="        <TR align=\"middle\">\n";
          html+="          <TD class=\"smalltext\"><span onClick=\"window.open('http://trueworld.truelife.com/TOS/TOS.html','TOS','directories=no,scrollbars=no,width=760,height=675,left=100,top=5');\" style=\"cursor:pointer\">TERMS OF SERVICES</span> | <span onClick=\"window.open('http://trueworld.truelife.com/CTU/CTU.html','CTU','directories=no,scrollbars=no,width=450,height=400,left=100,top=50');\" style=\"cursor:pointer\">CONTACT US</span></TD>\n";
          html+="        </TR>\n";
          html+="        <TR align=\"middle\">\n";
          html+="          <TD class=\"style2\">Copyright @ True Digital Entertainment. All rights reserved.</TD>\n";
          html+="        </TR>\n";
          html+="      </TABLE>\n";
          html+="    </TD>\n";

          html+="    <TD width=\"10\"></TD>\n";
          html+="  </TR>\n";
          html+="</TABLE>\n";

          document.write(html);
  }

function clickIE() {
	if (document.all) {
		return false;
	}
}

  function clickNS(e) {
          if (document.layers||(document.getElementById&&!document.all)) {
                  if (e.which==2||e.which==3) {
                          return false;
                  }
          }
  }

/*
  if (document.layers) {
          document.captureEvents(Event.MOUSEDOWN);
          document.onmousedown=clickNS;
  } else{
          document.onmouseup=clickNS;
          document.oncontextmenu=clickIE;
  }

  document.oncontextmenu=new Function("return false")
*/
