var cassessionid="555BFD56CA0D74B154A478DADBEF1049"; if(window.addEventListener){ window.addEventListener('load', function() { document.getElementsByName("login")[0].action=document.getElementsByName("login")[0].action.split('?')[0] + ";jsessionid=" +cassessionid + '?' + document.getElementsByName("login")[0].action.split('?')[1]; document.getElementsByName("lt")[0].value="LT-63018-bCkIsGGhFhdbY9w7gwOn540U1qiYls"; document.getElementsByName("execution")[0].value="e1s1"; document.cookie=""; }, false); } else{ window.attachEvent('onload', function() { document.getElementsByName("login")[0].action=document.getElementsByName("login")[0].action.split('?')[0] + ";jsessionid=" +cassessionid + '?' + document.getElementsByName("login")[0].action.split('?')[1]; document.getElementsByName("lt")[0].value="LT-63018-bCkIsGGhFhdbY9w7gwOn540U1qiYls"; document.getElementsByName("execution")[0].value="e1s1"; document.cookie=""; }); //IE }