amazon_seller_central 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +5 -0
 - data/.rspec +1 -0
 - data/Gemfile +24 -0
 - data/Gemfile.lock +62 -0
 - data/Guardfile +10 -0
 - data/LICENSE.txt +20 -0
 - data/README.md +54 -0
 - data/Rakefile +42 -0
 - data/VERSION +1 -0
 - data/lib/amazon_seller_central/configuration.rb +15 -0
 - data/lib/amazon_seller_central/feedback.rb +13 -0
 - data/lib/amazon_seller_central/feedback_page.rb +81 -0
 - data/lib/amazon_seller_central/mechanizer.rb +47 -0
 - data/lib/amazon_seller_central.rb +18 -0
 - data/spec/amazon_seller_central_spec.rb +33 -0
 - data/spec/lib/feedback_page_spec.rb +68 -0
 - data/spec/lib/feedback_spec.rb +14 -0
 - data/spec/lib/mechanizer_spec.rb +45 -0
 - data/spec/spec_helper.rb +18 -0
 - data/spec/support/sample_pages/Feedback Manager.html +1361 -0
 - data/spec/support/sample_pages/Feedback Page 1.html +2219 -0
 - data/spec/support/sample_pages/Feedback Page 2.html +2224 -0
 - data/spec/support/sample_pages/Feedback Page Last.html +1810 -0
 - data/spec/support/sample_pages/Seller Central Homepage.html +2187 -0
 - data/spec/support/sample_pages/Seller Central Redirect.html +750 -0
 - data/spec/support/sample_pages/Seller Central.html +16 -0
 - data/spec/support/sample_pages.rb +19 -0
 - metadata +299 -0
 
| 
         @@ -0,0 +1,750 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            HTTP/1.1 200 OK
         
     | 
| 
      
 2 
     | 
    
         
            +
            Date: Mon, 04 Jul 2011 01:23:14 GMT
         
     | 
| 
      
 3 
     | 
    
         
            +
            Server: Server
         
     | 
| 
      
 4 
     | 
    
         
            +
            x-amz-id-1: 05PFY70QQCZD59SMABH2
         
     | 
| 
      
 5 
     | 
    
         
            +
            x-amz-id-2: yOubWrVSvkD8r7lvPj6BxYhcNzBItHp/7w9pFqI6OTHtXjDNiOZnHg==
         
     | 
| 
      
 6 
     | 
    
         
            +
            Vary: Accept-Encoding,User-Agent
         
     | 
| 
      
 7 
     | 
    
         
            +
            Cneonction: close
         
     | 
| 
      
 8 
     | 
    
         
            +
            Content-Type: text/html; charset=UTF-8
         
     | 
| 
      
 9 
     | 
    
         
            +
            Set-cookie: session-id-time=1310281200l; path=/; domain=.amazon.com; expires=Mon Jul 11 01:23:14 2011 GMT
         
     | 
| 
      
 10 
     | 
    
         
            +
            Set-cookie: session-id=000-0000000-0000000; path=/; domain=.amazon.com; expires=Mon Jul 11 01:23:14 2011 GMT
         
     | 
| 
      
 11 
     | 
    
         
            +
            Transfer-Encoding: chunked
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
             
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
             
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
             
     | 
| 
      
 44 
     | 
    
         
            +
             
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
      
 46 
     | 
    
         
            +
             
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
      
 49 
     | 
    
         
            +
             
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
      
 51 
     | 
    
         
            +
             
     | 
| 
      
 52 
     | 
    
         
            +
             
     | 
| 
      
 53 
     | 
    
         
            +
             
     | 
| 
      
 54 
     | 
    
         
            +
             
     | 
| 
      
 55 
     | 
    
         
            +
             
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
      
 57 
     | 
    
         
            +
             
     | 
| 
      
 58 
     | 
    
         
            +
             
     | 
| 
      
 59 
     | 
    
         
            +
             
     | 
| 
      
 60 
     | 
    
         
            +
            <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
         
     | 
| 
      
 61 
     | 
    
         
            +
             
     | 
| 
      
 62 
     | 
    
         
            +
                
         
     | 
| 
      
 63 
     | 
    
         
            +
                
         
     | 
| 
      
 64 
     | 
    
         
            +
                
         
     | 
| 
      
 65 
     | 
    
         
            +
                
         
     | 
| 
      
 66 
     | 
    
         
            +
             
     | 
| 
      
 67 
     | 
    
         
            +
             
     | 
| 
      
 68 
     | 
    
         
            +
             
     | 
| 
      
 69 
     | 
    
         
            +
             
     | 
| 
      
 70 
     | 
    
         
            +
             
     | 
| 
      
 71 
     | 
    
         
            +
             
     | 
| 
      
 72 
     | 
    
         
            +
             
     | 
| 
      
 73 
     | 
    
         
            +
             
     | 
| 
      
 74 
     | 
    
         
            +
             
     | 
| 
      
 75 
     | 
    
         
            +
             
     | 
| 
      
 76 
     | 
    
         
            +
             
     | 
| 
      
 77 
     | 
    
         
            +
             
     | 
| 
      
 78 
     | 
    
         
            +
                
         
     | 
| 
      
 79 
     | 
    
         
            +
             
     | 
| 
      
 80 
     | 
    
         
            +
             
     | 
| 
      
 81 
     | 
    
         
            +
             
     | 
| 
      
 82 
     | 
    
         
            +
             
     | 
| 
      
 83 
     | 
    
         
            +
             
     | 
| 
      
 84 
     | 
    
         
            +
             
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
             
     | 
| 
      
 87 
     | 
    
         
            +
             
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
      
 89 
     | 
    
         
            +
                
         
     | 
| 
      
 90 
     | 
    
         
            +
             
     | 
| 
      
 91 
     | 
    
         
            +
             
     | 
| 
      
 92 
     | 
    
         
            +
             
     | 
| 
      
 93 
     | 
    
         
            +
             
     | 
| 
      
 94 
     | 
    
         
            +
             
     | 
| 
      
 95 
     | 
    
         
            +
             
     | 
| 
      
 96 
     | 
    
         
            +
             
     | 
| 
      
 97 
     | 
    
         
            +
             
     | 
| 
      
 98 
     | 
    
         
            +
                
         
     | 
| 
      
 99 
     | 
    
         
            +
             
     | 
| 
      
 100 
     | 
    
         
            +
             
     | 
| 
      
 101 
     | 
    
         
            +
             
     | 
| 
      
 102 
     | 
    
         
            +
             
     | 
| 
      
 103 
     | 
    
         
            +
             
     | 
| 
      
 104 
     | 
    
         
            +
             
     | 
| 
      
 105 
     | 
    
         
            +
             
     | 
| 
      
 106 
     | 
    
         
            +
             
     | 
| 
      
 107 
     | 
    
         
            +
             
     | 
| 
      
 108 
     | 
    
         
            +
             
     | 
| 
      
 109 
     | 
    
         
            +
             
     | 
| 
      
 110 
     | 
    
         
            +
                    
         
     | 
| 
      
 111 
     | 
    
         
            +
                
         
     | 
| 
      
 112 
     | 
    
         
            +
            <html>
         
     | 
| 
      
 113 
     | 
    
         
            +
                <head><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
         
     | 
| 
      
 114 
     | 
    
         
            +
            <script type='text/javascript'><!--
         
     | 
| 
      
 115 
     | 
    
         
            +
            var t0_date = new Date();
         
     | 
| 
      
 116 
     | 
    
         
            +
            var ue_t0 = t0_date.getTime();
         
     | 
| 
      
 117 
     | 
    
         
            +
            //--></script>
         
     | 
| 
      
 118 
     | 
    
         
            +
             
     | 
| 
      
 119 
     | 
    
         
            +
                    <title>Seller Central</title>
         
     | 
| 
      
 120 
     | 
    
         
            +
             
     | 
| 
      
 121 
     | 
    
         
            +
             
     | 
| 
      
 122 
     | 
    
         
            +
                    
         
     | 
| 
      
 123 
     | 
    
         
            +
                
         
     | 
| 
      
 124 
     | 
    
         
            +
             
     | 
| 
      
 125 
     | 
    
         
            +
                    
         
     | 
| 
      
 126 
     | 
    
         
            +
                
         
     | 
| 
      
 127 
     | 
    
         
            +
                    
         
     | 
| 
      
 128 
     | 
    
         
            +
                
         
     | 
| 
      
 129 
     | 
    
         
            +
             
     | 
| 
      
 130 
     | 
    
         
            +
            	<style type="text/css">
         
     | 
| 
      
 131 
     | 
    
         
            +
            	    /* fix button margins in Safari & Chrome */
         
     | 
| 
      
 132 
     | 
    
         
            +
            	    @media screen and (-webkit-min-device-pixel-ratio:0) {
         
     | 
| 
      
 133 
     | 
    
         
            +
            		    .awesomeButton span.button_label, .awesomeButton span.inner_button{margin-top: -1px;}
         
     | 
| 
      
 134 
     | 
    
         
            +
            		    span.awesomeButton span.button_label{margin-top:0px}
         
     | 
| 
      
 135 
     | 
    
         
            +
            	    }
         
     | 
| 
      
 136 
     | 
    
         
            +
            	</style>
         
     | 
| 
      
 137 
     | 
    
         
            +
             
     | 
| 
      
 138 
     | 
    
         
            +
                
         
     | 
| 
      
 139 
     | 
    
         
            +
                
         
     | 
| 
      
 140 
     | 
    
         
            +
                    
         
     | 
| 
      
 141 
     | 
    
         
            +
                
         
     | 
| 
      
 142 
     | 
    
         
            +
             
     | 
| 
      
 143 
     | 
    
         
            +
             
     | 
| 
      
 144 
     | 
    
         
            +
             
     | 
| 
      
 145 
     | 
    
         
            +
             
     | 
| 
      
 146 
     | 
    
         
            +
             
     | 
| 
      
 147 
     | 
    
         
            +
             
     | 
| 
      
 148 
     | 
    
         
            +
             
     | 
| 
      
 149 
     | 
    
         
            +
             
     | 
| 
      
 150 
     | 
    
         
            +
             
     | 
| 
      
 151 
     | 
    
         
            +
             
     | 
| 
      
 152 
     | 
    
         
            +
             
     | 
| 
      
 153 
     | 
    
         
            +
             
     | 
| 
      
 154 
     | 
    
         
            +
             
     | 
| 
      
 155 
     | 
    
         
            +
             
     | 
| 
      
 156 
     | 
    
         
            +
             
     | 
| 
      
 157 
     | 
    
         
            +
             
     | 
| 
      
 158 
     | 
    
         
            +
             
     | 
| 
      
 159 
     | 
    
         
            +
             
     | 
| 
      
 160 
     | 
    
         
            +
             
     | 
| 
      
 161 
     | 
    
         
            +
             
     | 
| 
      
 162 
     | 
    
         
            +
             
     | 
| 
      
 163 
     | 
    
         
            +
             
     | 
| 
      
 164 
     | 
    
         
            +
                
         
     | 
| 
      
 165 
     | 
    
         
            +
             
     | 
| 
      
 166 
     | 
    
         
            +
             
     | 
| 
      
 167 
     | 
    
         
            +
                
         
     | 
| 
      
 168 
     | 
    
         
            +
                    
         
     | 
| 
      
 169 
     | 
    
         
            +
                
         
     | 
| 
      
 170 
     | 
    
         
            +
                
         
     | 
| 
      
 171 
     | 
    
         
            +
             
     | 
| 
      
 172 
     | 
    
         
            +
             
     | 
| 
      
 173 
     | 
    
         
            +
                    <script type="text/javascript">
         
     | 
| 
      
 174 
     | 
    
         
            +
                            window.name="rainierWindow";
         
     | 
| 
      
 175 
     | 
    
         
            +
                    </script>
         
     | 
| 
      
 176 
     | 
    
         
            +
                    
         
     | 
| 
      
 177 
     | 
    
         
            +
                        
         
     | 
| 
      
 178 
     | 
    
         
            +
                
         
     | 
| 
      
 179 
     | 
    
         
            +
                
         
     | 
| 
      
 180 
     | 
    
         
            +
             
     | 
| 
      
 181 
     | 
    
         
            +
             
     | 
| 
      
 182 
     | 
    
         
            +
                
         
     | 
| 
      
 183 
     | 
    
         
            +
                    
         
     | 
| 
      
 184 
     | 
    
         
            +
                
         
     | 
| 
      
 185 
     | 
    
         
            +
             
     | 
| 
      
 186 
     | 
    
         
            +
             
     | 
| 
      
 187 
     | 
    
         
            +
             
     | 
| 
      
 188 
     | 
    
         
            +
             
     | 
| 
      
 189 
     | 
    
         
            +
                    
         
     | 
| 
      
 190 
     | 
    
         
            +
                    
         
     | 
| 
      
 191 
     | 
    
         
            +
                </head>
         
     | 
| 
      
 192 
     | 
    
         
            +
            <body>
         
     | 
| 
      
 193 
     | 
    
         
            +
             
     | 
| 
      
 194 
     | 
    
         
            +
             
     | 
| 
      
 195 
     | 
    
         
            +
            <style type="text/css">
         
     | 
| 
      
 196 
     | 
    
         
            +
              #signin-logo{width:95%;margin:10px auto 0;vertical-align:top;}
         
     | 
| 
      
 197 
     | 
    
         
            +
              #signin-page-container{border:0;margin-left:2.5%;width:95%;}
         
     | 
| 
      
 198 
     | 
    
         
            +
              #signin-box-container{vertical-align:top;width:340px}
         
     | 
| 
      
 199 
     | 
    
         
            +
              #signin-box{border:0;border-collapse:collapse;padding:0;}
         
     | 
| 
      
 200 
     | 
    
         
            +
              #signin-logo-img{margin-left:5px}
         
     | 
| 
      
 201 
     | 
    
         
            +
              .label-container{padding:5px;vertical-align:middle;white-space:nowrap;}
         
     | 
| 
      
 202 
     | 
    
         
            +
              #signin-button-container{padding:5px;text-align:right;white-space:nowrap}
         
     | 
| 
      
 203 
     | 
    
         
            +
              #login-right-column{vertical-align:top}
         
     | 
| 
      
 204 
     | 
    
         
            +
            </style>
         
     | 
| 
      
 205 
     | 
    
         
            +
             
     | 
| 
      
 206 
     | 
    
         
            +
            <div id="signin-logo"><img src="https://images-na.ssl-images-amazon.com/images/G/01/rainier/nav/as_sc_logo_small._V167929621_.gif" width="148" id="signin-logo-img" height="28" border="0" /></div>
         
     | 
| 
      
 207 
     | 
    
         
            +
             
     | 
| 
      
 208 
     | 
    
         
            +
             
     | 
| 
      
 209 
     | 
    
         
            +
            <table id="signin-page-container"><tr><td id="signin-box-container">
         
     | 
| 
      
 210 
     | 
    
         
            +
             
     | 
| 
      
 211 
     | 
    
         
            +
            <table id="signin-box"><tr><td>
         
     | 
| 
      
 212 
     | 
    
         
            +
             
     | 
| 
      
 213 
     | 
    
         
            +
            <div class="content-module">
         
     | 
| 
      
 214 
     | 
    
         
            +
            <form action="https://sellercentral.amazon.com/gp/sign-in/sign-in.html" method="post" name="signin" onSubmit="changeOrgUnit()" >
         
     | 
| 
      
 215 
     | 
    
         
            +
            <table class="titlebar-purple" style="border-collapse:collapse;">
         
     | 
| 
      
 216 
     | 
    
         
            +
              <tr><th>Sign in to your account</th></tr>
         
     | 
| 
      
 217 
     | 
    
         
            +
            </table>
         
     | 
| 
      
 218 
     | 
    
         
            +
            <input type="hidden" name="protocol" value="https" />
         
     | 
| 
      
 219 
     | 
    
         
            +
            <input type="hidden" name="action" value="sign-in" />
         
     | 
| 
      
 220 
     | 
    
         
            +
            <table class="data-entry-purple" cellspacing="1">
         
     | 
| 
      
 221 
     | 
    
         
            +
              <tr><td>
         
     | 
| 
      
 222 
     | 
    
         
            +
             
     | 
| 
      
 223 
     | 
    
         
            +
             
     | 
| 
      
 224 
     | 
    
         
            +
               <table class="data-entry-purple" cellspacing="0"><tr><td style="padding:10px">
         
     | 
| 
      
 225 
     | 
    
         
            +
                  <table class="data-entry-purple" cellspacing="0">
         
     | 
| 
      
 226 
     | 
    
         
            +
            	<tr>
         
     | 
| 
      
 227 
     | 
    
         
            +
            	  <td class="alignright bold label-container" style="width:100%">
         
     | 
| 
      
 228 
     | 
    
         
            +
            	    E-Mail address:
         
     | 
| 
      
 229 
     | 
    
         
            +
            	  </td>
         
     | 
| 
      
 230 
     | 
    
         
            +
            	  <td style="white-space:nowrap;"><input type="text" id="email" name="email" size="30" maxlength="64" /></td>
         
     | 
| 
      
 231 
     | 
    
         
            +
            	</tr>
         
     | 
| 
      
 232 
     | 
    
         
            +
            	<tr><td colspan="2" style="height:5px;line-height:5px;"> </td></tr>
         
     | 
| 
      
 233 
     | 
    
         
            +
            	<tr>
         
     | 
| 
      
 234 
     | 
    
         
            +
            	  <td class="alignright bold label-container">
         
     | 
| 
      
 235 
     | 
    
         
            +
                        Password:
         
     | 
| 
      
 236 
     | 
    
         
            +
            	  </td>
         
     | 
| 
      
 237 
     | 
    
         
            +
            	  <td style="white-space:nowrap">
         
     | 
| 
      
 238 
     | 
    
         
            +
            	   <input type="hidden" name="destination" value="https://sellercentral.amazon.com/gp/homepage.html?ie=UTF8&%2AVersion%2A=1&%2Aentries%2A=0" /> 
         
     | 
| 
      
 239 
     | 
    
         
            +
            	   <input type="hidden" name="optin" value="1" />
         
     | 
| 
      
 240 
     | 
    
         
            +
            	   <input type="hidden" id="ouid" name="ouid" value="01" />
         
     | 
| 
      
 241 
     | 
    
         
            +
            	   <input type="password" id="password" name="password" size="30" />
         
     | 
| 
      
 242 
     | 
    
         
            +
            	  </td>
         
     | 
| 
      
 243 
     | 
    
         
            +
            	</tr>
         
     | 
| 
      
 244 
     | 
    
         
            +
            	<tr>
         
     | 
| 
      
 245 
     | 
    
         
            +
            	  <td colspan="2" id="signin-button-container">
         
     | 
| 
      
 246 
     | 
    
         
            +
            	    <button name="sign-in-button" id="sign-in-button" class="awesomeButton buttonLarge primaryLargeButton" type="submit"><span class="button_label">  Sign in  </span></button>
         
     | 
| 
      
 247 
     | 
    
         
            +
            	  </td>
         
     | 
| 
      
 248 
     | 
    
         
            +
            	</tr>
         
     | 
| 
      
 249 
     | 
    
         
            +
            	<tr>
         
     | 
| 
      
 250 
     | 
    
         
            +
            	  <td colspan="2" class="alignright" style="padding:5px;white-space:nowrap;"><span class="smaller"><a href="https://sellercentral.amazon.com/gp/change-password/change-password-email.html">Forgot your password?</a> | 
         
     | 
| 
      
 251 
     | 
    
         
            +
                     <a href="javascript:loadHelp()">Help</a></span>
         
     | 
| 
      
 252 
     | 
    
         
            +
            	  </td>
         
     | 
| 
      
 253 
     | 
    
         
            +
            	</tr>
         
     | 
| 
      
 254 
     | 
    
         
            +
                  </table>
         
     | 
| 
      
 255 
     | 
    
         
            +
                </td></tr></table>
         
     | 
| 
      
 256 
     | 
    
         
            +
             
     | 
| 
      
 257 
     | 
    
         
            +
              </td></tr>
         
     | 
| 
      
 258 
     | 
    
         
            +
             
     | 
| 
      
 259 
     | 
    
         
            +
            </table>
         
     | 
| 
      
 260 
     | 
    
         
            +
             
     | 
| 
      
 261 
     | 
    
         
            +
             
     | 
| 
      
 262 
     | 
    
         
            +
            <div id='mercury0' style='visibility:hidden'></div>
         
     | 
| 
      
 263 
     | 
    
         
            +
            <div id='mercury1' ></div>
         
     | 
| 
      
 264 
     | 
    
         
            +
             
     | 
| 
      
 265 
     | 
    
         
            +
            <script type="text/javascript"><!--
         
     | 
| 
      
 266 
     | 
    
         
            +
            if (typeof(browserCaps) == "undefined" || 
         
     | 
| 
      
 267 
     | 
    
         
            +
                typeof(browserCaps.id) == "undefined" ) {
         
     | 
| 
      
 268 
     | 
    
         
            +
                document.writeln('<span style="behavior:url(#default#clientCaps)" id="browserCaps"></span>');
         
     | 
| 
      
 269 
     | 
    
         
            +
            }
         
     | 
| 
      
 270 
     | 
    
         
            +
             
     | 
| 
      
 271 
     | 
    
         
            +
            var debug = false;
         
     | 
| 
      
 272 
     | 
    
         
            +
            var flashMajorVersionNumber;
         
     | 
| 
      
 273 
     | 
    
         
            +
            var loadtime_threshold = 0; 
         
     | 
| 
      
 274 
     | 
    
         
            +
            var startTime = new Date();
         
     | 
| 
      
 275 
     | 
    
         
            +
             
     | 
| 
      
 276 
     | 
    
         
            +
             
     | 
| 
      
 277 
     | 
    
         
            +
             
     | 
| 
      
 278 
     | 
    
         
            +
             
     | 
| 
      
 279 
     | 
    
         
            +
             
     | 
| 
      
 280 
     | 
    
         
            +
            var metadataF1Callbacks = new Array()
         
     | 
| 
      
 281 
     | 
    
         
            +
            function setMetadataF1(val)
         
     | 
| 
      
 282 
     | 
    
         
            +
            {
         
     | 
| 
      
 283 
     | 
    
         
            +
              while (metadataF1Callbacks.length>0) {
         
     | 
| 
      
 284 
     | 
    
         
            +
                callback= metadataF1Callbacks.shift()
         
     | 
| 
      
 285 
     | 
    
         
            +
                if (typeof callback == 'function') {
         
     | 
| 
      
 286 
     | 
    
         
            +
                  callback(val)
         
     | 
| 
      
 287 
     | 
    
         
            +
                }
         
     | 
| 
      
 288 
     | 
    
         
            +
              }
         
     | 
| 
      
 289 
     | 
    
         
            +
            }
         
     | 
| 
      
 290 
     | 
    
         
            +
            function setMetadataF1_0(val)
         
     | 
| 
      
 291 
     | 
    
         
            +
            {     
         
     | 
| 
      
 292 
     | 
    
         
            +
              if (document["signin"] && document["signin"].metadataf1) {
         
     | 
| 
      
 293 
     | 
    
         
            +
                document["signin"].metadataf1.value=val
         
     | 
| 
      
 294 
     | 
    
         
            +
              }
         
     | 
| 
      
 295 
     | 
    
         
            +
            }
         
     | 
| 
      
 296 
     | 
    
         
            +
            metadataF1Callbacks.push(setMetadataF1_0)
         
     | 
| 
      
 297 
     | 
    
         
            +
             
     | 
| 
      
 298 
     | 
    
         
            +
            function longLoadingTime(){
         
     | 
| 
      
 299 
     | 
    
         
            +
              var retval = false;
         
     | 
| 
      
 300 
     | 
    
         
            +
             
     | 
| 
      
 301 
     | 
    
         
            +
              if (loadtime_threshold > 0) {
         
     | 
| 
      
 302 
     | 
    
         
            +
                var exe_time_cur = new Date();
         
     | 
| 
      
 303 
     | 
    
         
            +
             
     | 
| 
      
 304 
     | 
    
         
            +
                if (  (exe_time_cur - startTime) > loadtime_threshold ) {
         
     | 
| 
      
 305 
     | 
    
         
            +
                    loadtime_threshold = 0;
         
     | 
| 
      
 306 
     | 
    
         
            +
                }
         
     | 
| 
      
 307 
     | 
    
         
            +
              }
         
     | 
| 
      
 308 
     | 
    
         
            +
             
     | 
| 
      
 309 
     | 
    
         
            +
              return retval;
         
     | 
| 
      
 310 
     | 
    
         
            +
             
     | 
| 
      
 311 
     | 
    
         
            +
            }
         
     | 
| 
      
 312 
     | 
    
         
            +
              
         
     | 
| 
      
 313 
     | 
    
         
            +
            function getVersionById(id) {
         
     | 
| 
      
 314 
     | 
    
         
            +
              try {
         
     | 
| 
      
 315 
     | 
    
         
            +
                if (browserCaps.isComponentInstalled(id,"ComponentID")) 
         
     | 
| 
      
 316 
     | 
    
         
            +
                  return browserCaps.getComponentVersion(id, "ComponentID");
         
     | 
| 
      
 317 
     | 
    
         
            +
                else
         
     | 
| 
      
 318 
     | 
    
         
            +
                  return false;
         
     | 
| 
      
 319 
     | 
    
         
            +
              }
         
     | 
| 
      
 320 
     | 
    
         
            +
              catch (e) {
         
     | 
| 
      
 321 
     | 
    
         
            +
                if (typeof(browserCaps) == "undefined")
         
     | 
| 
      
 322 
     | 
    
         
            +
                  document.writeln('<span style="behavior:url(#default#clientCaps)" id="browserCaps"></span>');
         
     | 
| 
      
 323 
     | 
    
         
            +
                return false;
         
     | 
| 
      
 324 
     | 
    
         
            +
              }
         
     | 
| 
      
 325 
     | 
    
         
            +
            }
         
     | 
| 
      
 326 
     | 
    
         
            +
             
     | 
| 
      
 327 
     | 
    
         
            +
            var theBrowser = new Object();
         
     | 
| 
      
 328 
     | 
    
         
            +
            var eventHooks = []
         
     | 
| 
      
 329 
     | 
    
         
            +
            var browsers = [ 
         
     | 
| 
      
 330 
     | 
    
         
            +
             { data: navigator.vendor, target: "Apple", name: "Safari" },
         
     | 
| 
      
 331 
     | 
    
         
            +
             { data: navigator.vendor, target: "iCab", name: "iCab" },
         
     | 
| 
      
 332 
     | 
    
         
            +
             { data: navigator.vendor, target: "KDE", name: "Konqueror" },
         
     | 
| 
      
 333 
     | 
    
         
            +
             { data: navigator.userAgent, target: "Opera", name: "Opera" },
         
     | 
| 
      
 334 
     | 
    
         
            +
             { data: navigator.userAgent, target: "Firefox", name: "Firefox" },
         
     | 
| 
      
 335 
     | 
    
         
            +
             { data: navigator.userAgent, target: "Netscape", name: "Netscape" },
         
     | 
| 
      
 336 
     | 
    
         
            +
             { data: navigator.userAgent, target: "MSIE", name: "IE", verpos: "MSIE" },
         
     | 
| 
      
 337 
     | 
    
         
            +
             { data: navigator.userAgent, target: "Gecko", name: "Mozilla", verpos: "rv" },
         
     | 
| 
      
 338 
     | 
    
         
            +
             { data: navigator.userAgent, target: "Mozilla", name: "Netscape", verpos: "Mozilla" } ];
         
     | 
| 
      
 339 
     | 
    
         
            +
             
     | 
| 
      
 340 
     | 
    
         
            +
            var OS = [ 
         
     | 
| 
      
 341 
     | 
    
         
            +
             { data: navigator.platform, target: "Win", name: "Windows" },
         
     | 
| 
      
 342 
     | 
    
         
            +
             { data: navigator.platform, target: "Mac", name: "Mac" },
         
     | 
| 
      
 343 
     | 
    
         
            +
             { data: navigator.platform, target: "Linux", name: "Linux" },
         
     | 
| 
      
 344 
     | 
    
         
            +
             { data: navigator.platform, target: "FreeBSD", name: "FreeBSD" } ];
         
     | 
| 
      
 345 
     | 
    
         
            +
             
     | 
| 
      
 346 
     | 
    
         
            +
            var  components = {
         
     | 
| 
      
 347 
     | 
    
         
            +
              "AB" :        "{7790769C-0471-11D2-AF11-00C04FA35D02}",
         
     | 
| 
      
 348 
     | 
    
         
            +
              "WDUN":       "{89820200-ECBD-11CF-8B85-00AA005B4340}",
         
     | 
| 
      
 349 
     | 
    
         
            +
              "DA":         "{283807B5-2C60-11D0-A31D-00AA00B92C03}",
         
     | 
| 
      
 350 
     | 
    
         
            +
              "DAJC":       "{4F216970-C90C-11D1-B5C7-0000F8051515}",
         
     | 
| 
      
 351 
     | 
    
         
            +
              "DS":         "{44BBA848-CC51-11CF-AAFA-00AA00B6015C}",
         
     | 
| 
      
 352 
     | 
    
         
            +
              "DHDB":       "{9381D8F2-0288-11D0-9501-00AA00B911A5}",
         
     | 
| 
      
 353 
     | 
    
         
            +
              "DHDBFJ":     "{4F216970-C90C-11D1-B5C7-0000F8051515}",
         
     | 
| 
      
 354 
     | 
    
         
            +
              "ICW":        "{5A8D6EE0-3E18-11D0-821E-444553540000}",
         
     | 
| 
      
 355 
     | 
    
         
            +
              "IE":         "{89820200-ECBD-11CF-8B85-00AA005B4383}",
         
     | 
| 
      
 356 
     | 
    
         
            +
              "IECFJ":      "{08B0E5C0-4FCB-11CF-AAA5-00401C608555}",
         
     | 
| 
      
 357 
     | 
    
         
            +
              "WMP":        "{22D6F312-B0F6-11D0-94AB-0080C74C7E95}",
         
     | 
| 
      
 358 
     | 
    
         
            +
              "NN":         "{44BBA842-CC51-11CF-AAFA-00AA00B6015B}",
         
     | 
| 
      
 359 
     | 
    
         
            +
              "OBP":        "{3AF36230-A269-11D1-B5BF-0000F8051515}",
         
     | 
| 
      
 360 
     | 
    
         
            +
              "OE":         "{44BBA840-CC51-11CF-AAFA-00AA00B6015C}",
         
     | 
| 
      
 361 
     | 
    
         
            +
              "TS":         "{CC2A9BA0-3BDD-11D0-821E-444553540000}",
         
     | 
| 
      
 362 
     | 
    
         
            +
              "MVM":        "{08B0E5C0-4FCB-11CF-AAA5-00401C608500}",
         
     | 
| 
      
 363 
     | 
    
         
            +
              "DDE":        "{44BBA855-CC51-11CF-AAFA-00AA00B6015F}",
         
     | 
| 
      
 364 
     | 
    
         
            +
              "DOTNET":     "{6FAB99D0-BAB8-11D1-994A-00C04F98BBC9}",
         
     | 
| 
      
 365 
     | 
    
         
            +
              "YHOO":       "{E5D12C4E-7B4F-11D3-B5C9-0050045C3C96}",
         
     | 
| 
      
 366 
     | 
    
         
            +
              "SWDNEW":     "{166B1BCA-3F9C-11CF-8075-444553540000}",
         
     | 
| 
      
 367 
     | 
    
         
            +
              "DOTNETFM":   "{89B4C1CD-B018-4511-B0A1-5476DBF70820}",
         
     | 
| 
      
 368 
     | 
    
         
            +
              "MDFH":       "{8EFA4753-7169-4CC3-A28B-0A1643B8A39B}",
         
     | 
| 
      
 369 
     | 
    
         
            +
              "FLH":        "{D27CDB6E-AE6D-11CF-96B8-444553540000}",
         
     | 
| 
      
 370 
     | 
    
         
            +
              "SW":         "{2A202491-F00D-11CF-87CC-0020AFEECF20}",
         
     | 
| 
      
 371 
     | 
    
         
            +
              "SWD":        "{233C1507-6A77-46A4-9443-F871F945D258}",
         
     | 
| 
      
 372 
     | 
    
         
            +
              "RP":         "{CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA}",
         
     | 
| 
      
 373 
     | 
    
         
            +
              "QT":         "{DE4AF3B0-F4D4-11D3-B41A-0050DA2E6C21}"
         
     | 
| 
      
 374 
     | 
    
         
            +
            };
         
     | 
| 
      
 375 
     | 
    
         
            +
             
     | 
| 
      
 376 
     | 
    
         
            +
            function getData(s) {
         
     | 
| 
      
 377 
     | 
    
         
            +
              for (var i=0;i<s.length;i++) {
         
     | 
| 
      
 378 
     | 
    
         
            +
                var dataString = s[i].data;
         
     | 
| 
      
 379 
     | 
    
         
            +
                theBrowser.verposString = s[i].verpos || s[i].name;
         
     | 
| 
      
 380 
     | 
    
         
            +
                if (dataString && dataString.indexOf(s[i].target) != -1 )
         
     | 
| 
      
 381 
     | 
    
         
            +
                  return s[i].name;
         
     | 
| 
      
 382 
     | 
    
         
            +
              }
         
     | 
| 
      
 383 
     | 
    
         
            +
              return;
         
     | 
| 
      
 384 
     | 
    
         
            +
            }
         
     | 
| 
      
 385 
     | 
    
         
            +
             
     | 
| 
      
 386 
     | 
    
         
            +
            function getVersion(s) {
         
     | 
| 
      
 387 
     | 
    
         
            +
              var index = s.indexOf(theBrowser.verposString);
         
     | 
| 
      
 388 
     | 
    
         
            +
              if (index == -1) 
         
     | 
| 
      
 389 
     | 
    
         
            +
                return;
         
     | 
| 
      
 390 
     | 
    
         
            +
              theversion = s.substring(index+theBrowser.verposString.length+1);
         
     | 
| 
      
 391 
     | 
    
         
            +
              theversion = theversion.match(/[\w|\+.]+/);
         
     | 
| 
      
 392 
     | 
    
         
            +
              return theversion;
         
     | 
| 
      
 393 
     | 
    
         
            +
            }
         
     | 
| 
      
 394 
     | 
    
         
            +
             
     | 
| 
      
 395 
     | 
    
         
            +
            function detectBrowser() {
         
     | 
| 
      
 396 
     | 
    
         
            +
              theBrowser.browser = getData(browsers) || "unknown";
         
     | 
| 
      
 397 
     | 
    
         
            +
              theBrowser.version = getVersion(navigator.userAgent)
         
     | 
| 
      
 398 
     | 
    
         
            +
                || getVersion(navigator.appVersion)
         
     | 
| 
      
 399 
     | 
    
         
            +
                || "unknown";
         
     | 
| 
      
 400 
     | 
    
         
            +
              theBrowser.OS = getData(OS) || "unknown";
         
     | 
| 
      
 401 
     | 
    
         
            +
             
     | 
| 
      
 402 
     | 
    
         
            +
              if (theBrowser.browser == "IE") {
         
     | 
| 
      
 403 
     | 
    
         
            +
                var ver= getVersionById("{89820200-ECBD-11CF-8B85-00AA005B4383}");
         
     | 
| 
      
 404 
     | 
    
         
            +
                if (ver) {
         
     | 
| 
      
 405 
     | 
    
         
            +
                  theBrowser.version += '-' + ver;
         
     | 
| 
      
 406 
     | 
    
         
            +
                }
         
     | 
| 
      
 407 
     | 
    
         
            +
              }
         
     | 
| 
      
 408 
     | 
    
         
            +
             
     | 
| 
      
 409 
     | 
    
         
            +
              document.writeln('<input type="hidden" name="metadata1" value="' + theBrowser.browser + ' ' + theBrowser.version + ' ' +  theBrowser.OS + '"/>');
         
     | 
| 
      
 410 
     | 
    
         
            +
             
     | 
| 
      
 411 
     | 
    
         
            +
              document.writeln('<input type="hidden" name="metadataf1">');
         
     | 
| 
      
 412 
     | 
    
         
            +
             
     | 
| 
      
 413 
     | 
    
         
            +
             
     | 
| 
      
 414 
     | 
    
         
            +
            }
         
     | 
| 
      
 415 
     | 
    
         
            +
             
     | 
| 
      
 416 
     | 
    
         
            +
            function getdigits(s) {
         
     | 
| 
      
 417 
     | 
    
         
            +
              re=/[^0-9]/g;
         
     | 
| 
      
 418 
     | 
    
         
            +
              return s.replace(re, "")
         
     | 
| 
      
 419 
     | 
    
         
            +
            }
         
     | 
| 
      
 420 
     | 
    
         
            +
             
     | 
| 
      
 421 
     | 
    
         
            +
             
     | 
| 
      
 422 
     | 
    
         
            +
            function detectPlugins() {
         
     | 
| 
      
 423 
     | 
    
         
            +
              var plugins = "";
         
     | 
| 
      
 424 
     | 
    
         
            +
              if (navigator.plugins && navigator.plugins.length > 0) {
         
     | 
| 
      
 425 
     | 
    
         
            +
                var numPlugins = navigator.plugins.length;
         
     | 
| 
      
 426 
     | 
    
         
            +
                var aplugin = "";
         
     | 
| 
      
 427 
     | 
    
         
            +
                for (var i = 0; i < numPlugins; i++) {
         
     | 
| 
      
 428 
     | 
    
         
            +
                  var plugin = navigator.plugins[i];
         
     | 
| 
      
 429 
     | 
    
         
            +
            	  var version = plugin.description.replace(/[^0-9.]/g, '');
         
     | 
| 
      
 430 
     | 
    
         
            +
                  aplugin = plugin.name + " " + getdigits(plugin.description);
         
     | 
| 
      
 431 
     | 
    
         
            +
                  if (plugins.indexOf(aplugin) == -1){
         
     | 
| 
      
 432 
     | 
    
         
            +
             
     | 
| 
      
 433 
     | 
    
         
            +
                    if (debug)
         
     | 
| 
      
 434 
     | 
    
         
            +
                     document.writeln('<br>' + aplugin);
         
     | 
| 
      
 435 
     | 
    
         
            +
             
     | 
| 
      
 436 
     | 
    
         
            +
                    if (aplugin.indexOf('Shockwave Flash') != -1) 
         
     | 
| 
      
 437 
     | 
    
         
            +
                      flashMajorVersionNumber = version.split('.')[0]
         
     | 
| 
      
 438 
     | 
    
         
            +
             
     | 
| 
      
 439 
     | 
    
         
            +
                    plugins += aplugin;
         
     | 
| 
      
 440 
     | 
    
         
            +
                  }
         
     | 
| 
      
 441 
     | 
    
         
            +
                }
         
     | 
| 
      
 442 
     | 
    
         
            +
              }
         
     | 
| 
      
 443 
     | 
    
         
            +
              else {
         
     | 
| 
      
 444 
     | 
    
         
            +
                if ((navigator.userAgent.toLowerCase().indexOf('msie') != -1) && (navigator.userAgent.toLowerCase().indexOf('win') != -1)) {
         
     | 
| 
      
 445 
     | 
    
         
            +
                  var isvista = false;
         
     | 
| 
      
 446 
     | 
    
         
            +
                  if (navigator.userAgent.toLowerCase().indexOf('windows nt 6') != -1) {
         
     | 
| 
      
 447 
     | 
    
         
            +
                    isvista = true;
         
     | 
| 
      
 448 
     | 
    
         
            +
                  }
         
     | 
| 
      
 449 
     | 
    
         
            +
                  createVBforPlugin();
         
     | 
| 
      
 450 
     | 
    
         
            +
                  plugins = detectPluginsVB(isvista);
         
     | 
| 
      
 451 
     | 
    
         
            +
             
     | 
| 
      
 452 
     | 
    
         
            +
                  for (var item in components) {
         
     | 
| 
      
 453 
     | 
    
         
            +
                    var compver = getVersionById(components[item]);
         
     | 
| 
      
 454 
     | 
    
         
            +
                    if (compver) {
         
     | 
| 
      
 455 
     | 
    
         
            +
                      plugins += "|" + item + " " +  compver;
         
     | 
| 
      
 456 
     | 
    
         
            +
                    }
         
     | 
| 
      
 457 
     | 
    
         
            +
                  }
         
     | 
| 
      
 458 
     | 
    
         
            +
                  if (debug) {
         
     | 
| 
      
 459 
     | 
    
         
            +
                    document.writeln('<br>' + plugins);
         
     | 
| 
      
 460 
     | 
    
         
            +
                  }
         
     | 
| 
      
 461 
     | 
    
         
            +
                }
         
     | 
| 
      
 462 
     | 
    
         
            +
                else{
         
     | 
| 
      
 463 
     | 
    
         
            +
                  plugins = "unknown";
         
     | 
| 
      
 464 
     | 
    
         
            +
                }
         
     | 
| 
      
 465 
     | 
    
         
            +
              }
         
     | 
| 
      
 466 
     | 
    
         
            +
             
     | 
| 
      
 467 
     | 
    
         
            +
              plugins +="||"+ detectScreen();
         
     | 
| 
      
 468 
     | 
    
         
            +
              document.writeln('<input type="hidden" name="metadata2" value="' + plugins+ '"/>');
         
     | 
| 
      
 469 
     | 
    
         
            +
            }
         
     | 
| 
      
 470 
     | 
    
         
            +
             
     | 
| 
      
 471 
     | 
    
         
            +
             
     | 
| 
      
 472 
     | 
    
         
            +
             
     | 
| 
      
 473 
     | 
    
         
            +
             
     | 
| 
      
 474 
     | 
    
         
            +
             
     | 
| 
      
 475 
     | 
    
         
            +
             
     | 
| 
      
 476 
     | 
    
         
            +
            function prepareMercury() {
         
     | 
| 
      
 477 
     | 
    
         
            +
              if (eventHooks && eventHooks.onload) {
         
     | 
| 
      
 478 
     | 
    
         
            +
                eventHooks.onload()
         
     | 
| 
      
 479 
     | 
    
         
            +
              }
         
     | 
| 
      
 480 
     | 
    
         
            +
              if (theBrowser.browser == 'Firefox') {
         
     | 
| 
      
 481 
     | 
    
         
            +
                var m=document.getElementById('mercury0')
         
     | 
| 
      
 482 
     | 
    
         
            +
              }
         
     | 
| 
      
 483 
     | 
    
         
            +
              else {
         
     | 
| 
      
 484 
     | 
    
         
            +
                var m=document.getElementById('mercury1')
         
     | 
| 
      
 485 
     | 
    
         
            +
              }
         
     | 
| 
      
 486 
     | 
    
         
            +
              if (m) {
         
     | 
| 
      
 487 
     | 
    
         
            +
                m.innerHTML=
         
     | 
| 
      
 488 
     | 
    
         
            +
                  '<param name="movie" value="https://images-na.ssl-images-amazon.com/images/G/01/x-locale/common/login/mercury8-r1._V249746775_.swf?value1=000-9985516-4017520:1309742594"/>' +
         
     | 
| 
      
 489 
     | 
    
         
            +
                  '<param name="bgcolor" value="#ffffff" />' +
         
     | 
| 
      
 490 
     | 
    
         
            +
            	  '<param name="AllowScriptAccess" value="always" />' +
         
     | 
| 
      
 491 
     | 
    
         
            +
                  '<embed src="https://images-na.ssl-images-amazon.com/images/G/01/x-locale/common/login/mercury8-r1._V249746775_.swf?value1=000-9985516-4017520:1309742594" bgcolor="#ffffff" AllowScriptAccess="always" width="0" height="0" />' 
         
     | 
| 
      
 492 
     | 
    
         
            +
              }
         
     | 
| 
      
 493 
     | 
    
         
            +
            }
         
     | 
| 
      
 494 
     | 
    
         
            +
             
     | 
| 
      
 495 
     | 
    
         
            +
             
     | 
| 
      
 496 
     | 
    
         
            +
             
     | 
| 
      
 497 
     | 
    
         
            +
            function detectTimeZone() {
         
     | 
| 
      
 498 
     | 
    
         
            +
              var visitortime = new Date();
         
     | 
| 
      
 499 
     | 
    
         
            +
              var timedata = "";
         
     | 
| 
      
 500 
     | 
    
         
            +
              if(visitortime) {
         
     | 
| 
      
 501 
     | 
    
         
            +
                var time1 = new Date(visitortime.getFullYear(), 0, 10);
         
     | 
| 
      
 502 
     | 
    
         
            +
                var time2 = new Date(time1.toGMTString().substring(0,time1.toGMTString().lastIndexOf(" ")-1));
         
     | 
| 
      
 503 
     | 
    
         
            +
                timedata = 'timezone: ' + (time2-time1)/(1000 * 60 * 60) + ' execution time: ' + (visitortime - startTime);
         
     | 
| 
      
 504 
     | 
    
         
            +
              }
         
     | 
| 
      
 505 
     | 
    
         
            +
              else {
         
     | 
| 
      
 506 
     | 
    
         
            +
                timedata = "unknown";
         
     | 
| 
      
 507 
     | 
    
         
            +
              }
         
     | 
| 
      
 508 
     | 
    
         
            +
              document.write('<input type="hidden" name="metadata3" value="' + timedata + '"/>');
         
     | 
| 
      
 509 
     | 
    
         
            +
              if (debug)
         
     | 
| 
      
 510 
     | 
    
         
            +
                document.writeln('<br>' + timedata );
         
     | 
| 
      
 511 
     | 
    
         
            +
            }
         
     | 
| 
      
 512 
     | 
    
         
            +
             
     | 
| 
      
 513 
     | 
    
         
            +
            function detectScreen() {
         
     | 
| 
      
 514 
     | 
    
         
            +
              var screeninfo = screen.width+'-'+screen.height+ "-"+screen.availHeight+"-"+screen.colorDepth;
         
     | 
| 
      
 515 
     | 
    
         
            +
              screeninfo +=  "-" + ((typeof(screen.deviceXDPI)  != "undefined")?screen.deviceXDPI:"*" )
         
     | 
| 
      
 516 
     | 
    
         
            +
                           + "-" + ((typeof(screen.logicalXDPI) != "undefined")?screen.logicalXDPI:"*" )
         
     | 
| 
      
 517 
     | 
    
         
            +
                           + "-" + ((typeof(screen.fontSmoothingEnabled) != "undefined")? 
         
     | 
| 
      
 518 
     | 
    
         
            +
                                   ((screen.fontSmoothingEnabled)?1:0):"*" )
         
     | 
| 
      
 519 
     | 
    
         
            +
                           ;
         
     | 
| 
      
 520 
     | 
    
         
            +
              if (debug)
         
     | 
| 
      
 521 
     | 
    
         
            +
                document.writeln('<br>' + screeninfo  );
         
     | 
| 
      
 522 
     | 
    
         
            +
              return screeninfo;
         
     | 
| 
      
 523 
     | 
    
         
            +
            }
         
     | 
| 
      
 524 
     | 
    
         
            +
             
     | 
| 
      
 525 
     | 
    
         
            +
            var activexdata = [ 
         
     | 
| 
      
 526 
     | 
    
         
            +
             {name: 'ShockwaveDirector', value: 'SWCtl.SWCtl'},
         
     | 
| 
      
 527 
     | 
    
         
            +
             {name: 'ShockwaveFlash',    value: 'ShockwaveFlash.ShockwaveFlash'},
         
     | 
| 
      
 528 
     | 
    
         
            +
             {name: 'RealPlayer',        value: 'rmocx.RealPlayer G2 Control' },
         
     | 
| 
      
 529 
     | 
    
         
            +
             {name: 'RealPlayer',        value: 'RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)' },
         
     | 
| 
      
 530 
     | 
    
         
            +
             {name: 'RealPlayer',        value: 'RealVideo.RealVideo(tm) ActiveX Control (32-bit)' }
         
     | 
| 
      
 531 
     | 
    
         
            +
             ];
         
     | 
| 
      
 532 
     | 
    
         
            +
             
     | 
| 
      
 533 
     | 
    
         
            +
            function detectPluginsVB(isvista){
         
     | 
| 
      
 534 
     | 
    
         
            +
              var plugins = "";
         
     | 
| 
      
 535 
     | 
    
         
            +
              for (var i = 0; i < (isvista?2:activexdata.length);i++) {
         
     | 
| 
      
 536 
     | 
    
         
            +
                aplugin = detectAPlugin(activexdata[i]);
         
     | 
| 
      
 537 
     | 
    
         
            +
             
     | 
| 
      
 538 
     | 
    
         
            +
                if (aplugin.indexOf('ShockwaveFlash') != -1) 
         
     | 
| 
      
 539 
     | 
    
         
            +
                  flashMajorVersionNumber=aplugin.split(' ')[2]>>16
         
     | 
| 
      
 540 
     | 
    
         
            +
             
     | 
| 
      
 541 
     | 
    
         
            +
                plugins += aplugin
         
     | 
| 
      
 542 
     | 
    
         
            +
             
     | 
| 
      
 543 
     | 
    
         
            +
                if (longLoadingTime()) {
         
     | 
| 
      
 544 
     | 
    
         
            +
                  return "longloadingtime " + plugins;
         
     | 
| 
      
 545 
     | 
    
         
            +
                }
         
     | 
| 
      
 546 
     | 
    
         
            +
              }
         
     | 
| 
      
 547 
     | 
    
         
            +
             
     | 
| 
      
 548 
     | 
    
         
            +
              return plugins;
         
     | 
| 
      
 549 
     | 
    
         
            +
            }
         
     | 
| 
      
 550 
     | 
    
         
            +
             
     | 
| 
      
 551 
     | 
    
         
            +
             
     | 
| 
      
 552 
     | 
    
         
            +
            function createVBforPlugin() {
         
     | 
| 
      
 553 
     | 
    
         
            +
                document.writeln('<script language="VBscript">');
         
     | 
| 
      
 554 
     | 
    
         
            +
             
     | 
| 
      
 555 
     | 
    
         
            +
                document.writeln('Function detectAPlugin(plugin)');
         
     | 
| 
      
 556 
     | 
    
         
            +
                document.writeln('  on error resume next');
         
     | 
| 
      
 557 
     | 
    
         
            +
                document.writeln('  detectAPlugin = ""');
         
     | 
| 
      
 558 
     | 
    
         
            +
                document.writeln('     set axobj = CreateObject(plugin.value)');
         
     | 
| 
      
 559 
     | 
    
         
            +
                document.writeln('     If IsObject(axobj) Then ');
         
     | 
| 
      
 560 
     | 
    
         
            +
                document.writeln('      Select case plugin.name ');
         
     | 
| 
      
 561 
     | 
    
         
            +
                document.writeln('        case "ShockwaveDirector" ');
         
     | 
| 
      
 562 
     | 
    
         
            +
                document.writeln('          version = axobj.ShockwaveVersion("")');
         
     | 
| 
      
 563 
     | 
    
         
            +
                document.writeln('        case "ShockwaveFlash" ');
         
     | 
| 
      
 564 
     | 
    
         
            +
                document.writeln('          version = axobj.FlashVersion()');
         
     | 
| 
      
 565 
     | 
    
         
            +
                document.writeln('        case "RealPlayer" ');
         
     | 
| 
      
 566 
     | 
    
         
            +
                document.writeln('          version = axobj.GetVersionInfo');
         
     | 
| 
      
 567 
     | 
    
         
            +
                document.writeln('        case Else ');
         
     | 
| 
      
 568 
     | 
    
         
            +
                document.writeln('         version = ""');
         
     | 
| 
      
 569 
     | 
    
         
            +
                document.writeln('      end Select ');
         
     | 
| 
      
 570 
     | 
    
         
            +
                document.writeln('      detectAPlugin = plugin.name& " : " & version '); 
         
     | 
| 
      
 571 
     | 
    
         
            +
                document.writeln('     End If');
         
     | 
| 
      
 572 
     | 
    
         
            +
                document.writeln('End Function');
         
     | 
| 
      
 573 
     | 
    
         
            +
             
     | 
| 
      
 574 
     | 
    
         
            +
                document.writeln('</scr' + 'ipt>');
         
     | 
| 
      
 575 
     | 
    
         
            +
            }
         
     | 
| 
      
 576 
     | 
    
         
            +
             
     | 
| 
      
 577 
     | 
    
         
            +
            detectBrowser();
         
     | 
| 
      
 578 
     | 
    
         
            +
            detectPlugins();
         
     | 
| 
      
 579 
     | 
    
         
            +
             
     | 
| 
      
 580 
     | 
    
         
            +
            if (flashMajorVersionNumber >= 7) {
         
     | 
| 
      
 581 
     | 
    
         
            +
              if (typeof window.onload == 'function') {
         
     | 
| 
      
 582 
     | 
    
         
            +
                eventHooks.onload=window.onload
         
     | 
| 
      
 583 
     | 
    
         
            +
              }
         
     | 
| 
      
 584 
     | 
    
         
            +
              window.onload=prepareMercury;
         
     | 
| 
      
 585 
     | 
    
         
            +
            }
         
     | 
| 
      
 586 
     | 
    
         
            +
            detectTimeZone();
         
     | 
| 
      
 587 
     | 
    
         
            +
             
     | 
| 
      
 588 
     | 
    
         
            +
             
     | 
| 
      
 589 
     | 
    
         
            +
            // -->
         
     | 
| 
      
 590 
     | 
    
         
            +
            </script>
         
     | 
| 
      
 591 
     | 
    
         
            +
             
     | 
| 
      
 592 
     | 
    
         
            +
             
     | 
| 
      
 593 
     | 
    
         
            +
             
     | 
| 
      
 594 
     | 
    
         
            +
             
     | 
| 
      
 595 
     | 
    
         
            +
            </form>
         
     | 
| 
      
 596 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 597 
     | 
    
         
            +
             
     | 
| 
      
 598 
     | 
    
         
            +
             
     | 
| 
      
 599 
     | 
    
         
            +
             
     | 
| 
      
 600 
     | 
    
         
            +
            <img src="https://images-na.ssl-images-amazon.com/images/G/01/x-locale/common/transparent-pixel._V42752373_.gif" style="position: absolute" width="1" alt="" onload="if (typeof uet == 'function') { uet('cf'); }" height="1" border="0" />
         
     | 
| 
      
 601 
     | 
    
         
            +
             
     | 
| 
      
 602 
     | 
    
         
            +
             
     | 
| 
      
 603 
     | 
    
         
            +
            <div class="content-module">
         
     | 
| 
      
 604 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 605 
     | 
    
         
            +
             
     | 
| 
      
 606 
     | 
    
         
            +
            <div class="content-module">
         
     | 
| 
      
 607 
     | 
    
         
            +
             
     | 
| 
      
 608 
     | 
    
         
            +
             
     | 
| 
      
 609 
     | 
    
         
            +
             
     | 
| 
      
 610 
     | 
    
         
            +
            <table border="0"  cellspacing="0" cellpadding="0" width="100%">
         
     | 
| 
      
 611 
     | 
    
         
            +
                         <tr bgcolor="#FFFFFF"><td><table class="data-entry-purple" cellspacing="1" width="100%"><tbody><tr><td style="padding: 10px;"><strong>Not already selling on Amazon?</strong> <br><div style="margin-top: 0.5em;"><a href="http://www.amazonservices.com/content/sell-on-amazon.htm?ld=SCSOAlogin"><strong>Register now</strong></a> to sell your products to millions of Amazon.com customers.</div></td></tr><tr><td class="smaller" style="padding: 10px;"><a href="http://www.amazon.ca/gp/seller-account/mm-product-page.html/ref=xx_regnow_cont_lgin?ld=AZFooterSOA&topic=200341890">For Amazon.ca sellers</a></td></tr></tbody></table></td></tr></table><div style="margin-top:2em" /></div>
         
     | 
| 
      
 612 
     | 
    
         
            +
             
     | 
| 
      
 613 
     | 
    
         
            +
            </td></tr></table>
         
     | 
| 
      
 614 
     | 
    
         
            +
             
     | 
| 
      
 615 
     | 
    
         
            +
            </td><td style="width:22px;"> </td><td id="login-right-column">
         
     | 
| 
      
 616 
     | 
    
         
            +
            <div class="content-module">
         
     | 
| 
      
 617 
     | 
    
         
            +
             
     | 
| 
      
 618 
     | 
    
         
            +
             
     | 
| 
      
 619 
     | 
    
         
            +
             
     | 
| 
      
 620 
     | 
    
         
            +
            <div id="" style=display:true><table border="0"  cellspacing="0" cellpadding="0" width="100%"><tr bgcolor="#FFFFFF"><td>
         
     | 
| 
      
 621 
     | 
    
         
            +
             
     | 
| 
      
 622 
     | 
    
         
            +
             
     | 
| 
      
 623 
     | 
    
         
            +
             
     | 
| 
      
 624 
     | 
    
         
            +
             
     | 
| 
      
 625 
     | 
    
         
            +
              
         
     | 
| 
      
 626 
     | 
    
         
            +
             
         
     | 
| 
      
 627 
     | 
    
         
            +
              
         
     | 
| 
      
 628 
     | 
    
         
            +
             
     | 
| 
      
 629 
     | 
    
         
            +
            </td></tr></table></div><div style="margin-top:2em" /></div>
         
     | 
| 
      
 630 
     | 
    
         
            +
             
     | 
| 
      
 631 
     | 
    
         
            +
            </td></tr></table>
         
     | 
| 
      
 632 
     | 
    
         
            +
             
     | 
| 
      
 633 
     | 
    
         
            +
             
     | 
| 
      
 634 
     | 
    
         
            +
             
     | 
| 
      
 635 
     | 
    
         
            +
             
     | 
| 
      
 636 
     | 
    
         
            +
            <script language="JavaScript">
         
     | 
| 
      
 637 
     | 
    
         
            +
            <!-- 
         
     | 
| 
      
 638 
     | 
    
         
            +
            if (!top.document.getElementById('idSignOutFrame')) {
         
     | 
| 
      
 639 
     | 
    
         
            +
              var emailField = document.getElementById('email');
         
     | 
| 
      
 640 
     | 
    
         
            +
              emailField.focus();    
         
     | 
| 
      
 641 
     | 
    
         
            +
            }
         
     | 
| 
      
 642 
     | 
    
         
            +
             
     | 
| 
      
 643 
     | 
    
         
            +
            var helpHttp;
         
     | 
| 
      
 644 
     | 
    
         
            +
             
     | 
| 
      
 645 
     | 
    
         
            +
            function loadHelp()
         
     | 
| 
      
 646 
     | 
    
         
            +
            {
         
     | 
| 
      
 647 
     | 
    
         
            +
                // make the request object
         
     | 
| 
      
 648 
     | 
    
         
            +
                var browser = navigator.appName;
         
     | 
| 
      
 649 
     | 
    
         
            +
                if(browser == "Microsoft Internet Explorer"){
         
     | 
| 
      
 650 
     | 
    
         
            +
                  helpHttp = new ActiveXObject("Microsoft.XMLHTTP");
         
     | 
| 
      
 651 
     | 
    
         
            +
                }else{
         
     | 
| 
      
 652 
     | 
    
         
            +
                  helpHttp = new XMLHttpRequest();
         
     | 
| 
      
 653 
     | 
    
         
            +
                } 
         
     | 
| 
      
 654 
     | 
    
         
            +
             
     | 
| 
      
 655 
     | 
    
         
            +
                // submit it
         
     | 
| 
      
 656 
     | 
    
         
            +
                var helpUrl = '/gp/help/login-help.html?language=en_US&ref=xx_loginhelp_lgin_home';
         
     | 
| 
      
 657 
     | 
    
         
            +
                helpHttp.open('GET', helpUrl, true);
         
     | 
| 
      
 658 
     | 
    
         
            +
                helpHttp.onreadystatechange = function(){handleHelpResponse();};
         
     | 
| 
      
 659 
     | 
    
         
            +
                helpHttp.send(null);
         
     | 
| 
      
 660 
     | 
    
         
            +
                
         
     | 
| 
      
 661 
     | 
    
         
            +
            }
         
     | 
| 
      
 662 
     | 
    
         
            +
             
     | 
| 
      
 663 
     | 
    
         
            +
            function handleHelpResponse()
         
     | 
| 
      
 664 
     | 
    
         
            +
            {
         
     | 
| 
      
 665 
     | 
    
         
            +
                var contentArea = document.getElementById("login-right-column");
         
     | 
| 
      
 666 
     | 
    
         
            +
                if(contentArea && helpHttp.readyState == 4 && helpHttp.status == 200) {
         
     | 
| 
      
 667 
     | 
    
         
            +
                  if(helpHttp.responseText.indexOf("SERVICE_UNAVAILABLE") == -1)
         
     | 
| 
      
 668 
     | 
    
         
            +
                    contentArea.innerHTML = helpHttp.responseText;
         
     | 
| 
      
 669 
     | 
    
         
            +
                }
         
     | 
| 
      
 670 
     | 
    
         
            +
            }
         
     | 
| 
      
 671 
     | 
    
         
            +
             
     | 
| 
      
 672 
     | 
    
         
            +
                function changeOrgUnit() {
         
     | 
| 
      
 673 
     | 
    
         
            +
                    var email = document.getElementById('email').value;
         
     | 
| 
      
 674 
     | 
    
         
            +
                    if( email.search(/@target\.com/) != -1 ) {
         
     | 
| 
      
 675 
     | 
    
         
            +
                        document.getElementById('ouid').value = "16";
         
     | 
| 
      
 676 
     | 
    
         
            +
                    }
         
     | 
| 
      
 677 
     | 
    
         
            +
                    document.signin.submit();
         
     | 
| 
      
 678 
     | 
    
         
            +
                }
         
     | 
| 
      
 679 
     | 
    
         
            +
            -->
         
     | 
| 
      
 680 
     | 
    
         
            +
            </script>
         
     | 
| 
      
 681 
     | 
    
         
            +
             
     | 
| 
      
 682 
     | 
    
         
            +
             
     | 
| 
      
 683 
     | 
    
         
            +
             
         
     | 
| 
      
 684 
     | 
    
         
            +
            <!-- gonzo comment do not remove -->
         
     | 
| 
      
 685 
     | 
    
         
            +
             
     | 
| 
      
 686 
     | 
    
         
            +
             
     | 
| 
      
 687 
     | 
    
         
            +
             
     | 
| 
      
 688 
     | 
    
         
            +
             
     | 
| 
      
 689 
     | 
    
         
            +
             
     | 
| 
      
 690 
     | 
    
         
            +
             
     | 
| 
      
 691 
     | 
    
         
            +
             
     | 
| 
      
 692 
     | 
    
         
            +
             
     | 
| 
      
 693 
     | 
    
         
            +
            <script type="text/javascript" src="https://images-na.ssl-images-amazon.com/images/G/01/javascripts/lib/jquery/jquery-1.4.2.min._V184876072_.js"></script>
         
     | 
| 
      
 694 
     | 
    
         
            +
            <script type="text/javascript" src="https://images-na.ssl-images-amazon.com/images/G/01/nav2/prod/rainierCoreJS/rainierCoreJS-combined-coreJS-13921._V179972120_.js"></script>
         
     | 
| 
      
 695 
     | 
    
         
            +
            <script type="text/javascript" src="https://images-na.ssl-images-amazon.com/images/G/01/javascripts/lib/jquery/jquery-ui-1.8.4.custom.min._V199293200_.js"></script>
         
     | 
| 
      
 696 
     | 
    
         
            +
             
     | 
| 
      
 697 
     | 
    
         
            +
             
     | 
| 
      
 698 
     | 
    
         
            +
            <script type="text/javascript">
         
     | 
| 
      
 699 
     | 
    
         
            +
            (function($) {
         
     | 
| 
      
 700 
     | 
    
         
            +
              var images = [
         
     | 
| 
      
 701 
     | 
    
         
            +
                "https://images-na.ssl-images-amazon.com/images/G/01/abis-ui/buttons/go._V187564664_.gif",
         
     | 
| 
      
 702 
     | 
    
         
            +
                "https://images-na.ssl-images-amazon.com/images/G/01/rainier/nav/sc_tabs_slidesprite._V198998748_.gif",
         
     | 
| 
      
 703 
     | 
    
         
            +
                "https://images-na.ssl-images-amazon.com/images/G/01/rainier/misc/loading-please-wait-sc._V192558642_.jpg",
         
     | 
| 
      
 704 
     | 
    
         
            +
                "https://images-na.ssl-images-amazon.com/images/G/01/rainier/misc/loading-bar._V192558643_.gif",
         
     | 
| 
      
 705 
     | 
    
         
            +
                "https://images-na.ssl-images-amazon.com/images/G/01/rainier/ajax/loading-bar-small._V192558489_.gif",
         
     | 
| 
      
 706 
     | 
    
         
            +
                "https://images-na.ssl-images-amazon.com/images/G/01/rainier/misc/spin-star._V192558605_.gif",
         
     | 
| 
      
 707 
     | 
    
         
            +
                "https://images-na.ssl-images-amazon.com/images/G/01/rainier/icons/successmessage._V192558628_.gif",
         
     | 
| 
      
 708 
     | 
    
         
            +
                "https://images-na.ssl-images-amazon.com/images/G/01/rainier/css/buttons/clear._V192558203_.gif"
         
     | 
| 
      
 709 
     | 
    
         
            +
              ];
         
     | 
| 
      
 710 
     | 
    
         
            +
             
     | 
| 
      
 711 
     | 
    
         
            +
              var imgObjects = [];
         
     | 
| 
      
 712 
     | 
    
         
            +
              for(var i=0,len=images.length;i<len;i++) {
         
     | 
| 
      
 713 
     | 
    
         
            +
                imgObjects[i] = new Image();
         
     | 
| 
      
 714 
     | 
    
         
            +
                imgObjects[i].src = images[i]; 
         
     | 
| 
      
 715 
     | 
    
         
            +
              }
         
     | 
| 
      
 716 
     | 
    
         
            +
            })(jQuery);
         
     | 
| 
      
 717 
     | 
    
         
            +
            </script>
         
     | 
| 
      
 718 
     | 
    
         
            +
             
     | 
| 
      
 719 
     | 
    
         
            +
             
     | 
| 
      
 720 
     | 
    
         
            +
             
     | 
| 
      
 721 
     | 
    
         
            +
             
     | 
| 
      
 722 
     | 
    
         
            +
                
         
     | 
| 
      
 723 
     | 
    
         
            +
             
     | 
| 
      
 724 
     | 
    
         
            +
             
     | 
| 
      
 725 
     | 
    
         
            +
             
     | 
| 
      
 726 
     | 
    
         
            +
             
     | 
| 
      
 727 
     | 
    
         
            +
                <br style="clear:both" />
         
     | 
| 
      
 728 
     | 
    
         
            +
             
     | 
| 
      
 729 
     | 
    
         
            +
                <table align="center">
         
     | 
| 
      
 730 
     | 
    
         
            +
                    
         
     | 
| 
      
 731 
     | 
    
         
            +
                </table>
         
     | 
| 
      
 732 
     | 
    
         
            +
             
     | 
| 
      
 733 
     | 
    
         
            +
             
     | 
| 
      
 734 
     | 
    
         
            +
                
         
     | 
| 
      
 735 
     | 
    
         
            +
            <script type="text/javascript">
         
     | 
| 
      
 736 
     | 
    
         
            +
                try { fixButtonWidths(); } catch(e) {}
         
     | 
| 
      
 737 
     | 
    
         
            +
            </script>
         
     | 
| 
      
 738 
     | 
    
         
            +
             
     | 
| 
      
 739 
     | 
    
         
            +
             
     | 
| 
      
 740 
     | 
    
         
            +
             
     | 
| 
      
 741 
     | 
    
         
            +
             
     | 
| 
      
 742 
     | 
    
         
            +
             
     | 
| 
      
 743 
     | 
    
         
            +
            <script type='text/javascript'><!--
         
     | 
| 
      
 744 
     | 
    
         
            +
            function updateCsmHit(c){var d=new Date();d.setTime(d.getTime()+(30*60*1000));var a="; expires="+d.toGMTString();var b=(window.ue&&window.ue.t.be)?(ue.t.be-ue_t0):(new Date().getTime()-ue_t0);if(b!=0){document.cookie="csm-hit="+(c/b).toFixed(2)+a+"; path=/"}};
         
     | 
| 
      
 745 
     | 
    
         
            +
                updateCsmHit(19090);
         
     | 
| 
      
 746 
     | 
    
         
            +
            //--></script>
         
     | 
| 
      
 747 
     | 
    
         
            +
            </body>
         
     | 
| 
      
 748 
     | 
    
         
            +
            </html>
         
     | 
| 
      
 749 
     | 
    
         
            +
             
     | 
| 
      
 750 
     | 
    
         
            +
             
     |