//********************************************************************************************************
//文件说明:未登录交易页面使用的公用js(维护与ccb5.js同步,本文件所有函数ccb5.js里均存在)
//********************************************************************************************************
//**************************************************************
//图片公共路径
//**************************************************************
var imgPath="/V5/images5/";
//**************************************************************
// 非通用交易页面的文件头标题
//**************************************************************
function showNoTXHead(linkArray) {
document.write("
");
}
//**************************************************************
// 非通用交易页面的文件头底部
//**************************************************************
function showNoTXFooter() {
document.write("");
}
//**************************************************************
// 改变提示区样式,使其变亮
//**************************************************************
function tipOn(tipId) {
var tipcontent = document.getElementById(tipId);
tipcontent.className='tip_on';
}
//**************************************************************
// 改变提示区样式,使其变灰暗
//**************************************************************
function tipOff(tipId) {
var tipcontent = document.getElementById(tipId);
tipcontent.className='tip_off';
}
//**************************************************************
// 非通用交易页面的showtip
//**************************************************************
function showTip(clickedObj,tipId,tipContent,addOnClickFun,addOnblurFun){
document.write(""+tipContent+"
");
clickedObjArray=clickedObj.split("|");
for(var i=0;i= 4){
naviStepObj.onclick=Function(addOnClickFun+"tipOn('"+tipId+"');"+code);
}else{
naviStepObj.onclick=Function("tipOn('"+tipId+"');"+code);
}
if(arguments.length >= 5){
naviStepObj.onblur=Function(addOnblurFun+"tipOff('"+tipId+"');"+code2);
}else{
naviStepObj.onblur=Function("tipOff('"+tipId+"')"+code2);
}
}
}
}
//**************************************************************
// 非通用交易页面的showNavi
//**************************************************************
function showNavi(naviArray,processPiont)
{
if(naviArray.length>0){
document.write("");
var naviTitle=naviArray[0];
document.write(naviTitle+":");
if(naviArray.length>1){
for(var i=1;i "+i+'.'+naviArray[i]+"");
}
}
document.write("
");
}
}
/*用户使用每一步操作时,页面样式的改变*/
var currentStep=0;//寄存当前最靠后的操作步骤
//**************************************************************
// 用户点击某一步骤时,控制页面步骤区域和导航条的变化
//**************************************************************
function naviStepChange(stepNum){
var tableObj=document.getElementById('table_step_'+stepNum);
var naviStepObj=document.getElementById('navi_step_'+stepNum);
if(stepNum>currentStep&&tableObj!=null&&naviStepObj!=null){
for(var i=1;i<=stepNum;i++){
tableObjTmp=document.getElementById('table_step_'+i);
if(tableObjTmp!=null){
eval("document.all.table_step_"+i+".className='step_on'");
}
naviStepObjTmp=document.getElementById('navi_step_'+i);
if(naviStepObjTmp!=null){
if(i"+titleTxt+"
"+content+"
");
}
//**************************************************************
// 在交易提示页面,显示提示信息
//**************************************************************
function showNotice(titleTxt,content) {
document.write("
");
}