function doZoom(size){
		var artibody = document.getElementById('artibody');
		if(!artibody){
			return;
		}
		var artibodyChild = artibody.childNodes;
		artibody.style.fontSize = size + 'px';
		//再对artibody div内的直接html节点设置fontSize属性
		for(var i = 0; i < artibodyChild.length; i++){
			if(artibodyChild[i].nodeType == 1){
				artibodyChild[i].style.fontSize = size + 'px';
			}
		}		
	}

function LoadPrintJsCallBack()
	{
		if(typeof forSPrint == "object" && forSPrint.Print)
		{
			forSPrint.Print();
		}
	}

function SinaPrintGetBrowser(){
		if (navigator.userAgent.indexOf("MSIE") != -1)
		{
			return 1; 
		}
		else if (navigator.userAgent.indexOf("Firefox") != -1)
		{
			return 2; 
		}
		else if (navigator.userAgent.indexOf("Navigator") != -1)
		{
			return 3;
		}
		else if (navigator.userAgent.indexOf("Opera") != -1 )
		{
			return 4;
		}else
		{
			return 5;
		}
	}

function LoadPrintJs()
	{
		var myBrowser = SinaPrintGetBrowser();

		if(myBrowser == 1)
		{
			var js_url = "../inc/print.js";
			var js = document.createElement( "script" ); 
			js.setAttribute( "type", "text/javascript" );
			js.setAttribute( "src", js_url);
			js.setAttribute( "id", "sinaPrintJsUrl");
			document.body.insertBefore( js, null);
			document.getElementById("sinaPrintJsUrl").onreadystatechange = LoadPrintJsCallBack;
		}
		else
		{
			var js_url = "../inc/print.js";
			var js = document.createElement( "script" ); 
			js.setAttribute( "type", "text/javascript" );
			js.setAttribute( "src", js_url);
			js.setAttribute( "id", "sinaPrintJsUrl");
			js.setAttribute( "onload", "LoadPrintJsCallBack()");
			document.body.insertBefore( js, null);					
		}
	}

function imgresize(o){

	if(o.width > 400 )
	{

		o.style.width='400px';

	}

}