cash       = false;
prepay     = true;
collection = false;
debit      = false;
bill       = false;
creditcard = false;
cashprice      = 0;
cashpricewotax = 0;
prepayprice      = 0;
prepaypricewotax = 0;
collectionprice      = 0;
collectionpricewotax = 0;
debitprice      = 0;
debitpricewotax = 0;
billprice      = 0;
billpricewotax = 0;
creditcardprice      = 0;
creditcardpricewotax = 0;
payment = 0;
extratotal = ",,,,,,,,,,,,";
paymentprice = 0;
paymentpricewotax = 0;
paymentname = "Vorkasse";
shownet        = "0"
showpage       = "0";
itemcount      = "100";
itemstart      = "0";
detailindex    = "0";
basket         = "";
dbtitel        = "";
dbase          = "";
dbasename      = "";
minprice       = "0";
postfreewotax  = "86206895.6896552";
minpricewotax  = "0";
postfree       = "99999999";
keyword        = "";
sbaseindex     = "";
sbaseresult    = "";
currency       = "Euro";
dispatch       = "0,,,///0,,,///0,,,///0,,,///0,,,///0,,,///";
dispatchindex  = "0";
sum               = 0.00;
sumwotax          = 0.00;
sum_discount      = 0.00;
sumwotax_discount = 0.00;
sum_payment       = 0.00;
sumwotax_payment  = 0.00;
sum_dispatch      = 0.00;
sumwotax_dispatch = 0.00;
topay             = 0.00;
topaywotax        = 0.00;

function link(x,y,z,v) {
  itemstart = "0";
  titel     = y;
  dbasename = x;
  if (z==1) {dbase = x+"na.js";}
  if (z==2) {dbase = x+"no.js";}
  if (z==3) {dbase = x+"pr.js";}
  dataFrame.location = "data.htm"; 
}

function round(z){
  t = z;
  t = Math.round(t * 100) / 100 + '';
  s = t.indexOf(".");
  if (s == -1) 
    t = t + '.00';
  else {
    pos1 = t.length;
    pos2 = t.indexOf(".");
    if (pos1 * 1 - pos2 * 1 == 2) 
      t = t + '0'; }
  r = t;
  s1 = r.indexOf(".");
  s2 = r.indexOf("-");
  if (s1 == 0) {
    r = '0'+r; }
  if (s2 == 0 && s1 == 1) {
    r = r.substr(2,r.length);
    r = '-0.' + r; }
  return r;
}

