<!--
<?php
print <<<EOT
-->
<link rel="stylesheet" type="text/css" href="$webdb[www_url]/images/blue/index.css">
<SCRIPT src="$webdb[www_url]/images/blue/showpic.js" type=text/javascript></SCRIPT>
<div class="ad">{$label[blue_indexad]}</div>
<div class="MainContainer">
	<div class="MainL">
    	<div class="Maincont">
        	<div class="contL">
            	{$label[blue_indext1]}
            </div>
            <div class="contR">
            	<div id="ifocus">
                	{$label[blue_slidepic]}
                </div>
                <div class="centerad">
                	<div class="pic">{$label[blue_indexad1]}</div>
                    <div class="word">{$label[blue_indext2]}</div>
                </div>
            </div>
        </div>
<SCRIPT>
    //开始最左边的记录下标
    var b_startIndex=1;
    //显示5条记录
    var b_showNum = 5;
    function brightRollImg(){
		var imgLength = document.getElementById("brandLength").value ;
		var endIndex = b_startIndex + b_showNum;
		if(imgLength >b_showNum && endIndex<imgLength){
			document.getElementById('Rollup').className='up';
			document.getElementById("branditem"+b_startIndex).style.display = "none";
			document.getElementById("branditem"+endIndex).style.display = "inline";
			b_startIndex += 1; 
		}
		if(endIndex==10){
			document.getElementById('Rolldown').className='down0';
		}
	} 
	function bleftRollImg(){
		var imgLength = document.getElementById("brandLength").value ;
		var endIndex = b_startIndex + b_showNum - 1;
		if(b_startIndex>1){
			document.getElementById('Rolldown').className='down';
			b_startIndex -= 1; 
			document.getElementById("branditem"+b_startIndex).style.display = "inline";
			document.getElementById("branditem"+endIndex).style.display = "none";
		}
		if(endIndex==6){
			document.getElementById('Rollup').className='noup';
		}
	} 
</SCRIPT>
        <div class="PhotoZt">
        	<div class="head">
            	<div class="tag">{$label[blue_indexh1]}</div>
                <div class="more">
                	<span onclick="bleftRollImg()" class="noup" id="Rollup"><br/></span>
                    <span onclick="brightRollImg()" class="down" id="Rolldown"><br/></span>
                </div>
            </div>
            <div class="cont">
            	<INPUT id=brandLength type=hidden value=11>
            	{$label[blue_indext4]}
            </div>
        </div>
        <div class="OtherCont">
        	<div class="contL">
            	<div class="head">{$label[blue_indexh2]}</div>
                <div class="cont">{$label[blue_indext5]}</div>
            </div>
            <div class="contR">
            	<div class="head">{$label[blue_indexh3]}</div>
                <div class="cont">{$label[blue_indext6]}</div>
            </div>
        </div>
        <div class="OtherCont">
        	<div class="contL">
            	<div class="head">{$label[blue_indexh4]}</span></div>
                <div class="cont">{$label[blue_indext7]}</div>
            </div>
            <div class="contR">
            	<div class="head">{$label[blue_indexh5]}</div>
                <div class="cont">{$label[blue_indext8]}</div>
            </div>
        </div>
    </div>
    <div class="SideR">
    	<div class="NewsDp">
        	<div class="head"><span class="tag">{$label[blue_indexh6]}</span></div>
            <div class="cont">
            	{$label[blue_indext3]}
            </div>
        </div>
        <div class="HotZtcont">
        	<div class="head">{$label[blue_indexh7]}</div>
            <div class="cont">
            	<div class="c1">{$label[blue_indext9]}</div>
                <div class="c2">{$label[blue_indext10]}</div>
            </div>
        </div>
        <div class="TopArticle">
        	<div class="head"><span class="tag">{$label[blue_indexh8]}</span></div>
            <div class="cont">
            	<div class="h">
                	{$label[blue_indexh9]}
                </div>
                <div class="c" id="Tab1">{$label[blue_indext11]}</div>
                <div class="c" id="Tab2">{$label[blue_indext12]}</div>
                <div class="c" id="Tab3">{$label[blue_indext13]}</div>
            </div>
<SCRIPT LANGUAGE="JavaScript">ShowTab(1,1,4);</SCRIPT>
        </div>
        <div class="siderad">{$label[blue_indexad2]}</div>
        <div class="sidecont">{$label[blue_indext14]}</div>
    </div>
    <div class="ClearDiv"></div>
</div>
<div class="FrendLink">
	<div class="head">{$label[blue_indexh10]}</div>
    <div class="cont">
		<div class="pic">
<!--
EOT;
foreach($friendlinkDB[1] AS $key=>$rs){
print <<<EOT
-->
              <A HREF="$rs[url]" target=_blank><img alt="名称:$rs[name]\r\n描述:$rs[descrip]" src="$rs[logo]" width="88" height="31" border=0></A> 
<!--
EOT;
}
print <<<EOT
-->
        </div>
        <div class="word">
        	<span>合作伙伴:</span>  
<!--
EOT;
foreach($friendlink_DB[3][0] AS $key=>$rs){
print <<<EOT
-->
                  <A HREF="$rs[url]" target="_blank" title="描述:$rs[descrip]">$rs[name]</A>&nbsp; 
<!--
EOT;
}
print <<<EOT
-->
        </div>
        <div class="word">
        	<span>友情链接:</span>  
<!--
EOT;
foreach($friendlink_DB[2][0] AS $key=>$rs){
print <<<EOT
-->
                  <A HREF="$rs[url]" target="_blank" title="描述:$rs[descrip]">$rs[name]</A>&nbsp; 
<!--
EOT;
}
print <<<EOT
-->
        </div>
    </div>
</div>
<!--
EOT;
?>
-->