All pastes #255657 Raw Edit

Mine

public text v1 · immutable
#255657 ·published 2006-11-23 06:21 UTC
rendered paste body
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">






<!-- Flush buffer before setting locale to ensure encoding is preserved -->










	
	

	
	







<!-- Main page -->
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<link rel=stylesheet type="text/css" href="/en_US/css//oss.css">

<SCRIPT language="JavaScript" src="/en_US/js//ec.js"></SCRIPT>
<SCRIPT language="JavaScript" src='/en_US/js//error.js'></SCRIPT>

<SCRIPT language="JavaScript" src="/en_US/js//buttons.js"></SCRIPT>
<SCRIPT language="JavaScript" src="/en_US/js//images.js"></SCRIPT>
<SCRIPT language="JavaScript" src="/en_US/js//progress.js"></SCRIPT>
<SCRIPT language="JavaScript" src='/en_US/js//sound.js'></SCRIPT>
<SCRIPT language="JavaScript" src="/en_US/js//shop.js"></SCRIPT>
<SCRIPT language="JavaScript" src="/en_US/js//oss.js"></SCRIPT>

<script type="text/JavaScript">
<!--
var testMode = 'false';

function getMethod()
{
	return 'GET';	
}

function getPostParams()
{
    var params = "";    
   
   return params;
}

function isConnectingPage()
{
    var isConnecting = '';
    return (isConnecting == 'true');
}

function initPageCommon()
{
	var ecsUrl = null;
	var iasUrl = null;	
	var ccsUrl = null;
	var ucsUrl = null;
	var currBalance = null;

	init();
	
	// Cancel any ongoing async ops
	ec.cancelOperation();
	

	ecsUrl = 'https://ecs.shop.wii.com/ecs/services/ECommerceSOAP';
	

	iasUrl = 'https://ias.shop.wii.com/ias/services/IdentityAuthenticationSOAP';
	

	ccsUrl = 'http://ccs.cdn.shop.wii.com/ccs/download';
	

	ucsUrl = 'http://ccs.shop.wii.com/ccs/download';
	

	ec.setWebSvcUrls(ecsUrl, iasUrl);
	ec.setContentUrls (ccsUrl, ucsUrl);
	
	

	imagesPath = "/en_US/images/";
	htmlPath = "/en_US/html/";
	ossPath = "http://oss.shop.wii.com/oss/common/vc/";
	secureOssPath = "https://oss.shop.wii.com/oss/secure/";	

	manual = "manual/USA/startup.html";	
	

	ecTimeout = new ECTimeout(parseInt("60000"));
	
	
	currBalance = document.getElementById("currentBalance");
	if(currBalance) {
		currBalance.innerHTML = getBalance();
	}		
	
	setLogUrl("Log.jsp");
	
	MM_preloadImages('/en_US/images//banner/under_banner_a.gif');

    updateHistory();
	var isConnecting = isConnectingPage();
    setConnectingToServer(isConnecting);
    
    if (isHRPDisablePage()) {
	   	wiiDisableHRP();
	} else {
	   	wiiEnableHRP();
	}
}



// Takes a progress object and returns the OSS error message to be displayed to the user
function getOssErrorMsg(progress)
{
	if (progress.status >= 0) { return ""; }
	
    var status = progress.status;
    var errCode = progress.errCode;
    var errInfo = progress.errInfo;

    var msg;	

	var a = new Array();	
	// EC lib Errors
	//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
	a[-(EC_ERROR_NET_NA)] = "There was a network error.  Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
	a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
	a[-(EC_ERROR_REGISTER)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
	msg = a[-status];

    if (status == EC_ERROR_WS_REPORT) {
    	 msg = getWebServiceErrorMsg(errCode, errInfo);
    } else if (status == EC_ERROR_NET_CONTENT ||
               status == EC_ERROR_FAIL ||
    	       status == EC_ERROR_WS_RECV) {
    	if (errCode != null && errCode < 0) {
    	    var httpStatus = errCodeToHTTPStatus(errCode);
    	    var nhttpStatus = errCodeToNHTTPStatus(errCode);    
      	    if (nhttpStatus != 0) {
    		    msg = "There was a network error.  Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
    		} else if (nhttpStatus != 0) {
    		    msg = "An error has occured.<BR><BR>Please wait a moment and try again. Visit support.nintendo.com for assistance.";
    		}
    	}
    }
        
    if (msg == null || msg == '') {
    	msg = "An error has occured.<BR><BR>Please wait a moment and try again. Visit support.nintendo.com for assistance.";
	}
	return msg;
}

function setErrorHtmlMsg(elem, errorCode, errorMsg)
{
    var html =
	 	'<span class="warningRed">'
		+ "Error Code: <span id='errorCode'></span></span>"
		+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
	elem.innerHTML = html;
	document.getElementById("errorCode").innerHTML = errorCode;
}

function setErrorHtml(elem, progress)
{
	if (elem != null) {
	    var errorCode = getOssErrorCode(progress);
    	var errorMsg = getOssErrorMsg(progress);
    	setErrorHtmlMsg(elem, errorCode, errorMsg);
	}
}


// Web service error messages 
// (only include message that may potentially be displayed to user)
// (errCode is progress.errCode from a web service)
// (errInfo is progress.errInfo from a web service)
function getWebServiceErrorMsg(errCode, errInfo)
{
	var a = new Array();
	
	// ECS Errors
	a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
	a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
	a[623]	= "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
	a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
	a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
	a[644] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
	a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
	
	// ETS Errors
	a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
	a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
	a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
	
	// PAS Errors
	a[810]	= "You do not have enough points.";
	a[811]	= "The Wii Points card you entered has expired.";
	//a[812]	= "???OSS_ERROR_ECARD_NOT_USABLE???";
	//a[813]	= "???OSS_ERROR_ECARD_NOT_USABLE???";
	//a[814]	= "???OSS_ERROR_ECARD_NOT_USABLE???";
	a[815]	= "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
	a[818]	= "The card number you entered can only be used to download specific titles. It is not a Wii Points Card.<BR><BR>Visit support.nintendo.com for assistance.";
	a[819]	= "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
	
	a[826]	= "The server is busy.<BR><BR>Please try again later.";
	a[829]	= "The server is busy.<BR><BR>Please try again later.";
	a[830]	= "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
	a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";

	// IAS Errors 
	a[901]	= "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
	a[903]	= "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
	a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";

	a[942] = "Unable to confirm the User Name at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
	a[943]	= "An error occurred while linking the User Name. Please check the User Name and password and try again.<BR><BR>If you have forgotten your User Name or password, please visit my.nintendo.com.";

	a[941] = "An error occurred while linking the User Name. Please check the User Name and password and try again.<BR><BR>If you have forgotten your User Name or password, please visit my.nintendo.com.";
	
	// More IAS Errors
	a[1401] = "An error occurred while linking the User Name. Please check the User Name and password and try again.<BR><BR>If you have forgotten your User Name or password, please visit my.nintendo.com.";
	a[1402] = "Due to restrictions on your My Nintendo membership, it cannot be linked to this Wii Shop Channel Account.<BR><BR>Visit support.nintendo.com for assistance.";
        a[1403] = "Due to restrictions on your My Nintendo membership, it cannot be linked to this Wii Shop Channel Account.<BR><BR>Visit support.nintendo.com for assistance.";
	a[1499] = "Unable to confirm the User Name at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
	
	var msg = a[errCode];
	if(msg == null || msg == "") { // default errors
		if ((errCode >= 1400 && 
		     errCode <= 1499)) {
			msg = "Unable to confirm the User Name at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
		}
	}
	return msg;
}

// NOA errors
function getNOAError(code)
{
	var a=new Array();
	
	a[NOA_ERROR_CountyRequired] 				= "County is required.<BR><BR>Please try again.";
	a[NOA_ERROR_FoundOnBlacklist]				= "Unable to process.<BR><BR>Please contact Nintendo for assistance. ";
	a[NOA_ERROR_BillingAddress]                             = "The information you&rsquo;ve entered regarding your credit card billing address is incorrect.<BR><BR>Please verify the information and try again.";
	a[NOA_ERROR_InvalidCardType]                            = "The credit card number entered does not match the credit card type you selected.<BR><BR>Please verify the information and try again.";
	a[NOA_ERROR_InvalidVfyValue]                            = "The credit card information you&rsquo;ve entered is incorrect.<BR><BR>Please verify the information and try again.";
	a[NOA_ERROR_InvalidCcNumberAndExpDate]                  = "The credit card information you&rsquo;ve entered is incorrect.<BR><BR>Please verify the information and try again.";
	a[NOA_ERROR_InvalidCreditCardNumber]			= "This credit card number is invalid.<BR><BR>Please verify the information and try again.";
	a[NOA_ERROR_InvalidExpDate]				= "The credit card information you&rsquo;ve entered is incorrect.<BR><BR>Please verify the information and try again.";
	a[NOA_ERROR_InvalidPostalCode]                          = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
	a[NOA_ERROR_TechnicalDifficulties]			= "Unable to confirm credit card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
	a[NOA_ERROR_TryAgainLater]				= "Unable to confirm credit card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";

	a[NOA_RESULT_ERROR_CreditCardDeclined]			= "This credit card can&rsquo;t be used.<BR><BR>Please contact your credit card company for more information.";
	a[NOA_RESULT_ERROR_CreditCardDeclined_Funds]		= "This credit card can&rsquo;t be used.<BR><BR>Please contact your credit card company for more information.";
	a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive]		= "This credit card can&rsquo;t be used.<BR><BR>Please contact your credit card company for more information.";
	a[NOA_RESULT_ERROR_CreditCardDeclined_Exp]		= "This credit card has expired.";
	a[NOA_RESULT_ERROR_CreditCardDeclined_Code]		= "The credit card information you&rsquo;ve entered is incorrect.<BR><BR>Please verify the information and try again.";
	a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum]		= "This credit card number is invalid.<BR><BR>Please verify the information and try again.";
	a[NOA_RESULT_ERROR_CreditCardDeclined_Limit]            = "This credit card can&rsquo;t be used.<BR><BR>Please contact your credit card company for more information.";
	a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid]		= "The credit card information you&rsquo;ve entered is incorrect.<BR><BR>Please verify the information and try again.";
	a[NOA_RESULT_ERROR_CreditCardDeclined_AVS]		= "Billing Zip/Postal Code is invalid.  Please verfiy  the information and try again. ";
	
	var msg = a[code];
	return msg;
}

// IAS errors
function isLoyaltyError(progress)
{
	if (progress.status == EC_ERROR_WS_REPORT) {
		if ((progress.errCode >= 1400 && 
		     progress.errCode <= 1499) ||
			(progress.errCode == 942) ||
			(progress.errCode == 943) ||
			(progress.errCode == 941)) {
			return true;
		}
	}
	return false;
}	

function needCheckRegistration(progress)
{
	if (progress.status == EC_ERROR_WS_REPORT) {
		if ((progress.errCode == 903) ||
		     (progress.errCode == 642)) {
			return true;
		}
	}
	return false;		
}



//-->

</script>

  <title>Wii Shop Channel</title>

<style type="text/css">
<!--
#text01-01 {
	position:absolute;
	left:29px;
	top:28px;
	width:545px;
	height:28px;
	z-index:27;
}
#error-text {
	position:absolute;
	left:66px;
	top:111px;
	width:476px;
	height:176px;
	z-index:7;
}
#error-code {
	position:absolute;
	left:66px;
	top:80px;
	width:476px;
	height:18px;
	z-index:8;
}
-->
</style>
<script type="text/JavaScript">
<!--
function initPage()
{
	initPageCommon();
 	MM_preloadImages('/en_US/images//banner/under_banner_b.gif');

	var next = '';
	if (next == null || next == '') {
	 	setUnderButton(true, 'OK', "javascript:showBack()", "snd.playSE( cSE_Cancel );");
	} else {
	 	setUnderButton(true, 'OK', "javascript:showPage(next)", "snd.playSE( cSE_Decide );");
	}
}
//-->
</script>
</head>

<body onload="initPage()">

<div id="underButtonL" style="display:none">
    <div id="underbannershadowL" class="buttonBannerShadow">
   	  <img src="/en_US/images//banner/under_banner_shadow.gif" width="211" height="75" />
   	</div>
    <div id="underbannerL" class="buttonBanner">

    	<img src="/en_US/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
    </div>
    <div id="underspacerL" class="buttonSpacer">
	  <a href="" id="underlinkL">
    	<img id="underimageL" src="/en_US/images//spacer.gif" width="187" height="55" border="0"  
    	onmouseover="MM_swapImage('underImgL','','/en_US/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );" 
    	onmouseout="MM_swapImgRestore()"/>
      </a>	
    </div>
    <div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
    </div>

</div>

<div id="underButtonR" style="display:none">
    <div id="underbannershadowR" class="buttonBannerShadow">
   	  <img src="/en_US/images//banner/under_banner_shadow.gif" width="211" height="75" />
   	</div>
    <div id="underbannerR" class="buttonBanner">
    	<img src="/en_US/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
    </div>
    <div id="underspacerR" class="buttonSpacer">

	  <a href="" id="underlinkR">
    	<img id="underimageR" src="/en_US/images//spacer.gif" width="187" height="55" border="0"  
    	onmouseover="MM_swapImage('underImgR','','/en_US/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); " 
    	onmouseout="MM_swapImgRestore()"/>
      </a>	
    </div>
    <div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
    </div>
</div>

<div id="underButton" style="display:none">
    <div id="underbannershadow" class="buttonBannerShadow">
    	<img src="/en_US/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>

    <div id="underbanner" class="buttonBanner">
    	<img src="/en_US/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
    <div id="underspacer" class="buttonSpacer">
	<a href="" id="underlink">
    	<img id="underimage" src="/en_US/images//spacer.gif" width="187" height="55" border="0" 
    	onmouseover="MM_swapImage('underImg','','/en_US/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );" 
    	onmouseout="MM_swapImgRestore()"/>
    	</a>
    </div>
    <div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
</div>




<div class="dot" id="line01">&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;</div>
<div class="dot" id="line02">&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;&#65381;</div>

<div class="titleBlueL" id="text01-01">
  <div align="left">Wii Shop Channel</div>
</div>

<div align="center" class="warningRed" id="error-code">
    Error Code: 206699

</div>    

<div class="contentsRedM" id="error-text">


			
	
		An error has occured.<BR><BR>Please wait a moment and try again. Visit support.nintendo.com for assistance.
	

</div>

</body>
</html>