if(getCookie("MemberInformation") != null){$.ajax({type: "GET",url: "/_theme/AuthorButtonExp.php?aid=24262066&bid=751300&mid=15421606&author_id=15421606&ga="+(new Date()).getTime(),async: false,dataType: 'json',success: getButton});}function getButton(json){document.write(""+json+"
");}if ((typeof xuiteBlogPlugin_auto_yo=="undefined") || (xuiteBlogPlugin_auto_yo == null) || (xuiteBlogPlugin_auto_yo == 'Y')) {var relateString = $("#content_all").html();if (relateString.match(//gi) == null && relateString.match(/]*[^<]*>/g) == null) {var yoExpHref = window.location.href.substring(7);var yoExpToken = yoExpHref.split('\/');var yoExpAid = null;if( yoExpToken.length == 4) {if (yoExpToken[3].match(/[#?]/) == null) {yoExpAid = yoExpToken[3];}else {yoExpAid = yoExpToken[3].split(/[#?]/)[0];}$.ajax({type: "GET",url: "/_theme/ArticleIdYoExp.php",data: "id="+ yoExpAid,dataType: "json",success: function(json){if(json != null && json.length != 0 && json.length <= 50){jQuery.each( json, function(index,poi){var str_replace = poi['title'].split("");$("#content_all > *:contains('"+poi['title']+"')").each(function() {var innerhtml = $(this).html();var sRegEx = new RegExp("<[^>]*"+poi['title']+"[^>]*>","g");var strFind = "";while (strFind != null) {strFind = innerhtml.match(sRegEx);if (strFind != null) {strFind = strFind[0];var sRegEx1 = new RegExp(poi['title'],"");innerhtml = innerhtml.replace(strFind,strFind.replace(sRegEx1,str_replace));}}sRegEx = new RegExp("()","gi");strFind = "";while (strFind != null) {strFind = innerhtml.match(sRegEx);if (strFind != null) {strFind = strFind[0];var sRegEx1 = new RegExp(poi['title'],"");innerhtml = innerhtml.replace(strFind,strFind.replace(sRegEx1,str_replace));}}sRegEx = new RegExp(poi['title'],"g");innerhtml = innerhtml.replace(sRegEx,''+poi['title']+' ');sRegEx = new RegExp(str_replace,"g");innerhtml = innerhtml.replace(sRegEx,poi['title']);$(this).html(innerhtml);});});}}});}}}
if ((typeof xuiteBlogPlugin_bookmark=="undefined") || (xuiteBlogPlugin_bookmark == null) || (xuiteBlogPlugin_bookmark == 'Y')){document.write("");(new XUI.Widgets.Push($(".bookmark"))).render();}
if( (typeof xuiteBlogPlugin_relate_article=="undefined") || (xuiteBlogPlugin_relate_article == null) || (xuiteBlogPlugin_relate_article == 'Y')){$(".articleExt").append('');var notVIP = '
';$(".articleExt").append(notVIP);$.ajax({ type: "POST", url: "/_theme/ArticleIdRelateExp.php", data: "id="+ 24262066, dataType: "json",success: function(json){var relateString = '';if(json != null && json.length != 0){jQuery.each( json, function(index,poi){relateString += '
' + poi['title'] + ''; });$("#articleExt_relate_content").append(relateString);$("#articleExt_relate_title").append("相關文章 : ");}else{$("#articleExt_relate_ads").hide();$("#articleExt_relate_content").hide();}}});}if( (typeof xuiteBlogPlugin_random_article=="undefined") || (xuiteBlogPlugin_random_article == null) || (xuiteBlogPlugin_random_article == 'Y')){$(".articleExt").append('
');var notVIP = '
';$(".articleExt").append(notVIP);$.get("/_theme/ArticleRandomExp.php?bid=751300", function(data){$("#articleExt_random_content").append(data);if(data != null && data != ""){$("#articleExt_random_title").append("隨機文章 : ");}});}if( (typeof xuiteBlogPlugin_history_today=="undefined") || (xuiteBlogPlugin_history_today == null) || (xuiteBlogPlugin_history_today == 'Y')){$(".articleExt").append("");}
本文的引用網址 http://blog.xuite.net/lynnman/music/24262066/track
![](https://img1.daumcdn.net/relay/cafe/R400x0/?fname=http%3A%2F%2Fb.blog.xuite.net%2Fb%2F3%2Fa%2Fc%2F11893557%2Fblog_10351%2Ftxt%2F11293067%2F7.gif)
function Score_Set2(idx){
if(idx < 0 || idx > 5)return;
var i, line;line='';
for(i=1;i <=idx;i++){
line+='
';
}
for(i=idx+1;i <=5;i++){
line+='
';
}
document.getElementById('SelectScore2').innerHTML=line;
if(idx > 0)
{
window.status='給 '+idx+' 顆星';
}
else
{
window.status='';
}
}
function Score_Send2(score){
if( [안내]태그제한으로등록되지않습니다-document.cookie.indexOf("otpw") == -1){
if(confirm("請先登入Xuite會員")){
document.location.href="/_members/login.php?furl="+location.href;
return;
}else{
return;
}
}
if(!confirm('您已將這篇文章評分為 '+score+' 顆星。按一下 [確定] 表示確認。')){return;}
document.location.href='/_theme/doRank.php?type=article&relate_id=24262066&stars='+score;
}
function setarticleRank(inMen,inStars){
var Stars = document.all ? document.all('article_average_stars') : document.getElementById('article_average_stars');
Stars.innerHTML = inStars;
var Men = document.all ? document.all('article_men') : document.getElementById('article_men');
Men.innerHTML = inMen;
}
function wopen(){
/*window.open*/("http://blog.xuite.net/_theme/item/item_auto_trackback.php?ping=http://blog.xuite.net/lynnman/music/24262066/track","trackBack","location=no,toolbar=no,resizable=yes,scrollbars=yes,width=430,height=400")
}
function copy_clip(meintext)
{
if (window.clipboardData)
{
// the IE-manier
window.clipboardData.setData("Text", meintext);
}
}
function openSpecfiyWindown(windowName){
/*window.open*/('about:blank',windowName,'width=800,height=600,menubar=no,scrollbars=yes');
}
function doMsgDelete(mid,page){
if(confirm("是否確定要刪除")){
$("div.jqmWindow").html("");
}
}
function doTrackDelete(tid,lid,url,page){
if(confirm("是否確定要刪除")){
$("div.jqmWindow").html("");
}
}
function doMsgEdit(mid,page){
var l="/_theme/message/message_post.php?act=edit&mid="+mid+"&aid=24262066&bid=751300&page="+page;
/*window.open*/(l,'post_win','width=660,height=700,scrollbars=1');
}
function doMsgReplyAdd(rel_id,page,owner_sn,owner_login_id){
var l="/_theme/message/message_post.php?act=reply&rel_id="+rel_id+"&aid=24262066&bid=751300&page="+page+"&owner_sn="+owner_sn+"&owner_login_id="+owner_login_id;
/*window.open*/(l,'post_win','width=660,height=700,scrollbars=1');
}
function doMsgReplyEdit(mid,page){
var l="/_theme/message/message_post.php?act=reply_edit&mid="+mid+"&aid=24262066&bid=751300&page="+page;
/*window.open*/(l,'post_win','width=660,height=700,scrollbars=1');
}
function doSummary(arg) {
$("#summarySwitch").html($("#summaryContent").html());
$("#summaryContent").html($("#summaryDisplay").html());
$("#summaryDisplay").html($("#summarySwitch").html());
}
function sendMail(content,link,title,author,e_title)
{
window.location.href = "mailto:?subject="+title+"&body=%B3o%ACO%A6n%AAB%A4%CD%C2%E0%B1H%AA%BAXuite%A6n%A4%E5%B3%B9%B3%E1%A1A%A7%D6%C2I%BF%EF%A4U%AD%B1%B3s%B5%B2%A1A%C0%B0%A5L%BCW%A5%5B%A4H%AE%F0%B3%E1%21%21"+escape('\n')+escape('\n')+e_title+escape('\n')+author+escape('\n')+content+escape('\n')+escape('\n')+link;
}
var myBlogThemeWidth;
var ori_width;
var ori_height;
var imgJar = new Array();
var objImg = null;
$(document).ready(function(){
$.ajax({
type: "GET",
url: '/_theme/ArticleDetailCounterExp.php?aid=24262066&ga='+(new Date()).getTime(),
dataType: 'json',
success: getArticleDetailCounter
});
var index="";
Message(24262066,751300,15421606,15421606,index);
TrackBack('24262066','lynnman','music','15421606','751300','15421606','Y',index);
Score_Set2(0);
setarticleRank(0,0);
if ((typeof xuiteBlogPlugin_auto_resize=="undefined") || (xuiteBlogPlugin_auto_resize == null) || (xuiteBlogPlugin_auto_resize == 'Y')) {
myBlogThemeWidth = $(".title").width()-38;
$("#content_all img").each(function() {
var imgIdx = $(this).attr('src');
ori_width = $(this).width();
ori_height = $(this).height();
imgJar[imgIdx] = new Array( ori_width,ori_height );
if( (ori_width>myBlogThemeWidth) ) {
$(this).width(myBlogThemeWidth);
$(this).height(myBlogThemeWidth/ori_width*ori_height);
$(this).mouseover(function(){
if ($("#obj_img").length <= 0) {
$("body").append('
');
$("#obj_img").css({"left":$(this).offset().left,"top":$(this).offset().top,"position":"absolute","overflow-x":"visible","overflow-y":"visible","display":"block"}).mouseout(function(){$("#obj_img").remove();});
}
});
}
});
}
});
function getArticleDetailCounter(json){
$("#article_counter").html(json[0].counter);
}
function TrackBack(aid,b_login,b_url,mid,bid,a_author_id,track_flag,index){
$.ajax({
type: "GET",
url: '/_theme/TrackBackShowExp.php?aid='+aid+'&b_login='+b_login+'&b_url='+b_url+'&mid='+mid+'&bid='+bid+'&a_author_id='+a_author_id+'&track_flag='+track_flag+'&index='+index+'&ga='+(new Date()).getTime(),
dataType: 'json',
async: false,
success: getTrackBackShow
});
}
function Message(aid,bid,uid,a_author_id,index){
$("div.item_message").html("");
$("div.alertLoad").ajaxStart(function(){
$(this).show();
});
$("div.alertLoad").ajaxStop(function(){
$(this).hide();
$(this).unbind("ajaxStart");
});
$.ajax({
type: "GET",
url: '/_theme/MessageShowExp.php?ver=new&aid='+aid+'&uid='+uid+'&bid='+bid+'&a_author_id='+a_author_id+'&index='+index+'&ga='+(new Date()).getTime(),
dataType: 'json',
async: false,
success: getMessageShow
});
}
function getMessageShow(json){
$("div.item_message").html(json['message'].content);
$("div.alertLoad").hide();
if(json['aside'].check != 0){
for( i =0; i < json['aside'].length; i++){
$("div#authorname_"+json['aside'][i].id).html("");
$("div#commenttext_"+json['aside'][i].id).html(json['aside'][i].content);
}
}
if (json['button'].check != 0){
for( i =0; i < json['button'].length; i++) {
if(json['button'][i].level == 'all'){
/*是回覆*/
if(json['button'][i].relation_id != null && json['button'][i].relation_id != undefined){
$("div#commentbutton_"+json['button'][i].relation_id).html("
");
/*是回應*/
}else{
/*有回覆*/
if($("div#reply_"+json['button'][i].id).html() != null){
$("div#commentbutton_"+json['button'][i].id).html("
");
/*沒回覆*/
}else{
if(json['button'][i].self_write != 'y'){
$("div#commentbutton_"+json['button'][i].id).html("
");
}else{
$("div#commentbutton_"+json['button'][i].id).html("
");
}
}
}
}else if(json['button'][i].level == 'one'){
/*是回覆*/
if(json['button'][i].relation_id != null && json['button'][i].relation_id != "undefined"){
$("div#commentbutton_"+json['button'][i].relation_id).html("
");
/*是回應*/
}else{
/*有回覆*/
if($("div#reply_"+json['button'][i].id).html() != null){
$("div#commentbutton_"+json['button'][i].id).html("
");
/*沒回覆*/
}else{
if(json['button'][i].self_write != 'y'){
$("div#commentbutton_"+json['button'][i].id).html("
");
}else{
$("div#commentbutton_"+json['button'][i].id).html("
");
}
}
}
//放上ip
}else{
$("div#commentbutton_"+json['button'][i].id).html("
");
}
}
}
if (json['reload'].flage != "true"){
ff= location.href;
tt = ff.indexOf("#");
if(tt != -1){
o_index =ff.substring(0,tt);
location.href=o_index+"#message_header";
}else{
location.href=ff+"#message_header";
}
}
if ($('.previewlink').length > 0 && $("#BlogADIframe").length == 0)
$('.previewlink').cluetip({sticky: true, closePosition: 'title', closeText: '
'});
}
function getTrackBackShow(json){
$("div.item_trackBack").html(json['trackBack'].content);
if(json['button'].check != 1){
$("div.track_button").hide();
}
if(json['reload'].flage != "true"){
ff= location.href;
tt = ff.indexOf("#");
if(tt != -1){
o_index =ff.substring(0,tt);
location.href=o_index+"#trackBack_header";
}else{
location.href=ff+"#trackBack_header";
}
}
}