//输出一个指定高度，sHeight为用户指定高度
function WriteHeight(sHeight)
{
  document.write('<table class="HiddenTable" width="1" height="'+ sHeight +'"><tr><td><img border="0" src="images/public/spacer.gif"></td></tr></table>');								
}


 //输出个标准的带格式的栏目标题，sName为栏目标题内容，sType为栏目条的类型。
function WriteTitle(sName,sType,sUrl)
{
  if (sType==1)
	  { 
	  if (sUrl=='null')
       {
       document.write('<table class="HiddenTable" width="196" height="27" cellspacing="0" cellpadding="0" background="images/lan_bg_right.jpg"><tr><td width="31"></td><td width="144"><font color="#FFFFFF"><b>' + sName + '</b></font></td><td width="18"><img border="0" src="images/lan_morenull.jpg" width="18" height="27"></td></tr></table>');
		}      
       else
       {
        document.write('<table class="HiddenTable" width="196" height="27" cellspacing="0" cellpadding="0" background="images/lan_bg_right.jpg"><tr><td width="31"></td><td width="144"><font color="#FFFFFF"><b>' + sName + '</b></font></td><td width="18"><a href="'+ sUrl +'"><img border="0" src="images/lan_more.jpg" width="18" height="27"></a></td></tr></table>');
	   }
	   }
  else  
	  {
	  
	   if (sUrl=='null')
       {
       document.write('<table class="HiddenTable" width="179" height="27" cellspacing="0" cellpadding="0" background="images/lan_bg_left.jpg"><tr><td width="31"></td><td width="144"><font color="#FFFFFF"><b>' + sName + '</b></font></td><td width="18"><img border="0" src="images/lan_morenull.jpg" width="18" height="27"></td></tr></table>');
		}      
       else
       {
        document.write('<table class="HiddenTable" width="179" height="27" cellspacing="0" cellpadding="0" background="images/lan_bg_left.jpg"><tr><td width="31"></td><td width="144"><font color="#FFFFFF"><b>' + sName + '</b></font></td><td width="18"><a href="'+ sUrl +'"><img border="0" src="images/lan_more.jpg" width="18" height="27"></a></td></tr></table>');
	   }
	  }
}
