//网站路径(域名)控制器
(function(){
	window.X||(window['X']={});
	X.domain = "document.domain";
	X.PATH={
		ROOT:"http://music.10086.cn/newweb/",
		SUPPORT:"http://mdll.10086.cn/newweb/",
		VIP:"http://mapi.10086.cn/newweb/",
		CLUB:"http://mclub.10086.cn",
		WM:"http://wm.10086.cn",		
		M:"http://m.10086.cn"		
	}
	//重载域名
	X.PATH.WAP=X.PATH.M;
	document.domain='10086.cn';
})();

/**
	外部调用进入站内消息模块
*/
function sendMsg(){
	var url = X.PATH.ROOT+"v3/blog/blog_msg/P6/P6Z2/P6Z2Y10/12530/_/_/_/_/_/_/_/_/_/_/_/v3club.html";
	window.open(url);
}



/**
	外部调用发送消息
	toUserId 目的用户ID
*/
function sendMsgToUser(toUserId){
	var url = X.PATH.ROOT+"v3/blog/blog_msg/P6/P6Z2/P6Z2Y10/12530/_/_/_/_/_/_/_/_/" + toUserId + "/6/_/v3club.html";
	window.open(url);
}

/**
	外部调用推荐消息
	contentId 内容id
	contentName 内容名称
	contentType 内容类型 1.MV  2.歌曲
*/
function sendContentToUser(contentId, contentName, contentType){
	var url = X.PATH.ROOT+"v3/blog/blog_msg/P6/P6Z2/P6Z2Y10/12530/_/_/_/_/_/_/_/_/" + contentId+ ","+contentType+"/7/" + contentName + "/v3club.html";
	window.open(url);
}

/**
	V3外部调用推荐消息
	contentId 内容id
	contentName 内容名称
*/
function V3_sendContentToUser(mvname,contentName){
	var url = X.PATH.ROOT+"v3/blog/blog_msg/P6/P6Z2/P6Z2Y10/12530/_/_/_/_/_/_/_/_/" + mvname + "/99/" + contentName + "/v3club.html";
	window.open(url);
}
-->
