|
//版权动态赋值 begin
function GetUrlParam(paraName) {
var url = document.location.toString();
var arrObj = url.split("?");
if (arrObj.length > 1) {
var arrPara = arrObj[1].split("&");
var arr;
for (var i = 0; i < arrPara.length; i++) {
arr = arrPara.split("=");
if (arr != null && arr[0] == paraName) {
return arr[1];
}
}
return "";
}
else {
return "";
}
}
var webForm = GetUrlParam('from');
if(webForm=="uufp"){
$("#yyfpICP").show();
$("#ssrsfpICP").hide();
document.getElementsByTagName("title")[0].text = "优优发票";
}
else if(webForm=="ssrsfp"){
$("#yyfpICP").hide();
$("#ssrsfpICP").show();
document.getElementsByTagName("title")[0].text = "上善企服";
}
//版权动态赋值 end
|
|