
			function getxmlhttp()
			{
				var xmlhttp;
				try
				{
					xmlhttp=new XMLHttpRequest();
				}
				catch(e)
				{
					try
					{
						xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
					}
					catch(e)
					{
						try
						{
							xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");
						}
						catch(e)
						{
							alert("your browser is not support 'Ajax'!");
							return ;
						}
					}
				}
				return xmlhttp;
			}
			function show_detail(articleid)
			{
				var xmlhttp;
				xmlhttp=getxmlhttp();
				
				xmlhttp.onreadystatechange=function()
				{
					if(xmlhttp.readyState==4)
					{
						
						document.getElementById("aaww").innerHTML=xmlhttp.responseText;
					}
				};
				url="viewnum.asp?articleid="+articleid;
				xmlhttp.open("GET",url,true);
				xmlhttp.send(null);
			}
			
	function show_magmag(dzk,pictureurl,years,MagNum,usertype)
			{
				//alert(usertype);
				var xmlhttp;
				xmlhttp=getxmlhttp();
				
				xmlhttp.onreadystatechange=function()
				{
					if(xmlhttp.readyState==4)
					{
						//alert(xmlhttp.responseText);
						var arr_rs=new Array()
						var arr=xmlhttp.responseText;
						arr_rs=arr.split("|||");
						
						if (arr_rs[0]=="111222")
							{
							//document.location.href=+arr_rs[2]+; 
							window.open(arr_rs[1]);
							}
						if (arr_rs[0]=="222333")
							{
							alert(arr_rs[1]);
							}
						if (arr_rs[0]=="333444")
							{
							alert(arr_rs[1]);window.open("/login_s.asp");
							}	
					}
				};
				
				url="/magmag.asp?dzk="+dzk+"&pictureurl="+pictureurl+"&years="+years+"&usertype="+usertype+"&MagNum="+MagNum;
				//alert(url)
					xmlhttp.open("POST",url,true);
				xmlhttp.send(null);
			}

		
