137 lines
3.9 KiB
HTML
137 lines
3.9 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||
|
<title>Customized upgrade task list--Upgrade OS/400 release</title>
|
||
|
<meta name="Copyright" content="Copyright (c) 2004 by IBM Corporation">
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<LINK REL="stylesheet" TYPE="text/css" href="../rzahg/ic.css">
|
||
|
<script type="text/javascript" language="Javascript">
|
||
|
<!-- //////////
|
||
|
|
||
|
var cookieMess = "This interview uses a cookie to function. Ensure that you have are using a browser that supports cookies and that cookies are enabled.";
|
||
|
var noSelect = "Select Yes or No and then click Next.";
|
||
|
|
||
|
//START NON-TRANSLATABLE
|
||
|
var noVal = "zzzz";
|
||
|
|
||
|
function getCookieData(label) {
|
||
|
var labelLen = label.length;
|
||
|
var cLen = document.cookie.length;
|
||
|
var i=0;
|
||
|
var cEnd;
|
||
|
|
||
|
while (i < cLen) {
|
||
|
var j = i + labelLen;
|
||
|
if (document.cookie.substring(i,j) == label) {
|
||
|
cEnd = document.cookie.indexOf(";",j);
|
||
|
if (cEnd == -1) {
|
||
|
cEnd = document.cookie.length;
|
||
|
}
|
||
|
return unescape(document.cookie.substring(j+1,cEnd));
|
||
|
}
|
||
|
i++
|
||
|
}
|
||
|
//if they reach this point, no cookie data was found
|
||
|
return(noVal);
|
||
|
}
|
||
|
|
||
|
function storeCookieData(storeValue) {
|
||
|
var exp = new Date();
|
||
|
var oneYearFromNow = exp.getTime() + (365 * 24 * 60 * 60 * 1000);
|
||
|
exp.setTime(oneYearFromNow);
|
||
|
document.cookie = "upgrint=" + storeValue + ";expires=" + exp.toGMTString();
|
||
|
}
|
||
|
|
||
|
function loadValue() {
|
||
|
re = /\s*/;
|
||
|
a = getCookieData("upgrint");
|
||
|
if (a == noVal) { //no data in cookie or cookie DNE
|
||
|
window.location = "rzamdintwelcome.htm";
|
||
|
} else {
|
||
|
a2 = a.split(re);
|
||
|
z = a2[1];
|
||
|
if (z == noVal) {
|
||
|
return;
|
||
|
} else {
|
||
|
if (z == 0) {
|
||
|
document.forma.release[0].checked = true;
|
||
|
} else {
|
||
|
if (z == 1) {
|
||
|
document.forma.release[1].checked = true;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function onBack() {
|
||
|
re = /\s*/;
|
||
|
a = getCookieData("upgrint");
|
||
|
a2 = a.split(re);
|
||
|
z = a2[0];
|
||
|
if (z == 0) {//yes
|
||
|
window.location="rzamdint15.htm";
|
||
|
} else {//no
|
||
|
window.location="rzamdint10.htm";
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function onNext() {
|
||
|
re = /\s*/;
|
||
|
var cookiestring = "";
|
||
|
var nextPage = "rzamdint30.htm";
|
||
|
a = getCookieData("upgrint");
|
||
|
if (a == noVal) {
|
||
|
alert(cookieMess);
|
||
|
return;
|
||
|
}
|
||
|
a2 = a.split(re);
|
||
|
if (document.forma.release[1].checked) { //no, skip next page
|
||
|
a2[1] = 1;
|
||
|
a2[2] = "x";
|
||
|
nextPage = "rzamdint40.htm";
|
||
|
} else {
|
||
|
if (document.forma.release[0].checked) {
|
||
|
a2[1] = 0;
|
||
|
} else {
|
||
|
alert(noSelect);
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
for (var i=0; i < a2.length; i++) {
|
||
|
cookiestring = cookiestring + a2[i];
|
||
|
}
|
||
|
storeCookieData(cookiestring);
|
||
|
window.location=nextPage;
|
||
|
}
|
||
|
|
||
|
//END NON-TRANSLATABLE
|
||
|
//////////-->
|
||
|
</script>
|
||
|
</head>
|
||
|
|
||
|
<BODY onload="loadValue()">
|
||
|
<H2>Customized upgrade task list</H2>
|
||
|
<STRONG>Upgrade OS/400<sup>(R)</sup> release</STRONG>
|
||
|
<noscript>This interview uses JavaScript<sup>(TM)</sup> to function. Ensure you are using a browser that supports JavaScript and that JavaScript is enabled.</noscript>
|
||
|
|
||
|
<form name="forma">
|
||
|
<p>Are you upgrading your server's OS/400 software to the new release?</p>
|
||
|
<p>
|
||
|
<INPUT TYPE="radio" NAME="release" VALUE="yes" id="yep"><label for="yep">Yes</label><br>
|
||
|
<INPUT TYPE="radio" NAME="release" VALUE="no" id="nope"><label for="nope">No</label>
|
||
|
</p>
|
||
|
<p> </p>
|
||
|
<CENTER>
|
||
|
<input name="Back" type="button" value=" << Back " onClick="onBack()">
|
||
|
<input name="Next" type="button" value=" Next >> " onClick="onNext()">
|
||
|
</CENTER>
|
||
|
</form>
|
||
|
</BODY>
|
||
|
</html>
|
||
|
|