140 lines
3.8 KiB
HTML
140 lines
3.8 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--Hardware model</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 you 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[3];
|
||
|
if (z == noVal) {
|
||
|
return;
|
||
|
} else {
|
||
|
if (z == 0) {
|
||
|
document.forma.model[0].checked = true;
|
||
|
} else {
|
||
|
if (z == 1) {
|
||
|
document.forma.model[1].checked = true;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function onBack() {
|
||
|
re = /\s*/;
|
||
|
a = getCookieData("upgrint");
|
||
|
a2 = a.split(re);
|
||
|
z = a2[1];
|
||
|
if (z == 0) {//yes
|
||
|
window.location="rzamdint30.htm";
|
||
|
} else {//no
|
||
|
window.location="rzamdint20.htm";
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function onNext() {
|
||
|
re = /\s*/;
|
||
|
var cookiestring = "";
|
||
|
a = getCookieData("upgrint");
|
||
|
if (a == noVal) {
|
||
|
alert(cookieMess);
|
||
|
return;
|
||
|
}
|
||
|
a2 = a.split(re);
|
||
|
if (document.forma.model[0].checked) {
|
||
|
a2[3] = 0;
|
||
|
} else {
|
||
|
if (document.forma.model[1].checked) {
|
||
|
a2[3] = 1;
|
||
|
} else {
|
||
|
alert(noSelect);
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
for (var i=0; i < a2.length; i++) {
|
||
|
cookiestring = cookiestring + a2[i];
|
||
|
}
|
||
|
storeCookieData(cookiestring);
|
||
|
if (document.forma.model[0].checked) {
|
||
|
window.location="rzamdint44.htm"; //ask additional questions
|
||
|
} else {
|
||
|
window.location="rzamdint50.htm";
|
||
|
}
|
||
|
}
|
||
|
|
||
|
//END NON-TRANSLATABLE
|
||
|
//////////-->
|
||
|
</script>
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<BODY onload="loadValue()">
|
||
|
|
||
|
<H2>Customized upgrade task list</H2>
|
||
|
<STRONG>Server model</STRONG>
|
||
|
<noscript>This interview uses Javascript to function. Ensure you are using a browser which supports
|
||
|
Javascript and that Javascript is enabled.</noscript>
|
||
|
|
||
|
<form name="forma">
|
||
|
<p>Are you upgrading your server to a different model?</p>
|
||
|
<p>
|
||
|
<INPUT TYPE="radio" NAME="model" VALUE="yes" id="yep"><label for="yep">Yes</label><br>
|
||
|
<INPUT TYPE="radio" NAME="model" 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>
|
||
|
|