document.domain = "163.com";
function onloadRightTab(){
	var tab = new NIE_UI.overAction();
	tab.onTime = 150;
	tab.btn = [{DOM:NIE_UI.getChild("pxTab","li"),onClass:"on",offClass:""}];
	tab.con = [
				{DOM:NIE_UI.$("px-content-1","px-content-2"),onClass:"px",offClass:"HD"},
			  ];
	tab.init();
}
function dyniframesize(iframeObj) {
	if (iframeObj && !window.opera) {
		var leftHeight = 573;
		iframeObj.style.display = "block";
		if (iframeObj.contentDocument
				&& iframeObj.contentDocument.body.offsetHeight) {
			if (iframeObj.id=="mainFrame"
					&& iframeObj.contentDocument.body.offsetHeight < leftHeight) {
				iframeObj.height = leftHeight;
			} else {
				iframeObj.height = iframeObj.contentDocument.body.offsetHeight;
			}
		} else if (iframeObj.Document
				&& iframeObj.Document.body.scrollHeight) {
			if (iframeObj.id=="mainFrame"
					&& iframeObj.Document.body.scrollHeight < leftHeight) {
				iframeObj.height = leftHeight;
			} else {
				iframeObj.height = iframeObj.Document.body.scrollHeight;
			}
		}
	}
}
function copyToClipBoard(){
	var clipBoardContent=top.location.href;
	var title = (document.getElementById("artTitle"))?document.getElementById("artTitle").innerHTML:null;
	window.clipboardData.setData("Text",title +"\n" +clipBoardContent);
	alert("复制地址成功,您可以粘贴（CTRL+V）发送给好友");
} 