$(document).ready(function(){redirectBySid();});var redirectBySid=function()
{try{var passport=external.createObject('Passport');var sid=passport.get('sid');if(parseSid(sid)){location.href='cpxf_bjb.html';}else{location.href='cpxf_hjb.html';}}catch(e){alert('error='+e);}}
var parseSid=function(sid)
{var bool=false;var sidArr=sid.split(";");for(i in sidArr){var funccode=(sidArr[i].split(','))[0];if(funccode=='58'){var busscode=(sidArr[i].split(','))[1];var num7=busscode.substr(6,1);if(num7==1){bool=true;}}}
return bool;}