﻿document.write ('<table width="955" height="75" border="0" align="center" cellpadding="0" cellspacing="0">');
document.write ('<tr>');
document.write ('<td width="240" align="right"><img src="/images/index/logo.gif" width="205" height="60" hspace="10" /></td>');
document.write ('<td width="480" valign="bottom"><div class="');
if(location.pathname=="/")
{
	document.write ('navigationre');
}
else
{
	document.write ('navigation');
}
document.write ('" style="width:55px;background-position: 0px;" _reclass="navigationre" onclick="document.location.href=\'/\'"></div>');

document.write ('<div class="');
if(location.pathname=="/album/")
{
	document.write ('navigationre');
}
else
{
	document.write ('navigation');
}
document.write ('" style="width:42px;background-position: -55px;" _reclass="navigationre" onclick="document.location.href=\'/album\'"></div>');

document.write ('<div class="');

if(location.pathname=="/promotion/")
{
	document.write ('navigationre');
}
else
{
	document.write ('navigation');
}
document.write ('" style="width:42px;background-position: -97px;" _reclass="navigationre" onclick="document.location.href=\'/promotion\'"></div>');

document.write ('<div class="');

if(location.pathname=="/tuangou.php")
{
	document.write ('navigationre');
}
else
{
	document.write ('navigation');
}
document.write ('" style="width:43px;background-position: -139px;" _reclass="navigationre" onclick="document.location.href=\'/tuangou.php\'"></div>');

document.write ('<div class="');

if(location.pathname.indexOf("outdoor")!=-1)
{
	document.write ('navigationre');
}
else
{
	document.write ('navigation');
}
document.write ('" style="width:90px;background-position: -182px;" _reclass="navigationre" onclick="document.location.href=\'/outdoor/\'"></div>');

document.write ('<div class="');

if(location.pathname=="/tiantianqiang.php")
{
	document.write ('navigationre');
}
else
{
	document.write ('navigation');
}
document.write ('" style="width:58px;background-position: -272px;" _reclass="navigationre" onclick="document.location.href=\'/tiantianqiang.php\'"></div>');

document.write ('<div class="');

if(location.pathname=="/jf.php")
{
	document.write ('navigationre');
}
else
{
	document.write ('navigation');
}
document.write ('" style="width:76px;background-position: -330px;" _reclass="navigationre" onclick="document.location.href=\'/jf.php\'"></div>');

document.write ('<div class="');

if(location.pathname=="/gallery/")
{
	document.write ('navigationre');
}
else
{
	document.write ('navigation');
}
document.write ('" style="width:64px;background-position: -406px;" _reclass="navigationre" onclick="document.location.href=\'/gallery\'"></div></td>');

document.write ('<td valign="bottom"><table width="100%" height="75" border="0" cellpadding="0" cellspacing="0">');
document.write ('<tr>');
document.write ('<td height="30" align="right" class="word12">');
//alert(document.cookie);
if(!COOKIE.ReadCookie("users_username")) 
{
document.write ('<a href="/reg/enter.php">登陆</a>&nbsp;<a href="/reg/login.html">注册</a>&nbsp;');
}
else
{
document.write ('<a href="/accoun/">' + COOKIE.ReadCookie("users_username") + '</a>已登录&nbsp;<a href="/reg/php/logout.php">注销</a>&nbsp;');
}

document.write ('&nbsp;<a href="/service/">帮助中心</a></td>');
document.write ('</tr>');
document.write ('<tr>');
document.write ('<td align="center" valign="bottom"><div class="newtopbox"><div class="newtop" style="width:149px;" onclick="document.location.href=\'/ad/taili/\'" _reclass="newtopre"></div></td>');
document.write ('</tr>');
document.write ('</table></td>');
document.write ('</tr>');
document.write ('</table>');
document.write ('<div class="across">');
document.write ('<div class="left"><img src="/images/index/acrossleft.gif" /></div>');
document.write ('<div class="right"><img src="/images/index/acrossright.gif" /></div>');
document.write ('<div class="right" style="width:50px;">&nbsp;</div>');
document.write ('<div class="right"><a href="/accoun/"><img src="/images/index/help4.gif" width="52" border="0" height="26" /></a><img src="/images/index/helpl.gif" width="4" height="26" hspace="10" /><a href="/service/"><img src="/images/index/help2.gif" border="0" width="53" height="26" /></a><img src="/images/index/helpl.gif" width="4" height="26" hspace="10" /><a href="/order/cart.html"><img src="/images/index/help3.gif" border="0" width="40" height="26" /></a></div>');
document.write ('</div><div class="box_955" style="font-size: 1px;"><img src="/images/index/across.gif" width="955" height="4" /></div>');

function pbox() {
	
	if (_version >= 5.5 && _version < 7.0) 
	{
		if(document.getElementById("pbox")) document.getElementById("pbox").className = "pbox1";
	}
	
}

if (!(navigator.appName=="Microsoft Internet Explorer"))
{
	window.addEventListener("load",pbox,false);
}
else
{
	window.attachEvent("onload",pbox);
}

//var S = "/dd/dd/dd/ff.png";
//alert(S.slice(0,-4));