function ArticleBlockList(DivObj,guid,row,TLen,cols,showtype,userpage,imgBiao,isTime,LineH,backLine)
{			
	callback_Response(AjaxMethod.ArticleBlockList(guid,row,TLen,cols,showtype,userpage,imgBiao,isTime,LineH,backLine),DivObj);
}
		
function ArticlePageList(DivObj,guid,pageCount,WantGo,TLen)
{			
	callback_Response(AjaxMethod.ArticlePageList(guid,pageCount,WantGo,DivObj,TLen),DivObj);
}

function PicPageList(DivObj,guid,pageCount,cols,WantGo)
{			
	callback_Response(AjaxMethod.PicPageList(guid,pageCount,cols,WantGo,DivObj),DivObj);
}

function FeedbackPageList(DivObj,guid,pageCount,WantGo)
{			
	callback_Response(AjaxMethod.FeedbackPageList(guid,pageCount,WantGo,DivObj),DivObj);
}

function callback_Response(response,DivObj)
{
	//alert(response.value);
	var objlist = document.getElementById(DivObj); 
	if( objlist != null )
	{
		if (response.value != null)
		{
			objlist.innerHTML = response.value;
		}
	}
}
		


function SetStyle(bStyle)
{
	document.getElementById("Page_handle").style.background = "url(../Templates/"+bStyle+"/Images/center_1.jpg) left top no-repeat";
	document.getElementById("News_handle").style.background = "url(../Templates/"+bStyle+"/Images/center_1.jpg) left top no-repeat";	
	if(bStyle == "A001")
	{
		document.getElementById("News").style.backgroundColor = "#ff0066";
	}
	else
	{
		document.getElementById("News").style.backgroundColor = "#efefef";
	}
}				
			
			
			//³õÊ¼»¯Ãæ°åÎ»ÖÃ
			function InitPos(o,username,panelname)
			{
				var p = AjaxMethod.GetRecordPosition(username,panelname).value;
				
				if(p != null && typeof(p) == "object")
				{
					if(p.Tables[0].Rows.length > 0)
					{
						o.style.left = p.Tables[0].Rows[0].xPos+"px";
						o.style.top  = p.Tables[0].Rows[0].yPos+"px";
					}
				}
			}
			

			
			
			
			
			
			
			
