try{
	var header = document.getElementById('rewinjson_top');
	var footer = document.getElementById('rewinjson_footer');
	var indexheader = document.getElementById('rewinjson_indextop');
	var webdealheader = document.getElementById('rewinjson_webdealtop');
	var serviceheader = document.getElementById('rewinjson_servicetop');
	var fundheader = document.getElementById('rewinjson_fundtop'); //旗下基金
	 //我的账户
	var accountheader = document.getElementById('rewinjson_accounttop');
	 //理财园地
	var financeheader = document.getElementById('rewinjson_financetop');
	
	if(header && footer){
		//调用公共TOP
		new rewinjson.rewinAjax("/dcjj/jsp/public/header.html",
					new rewinjson.tool.parameter("style","","",""),
					rewinjson.client.StyleText,
					"GET",
					"rewinjson_top"
					);


		//调用公共FOOT
		new rewinjson.rewinAjax("/dcjj/jsp/public/footer.jsp",
						  new rewinjson.tool.parameter("style","","",""),
						rewinjson.client.StyleText,
						"GET",
						"rewinjson_footer"
						);
		}
	else if(indexheader && footer){
		//调用公共TOP
		new rewinjson.rewinAjax("/dcjj/jsp/public/indexHeader.html",
					new rewinjson.tool.parameter("style","","",""),
					rewinjson.client.StyleText,
					"GET",
					"rewinjson_indextop"
					);
		//调用公共FOOT
		new rewinjson.rewinAjax("/dcjj/jsp/public/footer.jsp",
						  new rewinjson.tool.parameter("style","","",""),
						rewinjson.client.StyleText,
						"GET",
						"rewinjson_footer"
						);
	}
	//网上交易的header
	else if(webdealheader && footer){
		//调用公共TOP
		new rewinjson.rewinAjax("/dcjj/jsp/public/webdealHeader.html",
					new rewinjson.tool.parameter("style","","",""),
					rewinjson.client.StyleText,
					"GET",
					"rewinjson_webdealtop"
					);
		//调用公共FOOT
		new rewinjson.rewinAjax("/dcjj/jsp/public/footer.jsp",
						  new rewinjson.tool.parameter("style","","",""),
						rewinjson.client.StyleText,
						"GET",
						"rewinjson_footer"
						);
	}
	//客户服务的header
	else if(serviceheader && footer){
		//调用公共TOP
		new rewinjson.rewinAjax("/dcjj/jsp/public/serviceHeader.html",
					new rewinjson.tool.parameter("style","","",""),
					rewinjson.client.StyleText,
					"GET",
					"rewinjson_servicetop"
					);
		//调用公共FOOT
		new rewinjson.rewinAjax("/dcjj/jsp/public/footer.jsp",
						  new rewinjson.tool.parameter("style","","",""),
						rewinjson.client.StyleText,
						"GET",
						"rewinjson_footer"
						);
	}
	
	//旗下基金的header
	else if(fundheader && footer){
		//调用公共TOP
		new rewinjson.rewinAjax("/dcjj/jsp/public/fundHeader.html",
					new rewinjson.tool.parameter("style","","",""),
					rewinjson.client.StyleText,
					"GET",
					"rewinjson_fundtop"
					);
		//调用公共FOOT
		new rewinjson.rewinAjax("/dcjj/jsp/public/footer.jsp",
						  new rewinjson.tool.parameter("style","","",""),
						rewinjson.client.StyleText,
						"GET",
						"rewinjson_footer"
						);
	}
	
	//我的账户的header
	else if(accountheader && footer){
		//调用公共TOP
		new rewinjson.rewinAjax("/dcjj/jsp/public/accountHeader.html",
					new rewinjson.tool.parameter("style","","",""),
					rewinjson.client.StyleText,
					"GET",
					"rewinjson_accounttop"
					);
		//调用公共FOOT
		new rewinjson.rewinAjax("/dcjj/jsp/public/footer.jsp",
						  new rewinjson.tool.parameter("style","","",""),
						rewinjson.client.StyleText,
						"GET",
						"rewinjson_footer"
						);
	}
	
	//理财园地的header
	else if(financeheader && footer){
		//调用公共TOP
		new rewinjson.rewinAjax("/dcjj/jsp/public/financeHeader.html",
					new rewinjson.tool.parameter("style","","",""),
					rewinjson.client.StyleText,
					"GET",
					"rewinjson_financetop"
					);
		//调用公共FOOT
		new rewinjson.rewinAjax("/dcjj/jsp/public/footer.jsp",
						  new rewinjson.tool.parameter("style","","",""),
						rewinjson.client.StyleText,
						"GET",
						"rewinjson_footer"
						);
	}

}catch(err){
}

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

try {
var pageTracker = _gat._getTracker("UA-8670242-1");
pageTracker._trackPageview();
} catch(err) {}
document.write("<script src='http://js.tongji.linezing.com/1088829/tongji.js'><\/scr"+"ipt>");   

var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F3d10d676a6039b5ee9f81d9381ea3afa' type='text/javascript'%3E%3C/script%3E"));
