var strFullPath=window.document.location.href;
var strPath=window.document.location.pathname;
var tmp;
if(strPath=="/"){
	tmp = strFullPath.substring(0,strFullPath.length-1);
}else{
	var pos=strFullPath.indexOf(strPath);
	var prePath=strFullPath.substring(0,pos);
	if(prePath.indexOf("com")==-1){
		var postPath=strPath.substring(0,strPath.substr(1).indexOf('/')+1);
		tmp = prePath+postPath;
	}else{
		tmp = prePath;
	}
}
var WebRoot = tmp;
var bean_op_url =WebRoot+"/bs";
var upload_url = WebRoot+"/ufs";
var lp_search_url=WebRoot+"/lps";
var zf_search_url=WebRoot+"/zfs";
var zf_room_info_url=WebRoot+"/ris";
var zf_qjs_url=WebRoot+"/qjs";
var newsSv = WebRoot+"/yjnews";