/***********************************************************
*
*	上海亿图科技
*
*	新闻部分banner。
*
*	HuSong 2006/9/27
*
***********************************************************/

var siteURL;
	siteURL = "";		//导航菜单 URL
var siteNDURL;
	siteNDURL = "http://www2.fangdi.com.cn";		//导航菜单 URL

var menusTitle = ["办事指南","网上公告","房地新闻","政策法规","产证办理","办事流程","土地新闻"];
var menusTitleSign = ["BSZN","WSGG","SCYW","ZCFG","LINKIMAGES","XINWENNEW","SCFX"];

var menuStr = "";
var menuFlag = false;

var pageURL = window.location.href;		//获取页面URL

menuStr += "<table class='tablebelow'>";
menuStr += "<tr>";
menuStr += "<td width='30' height='25'>&nbsp; </td>";
menuStr += "<td width=732 align=left>";
menuStr += "<img src='/pic/ps2_icon1.gif' width='11' height='11'> <span class='indextabletxt'>您的位置： <a href='/'>首页</a> >> ";

for (i=0; i<menusTitle.length; i++){
	if (pageURL.toUpperCase().indexOf(menusTitleSign[i]) != -1){
		menuStr += menusTitle[i];
		menuFlag = true;
		break;
	}
}
if (!menuFlag)
{
	menuStr += "Default";	//当上面都找不到时显示
}

menuStr += "</span></td>";
menuStr += "</tr>";
menuStr += "</table>";

document.write("<link rel='stylesheet' href='/styleNews.css' type='text/css'>");
document.write("<link href='/css/css.css' rel='stylesheet' type='text/css'>");
document.write("<CENTER>");
document.write("<table width='760' border='0' cellpadding='0' cellspacing='0'>");
document.write("<tr>");
document.write("<td width='181'><img src='/pic/logo.jpg' width='181' height='61'></td>");
document.write("<td width='385' valign='bottom'>");
document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0'>");
document.write("<tr>");
document.write("<td>&nbsp;</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='408' height='40'>");
document.write("<table width='408' height='40' border='0' cellpadding='0' cellspacing='0' background='/pic/toppanel.gif'>");
document.write("<tr>");
document.write("<td>");
document.write("<table width='98%' height='19' border='0' cellpadding='0' cellspacing='0'>");
document.write("<form method='post' name='loginForm' action='/EnterPriseLogin.asp?Action=LOGIN' ID='Form1'>");
document.write("<tr>");
document.write("<td width='1%'>&nbsp;</td>");
document.write("<td width='14%' class='txtbai' align='center'>用户名：</td>");
document.write("<td width='18%'><input name=UserID type='text' class='input' size='9'></td>");
document.write("<td width='13%' class='txtbai' align='center'>密码：</td>");
document.write("<td width='21%'><input name='Password' type='password' class='input' size=9></td>");
document.write("<td width='15%'><select name='userType' class='input'>");
document.write("<option value='企业'  selected>企业</option>");
document.write("<option value='楼市'>楼市</option>");
document.write("</select>");
document.write("</td>");
document.write(" ");
document.write("<td width='18%'><input type='image' src='/pic/ps_bt3.gif' width='35' height='19' alt='登陆'></td>");
document.write("</tr>");
document.write("</form>");
document.write("</table>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
document.write("</td>");
document.write("<td width='188' valign='bottom'><img src='/pic/ps_top1.gif' width='173' height='40'></td>");
document.write("</tr>");
document.write("</table>");
document.write(" ");
document.write("<table width='762' border='0' cellspacing='0' cellpadding='0'>");
document.write("<tr>");
document.write("<td><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='762' height='110'>");
document.write("<param name='movie' value='/pic/flash.swf'>");
document.write("<param name='quality' value='high'>");
document.write("<embed src='/pic/flash.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='762' height='110'></embed></object></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td><img src='/pic/ps_top3.gif' width='762' height='4'></td>");
document.write("</tr>");
document.write("</table>");
document.write("<table width='762' border='0' cellspacing='0' cellpadding='0'>");
document.write("<tr>");
document.write("<td width='173' height='33' background='/pic/ps_top4.gif'>&nbsp;</td>");
document.write("<td width='589'>");
document.write("<table width='589' border='0' cellspacing='0' cellpadding='0'>");
document.write("<tr>");
document.write("<td><a href='" + siteURL + "/index.htm' ><img src='/pic/ps_top5_02.gif' width='64' height='32' border='0'></a></td>");
document.write("<td width='58'><a href='" + siteURL + "/NewSale.htm' ><img src='/pic/ps_top5_03.gif' width='65' height='33' border='0'></a></td>");
document.write("<td width='65'><a href='" + siteNDURL + "/finalndhouse/Default.htm' ><img src='/pic/ps_top5_04.gif' width='66' height='33' border='0'></a></td>");
document.write("<td width='40'><a href='" + siteURL + "/land/landMarket.asp'><img src='/pic/ps_top5_10.gif' width='69' height='32' border='0'></a></td>");
document.write("<td width='66'><a href='" + siteURL + "/MarketAnalysis.htm' ><img src='/pic/ps_top5_05.gif' width='80' height='33' border='0'></a></td>");
document.write("<td width='80'><img src='/pic/ps_top5_09.gif' width='80' height='32' border='0'></td>");
document.write("<td width='81'><a href='" + siteURL + "/DealGuide.asp' ><img src='/pic/ps_top5_06.gif' width='81' height='33' border='0'></a></td>");
document.write("<td width='80'><a href='" + siteURL + "/customer.asp' ><img src='/pic/ps_top5_07.gif' width='80' height='33' border='0'></a></td>");
document.write("<td width='82'><a href='" + siteURL + "/aboutus.asp' ><img src='/pic/ps_top5_08.gif' width='78' height='32' border='0'></a></td>");
document.write("</tr>");
document.write("</table>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
document.write(menuStr);