Created
February 19, 2010 13:53
-
-
Save coneybeare/308709 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<HTML> | |
<HEAD> | |
<META HTTP-EQUIV="content-type" CONTENT="text/html;charset=UTF-8"> | |
<TITLE>iTunes Label Connect</TITLE> | |
<LINK HREF="/WebObjects/piano.woa/Contents/WebServerResources/iTMSApplication.css" TYPE="text/css" REL="STYLESHEET"> | |
<script language="javascript"> | |
//function vndrID() | |
//{ | |
// var vendorID; | |
// if(document.getElementById('vendorId').value!="") | |
// { | |
// document.superPage.submit(); | |
// } | |
// else | |
// { | |
// return false; | |
// } | |
//} | |
var flag; | |
function vndrID() | |
{ | |
flag="true"; | |
var vendorID; | |
if(document.getElementById('vendorId').value!="") | |
{ | |
document.superPage.submit(); | |
return false; | |
} | |
else | |
{ | |
return false; | |
} | |
} | |
function checkVendorIdNumber() | |
{ | |
if(event.keyCode >=48 && event.keyCode <=57) | |
{ | |
event.returnValue = true; | |
} | |
else if(event.keyCode == 8 ) | |
{ | |
event.returnValue = true; | |
} | |
else if(event.keyCode == 9 ) | |
{ | |
event.returnValue = true; | |
} | |
else if(event.keyCode == 13) | |
{ | |
event.returnValue = true; | |
} | |
else if(event.keyCode == 63234) | |
{ | |
event.returnValue = true; | |
} | |
else if(event.keyCode == 63235) | |
{ | |
event.returnValue = true; | |
}else if(event.keyCode == 63272) | |
{ | |
event.returnValue = true; | |
} | |
else | |
{ | |
event.returnValue = false; | |
} | |
} | |
function validateData() | |
{ | |
if(document.getElementById('roleHidden').value == 2) | |
{ | |
if(document.getElementById('vendorName').value=="" && document.getElementById('vendorId').value=="") | |
{ | |
alert("Please select a vendor") | |
return false; | |
} | |
else if(document.getElementById('vendorId').value=="") | |
{ | |
alert("Please select a vendor ID") | |
return false; | |
} | |
} | |
if(flag!="true") | |
{ | |
if(document.getElementById('roleHidden').value == 1) | |
{ | |
if(document.getElementById('selectName').value=="null") | |
{ | |
alert("Please select a vendor"); | |
return false; | |
} | |
if(document.getElementById('selectName').value!="null" && document.getElementById('selCountry').value=="1") | |
{ | |
alert("Please wait until page refresh"); | |
return false; | |
} | |
} | |
else | |
{ | |
if(document.getElementById('vendorName').value=="") | |
{ | |
alert("Please select a vendor"); | |
return false; | |
} | |
} | |
if(document.getElementById('vendorId').value=="") | |
{ | |
alert("Please select a vendor ID"); | |
return false; | |
} | |
if(isNaN(document.getElementById('vendorId').value)) | |
{ | |
alert("Invalid data format.\n\nOnly numbers are allowed."); | |
document.superPage.vndrid.focus(); | |
return false; | |
} | |
/* | |
if(document.getElementById('selCountry').value=="null") | |
{ | |
alert("Please select a Territory"); | |
return false; | |
} | |
*/ | |
} | |
else | |
{ | |
return false; | |
} | |
} | |
function pickerValue() | |
{ | |
document.getElementById('vendorId').value=""; | |
document.superPage.submit(); | |
} | |
function clearFields() | |
{ | |
var browserType = navigator.userAgent; | |
tempVersion = navigator.userAgent.split("/"); | |
var iIE = browserType.indexOf("IE"); | |
// combo = document.getElementById('selCountry'); | |
// combo.options.length = 0; | |
// ele = document.createElement('option'); | |
// ele.text="Select Territory"; | |
/* if(iIE > -1) | |
{ | |
//ele.value="1"; | |
combo.add(ele,1); | |
} | |
else | |
{ | |
ele.value="1"; | |
combo.appendChild(ele); | |
} | |
*/ | |
if(document.getElementById('roleHidden').value == 1) | |
{ | |
// document.getElementById('selectName').value="null"; | |
document.getElementById('selectName').options[0].selected=true; | |
document.getElementById('vendorId').value=""; | |
} | |
else | |
{ | |
document.getElementById('vendorName').value=""; | |
document.getElementById('vendorId').value=""; | |
} | |
return false; | |
} | |
function getPapulateValues() | |
{ | |
var browserType = navigator.userAgent; | |
tempVersion = navigator.userAgent.split("/"); | |
var iIE = browserType.indexOf("IE"); | |
// combo = document.getElementById('selCountry'); | |
// combo.options.length = 0; | |
// ele = document.createElement('option'); | |
// ele.text="Select Territory"; | |
/* if(iIE > -1) | |
{ | |
//ele.value="1"; | |
combo.add(ele,1); | |
} | |
else | |
{ | |
ele.value="1"; | |
combo.appendChild(ele); | |
} | |
*/ | |
if(document.getElementById('selectName').value=="null") | |
{ | |
document.getElementById('vendorId').value=""; | |
return false; | |
} | |
else | |
{ | |
document.getElementById('vendorId').value = document.getElementById('selectName').value; | |
document.superPage.submit(); | |
} | |
} | |
</script> | |
</HEAD> | |
<BODY BGCOLOR="#FFFFFF" LEFTMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0" RIGHTMARGIN="0"> | |
<center> | |
<div style="width:100%;background-color:#ffffff; float: middle;"> | |
<img width="1" height="8" src="/WebObjects/piano.woa/Contents/WebServerResources/spacer.gif"/> | |
<br/> | |
<div class="ipoditunes" id="globalheader"> | |
<ul id="globalnav"> | |
<li id="gn-apple"> | |
<a href="http://www.apple.com/">Apple</a> | |
</li> | |
<li id="gn-store"> | |
<a href="http://store.apple.com/">Store</a> | |
</li> | |
<li id="gn-mac"> | |
<a href="http://www.apple.com/mac/">Mac</a> | |
</li> | |
<li id="gn-ipoditunes"> | |
<a href="http://www.apple.com/itunes/">iPod + iTunes</a> | |
</li> | |
<li id="gn-iphone"> | |
<a href="http://www.apple.com/iphone/">iPhone</a> | |
</li> | |
<li id="gn-downloads"> | |
<a href="http://www.apple.com/downloads/">Downloads</a> | |
</li> | |
<li id="gn-support"> | |
<a href="http://www.apple.com/support/">Support</a> | |
</li> | |
</ul> | |
<div id="globalsearch"> </div> | |
</div> | |
</div> | |
</center> | |
<input Id="roleHidden" type="hidden" value="1" name="2" /><input type="hidden" name="3" /> | |
<TABLE BORDER=0 CELLPADDING=4 CELLSPACING=0 WIDTH="99%"> | |
<TR> | |
<TD ALIGN=center> | |
<table cellspacing="0" border="0" cellpadding="0" align="center" width="735"> | |
<tr> | |
<td width="18"></td> | |
<td width="349"></td> | |
<td width="19"></td> | |
</tr> | |
<tr> | |
<td></td> | |
<td colspan=2> | |
<br> | |
<table cellpadding="0" cellspacing="0" border="0" width="100%"> | |
<tr> | |
<td width="300"> | |
<img src="/WebObjects/piano.woa/Contents/WebServerResources/txt_title_itunesvips.gif" alt="iTunes VIPs" border="0"></td> | |
<td align="right"> | |
<form method="post" name="SignOut" action="/cgi-bin/WebObjects/Piano.woa/3/wo/ai293JggzJhvMLl9bwtsv0/0.5"> | |
<table border="0" cellspacing="0" cellpadding="10"> | |
<tr> | |
<td><font color="gray">coneybeare, Urban Apps</font></td> | |
<td align="right"><input type="submit" value="Sign Out" name="SignOt" /> </td> | |
</tr> | |
</table> | |
<input type="hidden" name="wosid" value="ai293JggzJhvMLl9bwtsv0" /></form> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
<tr> | |
<td colspan=3> <font color="gray"><b>Reporting > Vendor Selection</b></font><br></td> | |
</tr> | |
<tr> | |
<td background="/WebObjects/piano.woa/Contents/WebServerResources/box_gray_top.gif" align="left" width="18"><img src="/WebObjects/piano.woa/Contents/WebServerResources/box_gray_topl.gif" width="18" height="15" alt="" border="0"></td> | |
<td background="/WebObjects/piano.woa/Contents/WebServerResources/box_gray_top.gif"><img src="/WebObjects/piano.woa/Contents/WebServerResources/box_gray_top.gif" height="15" width="698" alt="" border="0"></td> | |
<td align="left"><img src="/WebObjects/piano.woa/Contents/WebServerResources/box_gray_topr.gif" width="19" height="15" alt="" border="0"></td> | |
</tr> | |
<form method="post" name="superPage" enctype="multipart/form-data" action="/cgi-bin/WebObjects/Piano.woa/3/wo/ai293JggzJhvMLl9bwtsv0/0.9"> | |
<tr> | |
<td background="/WebObjects/piano.woa/Contents/WebServerResources/box_gray_l.gif"></td> | |
<td colspan="1"> | |
<table cellspacing="0" border="0" cellpadding="5" align="center" width="99%"> | |
<tr> | |
<td ></td> | |
<td ><font color="#333333" size="4"><strong>Vendor Options</strong></font><br></td> | |
</tr> | |
<tr align="center"> | |
<td colspan="2"><font size="2" color="red"></font></td><br> | |
</tr> | |
<tr valign="middle"> | |
<td align="right" width="40%"> | |
<b>Vendor Name: </b> | |
</td> | |
<td colspan="2"><table valign="middle" align="left" cellspacing=0 cellpadding=0 ><tr> | |
<td> | |
<select Id="selectName" onChange="getPapulateValues()" style="width:153px" name="9.6.0"><option value="0">Select Vendor</option><option value="80053587">MATT CONEYBEARE (80053587)</option><option value="0"> (0)</option></select></td> | |
<td align="center" valign="middle"> </td> | |
</tr></table></td> | |
</tr> | |
<tr><td></td><td></td></tr> | |
<tr> | |
<td align="right"> | |
<b>Vendor ID: </b> | |
</td> | |
<td align="left" valign="middle"> | |
<input READONLY="true" onKeyPress="return checkVendorIdNumber(event);" Id="vendorId" onChange="return vndrID();" type="text" name="vndrid" /> | |
</td> | |
</tr> | |
</table> | |
<center><table style="margin-top: 20px;"> | |
<tr> | |
<td><a href="mailto:[email protected]"><img border="0" src="/WebObjects/piano.woa/Contents/WebServerResources/btn_help.gif"></a></td> | |
<td>If you have <a href="mailto:[email protected]">feedback</a> or <a href="mailto:[email protected]">questions</a> please let us know.</td> | |
</tr> | |
</table> | |
</center> | |
</td> | |
<td background="/WebObjects/piano.woa/Contents/WebServerResources/box_gray_r.gif"></td> | |
</tr> | |
<tr> | |
<td background="/WebObjects/piano.woa/Contents/WebServerResources/box_gray_bot.gif" align="left"><img src="/WebObjects/piano.woa/Contents/WebServerResources/box_gray_botl.gif" width="18" height="15" alt="" border="0"></td> | |
<td background="/WebObjects/piano.woa/Contents/WebServerResources/box_gray_bot.gif"><img src="/WebObjects/piano.woa/Contents/WebServerResources/box_gray_bot.gif" height="15" width="698" alt="" border="0"></td> | |
<td align="left"><img src="/WebObjects/piano.woa/Contents/WebServerResources/box_gray_botr.gif" width="19" height="15" alt="" border="0"></td> | |
</tr> | |
<tr><input Id="hiddenCountryName" type="hidden" name="9.18" /><td></td> | |
<td colspan=2 align="right"><input onclick="return validateData()" type="submit" value="Submit" name="SubmitBtn" /><input onClick="return clearFields()" type="submit" value="Clear" name="9.22" /> </td></tr> | |
<input type="hidden" name="wosid" value="ai293JggzJhvMLl9bwtsv0" /></form> | |
</table> | |
</td> | |
</tr> | |
</TABLE> | |
</BODY> </HTML> | |
<div class="footerLinks" align="center"> | |
<a href="/cgi-bin/WebObjects/Piano.woa/3/wo/ai293JggzJhvMLl9bwtsv0/0.11.1">Home</a> | <a href="/cgi-bin/WebObjects/Piano.woa/3/wo/ai293JggzJhvMLl9bwtsv0/0.11.3">FAQs</a> | <a href="/cgi-bin/WebObjects/Piano.woa/3/wo/ai293JggzJhvMLl9bwtsv0/0.11.5">Contact Us</a> | <a href="/cgi-bin/WebObjects/Piano.woa/3/wo/ai293JggzJhvMLl9bwtsv0/0.11.7">Sign Out</a> | |
</div> | |
<div class="footerCopyright" align="center">Copyright © 2008 Apple Inc. All rights reserved. </div><br/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment