var cassessionid="31EDF58C047DB0B25E79265D5750009D"; 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-8973-eBwdWk7MOZzVpUsBpXzvDlhzpFfcVT"; 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-8973-eBwdWk7MOZzVpUsBpXzvDlhzpFfcVT"; document.getElementsByName("execution")[0].value="e1s1"; document.cookie=""; }); //IE }