//***********默认设置定义.*********************
tPopWait=50;//停留tWait豪秒后显示提示。
tPopShow=5000;//显示tShow豪秒后关闭提示
showPopStep=20;
popOpacity=99;

//***************内部变量定义*****************
sPop=null;
curShow=null;
tFadeOut=null;
tFadeIn=null;
tFadeWaiting=null;

document.write("<style type='text/css'id='defaultPopStyle'>");
document.write(".cPopText {  background-color: #F8F8F5;color:#000000; border: 1px #000000 solid;font-color: font-size: 12px; padding-right: 4px; padding-left: 4px; height: 20px; padding-top: 2px; padding-bottom: 2px; filter: Alpha(Opacity=0)}");
document.write("</style>");
document.write("<div id='dypopLayer' style='position:absolute;z-index:1000;' class='cPopText'></div>");




//下拉菜单相关代码
 var h;
 var w;
 var l;
 var t;
 var topMar = 1;
 var leftMar = -2;
 var space = 1;
 var isvisible;
 var MENU_SHADOW_COLOR='#999999';//定义下拉菜单阴影色
 var global = window.document
 global.fo_currentMenu = null
 global.fo_shadows = new Array

function HideMenu() 
{
 var mX;
 var mY;
 var vDiv;
 var mDiv;
	if (isvisible == true)
{
		vDiv = document.all("menuDiv");
		mX = window.event.clientX + document.body.scrollLeft;
		mY = window.event.clientY + document.body.scrollTop;
		if ((mX < parseInt(vDiv.style.left)) || (mX > parseInt(vDiv.style.left)+vDiv.offsetWidth) || (mY < parseInt(vDiv.style.top)-h) || (mY > parseInt(vDiv.style.top)+vDiv.offsetHeight)){
			vDiv.style.visibility = "hidden";
			isvisible = false;
		}
}
}

function ShowMenu(vMnuCode,tWidth) {
	vSrc = window.event.srcElement;
	vMnuCode = "<table id='submenu' cellspacing=1 cellpadding=3 style='width:"+tWidth+"' class=tableborder1 onmouseout='HideMenu()'><tr height=23><td nowrap align=left class=tablebody1>" + vMnuCode + "</td></tr></table>";

	h = vSrc.offsetHeight;
	w = vSrc.offsetWidth;
	l = vSrc.offsetLeft + leftMar+4;
	t = vSrc.offsetTop + topMar + h + space-2;
	vParent = vSrc.offsetParent;
	while (vParent.tagName.toUpperCase() != "BODY")
	{
		l += vParent.offsetLeft;
		t += vParent.offsetTop;
		vParent = vParent.offsetParent;
	}

	menuDiv.innerHTML = vMnuCode;
	menuDiv.style.top = t;
	menuDiv.style.left = l;
	menuDiv.style.visibility = "visible";
	isvisible = true;
}


function hidden_table(){
	if(typeof(submenu)!='undefined'){
		submenu.style.display='none'
	}
}
var boardstat= '<table  border=1  bordercolordark="#FFFFFFF" bordercolorlight="#0000" cellpadding="0" cellspacing="0" width="100%" bgcolor="FFF666"><tr><td  height="20"  align="center"><a  href=\"http://uaa.ctrip.com/supermarket/Flight/SuperFlightSearch.asp\" target=_top><font color=#000000><b>国内机票</b></font></a></td></tr><tr><td  height="20" align="center" ><a  href=\"http://uaa.ctrip.com/supermarket/Flight/SuperFlightSearchi.asp\" target=_top><font color=#000000><b>国际机票</b></font></a></td></tr></table>'

var _9527spVendor= '<table border=1  bordercolordark="#FFFFFFF" bordercolorlight="#0000" cellpadding="0" cellspacing="0" width="100%" bgcolor="FFF666"><tr><td  height="20" align="center" ><a  href=\"http://www.uaa.cn/cms5root/pages/cn2/topics/thsh/spserviceVendor.page?cid=10191\" target=_top><font color=#000000><b>UAA特惠商户</b></font></a></td></tr><tr><td  height="20"  align="center"><a  href=\"http://uaa.ctrip.com/Merchant/index.asp\" target=_top><font color=#000000><b>携程特惠商户</b></font></a></td></tr></table>'

	function changetitle()
	{
	document.title="联合汽车俱乐部 | 联合汽车网"
	}

changetitle();

 
document.writeln("<DIV id=menuDiv style=\"Z-INDEX: 2; VISIBILITY: hidden; POSITION: absolute;\"></DIV>");

 
document.writeln("     <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"778\" align=\"center\">");
document.writeln("      <tr height=\"2\">");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu1_1\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#226264\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu2_1\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu3_1\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu4_1\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu5_1\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu6_1\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu7_1\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu8_1\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu9_1\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu10_1\"></td");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu11_1\"></td");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu12_1\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("      </tr>");
document.writeln("      <tr height=\"2\">");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu1_2\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu2_2\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu3_2\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu4_2\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu5_2\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu6_2\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu7_2\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu8_2\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu9_2\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu10_2\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu11_2\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#666666\"></td>");
document.writeln("        <td bgcolor=\"#666666\" id=\"menu12_2\"></td>");
document.writeln("      </tr>");
document.writeln("      <tr height=\"1\">");
document.writeln("        <td bgcolor=\"#000000\" colspan=\"34\"></td>");
document.writeln("      </tr>");
document.writeln("      <tr height=\"23\">");
document.writeln("        <td bgcolor=\"#FFCE05\" class=\"menuc\" align=\"center\"  onmouseover=\"javascript:this.bgColor='FFF666'\" onmouseout=\"javascript:this.bgColor='ffce05'\">&nbsp;<a id=\"menu1_3\" href=\"http://www.uaa.cn\" class=\"menuhref\" target=\"_top\">首页</a>&nbsp;&nbsp;</td>");
document.writeln("        <td width=\"1\" bgcolor=\"#FFFFFF\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#975F00\"></td>");
document.writeln("        <td bgcolor=\"#FFCE05\" class=\"menuc\" align=\"center\"  onmouseover=\"javascript:this.bgColor='FFF666'\" onmouseout=\"javascript:this.bgColor='ffce05'\"><a id=\"menu2_3\" href=\"http://insurance.uaa.cn/\" class=\"menuhref\" target=\"_top\">特惠车险</a></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#FFFFFF\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#975F00\"></td>");
document.writeln("        <td bgcolor=\"#FFCE05\" class=\"menuc\" align=\"center\" onmouseover=\"javascript:this.bgColor='FFF666'\" onmouseout=\"javascript:this.bgColor='ffce05'\"><a id=\"menu3_3\" href=\"http://repair.uaa.cn/\" class=\"menuhref\"  target=\"_top\">维修保养</a></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#FFFFFF\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#975F00\"></td>");
document.writeln("        <td bgcolor=\"#FFCE05\" class=\"menuc\" align=\"center\" onmouseover=\"javascript:this.bgColor='FFF666'\" onmouseout=\"javascript:this.bgColor='ffce05'\"><a id=\"menu4_3\" href=\"http://detailing.uaa.cn/\" class=\"menuhref\" target=\"_top\">美容装饰</a></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#FFFFFF\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#975F00\"></td>");
document.writeln("        <td bgcolor=\"#FFCE05\"  class=\"menuc\" align=\"center\" onmouseover=\"javascript:this.bgColor='FFF666'\" onmouseout=\"javascript:this.bgColor='ffce05'\"><a id=\"resuremenu\" href=\"http://rescue.uaa.cn/\" class=\"menuhref\" target=\"_top\">全国救援</a></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#FFFFFF\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#975F00\"></td>");
document.writeln("        <td bgcolor=\"#FFCE05\" class=\"menuc\" align=\"center\" onmouseover=\"javascript:this.bgColor='FFF666'\" onmouseout=\"javascript:this.bgColor='ffce05'\"><a id=\"menu5_3\" href=\"http://carwash.uaa.cn/\" class=\"menuhref\" target=\"_top\">特惠洗车</a></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#FFFFFF\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#975F00\"></td>");
document.writeln("        <td bgcolor=\"#FFCE05\" class=\"menuc\" align=\"center\" onmouseover=\"javascript:this.bgColor='FFF666'\" onmouseout=\"javascript:this.bgColor='ffce05'\"><a id=\"menu6_3\" href=\"http://club.uaa.cn/forumdisplay.php?fid=67\" class=\"menuhref\" target=\"_top\">二手车</a></td>");   
document.writeln("        <td width=\"1\" bgcolor=\"#FFFFFF\"></td>");
document.writeln("		<td width=\"1\" bgcolor=\"#975F00\"></td>");
document.writeln("        <td bgcolor=\"#FFCE05\" class=\"menuc\" align=\"center\" onmouseover=\"javascript:this.bgColor='FFF666';hidden_table()\" onmouseout=\"javascript:this.bgColor='ffce05'\"><a id=\"menu7_3\" href=\"http://uaa.ctrip.com/Supermarket/Hotel/HotelSearch.asp\" class=\"menuhref\" target=\"_top\">酒店预订</a></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#FFFFFF\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#975F00\"></td>");
document.writeln("        <td bgcolor=\"#FFCE05\" class=\"menuc\" align=\"center\" onmouseover=\"javascript:this.bgColor='FFF666'\" onmouseout=\"javascript:this.bgColor='ffce05'\"><a onmouseover=ShowMenu(boardstat,100)  class=\"menuhref\" target=\"_top\" style=\"cursor:hand\">机票预订</a></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#FFFFFF\"></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#975F00\"></td>");
document.writeln("        <td bgcolor=\"#FFCE05\" class=\"menuc\" align=\"center\" onmouseover=\"javascript:this.bgColor='FFF666'\" onmouseout=\"javascript:this.bgColor='ffce05';hidden_table()\"><a id=\"menu8_3\" href=\"http://uaa.ctrip.com/Destinations/DestinationGuides.asp\" class=\"menuhref\" target=\"_top\">目的地指南</a></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#FFFFFF\"></td>");
document.writeln("		<td width=\"1\" bgcolor=\"#975F00\"></td>");
document.writeln("		<td bgcolor=\"#FFCE05\" class=\"menuc\" align=\"center\" onmouseover=\"javascript:this.bgColor='FFF666'\" onmouseout=\"javascript:this.bgColor='ffce05'\"><a  onmouseover=ShowMenu(_9527spVendor,100) class=\"menuhref\" target=\"_top\">特惠商户</a></td>");
document.writeln("        <td width=\"1\" bgcolor=\"#FFFFFF\"></td>");		
document.writeln("        <td width=\"1\" bgcolor=\"#975F00\"></td>");
document.writeln("        <td bgcolor=\"#FFCE05\" class=\"menuc\" align=\"center\" onmouseover=\"javascript:this.bgColor='FFF666';hidden_table()\" onmouseout=\"javascript:this.bgColor='ffce05'\"><a id=\"menu9_3\" href=\"http://club.uaa.cn/index.php\" class=\"menuhref\" target=\"'_blank'\">俱乐部社区</a></td>");
document.writeln("      </tr>");
document.writeln("      <tr height=\"1\">");
document.writeln("        <td bgcolor=\"#000000\" colspan=\"34\"></td>");
document.writeln("      </tr>");
document.writeln("    </table> "); 

	function _9527showHL(){
		//MEMU上色处理
		this.insurance = 2;
		this.insurance2 = 2;
		this.listColumn_onlyInsureRule=2;
		this.maintain = 3;
		this.tinsel = 4;
		this.succor = 5;
		this.spservice = 6;
		this.carwash = 6;
		this.keydog = 8;
		this.secondcar = 9;
		this.teambuy = 10;
		this.spserviceVendor = 11;
		this.aimguide = 11;
		this.memberclub =12;
		this.root = 12;
		this.thecolumn = 12;
		this.author=12;
		this.article=12;
		this.groupruindex=10;
		this.discountShops=11;
		this.xsznCenterIndex10=5;


		this.cidNum = "";

		if(_GXgetPara("cid")=="10193"){
			cidNum = 11;
		}
			
		showNum = 1
		heightLightNum = _GXgetPara("HLNum");

		if(pageNameStr!="")
			fileNum = eval("this." + pageNameStr);	
		else
			fileNum = 1;

		if(heightLightNum!="" && !isNaN(heightLightNum))
			showNum = heightLightNum;
		else if(typeof(fileNum)!="undefined"){
			showNum = fileNum;
		}
		else if(cidNum!=""){
			showNum = cidNum;
		}
      // 2006-04-21 kenny
       var ctrip_location = window.location;
	   var showdoc1="viewthread.php";
	   var showdoc2="index.php"; 
       if((ctrip_location.href).indexOf(showdoc1)>0 || (ctrip_location.href).indexOf(showdoc2)>0)
		{
			showNum = 12
			eval("menu12_1").setAttribute("bgColor","#66FFFF")
			eval("menu12_2").bgColor="#66FFFF"
		}
	//如果是上海页面跳转到上海的全国救援 
	 var ctrip_location = window.location;
		var index="index.page";
		if(ctrip_location=="http://www.uaa.cn//cms5root/pages/page8953/sh_index.page")
			   
               eval("resuremenu").setAttribute("href","http://www.uaa.cn/cms5root/pages/cn2/topics/xc/sh_jiuy.page")
	       
   //上海页面跳的全国救援上色处理
	var ctrip_location = window.location
		if(ctrip_location.href=="http://www.uaa.cn/cms5root/pages/cn2/topics/xc/sh_jiuy.page"){
			showNum = 5
			eval("menu5_1").setAttribute("bgColor","#66FFFF")
			   eval("menu5_2").bgColor="#66FFFF"
		}
		
	
	 // 2006-04-10  
	/*	var ctrip_location = window.location
		if(ctrip_location.href=="http://bbs.uaa.cn/index.php" 
			|| ctrip_location.href=="http://club.uaa.net.cn/viewthread.php" 
			|| ctrip_location.href=="http://club.uaa.net.cn/viewthread.php?tid=784&extra=page%3D1" 
			|| ctrip_location.href=="http://club.uaa.net.cn/viewthread.php?tid=696&extra=page%3D1" 
			|| ctrip_location.href=="http://club.uaa.net.cn/viewthread.php?tid=624&extra=page%3D1" 
		    || ctrip_location.href=="http://club.uaa.net.cn/viewthread.php?tid=623&extra=page%3D1" 
			|| ctrip_location.href==" http://club.uaa.net.cn/viewthread.php?tid=946" 
			|| ctrip_location.href=="http://club.uaa.net.cn/viewthread.php?tid=623&extra=page%3D1" 
			|| ctrip_location.href=="http://club.uaa.net.cn/post.php?action=newthread&fid=58&extra=page%3D1"){
			showNum = 12
			eval("menu12_1").setAttribute("bgColor","#66FFFF")
			eval("menu12_2").bgColor="#66FFFF"
		}*/
        // 2006-5-26
	 
	   // 2006-04-10    
		var ctrip_location = window.location
		if(ctrip_location.href=="http://bbs.uaa.cn/forumdisplay.php?fid=67"){
			showNum = 7
			eval("menu7_1").setAttribute("bgColor","#66FFFF")
			eval("menu7_2").bgColor="#66FFFF"
		}

	　　//MEMU上色处理2006-01-20　added by Jack//判断携程相关URL更改MEMU上色　start
		var ctrip_location = window.location
		if(ctrip_location.href=="http://uaa.ctrip.com/ShareScript/Alliance/DestinationGuides.asp"){
			eval("menu10_2").setAttribute("bgColor","#66FFFF")
			eval("menu10_1").bgColor="#66FFFF"
		}

	　　//MEMU上色处理2006-01-20　added by Jack//判断携程相关URL更改MEMU上色　start
		var ctrip_location = window.location
		if(ctrip_location.href=="http://www.uaa.cn/cms5root/pages/cn2/groupruindex.page?cid=12376"){
			 ("menu7_1").setAttribute("bgColor","#266262")
			eval("menu7_2").setAttribute("bgColor","#66FFFF")
			eval("menu10_1").setAttribute("bgColor","#666666")
			eval("menu10_2").setAttribute("bgColor","#666666")
		} 

		eval("menu" + showNum + "_1").setAttribute("bgColor","#266262")
		eval("menu" + showNum + "_2").setAttribute("bgColor","#66FFFF") 
     
	　　//MEMU上色处理2006-01-20　added by Jack//判断携程相关URL更改MEMU上色　end

        //根据session中的参数值来判断是否是上海的还是北京/广州/成都的2006-8-4 start
		if(typeof(sessionCity)!="undefined" && sessionCity=="sh"){  
		    eval("menu1_3").setAttribute("href","http://sh.uaa.cn")
		}
		else if(typeof(sessionCity)!="undefined" && sessionCity=="gz")
			eval("menu1_3").setAttribute("href","http://gz.uaa.cn")
		else{
			if(typeof(sessionCity)!="undefined" && sessionCity=="cd")
			    eval("menu1_3").setAttribute("href","http://cd.uaa.cn")
			else
				eval("menu1_3").setAttribute("href","http://www.uaa.cn")
        }
        //根据session中的参数值来判断是否是上海的还是北京/广州/成都的 end

		
	}

	_9527showHL();

	

