";
var WindowBottom="";
// Do not edit the functions:
//Netscape solution for reload problem
if(navigator.appName.indexOf("Netscape")>=0){
tspan=12;
t = new Date();
t = Date.UTC((t.getYear()+1900), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds());
t = t/1000;
LS=location.search;
if(LS.substr(0,1)=="?"){LS=LS.substr(1,LS.length)}
if(LS!=''){ //Reset the form first by redirecting every tspan or more seconds
if(LS(t+tspan) || !(LS>0)){
location=(""+location).substr(0, (""+location).indexOf("?")) + "?" + (parseInt(t)+tspan);
}
}
else {
location=(""+location).substr(0, (""+location).length) + "?" + (parseInt(t)+tspan);
}
}
//End of reload problem
function getCookie(name) {
return nocookie[name];
}
function setCookie(name, value) {
nocookie[name] = value;
}
function getItem(i, goflag) {
if(document.forms[1].elements["ALIAS"]){
var Alias = document.forms[1].elements["ALIAS"].value
}
if(document.forms[1].elements["PASSWORD"]){
var Password = document.forms[1].elements["PASSWORD"].value
}
var j;
var temp;
if(goflag == 'yes'){
temp = document.nav.item.value;
document.nav.item.value = LastViewed;
setItem();
document.nav.item.value = temp;
}
else{setItem();}
if(i == "+"){i = parseInt(document.nav.item.value);i = i + 1;}
else if(i == "-"){i = parseInt(document.nav.item.value);i = i - 1;}
i = parseInt(i);
if((i > 0) == false){i = 1}
window.status="";
if(i > maxitems){
//window.alert("No items");
window.status = "END OF FILE"
i--;
}
temp = new String(getCookie(i));
data = temp.split("[:]");
document.nav.item.value = i;
document.nav2.item.value = i;
if(temp=="undefined"){
for(i=0; i=0){
dp=document.forms[1].elements[i].value.indexOf('[:');
document.forms[1].elements[i].value = document.forms[1].elements[i].value.substring(0, dp) + "[ " + document.forms[1].elements[i].value.substring(dp+1)
}
while(document.forms[1].elements[i].value.indexOf('[]')>=0){
dp=document.forms[1].elements[i].value.indexOf('[]');
document.forms[1].elements[i].value = document.forms[1].elements[i].value.substring(0, dp) + "[ " + document.forms[1].elements[i].value.substring(dp+1)
}
data = data + "[:]" + escape(document.forms[1].elements[i].value);
}
else {
data = data + "[:]";
}
}
if(startflag==0){
// allow automatic import of the first item
// and save "empty"-pattern in empty
startflag=1;
empty = data;
return;
}
i = parseInt(document.nav.item.value);
if(document.nav.item.value > 0){
setCookie(i , data);
temp2 = new String(getCookie(i));
if(temp2 != data){
setCookie(i , temp);
window.alert("Warning: The item could not be stored")
return false;
}
if(i>=maxitems && data != empty){
maxitems++;
}
}
else {
window.alert("Wrong item number:" + document.nav.item.value);
return false;
}
}
function removeItem() {
document.forms[1].reset();
setItem();
}
function removeAll() {
nocookie = "";
nocookie = new Array;
document.forms[1].reset();
getItem(1);
}
function preview(){
setItem();
Ptitle = document.forms[1].TITLE.value;
Pdesctitcolor = document.forms[1].DESCTITCOLOR.value;
Pdesctitsize = document.forms[1].DESCTITSIZE.value;
Pdesctit = document.forms[1].DESCTIT.value;
Pdesccolor = document.forms[1].DESCCOLOR.value;
Pdescsize = document.forms[1].DESCSIZE.value;
Pdesc = document.forms[1].DESC.value;
openWin();
P.document.write("Preview HTML: " + Ptitle + "" + WindowTop);
P.document.write("");
P.document.write("
- Starting bid: " + document.forms[1].BID.value + "
- Reserve price: " + document.forms[1].RESERVE.value + "
- Bid increment: " + document.forms[1].INC.value + "
- BuyItNow Price: " + document.forms[1].BUYIT.value + "
| | - Category: " + document.forms[1].CATEGORY.options[document.forms[1].CATEGORY.options.selectedIndex].text + "
- Days until close: " + document.forms[1].DAYS.value + "
- Dutch:" + document.forms[1].DUTCH.value + "
- Quantity: " + document.forms[1].QTY.value + "
| |
");
P.document.write(" ");
// P.document.write(Pdesctitcolor);
// P.document.write(Pdesctitsize);
P.document.write(Pdesctit);
// P.document.write(Pdesccolor);
// P.document.write(Pdescsize);
P.document.write(Pdesc);
P.document.write(" |
| Image |
|---|
| ");
I = document.forms[1].IMAGE1.value;
if(I != "" && I != "http://"){
if(I.indexOf("http://")<0){I = "http://" + I}
P.document.write("  " + I + " ");
}
P.document.write(" |
" + WindowBottom);
}
function postAll(){
setItem();
var t;
var allItems="";
var countallitems=0;
curRadio = new Array;
for(i=0; i=0 && temp.indexOf('-->')>temp.indexOf('')+3)
}
allItems = allItems + "[:::]" + temp;
countallitems++;
}
}
allItems = unescape(allItems);
while(allItems.indexOf('"')>=0){allItems = allItems.substring(0, allItems.indexOf('"')) + """ + allItems.substring(allItems.indexOf('"')+1)}
openWin();
P.document.write('Post all Items' + WindowTop + '| Post all Items Login(' + countallitems + ' items) |
|---|
' + WindowBottom);
}
function openWin(){
P = window.open("about:blank", "P", "resizable=yes,left=10,top=5,height=515,width=775,status=yes,scrollbars=yes,top=0,left=0,screenX=0,screenY=0");
P.document.open();
P.focus();
}
function exportData(){
setItem();
var expD="";
for(i in nocookie){
if(nocookie[i]!=empty){
expD = expD + 'Item("' + nocookie[i] + '");
';
}
}
openWin();
P.document.write("Export Data\n" + WindowTop + "| Instructions on runing the bulklister.html on your home computer and using a saved item posting data file! Use your web browser to save a copy of the bulklister.html file (the Bulk Lister page) to your home computer, then copy the following text below and paste it into a text file using a text editor then save it as a text file named bulklister.txt, The bulklister.txt data file must be placed in the same dir on your home computer as the bilklister.html file your saved. Then you run the bulklister.html file localy using your webbrowser. |
|---|
");
P.document.write(expD);
P.document.write("
\n" + WindowBottom);
}
// Automatic item import
var itm_no=1;
function Item(itm){
if(itm=="undefined" || itm==""){return}
nocookie[itm_no] = itm;
if(itm_no>maxitems){maxitems++}
itm_no++;
}
//-->
Auction Item Bulk Lister
|
Auction Item Bulk Lister
Insert information for 1 or more auctions and then upload them all at once
Bulk Lister Help
|
|
|
|
Auction Item Bulk Lister
|