function changeDeviceReg(deviceId) { var deviceIdsThatRequireOwnerName = new Array( 10001200036 ,10013000048 ,10008300022 ,10035400019 ,10035100037 ,10003500016 ,10020100015 ,10025800015 ,10020400015 ,10036400014 ,10036300087 ,100024 ,10006000019 ,10036300067 ,10001700025 ); for (i in deviceIdsThatRequireOwnerName) { if (deviceId == deviceIdsThatRequireOwnerName[i]) { document.getElementById("ownerRegText").innerHTML = "owner name:"; document.getElementById("ownerRegText").href = "javascript:NewNamedWindow('about.jsp#winuserid','SWCPopupScroll','500','400','1')"; var ownerRegInfo = document.getElementById("ownerRegInfo"); if (ownerRegInfo != null){ ownerRegInfo.href = "javascript:NewNamedWindow('about.jsp#winuserid','SWCPopupScroll','500','400','1')"; } break; } else { document.getElementById("ownerRegText").innerHTML = 'id del usuario hotsync:'; document.getElementById("ownerRegText").href = "javascript:NewNamedWindow('about.jsp#syncuserid','SWCPopupScroll','500','400','1')"; var ownerRegInfo = document.getElementById("ownerRegInfo"); if (ownerRegInfo != null){ ownerRegInfo.href = "javascript:NewNamedWindow('about.jsp#syncuserid','SWCPopupScroll','500','400','1')"; } } } }