var adlWallPaperLeft='957';


function ShowTipBox(gsid)
	{
	document.getElementById('helptext_'+gsid).style.display = 'block';
	w = -300;
	//window.clearInterval(expand);
	expand = window.setInterval("MoveTipBox(1)",5);
	}

function HideTipBox(gsid)
	{
	document.getElementById('helptext_'+gsid).style.display = 'none';
	w = 300;
	//window.clearInterval(expand);
	expand = window.setInterval("MoveTipBox(0)",5);
	}

function MoveTipBox(dir)
	{
	if (dir == 0)
		{if (w>-350) {w = w-10;} else {window.clearInterval(expand);}}
	else
		{if (w<350) {w = w+10;} else {window.clearInterval(expand);}}

	document.getElementById('tipbox').style.left = w+'px';
	}


function ShowArticlePreview(id)
	{
	document.getElementById('articlepreview_'+id).style.display = 'block';
	}

function HideArticlePreview(id)
	{
	document.getElementById('articlepreview_'+id).style.display = 'none';
	}

function HideArticleList()
	{
	document.getElementById('articlelist').style.display = 'none';
	document.getElementById('hidearticlelist').style.display = 'none';
	document.getElementById('showarticlelist').style.display = 'inline';
	}

function ShowArticleList()
	{
	document.getElementById('articlelist').style.display = 'block';
	document.getElementById('hidearticlelist').style.display = 'inline';
	document.getElementById('showarticlelist').style.display = 'none';
	}

function ShowSearchBox()
	{
	document.getElementById('articlelist').style.display = 'none';
	document.getElementById('jumplist').style.display = 'none';
	document.getElementById('searchbox').style.display = 'block';
	document.getElementById('searchnavi').style.display = 'block';
	}

function HideSearchBox()
	{
	document.getElementById('searchbox').style.display = 'none';
	document.getElementById('searchnavi').style.display = 'none';
	document.getElementById('articlelist').style.display = 'block';
	document.getElementById('jumplist').style.display = 'block';
	}