str1='<div id=menu0'
str2=' style="position:absolute;top:0;height=0;left:0;z-index:2;visibility:'
str3=') onmouseout=HTitle('
str4=")><table border=0 cellpadding=0 cellspacing=0 width=750 height=0><tr><td height=1><img src=/images/c.gif width=1 height=1></td></tr><tr><td valign=top align=center><table border=0 cellpadding=0 cellspacing=03 height=24><tr><td>"
str5="<a class=title1 href="
str6=' ><font size=2>'
str7="</font></a>"
str8="</td></tr></table></td></tr><tr><td><br><br></td></tr></table>"
str9="</div>"
str10='" onmouseover=showtitle('
str11=')">'
str12="><table border=0 cellpadding=0 cellspacing=0 width=750 height=0><tr><td height=1><img src=/images/c.gif width=1 height=1></td></tr><tr><td valign=top align=center><table border=0 cellpadding=0 cellspacing=03 height=24><tr><td>"


function showtitle(divnum)
{
	eval('menu0'+curdivnumt+'.style.visibility="hidden"')
	eval('menu0'+divnum+'.style.visibility="visible"')
	if(curdivnumt==1)
	{
		eval('bt0'+divnum+'.src="http://house.sina.com.hk/images/p"+divnum+"_ov.gif"')
	}else
	{
		eval('bt0'+divnum+'.src="http://house.sina.com.hk/images/p"+divnum+"_ov.gif"')
	}
};
function HTitle(divnum)
{
	eval('menu0'+curdivnumt+'.style.visibility="visible"')
	eval('menu0'+divnum+'.style.visibility="hidden"')
	if(curdivnumt==1)
	{
		eval('bt0'+divnum+'.src="http://house.sina.com.hk/images/p"+divnum+".gif"')
	}else
	{
		eval('bt0'+divnum+'.src="http://house.sina.com.hk/images/p"+divnum+"_ov.gif"')
	}
};
function hrestr(id,src,name)
{
	this.id=id;
	this.src=src
	this.name=name
}
srcitem=new Array()
srcitem[1]=new hrestr('3','http://house.sina.com.hk/section/propn','地產新聞')
srcitem[2]=new hrestr('3','http://house.sina.com.hk/section/prop1','樓市避雷法')
srcitem[3]=new hrestr('3','http://house.sina.com.hk/section/prop2','睇樓手冊')
srcitem[4]=new hrestr('5','http://house.sina.com.hk/section/prop3','專欄')
srcitem[5]=new hrestr('5','http://house.sina.com.hk/section/prop4','家庭生活')

srcitem[6]=new hrestr('5','http://house.sina.com.hk/section/exhibit','展會播報')
srcitem[7]=new hrestr('5','http://house.sina.com.hk/section/reform','住房改革')
srcitem[8]=new hrestr('5','http://house.sina.com.hk/section/talk','購房新知')
srcitem[9]=new hrestr('5','http://house.sina.com.hk/section/propsadv','置業顧問')
srcitem[10]=new hrestr('5','http://house.sina.com.hk/section/proprules','政策法規')
srcitem[11]=new hrestr('5','http://house.sina.com.hk/section/argu','糾紛與維權')
srcitem[12]=new hrestr('5','http://house.sina.com.hk/section/speak','峰會預告')
srcitem[13]=new hrestr('5','http://house.sina.com.hk/section/build','城市建設')
srcitem[14]=new hrestr('5','http://house.sina.com.hk/section/ques','專家答疑')

srcitem[15]=new hrestr('7','http://house.sina.com.hk/section/sh','上海房產新聞')
srcitem[16]=new hrestr('7','http://forums.sina.com.hk/cgi-bin/forum/list.cgi?bid=02&sid=8','上海樓盤留言板')

srcitem[17]=new hrestr('6','http://house.sina.com.hk/section/gd','廣東房產新聞')
srcitem[18]=new hrestr('6','http://house.sina.com.hk/section/sz','深圳房產新聞')
srcitem[19]=new hrestr('6','http://forums.sina.com.hk/cgi-bin/forum/list.cgi?bid=02&sid=6','廣東樓盤留言板')

srcitem[20]=new hrestr('2','http://house.sina.com.hk/section/propnews','北京房產新聞')
srcitem[21]=new hrestr('2','http://house.sina.com.hk/section/propscan','北京樓盤掃描')
srcitem[22]=new hrestr('2','http://forums.sina.com.hk/cgi-bin/forum/list.cgi?bid=02&sid=7','北京樓盤留言板');

srcitem[23]=new hrestr('4','http://forums.sina.com.hk/cgi-bin/forum/list.cgi?bid=02&sid=7','北京樓盤留言板');


function wrt(cc,dd)
{
	stemp=''
	for(i=2;i<=7;i++)
	{
		tt=''
		con=1
		for(j=1;j<srcitem.length;j++)
		{
			if(curdivnumt==1)
			{
				if(srcitem[j].id==i)
				{
					if(cc==i&&dd==con)
					{	tt+='&nbsp;&nbsp;&nbsp;'+"<img src=images/point.gif border=0>&nbsp;"+"<font color=#ffffff>"+srcitem[j].name+"</font>"
					}else{
						tt+='&nbsp;&nbsp;&nbsp;&nbsp;'+str5+srcitem[j].src+str6+srcitem[j].name+str7
					}
				con++
				}
			}else{
				if(srcitem[j].id==i)
				{

					if(cc==i&&dd==con)
					{	tt+='&nbsp;&nbsp;&nbsp;'+"<img src=images/point.gif border=0>&nbsp;"+"<font color=#ffffff><u>"+srcitem[j].name+"</u></font>"
					}else{
						
						tt+='&nbsp;&nbsp;&nbsp;&nbsp;'+str5+srcitem[j].src+str6+srcitem[j].name+str7
						
					}
				con++
				}
			}
			
		}
		
		if(cc!=i)
			if(tt==""){
			stemp+=str1+i+str2+"hidden"+str10+i+str3+i+str11+str9
			}else{
			stemp+=str1+i+str2+"hidden"+str10+i+str3+i+str4+tt+str8+str9
			}
		else
		stemp+=str1+i+str2+"visible"+'"'+str12+tt+str8+str9
	 }
	stemp="<div id=menu style='position:relative;top:0;left:0;z-index:2;'><div id=menu01 style='position:absolute;top:0;left:0;z-index:2;'></div>"+stemp+"<div id=menu08 style='position:absolute;top:0;left:0;z-index:2;'></div>"+"</div>"
	document.write(stemp)
}

