var source_valid_date = "24/1/2003";

var dataDB = new Array();
/*
dataDB[0]=[];
dataDB[1]=["Do not know","Black","Standard","450","55","£9.20","../html/thermal_foil2.html"];
dataDB[2]=["Do not know","Black","Super","450","55","£12.30","../html/thermal_foil5.html"];
dataDB[3]=["Do not know","Black","Premium","450","55","£15.75","../html/thermal_foil7.html"];
dataDB[4]=["Do not know","Black","Standard","450","110","£17.20","../html/thermal_foil3.html"];
dataDB[5]=["Do not know","Black","Super","450","110","£23.40","../html/thermal_foil6.html"];
dataDB[6]=["Do not know","Black","Premium","450","110","£30.30","../html/thermal_foil8.html"];
dataDB[7]=["OpenDate - 53S","Black","Standard","350","55","£9.20","../html/out_of_stock.html"];
dataDB[8]=["OpenDate - 53S","Black","Super","350","55","£12.30","../html/out_of_stock.html"];
dataDB[9]=["OpenDate - 53S","Black","Premium","350","55","£15.75","../html/out_of_stock.html"]
dataDB[10]=["OpenDate - 53M / 53L","Black","Standard","450","55","£9.20","../html/thermal_foil2.html"];
dataDB[11]=["OpenDate - 53M / 53L","Black","Super","450","55","£12.30","../html/thermal_foil5.html"];
dataDB[12]=["OpenDate - 53M / 53L","Black","Premium","450","55","£15.75","../html/thermal_foil7.html"];
dataDB[13]=["OpenDate - 107S","Black","Standard","350","110","£17.20","../html/out_of_stock.html"];
dataDB[14]=["OpenDate - 107S","Black","Super","350","110","£23.40","../html/out_of_stock.html"];
dataDB[15]=["OpenDate - 107S","Black","Premium","350","110","£30.30","../html/out_of_stock.html"];
dataDB[16]=["OpenDate - 107M / 107L","Black","Standard","450","110","£17.20","../html/thermal_foil3.html"];
dataDB[17]=["OpenDate - 107M / 107L","Black","Super","450","110","£23.40","../html/thermal_foil6.html"];
dataDB[18]=["OpenDate - 107M / 107L","Black","Premium","450","110","£30.30","../html/thermal_foil8.html"];
dataDB[19]=["SmartDate 2i","Black","Standard","450","55","£9.20","../html/thermal_foil2.html"];
dataDB[20]=["SmartDate 2i","Black","Super","450","55","£12.30","../html/thermal_foil5.html"];
dataDB[21]=["SmartDate 2i","Black","Premium","450","55","£15.75","../html/thermal_foil7.html"];
dataDB[22]=["SmartDate 2i100","Black","Standard","450","110","£17.20","../html/thermal_foil3.html"];
dataDB[23]=["SmartDate 2i100","Black","Super","450","110","£23.40","../html/thermal_foil6.html"];
dataDB[24]=["SmartDate 2i100","Black","Premium","450","110","£30.30","../html/thermal_foil8.html"];
dataDB[25]=["SmartDate 3c / 3i","Black","Standard","450","55","£9.20","../html/thermal_foil2.html"];
dataDB[26]=["SmartDate 3c / 3i","Black","Super","450","55","£12.30","../html/thermal_foil5.html"];
dataDB[27]=["SmartDate 3c / 3i","Black","Premium","450","55","£15.75","../html/thermal_foil7.html"];
dataDB[28]=["SmartDate 5","Black","Standard","450","55","£9.20","../html/thermal_foil2.html"];
dataDB[29]=["SmartDate 5","Black","Super","450","55","£12.30","../html/thermal_foil5.html"];
dataDB[30]=["SmartDate 5","Black","Premium","450","55","£15.75","../html/thermal_foil7.html"];
dataDB[31]=["Videojet Dataflex","Black","Standard","450","55","£9.20","../html/out_of_stock.html"];
dataDB[32]=["Videojet Dataflex","Black","Super","450","55","£12.30","../html/out_of_stock.html"];
dataDB[33]=["Videojet Dataflex","Black","Premium","450","55","£15.75","../html/out_of_stock.html"];
dataDB[34]=["Imaje 5210","Black","Standard","450","55","£9.20","../html/thermal_foil2.html"];
dataDB[35]=["Imaje 5210","Black","Super","450","55","£12.30","../html/thermal_foil5.html"];
dataDB[36]=["Imaje 5210","Black","Premium","450","55","£15.75","../html/thermal_foil7.html"];
dataDB[37]=["Imaje 5410","Black","Standard","450","110","£17.20","../html/thermal_foil3.html"];
dataDB[38]=["Imaje 5410","Black","Super","450","110","£23.40","../html/thermal_foil6.html"];
dataDB[39]=["Imaje 5410","Black","Premium","450","110","£30.30","../html/thermal_foil8.html"];
dataDB[40]=["Jaguar 52i / 52c","Black","Standard","450","55","£9.20","../html/thermal_foil2.html"];
dataDB[41]=["Jaguar 52i / 52c","Black","Super","450","55","£12.30","../html/thermal_foil5.html"];
dataDB[42]=["Jaguar 52i / 52c","Black","Premium","450","55","£15.75","../html/thermal_foil7.html"];
dataDB[43]=["Jaguar 106i / 106c","Black","Standard","450","110","£17.20","../html/thermal_foil3.html"];
dataDB[44]=["Jaguar 106i / 106c","Black","Super","450","110","£23.40","../html/thermal_foil6.html"];
dataDB[45]=["Jaguar 106i / 106c","Black","Premium","450","110","£30.30","../html/thermal_foil8.html"];
dataDB[46]=["Thermo NX2im","Black","Standard","450","55","£9.20","../html/thermal_foil2.html"];
dataDB[47]=["Thermo NX2im","Black","Super","450","55","£12.30","../html/thermal_foil5.html"];
dataDB[48]=["Thermo NX2im","Black","Premium","450","55","£15.75","../html/thermal_foil7.html"];
dataDB[49]=["Thermo NX4im","Black","Standard","450","110","£17.20","../html/thermal_foil3.html"];
dataDB[50]=["Thermo NX4im","Black","Super","450","110","£23.40","../html/thermal_foil6.html"];
dataDB[51]=["Thermo NX4im","Black","Premium","450","110","£30.30","../html/thermal_foil8.html"];
dataDB[52]=["Allen TT53im / Koder","Black","Standard","450","55","£9.20","../html/thermal_foil2.html"];
dataDB[53]=["Allen TT53im / Koder","Black","Super","450","55","£12.30","../html/thermal_foil5.html"];
dataDB[54]=["Allen TT53im / Koder","Black","Premium","450","55","£15.75","../html/thermal_foil7.html"];
dataDB[55]=["Allen TT107im","Black","Standard","450","110","£17.20","../html/thermal_foil3.html"];
dataDB[56]=["Allen TT107im","Black","Super","450","110","£23.40","../html/thermal_foil6.html"];
dataDB[57]=["Allen TT107im","Black","Premium","450","110","£30.30","../html/thermal_foil8.html"];
dataDB[58]=["Bellmark X / C2 / L2","Black","Standard","450","55","£9.20","../html/thermal_foil2.html"];
dataDB[59]=["Bellmark X / C2 / L2","Black","Super","450","55","£12.30","../html/thermal_foil5.html"];
dataDB[60]=["Bellmark X / C2 / L2","Black","Premium","450","55","£15.75","../html/thermal_foil7.html"];
dataDB[61]=["EasyPrint SCM / SIM","Black","Standard","450","55","£9.20","../html/thermal_foil2.html"];
dataDB[62]=["EasyPrint SCM / SIM","Black","Super","450","55","£12.30","../html/thermal_foil5.html"];
dataDB[63]=["EasyPrint SCM / SIM","Black","Premium","450","55","£15.75","../html/thermal_foil7.html"];
dataDB[64]=["EasyPrint IM2 / CM2","Black","Standard","450","55","£9.20","../html/thermal_foil2.html"];
dataDB[65]=["EasyPrint IM2 / CM2","Black","Super","450","55","£12.30","../html/thermal_foil5.html"];
dataDB[66]=["EasyPrint IM2 / CM2","Black","Premium","450","55","£15.75","../html/thermal_foil7.html"];
dataDB[67]=["EasyPrint Communicator","Black","Standard","450","55","£9.20","../html/thermal_foil2.html"];
dataDB[68]=["EasyPrint Communicator","Black","Super","450","55","£12.30","../html/thermal_foil5.html"];
dataDB[69]=["EasyPrint Communicator","Black","Premium","450","55","£15.75","../html/thermal_foil7.html"];
*/
dataDB[0]=[];
dataDB[1]=["Do not know","Black","Premium","450","55","C0005-701A","QTR_55mm_x_450m_Black","15.75 GBP","4984650c89e7769cfd733e7a73d5fad3","5","£15.75","../html/more_info.html","1"];
dataDB[2]=["OpenDate - 53M / 53L","Black","Premium","450","55","C0005-701A","QTR_55mm_x_450m_Black","15.75 GBP","4984650c89e7769cfd733e7a73d5fad3","5","£15.75","../html/more_info.html","1"];
dataDB[3]=["SmartDate 2i","Black","Premium","450","55","C0005-701A","QTR_55mm_x_450m_Black","15.75 GBP","4984650c89e7769cfd733e7a73d5fad3","5","£15.75","../html/more_info.html","1"];
dataDB[4]=["SmartDate 3c / 3i","Black","Premium","450","55","C0005-701A","QTR_55mm_x_450m_Black","15.75 GBP","4984650c89e7769cfd733e7a73d5fad3","5","£15.75","../html/more_info.html","1"];
dataDB[5]=["SmartDate 5","Black","Premium","450","55","C0005-701A","QTR_55mm_x_450m_Black","15.75 GBP","4984650c89e7769cfd733e7a73d5fad3","5","£15.75","../html/more_info.html","1"];
dataDB[6]=["Videojet Dataflex","Black","Premium","450","55","C0005-701A","QTR_55mm_x_450m_Black","15.75 GBP","4984650c89e7769cfd733e7a73d5fad3","5","£15.75","../html/more_info.html","1"];
dataDB[7]=["Imaje 5210","Black","Premium","450","55","C0005-701A","QTR_55mm_x_450m_Black","15.75 GBP","4984650c89e7769cfd733e7a73d5fad3","5","£15.75","../html/more_info.html","1"];
dataDB[8]=["Jaguar 52i / 52c","Black","Premium","450","55","C0005-701A","QTR_55mm_x_450m_Black","15.75 GBP","4984650c89e7769cfd733e7a73d5fad3","5","£15.75","../html/more_info.html","1"];
dataDB[9]=["Thermo NX2im","Black","Premium","450","55","C0005-701A","QTR_55mm_x_450m_Black","15.75 GBP","4984650c89e7769cfd733e7a73d5fad3","5","£15.75","../html/more_info.html","1"];
dataDB[10]=["Allen TT53im / Koder","Black","Premium","450","55","C0005-701A","QTR_55mm_x_450m_Black","15.75 GBP","4984650c89e7769cfd733e7a73d5fad3","5","£15.75","../html/more_info.html","1"];
dataDB[11]=["Bellmark X / C2 / L2","Black","Premium","450","55","C0005-701A","QTR_55mm_x_450m_Black","15.75 GBP","4984650c89e7769cfd733e7a73d5fad3","5","£15.75","../html/more_info.html","1"];
dataDB[12]=["EasyPrint SCM / SIM","Black","Premium","450","55","C0005-701A","QTR_55mm_x_450m_Black","15.75 GBP","4984650c89e7769cfd733e7a73d5fad3","5","£15.75","../html/more_info.html","1"];
dataDB[13]=["EasyPrint IM2 / CM2","Black","Premium","450","55","C0005-701A","QTR_55mm_x_450m_Black","15.75 GBP","4984650c89e7769cfd733e7a73d5fad3","5","£15.75","../html/more_info.html","1"];
dataDB[14]=["EasyPrint Communicator","Black","Premium","450","55","C0005-701A","QTR_55mm_x_450m_Black","15.75 GBP","4984650c89e7769cfd733e7a73d5fad3","5","£15.75","../html/more_info.html","1"];
dataDB[15]=["Do not know","Black","Premium","450","110","C0006-A01A","QTR_110mm_x_450m_Black","30.30 GBP","4409f72c8414e26f49c227cea5f09d23","6","£30.30","../html/more_info.html","1"];
dataDB[16]=["OpenDate - 107M / 107L","Black","Premium","450","110","C0006-A01A","QTR_110mm_x_450m_Black","30.30 GBP","4409f72c8414e26f49c227cea5f09d23","6","£30.30","../html/more_info.html","1"];
dataDB[17]=["SmartDate 2i100","Black","Premium","450","110","C0006-A01A","QTR_110mm_x_450m_Black","30.30 GBP","4409f72c8414e26f49c227cea5f09d23","6","£30.30","../html/more_info.html","1"];
dataDB[18]=["Imaje 5410","Black","Premium","450","110","C0006-A01A","QTR_110mm_x_450m_Black","30.30 GBP","4409f72c8414e26f49c227cea5f09d23","6","£30.30","../html/more_info.html","1"];
dataDB[19]=["Jaguar 106i / 106c","Black","Premium","450","110","C0006-A01A","QTR_110mm_x_450m_Black","30.30 GBP","4409f72c8414e26f49c227cea5f09d23","6","£30.30","../html/more_info.html","1"];
dataDB[20]=["Thermo NX4im","Black","Premium","450","110","C0006-A01A","QTR_110mm_x_450m_Black","30.30 GBP","4409f72c8414e26f49c227cea5f09d23","6","£30.30","../html/more_info.html","1"];
dataDB[21]=["Allen TT107im","Black","Premium","450","110","C0006-A01A","QTR_110mm_x_450m_Black","30.30 GBP","4409f72c8414e26f49c227cea5f09d23","6","£30.30","../html/more_info.html","1"];
dataDB[22]=["Do not know","Black","Standard","450","55","C0001-501A","QTP_55mm_x_450m_Black","9.20 GBP","bd4e8a096fd5d6dad0a0b94e132d8250","1","£9.20","../html/more_info.html","1"];
dataDB[23]=["OpenDate - 53M / 53L","Black","Standard","450","55","C0001-501A","QTP_55mm_x_450m_Black","9.20 GBP","bd4e8a096fd5d6dad0a0b94e132d8250","1","£9.20","../html/more_info.html","1"];
dataDB[24]=["SmartDate 2i","Black","Standard","450","55","C0001-501A","QTP_55mm_x_450m_Black","9.20 GBP","bd4e8a096fd5d6dad0a0b94e132d8250","1","£9.20","../html/more_info.html","1"];
dataDB[25]=["SmartDate 3c / 3i","Black","Standard","450","55","C0001-501A","QTP_55mm_x_450m_Black","9.20 GBP","bd4e8a096fd5d6dad0a0b94e132d8250","1","£9.20","../html/more_info.html","1"];
dataDB[26]=["SmartDate 5","Black","Standard","450","55","C0001-501A","QTP_55mm_x_450m_Black","9.20 GBP","bd4e8a096fd5d6dad0a0b94e132d8250","1","£9.20","../html/more_info.html","1"];
dataDB[27]=["Videojet Dataflex","Black","Standard","450","55","C0001-501A","QTP_55mm_x_450m_Black","9.20 GBP","bd4e8a096fd5d6dad0a0b94e132d8250","1","£9.20","../html/more_info.html","1"];
dataDB[28]=["Imaje 5210","Black","Standard","450","55","C0001-501A","QTP_55mm_x_450m_Black","9.20 GBP","bd4e8a096fd5d6dad0a0b94e132d8250","1","£9.20","../html/more_info.html","1"];
dataDB[29]=["Jaguar 52i / 52c","Black","Standard","450","55","C0001-501A","QTP_55mm_x_450m_Black","9.20 GBP","bd4e8a096fd5d6dad0a0b94e132d8250","1","£9.20","../html/more_info.html","1"];
dataDB[30]=["Thermo NX2im","Black","Standard","450","55","C0001-501A","QTP_55mm_x_450m_Black","9.20 GBP","bd4e8a096fd5d6dad0a0b94e132d8250","1","£9.20","../html/more_info.html","1"];
dataDB[31]=["Allen TT53im / Koder","Black","Standard","450","55","C0001-501A","QTP_55mm_x_450m_Black","9.20 GBP","bd4e8a096fd5d6dad0a0b94e132d8250","1","£9.20","../html/more_info.html","1"];
dataDB[32]=["Bellmark X / C2 / L2","Black","Standard","450","55","C0001-501A","QTP_55mm_x_450m_Black","9.20 GBP","bd4e8a096fd5d6dad0a0b94e132d8250","1","£9.20","../html/more_info.html","1"];
dataDB[33]=["EasyPrint SCM / SIM","Black","Standard","450","55","C0001-501A","QTP_55mm_x_450m_Black","9.20 GBP","bd4e8a096fd5d6dad0a0b94e132d8250","1","£9.20","../html/more_info.html","1"];
dataDB[34]=["EasyPrint IM2 / CM2","Black","Standard","450","55","C0001-501A","QTP_55mm_x_450m_Black","9.20 GBP","bd4e8a096fd5d6dad0a0b94e132d8250","1","£9.20","../html/more_info.html","1"];
dataDB[35]=["EasyPrint Communicator","Black","Standard","450","55","C0001-501A","QTP_55mm_x_450m_Black","9.20 GBP","bd4e8a096fd5d6dad0a0b94e132d8250","1","£9.20","../html/more_info.html","1"];
dataDB[36]=["OpenDate - 107S","Black","Standard","350","110","C0002-401A","QTP_110mm_x_450m_Black","17.20 GBP","2db347c88f729f46ed57416c245cd884","2","£17.20","../html/more_info.html","0"];
dataDB[37]=["Do not know","Black","Standard","450","110","C0002-401A","QTP_110mm_x_450m_Black","17.20 GBP","2db347c88f729f46ed57416c245cd884","2","£17.20","../html/more_info.html","1"];
dataDB[38]=["OpenDate - 107M / 107L","Black","Standard","450","110","C0002-401A","QTP_110mm_x_450m_Black","17.20 GBP","2db347c88f729f46ed57416c245cd884","2","£17.20","../html/more_info.html","1"];
dataDB[39]=["SmartDate 2i100","Black","Standard","450","110","C0002-401A","QTP_110mm_x_450m_Black","17.20 GBP","2db347c88f729f46ed57416c245cd884","2","£17.20","../html/more_info.html","1"];
dataDB[40]=["Imaje 5410","Black","Standard","450","110","C0002-401A","QTP_110mm_x_450m_Black","17.20 GBP","2db347c88f729f46ed57416c245cd884","2","£17.20","../html/more_info.html","1"];
dataDB[41]=["Jaguar 106i / 106c","Black","Standard","450","110","C0002-401A","QTP_110mm_x_450m_Black","17.20 GBP","2db347c88f729f46ed57416c245cd884","2","£17.20","../html/more_info.html","1"];
dataDB[42]=["Thermo NX4im","Black","Standard","450","110","C0002-401A","QTP_110mm_x_450m_Black","17.20 GBP","2db347c88f729f46ed57416c245cd884","2","£17.20","../html/more_info.html","1"];
dataDB[43]=["Allen TT107im","Black","Standard","450","110","C0002-401A","QTP_110mm_x_450m_Black","17.20 GBP","2db347c88f729f46ed57416c245cd884","2","£17.20","../html/more_info.html","1"];
dataDB[44]=["Do not know","Black","Super","450","55","C0003-101A","QTX_55mm_x_450m_Black","12.30 GBP","49b7627af2fd01b4b469d033eb9e8c81","3","£12.30","../html/more_info.html","1"];
dataDB[45]=["OpenDate - 53M / 53L","Black","Super","450","55","C0003-101A","QTX_55mm_x_450m_Black","12.30 GBP","49b7627af2fd01b4b469d033eb9e8c81","3","£12.30","../html/more_info.html","1"];
dataDB[46]=["SmartDate 2i","Black","Super","450","55","C0003-101A","QTX_55mm_x_450m_Black","12.30 GBP","49b7627af2fd01b4b469d033eb9e8c81","3","£12.30","../html/more_info.html","1"];
dataDB[47]=["SmartDate 3c / 3i","Black","Super","450","55","C0003-101A","QTX_55mm_x_450m_Black","12.30 GBP","49b7627af2fd01b4b469d033eb9e8c81","3","£12.30","../html/more_info.html","1"];
dataDB[48]=["SmartDate 5","Black","Super","450","55","C0003-101A","QTX_55mm_x_450m_Black","12.30 GBP","49b7627af2fd01b4b469d033eb9e8c81","3","£12.30","../html/more_info.html","1"];
dataDB[49]=["Videojet Dataflex","Black","Super","450","55","C0003-101A","QTX_55mm_x_450m_Black","12.30 GBP","49b7627af2fd01b4b469d033eb9e8c81","3","£12.30","../html/more_info.html","1"];
dataDB[50]=["Imaje 5210","Black","Super","450","55","C0003-101A","QTX_55mm_x_450m_Black","12.30 GBP","49b7627af2fd01b4b469d033eb9e8c81","3","£12.30","../html/more_info.html","1"];
dataDB[51]=["Jaguar 52i / 52c","Black","Super","450","55","C0003-101A","QTX_55mm_x_450m_Black","12.30 GBP","49b7627af2fd01b4b469d033eb9e8c81","3","£12.30","../html/more_info.html","1"];
dataDB[52]=["Thermo NX2im","Black","Super","450","55","C0003-101A","QTX_55mm_x_450m_Black","12.30 GBP","49b7627af2fd01b4b469d033eb9e8c81","3","£12.30","../html/more_info.html","1"];
dataDB[53]=["Allen TT53im / Koder","Black","Super","450","55","C0003-101A","QTX_55mm_x_450m_Black","12.30 GBP","49b7627af2fd01b4b469d033eb9e8c81","3","£12.30","../html/more_info.html","1"];
dataDB[54]=["Bellmark X / C2 / L2","Black","Super","450","55","C0003-101A","QTX_55mm_x_450m_Black","12.30 GBP","49b7627af2fd01b4b469d033eb9e8c81","3","£12.30","../html/more_info.html","1"];
dataDB[55]=["EasyPrint SCM / SIM","Black","Super","450","55","C0003-101A","QTX_55mm_x_450m_Black","12.30 GBP","49b7627af2fd01b4b469d033eb9e8c81","3","£12.30","../html/more_info.html","1"];
dataDB[56]=["EasyPrint IM2 / CM2","Black","Super","450","55","C0003-101A","QTX_55mm_x_450m_Black","12.30 GBP","49b7627af2fd01b4b469d033eb9e8c81","3","£12.30","../html/more_info.html","1"];
dataDB[57]=["EasyPrint Communicator","Black","Super","450","55","C0003-101A","QTX_55mm_x_450m_Black","12.30 GBP","49b7627af2fd01b4b469d033eb9e8c81","3","£12.30","../html/more_info.html","1"];
dataDB[58]=["OpenDate - 107S","Black","Super","350","110","C0004-201A","QTX_110mm_x_450m_Black","23.50 GBP","0f655515780d4554e5026f119585af14","4","£23.50","../html/more_info.html","0"];
dataDB[59]=["Do not know","Black","Super","450","110","C0004-201A","QTX_110mm_x_450m_Black","23.50 GBP","0f655515780d4554e5026f119585af14","4","£23.50","../html/more_info.html","1"];
dataDB[60]=["OpenDate - 107M / 107L","Black","Super","450","110","C0004-201A","QTX_110mm_x_450m_Black","23.50 GBP","0f655515780d4554e5026f119585af14","4","£23.50","../html/more_info.html","1"];
dataDB[61]=["SmartDate 2i100","Black","Super","450","110","C0004-201A","QTX_110mm_x_450m_Black","23.50 GBP","0f655515780d4554e5026f119585af14","4","£23.50","../html/more_info.html","1"];
dataDB[62]=["Imaje 5410","Black","Super","450","110","C0004-201A","QTX_110mm_x_450m_Black","23.50 GBP","0f655515780d4554e5026f119585af14","4","£23.50","../html/more_info.html","1"];
dataDB[63]=["Jaguar 106i / 106c","Black","Super","450","110","C0004-201A","QTX_110mm_x_450m_Black","23.50 GBP","0f655515780d4554e5026f119585af14","4","£23.50","../html/more_info.html","1"];
dataDB[64]=["Thermo NX4im","Black","Super","450","110","C0004-201A","QTX_110mm_x_450m_Black","23.50 GBP","0f655515780d4554e5026f119585af14","4","£23.50","../html/more_info.html","1"];
dataDB[65]=["Allen TT107im","Black","Super","450","110","C0004-201A","QTX_110mm_x_450m_Black","23.50 GBP","0f655515780d4554e5026f119585af14","4","£23.50","../html/more_info.html","1"];
dataDB[66]=["Videojet Dataflex","Black","Standard","1000","30","C0014","QTP_30mm_x_1000m_Black","9.2 GBP","1234","92","£9.2","../html/more_info.html","0"];
dataDB[67]=["Videojet Dataflex","Black","Standard","600","55","C0013","QTP_55mm_x_600m_Black","12.27 GBP","1234","93","£12.27","../html/more_info.html","0"];

/*temp arrays 4 combo*/
var summary = new Array(); 
var prt_type = new Array();
var f_grade = new Array();
var f_col = new Array();
var f_len = new Array();
var f_wide = new Array();
var init = true;
var check = "";
var maxx = dataDB.length;
var maxy = 5;
var data_status = new Array(maxx);
var usr_choice = new Array();
for (x = 0; x <= maxx; x++){data_status[x]=new Array (maxy)}
 
var dataDB_length = dataDB.length;



function tablecreater()
{

document.writeln('<HTML>');
document.writeln('<HEAD>');
document.writeln('<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">');
document.writeln('<META NAME="Generator" CONTENT="NetObjects Fusion 7 for Windows">');
document.writeln('<TITLE>INK - quill coding and marking solutions</TITLE>');
document.writeln('<NOLAYER>');
document.writeln('<STYLE ID="NOF_STYLE_SHEET">');
document.writeln('<!--');
document.writeln('DIV#LayoutLYR { position:absolute; top:0; left:0; z-index: 1; visibility:inherit; }');

document.writeln('DIV#Rectangle1LYR { position:absolute; visibility:inherit; top:0; left:0; width:181; height:134; z-index:1 }');
document.writeln('DIV#Picture42LYR { position:absolute; visibility:inherit; top:520; left:13; width:126; height:166; z-index:2 }');
document.writeln('DIV#Text7LYR { position:absolute; visibility:inherit; top:26; left:4; width:174; height:68; z-index:2 }');
document.writeln('DIV#Text9LYR { position:absolute; visibility:inherit; top:92; left:6; width:180; height:19; z-index:3 }');
document.writeln('DIV#Picture16LYR { position:absolute; visibility:inherit; top:0; left:17; width:148; height:99; z-index:4 }');
document.writeln('DIV#Banner1LYR { position:absolute; visibility:inherit; top:30; left:248; width:560; height:45; z-index:5 }');
document.writeln('DIV#NavigationBar1LYR { position:absolute; visibility:inherit; top:177; left:20; width:130; height:192; z-index:6 }');
document.writeln('DIV#NavigationBar2LYR { position:absolute; visibility:inherit; top:648; left:159; z-index:7 }');
document.writeln('DIV#Rectangle2LYR { position:absolute; visibility:inherit; top:-60; left:-20; width:1002; height:29; z-index:8 }');
document.writeln('DIV#Rectangle12LYR { position:absolute; visibility:inherit; top:-103; left:850; width:132; height:38; z-index:11 } }');
document.writeln('DIV#Text1LYR { position:absolute; visibility:inherit; background-color: #000000;  top:-60; left:0; width:352; height:16; z-index:9 }');
document.writeln('DIV#Text4LYR { position:absolute; visibility:inherit; top:585; left:0; width:152; height:53; z-index:10 }');
document.writeln('DIV#Picture12LYR { VISIBILITY=INHERIT TOP=-265 LEFT=-20 WIDTH=1002 HEIGHT=29 Z-INDEX=13 }');
document.writeln('DIV#Picture14LYR { position:absolute; visibility:inherit; top:-140; left:225; width:120; height:75; z-index:12 }');
document.writeln('DIV#Text6LYR { position:absolute; visibility:inherit; top:-85; left:366; width:238; height:19; z-index:13 }');
document.writeln('DIV#Picture6LYR { position:absolute; visibility:inherit; top:159; left:159; width:279; height:164; z-index:15 }');
document.writeln('DIV#Text3LYR { position:absolute; visibility:inherit; top:322; left:159; width:404; height:114; z-index:16 }');
document.writeln('DIV#Picture7LYR { position:absolute; visibility:inherit; top:172; left:578; width:416; height:338; z-index:17 }');
document.writeln('DIV#Text11LYR { position:absolute; visibility:inherit; top:197; left:616; width:330; height:18; z-index:18 }');
document.writeln('DIV#Text12LYR { position:absolute; visibility:inherit; top:550; left:200; width:800; height:300; z-index:19 }');
document.writeln('DIV#Rectangle3LYR { position:absolute; visibility:inherit; top:115; left:232; width:185; height:9; z-index:6 }');
document.writeln('DIV#Picture32LYR { position:absolute; visibility:inherit; top:0; left:11; width:158; height:115; z-index:8 }');
document.writeln('DIV#Text89LYR { position:absolute; visibility:inherit; top:690; left:0; width:151; height:77; z-index:9 }');
document.writeln('DIV#Picture87LYR { position:absolute; visibility:inherit; top:119; left:12; width:225; height:19; z-index:10 }');
document.writeln('DIV#Picture100LYR { position:absolute; visibility:inherit; top:119; left:566; width:430; height:27; z-index:11 }');
document.writeln('DIV#Picture101LYR { position:absolute; visibility:inherit; top:11; left:740; width:262; height:24; z-index:12 }');
document.writeln('DIV#Picture99LYR { position:absolute; visibility:inherit; top:7; left:730; width:53; height:33; z-index:13 }');
document.writeln('DIV#Picture102LYR { position:absolute; visibility:inherit; top:6; left:788; width:53; height:33; z-index:14 }');
document.writeln('DIV#Picture97LYR { position:absolute; visibility:inherit; top:6; left:848; width:80; height:33; z-index:15 }');
document.writeln('DIV#Picture98LYR { position:absolute; visibility:inherit; top:7; left:928; width:74; height:33; z-index:16 }');
document.writeln('-->');

document.writeln('</STYLE>');
document.writeln('    <STYLE type="text/css">');
document.writeln('     DD { margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px}');
document.writeln('</STYLE>');
document.writeln('</NOLAYER>');
document.writeln('</HEAD>');
document.writeln('<BODY NOF="(MB=(DefaultMasterBorder, 159, 60, 159, 10), L=(ThermalFoilLayout, 843, 479))" BGCOLOR="#FFFFFF" BACKGROUND="../assets/images/background.jpg" TEXT="#000000" LINK="#FFFFFF" VLINK="#FFFFFF" ALINK="#FFFFFF">');

document.writeln(' <DIV ID="Text89LYR"><LAYER ID="Text89LYR" VISIBILITY=INHERIT TOP=690 LEFT=0 WIDTH=151 HEIGHT=77 Z-INDEX=9>');
document.writeln('    <P ALIGN=CENTER><FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT COLOR="#00FFFF" SIZE="-1" FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif">Tel: 0845 83 86 85 9<BR></FONT><FONT COLOR="#00FFFF" SIZE="-2" FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"><I>7am-11pm &nbsp; Mon-Sun<BR></I></FONT><A HREF="mailto:sales@quill-coding.com"><FONT COLOR="#00FFFF" SIZE="-1" FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif">sales@quill-coding.com</FONT></A><FONT COLOR="#00FFFF" SIZE="-1" FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"><BR>Fax: 01582 619384<BR>Skype: </FONT><A HREF="callto://quill-coding"><FONT COLOR="#00FFFF" SIZE="-1" FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif">quill-coding</FONT></A><A HREF="callto://quill-coding"></A></P>');
document.writeln('  </LAYER></DIV><DIV ID="Picture87LYR"><LAYER ID="Picture87LYR" VISIBILITY=INHERIT TOP=119 LEFT=12 WIDTH=225 HEIGHT=19 Z-INDEX=10  bgcolor="#CC0000" background="../background.JPG"><IMG ID="Picture87" HEIGHT=19 WIDTH=225 SRC="../assets/images/supplying.JPG" BORDER=0 ALT=""></LAYER></DIV><DIV ID="Picture100LYR"><LAYER ID="Picture100LYR" VISIBILITY=INHERIT TOP=119 LEFT=566 WIDTH=430 HEIGHT=27 Z-INDEX=11  bgcolor="#CC0000" background="../background.JPG"><IMG ID="Picture100" HEIGHT=27 WIDTH=430 SRC="../assets/images/banner_tel.JPG" BORDER=0 ALT=""></LAYER></DIV><DIV ID="Picture101LYR"><LAYER ID="Picture101LYR" VISIBILITY=INHERIT TOP=11 LEFT=740 WIDTH=262 HEIGHT=24 Z-INDEX=12  bgcolor="#CC0000" background="../background.JPG"><IMG ID="Picture101" HEIGHT=24 WIDTH=262 SRC="../assets/images/banner_faq.JPG" BORDER=0 ALT=""></LAYER></DIV><DIV ID="Picture99LYR"><LAYER ID="Picture99LYR" VISIBILITY=INHERIT TOP=7 LEFT=730 WIDTH=53 HEIGHT=33 Z-INDEX=13  bgcolor="#CC0000" background="../background.JPG">');
document.writeln(' <A HREF="../html/faq.html"><IMG ID="Picture99" HEIGHT=33 WIDTH=53 SRC="../assets/images/autogen/a_transparent_2.gif" BORDER=0 ALT=""></A></LAYER></DIV><DIV ID="Picture102LYR"><LAYER ID="Picture102LYR" VISIBILITY=INHERIT TOP=6 LEFT=788 WIDTH=53 HEIGHT=33 Z-INDEX=14  bgcolor="#CC0000" background="../background.JPG"><A HREF="../html/site_map.html"><IMG ID="Picture102" HEIGHT=33 WIDTH=53 SRC="../assets/images/autogen/a_transparent_2.gif" BORDER=0 ALT=""></A></LAYER></DIV><DIV ID="Picture97LYR"><LAYER ID="Picture97LYR" VISIBILITY=INHERIT TOP=6 LEFT=848 WIDTH=80 HEIGHT=33 Z-INDEX=15  bgcolor="#CC0000" background="./background.JPG"><A HREF="../html/spec_sheets.html"><IMG ID="Picture97" HEIGHT=33 WIDTH=80 SRC="../assets/images/autogen/a_transparent_18.gif" BORDER=0 ALT=""></A></LAYER></DIV><DIV ID="Picture98LYR"><LAYER ID="Picture98LYR" VISIBILITY=INHERIT TOP=7 LEFT=928 WIDTH=74 HEIGHT=33 Z-INDEX=16  bgcolor="#CC0000" background="../background.JPG"><A HREF="../html/downloads.html"> ');
document.writeln(' <IMG ID="Picture98" HEIGHT=33 WIDTH=74 SRC="../assets/images/autogen/a_transparent_19.gif" BORDER=0 ALT=""></A></LAYER></DIV></LAYER></DIV>');

document.writeln('    <DIV ID="LayoutLYR"><LAYER ID="LayoutLYR" TOP=0 LEFT=0 VISIBILITY=INHERIT WIDTH=1012 HEIGHT=698 Z-INDEX=1><DIV ID="Picture6LYR"><LAYER ID="Picture6LYR" VISIBILITY=INHERIT TOP=159 LEFT=159 WIDTH=279 HEIGHT=164 Z-INDEX=1  bgcolor="#FFFFFF" background="../background.jpg"><IMG ID="Picture6" HEIGHT=164 WIDTH=279 SRC="../assets/images/foil_rolls.JPG" BORDER=0 ALT=""></LAYER></DIV><DIV ID="Picture42LYR"><LAYER ID="Picture42LYR" VISIBILITY=INHERIT TOP=520 LEFT=13 WIDTH=126 HEIGHT=166 Z-INDEX=2  bgcolor="#CC0000" background="../background.JPG"><IMG ID="Picture42" HEIGHT=166 WIDTH=126 SRC="../assets/images/sarah_2.JPG" BORDER=0 ALT=""></LAYER></DIV><DIV ID="Text3LYR"><LAYER ID="Text3LYR" VISIBILITY=INHERIT TOP=322 LEFT=159 WIDTH=404 HEIGHT=114 Z-INDEX=2>');
document.writeln('    <P ALIGN=JUSTIFY><FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT>These quality foils contain an ink formulation that offers high fidelity and durability of the printed information over a wide range of substrates.</P>');
document.writeln('    <P><FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT>A silicon composition reduces electrical static charges and mechanical resistance, which extends printer life. </P>');
document.writeln('    </LAYER></DIV><DIV ID="Picture7LYR"><LAYER ID="Picture7LYR" VISIBILITY=INHERIT TOP=172 LEFT=578 WIDTH=416 HEIGHT=338 Z-INDEX=3  bgcolor="#FFFFFF" background="../background.gif"><IMG ID="Picture7" HEIGHT=338 WIDTH=416 SRC="../assets/images/vig1.JPG" BORDER=0 ALT=""></LAYER></DIV><DIV ID="Text11LYR"><LAYER ID="Text11LYR" VISIBILITY=INHERIT TOP=197 LEFT=616 WIDTH=330 HEIGHT=18 Z-INDEX=4><form name="cdsearch">');
document.writeln('<div align="left">');
document.writeln('  <table border="0" width="300" align="center" cellpadding="2">');
document.writeln('    <tr>');
document.writeln('      <td width="100"">');
document.writeln('		<font face="Arial"  size="4"></font></td>');
document.writeln('      <td width="250" >');
document.writeln('		<font face="Arial" color="white" align="center" size="3">Search Options</font></td>');   		               		
document.writeln('      		</select>&nbsp;');
document.writeln('      		</td>');
document.writeln('    </tr>');
document.writeln('    <tr>    ');
document.writeln('   <tr>');
document.writeln('     <td width="150" align="right" >');
document.writeln('		<font face="Arial" color="yellow"  size="2.5">Printer Type</font></td>');
document.writeln('      <td width="250" >');
document.writeln('      		<input type="text" value="'+usr_choice[0]+'">');
document.writeln('      		</td>');
document.writeln('    </tr>');
document.writeln('    <tr>');
document.writeln('      <td width="150" align="right" >');
document.writeln('		<font face="Arial" color="yellow"  size="2.5">Grade </font></td>');
document.writeln('      <td width="250" >'); 
document.writeln('      <input type="text" value="'+usr_choice[1]+'">');		
document.writeln('      		</td>');
document.writeln('    </tr>');
document.writeln('   <tr>');
document.writeln('      <td width="150" align="right"  height="33">');
document.writeln('		<font face="Arial" color="yellow" size="2.5">Colour </font></td>');
document.writeln('      <td width="250" >');
document.writeln('      		<input type="text" value="'+usr_choice[2]+'">');		
document.writeln('      		</td>');
document.writeln('    </tr>');
document.writeln('    <tr>');
document.writeln('      <td width="150" align="right"  height="33">');
document.writeln('		<font face="Arial" color="yellow"  size="2.5">Length (m)</font></td>');
document.writeln('      <td width="250" >'); 		
document.writeln('      		<input type="text" value="'+usr_choice[3]+'">');		
document.writeln('      		</td>');
document.writeln('    </tr>');
document.writeln('    <tr>');
document.writeln('      <td width="200" align="right"  height="35">');
document.writeln('		<font face="Arial" color="yellow"  size="2.5">Width (mm)</font></td>');
document.writeln('      <td width="250">');
document.writeln('      		<input type="text" value="'+usr_choice[4]+'">');  				
document.writeln('      		</td>');
document.writeln('    </tr>');
document.writeln('    <tr>');
document.writeln('     </td>');
document.writeln('    </tr>');
document.writeln('  </table>');
document.writeln('  <br><a href="javascript:window.history.go(-1);" ><img border="0" SRC="../assets/images/searchAgain_but.gif"></a>');

document.writeln('</div>');
document.writeln('</form>');

document.writeln('    <P><FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif">&nbsp;</FONT></P>');

document.writeln('    </LAYER></DIV><DIV ID="Text12LYR"><LAYER ID="Text12LYR" VISIBILITY=INHERIT TOP=550 LEFT=200 WIDTH=800 HEIGHT=18 Z-INDEX=5>');
document.writeln('    <table width=800>');
document.writeln('    <tr>');
document.writeln('    <td style="border: 1 solid #999999"  bgcolor="black"> <font face="Arial" color="white"  size="2.5">Print_type</font></td>');
document.writeln('     <td style="border: 1 solid #999999"  bgcolor="black"> <font face="Arial" color="white"  size="2.5">Grade</font></td>');
document.writeln('     <td style="border: 1 solid #999999"  bgcolor="black"> <font face="Arial" color="white"  size="2.5">Colour</font></td>');
document.writeln('     <td style="border: 1 solid #999999"  bgcolor="black"> <font face="Arial" color="white"  size="2.5">Length</font></td>');
document.writeln('     <td style="border: 1 solid #999999"  bgcolor="black"> <font face="Arial" color="white"  size="2.5">Width</font></td>');
document.writeln('     <td style="border: 1 solid #999999"  bgcolor="black"> <font face="Arial" color="white"  size="2.5">Part Number</font></td>');
document.writeln('     <td style="border: 1 solid #999999"  bgcolor="black"> <font face="Arial" color="white"  size="2.5">Price</font></td>');
document.writeln('     <td style="border: 1 solid #999999"  bgcolor="black"> <font face="Arial" color="white"  size="2.5">Order</font></td>');
document.writeln('    </tr>');
var DBptr = 1;
while(DBptr < summary.length)
{
  if (summary [DBptr] == 1)
  {
  document.writeln('    <tr>');
  document.writeln('    <td style="border: 1 solid #999999">'+ dataDB[DBptr][0] +'</td>');
  document.writeln('    <td style="border: 1 solid #999999">'+ dataDB[DBptr][2] +'</td>');
  document.writeln('    <td style="border: 1 solid #999999">'+ dataDB[DBptr][1] +'</td>');
  document.writeln('    <td style="border: 1 solid #999999">'+ dataDB[DBptr][3] +'</td>');
  document.writeln('    <td style="border: 1 solid #999999">'+ dataDB[DBptr][4] +'</td>');
    document.writeln('    <td style="border: 1 solid #999999">'+ dataDB[DBptr][5] +'</td>'); 
  document.writeln('    <td style="border: 1 solid #999999">'+ dataDB[DBptr][10] +'</td>'); 
   if (dataDB[DBptr][12] == "0")
  {
  document.writeln('    <td style="border: 1 solid #999999"><a href="../html/out_of_stock.html"><img src="../Assets/images/Buy_but_out.jpg" > </a> </td>'); 
  }
  else
  {
  document.writeln('  <td style="border: 1 solid #999999" width=100> ');
  document.writeln('  <form action="https://sslrelay.com/s131615933.oneandoneshop.co.uk/sess/../action/order.php4" method=post name="artikel_"  cellpadding="0"  cellspacing="0"> ');
  document.writeln(' 	<input  name="article[Title]" value='+ dataDB[DBptr][6] +' type="hidden">  '); 
  document.writeln('    <input name="article[VAT]" value="17.5" type="hidden"> ');
  document.writeln('    <input  name="article[Item_Number]" value='+ dataDB[DBptr][5] +' type="hidden"> '); 
  document.writeln(' 	<input  name="article[Price]" value='+ dataDB[DBptr][7] +' type="hidden" >  '); 
  document.writeln('  <input name="article[Category]" value="/Thermal" type="hidden"> ');
  
   document.writeln('                    <font face="Arial, Helvetica" size="-1"> <input type=hidden name="article[rule]" value="">');
  document.writeln(' <p>       </P> <input type="hidden" name="article[c]" value='+ dataDB[DBptr][8] +' ><input type="hidden" name="article[ignore_customer_rabatt]" value=""><input type="hidden" name="article[cural]" value=""> </font>');
  document.writeln('                    </font>');

               
 document.writeln(' <DL><DD><input type=text HEIGHT=0  WIDTH=0 name="article[Count]" value=1 size=2 >');  
 document.writeln(' <input  type=image src="../Assets/Images/sBuy_but.JPG">'); 
 
  document.writeln(' </td>  ');  
  document.writeln(' </DL> '); 
  document.writeln('  ');
  document.writeln(' </form></td>');
  }
  document.writeln('<td><A HREF='+ dataDB[DBptr][11] +' > <img src="../Assets/Images/more_but.JPG"></a></td> '); 
 
  }
DBptr++;
}

document.writeln('    </table WIDTH=800>');
document.writeln('    </LAYER></DIV><DIV ID="Rectangle1LYR"><LAYER ID="Rectangle1LYR" VISIBILITY=INHERIT TOP=0 LEFT=0 WIDTH=181 HEIGHT=134 Z-INDEX=6><IMG ID="Rectangle1" HEIGHT=134 WIDTH=181 SRC="../assets/images/autogen/a_Rectangle.gif" BORDER=0 ALT=""></LAYER></DIV>');
document.writeln('    </LAYER></DIV><DIV ID="Picture16LYR"><LAYER ID="Picture16LYR" VISIBILITY=INHERIT TOP=0 LEFT=17 WIDTH=159 HEIGHT=110 Z-INDEX=9  bgcolor="#FFFFFF" background="../background.gif"><IMG ID="Picture16" HEIGHT=110 WIDTH=160 SRC="../assets/images/small_logo.gif" BORDER=0 ALT=""></LAYER></DIV><DIV ID="Banner1LYR"><LAYER ID="Banner1LYR" VISIBILITY=INHERIT TOP=30 LEFT=248 WIDTH=560 HEIGHT=45 Z-INDEX=10  bgcolor="#FFFFFF" background="../background.gif"><IMG ID="Banner1" HEIGHT=45 WIDTH=560 SRC="../assets/images/autogen/Thermal_Foil_search_Nbanner.jpg" BORDER=0 ALT="Thermal Foil" NOF=B_H></LAYER></DIV><DIV ID="NavigationBar1LYR"><LAYER ID="NavigationBar1LYR" VISIBILITY=INHERIT TOP=177 LEFT=20 WIDTH=130 HEIGHT=192 Z-INDEX=11>');

/*document.writeln('    <TABLE ID="NavigationBar1" BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF=NB_FYVPNY120 WIDTH=130>');

document.writeln('        <TR VALIGN=TOP ALIGN=LEFT>');
document.writeln('            <TD WIDTH=130 HEIGHT=24><A HREF="../index.html" onMouseOver="F_roll('NavigationButton1',1)" onMouseOut="F_roll('NavigationButton1',0)"><IMG ID="NavigationButton1" NAME="NavigationButton1" HEIGHT=24 WIDTH=130 SRC="../assets/images/autogen/Home_Np1.gif" onLoad="F_loadRollover(this,'Home_NRp2.gif',0)" BORDER=0 ALT="Home"></A></TD>');
document.writeln('        </TR>');
document.writeln('        <TR VALIGN=TOP ALIGN=LEFT>');
document.writeln('            <TD WIDTH=130 HEIGHT=24><A HREF="../html/products.html" onMouseOver="F_roll('NavigationButton2',1)" onMouseOut="F_roll('NavigationButton2',0)"><IMG ID="NavigationButton2" NAME="NavigationButton2" HEIGHT=24 WIDTH=130 SRC="../assets/images/autogen/Products_Hp3.gif" onLoad="F_loadRollover(this,'Products_HRp4.gif',0)" BORDER=0 ALT="Products"></A></TD>');
document.writeln('        </TR>');
document.writeln('        <TR VALIGN=TOP ALIGN=LEFT>');
document.writeln('            <TD WIDTH=130 HEIGHT=24><A HREF="../html/consumables.html" onMouseOver="F_roll('NavigationButton3',1)" onMouseOut="F_roll('NavigationButton3',0)"><IMG ID="NavigationButton3" NAME="NavigationButton3" HEIGHT=24 WIDTH=130 SRC="../assets/images/autogen/Consumables_Hs3.gif" onLoad="F_loadRollover(this,'Consumables_HRs4.gif',0)" BORDER=0 ALT="Consumables"></A></TD>');
document.writeln('         </TR>');
document.writeln('         <TR VALIGN=TOP ALIGN=LEFT>');
document.writeln('             <TD WIDTH=130 HEIGHT=24><A HREF="../html/software.html" onMouseOver="F_roll('NavigationButton4',1)" onMouseOut="F_roll('NavigationButton4',0)"><IMG ID="NavigationButton4" NAME="NavigationButton4" HEIGHT=24 WIDTH=130 SRC="../assets/images/autogen/Software_Ns1.gif" onLoad="F_loadRollover(this,'Software_NRs2.gif',0)" BORDER=0 ALT="Software"></A></TD>');
document.writeln('         </TR>');
document.writeln('         <TR VALIGN=TOP ALIGN=LEFT>');
document.writeln('             <TD WIDTH=130 HEIGHT=24><A HREF="../html/printers.html" onMouseOver="F_roll('NavigationButton5',1)" onMouseOut="F_roll('NavigationButton5',0)"><IMG ID="NavigationButton5" NAME="NavigationButton5" HEIGHT=24 WIDTH=130 SRC="../assets/images/autogen/Printers_Ns1.gif" onLoad="F_loadRollover(this,'Printers_NRs2.gif',0)" BORDER=0 ALT="Printers"></A></TD>');
document.writeln('         </TR>');
document.writeln('         <TR VALIGN=TOP ALIGN=LEFT>');
document.writeln('             <TD WIDTH=130 HEIGHT=24><A HREF="../html/customer_service.html" onMouseOver="F_roll('NavigationButton6',1)" onMouseOut="F_roll('NavigationButton6',0)"><IMG ID="NavigationButton6" NAME="NavigationButton6" HEIGHT=24 WIDTH=130 SRC="../assets/images/autogen/Customer_Service_Np1.gif" onLoad="F_loadRollover(this,'Customer_Service_NRp2.gif',0)" BORDER=0 ALT="Customer Service"></A></TD>');
document.writeln('         </TR>');
document.writeln('         <TR VALIGN=TOP ALIGN=LEFT>');
document.writeln('             <TD WIDTH=130 HEIGHT=24><A HREF="../html/faq.html" onMouseOver="F_roll('NavigationButton7',1)" onMouseOut="F_roll('NavigationButton7',0)"><IMG ID="NavigationButton7" NAME="NavigationButton7" HEIGHT=24 WIDTH=130 SRC="../assets/images/autogen/FAQ_Np1.gif" onLoad="F_loadRollover(this,'FAQ_NRp2.gif',0)" BORDER=0 ALT="FAQ"></A></TD>');
document.writeln('         </TR>');
document.writeln('         <TR VALIGN=TOP ALIGN=LEFT>');
document.writeln('             <TD WIDTH=130 HEIGHT=24><A HREF="../html/contact_us.html" onMouseOver="F_roll('NavigationButton8',1)" onMouseOut="F_roll('NavigationButton8',0)"><IMG ID="NavigationButton8" NAME="NavigationButton8" HEIGHT=24 WIDTH=130 SRC="../assets/images/autogen/Contact_Us_Np1.gif" onLoad="F_loadRollover(this,'Contact_Us_NRp2.gif',0)" BORDER=0 ALT="Contact Us"></A></TD>');
document.writeln('         </TR>');
document.writeln('     </TABLE>');

document.writeln('     </LAYER></DIV>');*/

/*this is the bottom banner links table PROBLEM IS ITS NOT VERITCAL*/



document.write('<DIV ID="Rectangle2LYR"><LAYER ID="Rectangle2LYR" VISIBILITY=INHERIT TOP=-60 LEFT=-20 WIDTH=1002 HEIGHT=29 Z-INDEX=13><IMG ID="Rectangle2" HEIGHT=29 WIDTH=1002 SRC="../assets/images/autogen/a_Rectangle_1.gif" BORDER=0 ALT=""></LAYER></DIV><DIV ID="Text1LYR"><LAYER ID="Text1LYR" VISIBILITY=INHERIT TOP=-60 LEFT=0 WIDTH=352 HEIGHT=16 Z-INDEX=14  bgcolor="#000000">');
document.writeln('     <P><FONT SIZE="-1" FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT COLOR="#CCCC99" SIZE="-1" FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif">Supplying the Packaging Industry</FONT></P>');
document.writeln('     </LAYER></DIV>');

document.write('<DIV ID="Rectangle12LYR"><LAYER ID="Rectangle12LYR" VISIBILITY=INHERIT TOP=-103 LEFT=850 width:132; height:38; z-index:11>    <A HREF="https://sslrelay.com/s131615933.oneandoneshop.co.uk/bs_modules/warenkorb.php4?backlink=..%2Fbs_shopdata%2Fproduct_overview.shopscript"><IMG ID="Rectangle12" HEIGHT=38 WIDTH=132 SRC="../assets/images/search_chk_out.JPG" BORDER=0 ALT=""></a></LAYER></DIV><DIV ID="Picture14LYR"><LAYER ID="Picture14LYR" VISIBILITY=INHERIT TOP=-140 LEFT=225 WIDTH=120 HEIGHT=75 Z-INDEX=17  bgcolor="#FFFFFF" background="../background.gif"></LAYER></DIV><DIV ID="Text6LYR"><LAYER ID="Text6LYR" VISIBILITY=INHERIT TOP=-85 LEFT=366 WIDTH=238 HEIGHT=19 Z-INDEX=18>');
document.writeln('     </LAYER></DIV></LAYER></DIV>');

document.writeln(' </BODY>');
document.writeln(' </HTML>');
 
}



function clean_me ()
{

/*clear combo boxes*/


var cboBox = document.cdsearch.print_type //reference to combo
var vLength = cboBox.length - 1
for (i = vLength; i >= 0; i --){
cboBox.options[i] = null;
prt_type[i]="x";}

var cboBox = document.cdsearch.colour //reference to combo
var vLength = cboBox.length - 1
for (i = vLength; i >= 0; i --){
cboBox.options[i] = null;
f_col[i]="x";}

var cboBox = document.cdsearch.grade //reference to combo
var vLength = cboBox.length - 1
for (i = vLength; i >= 0; i --){
cboBox.options[i] = null;
f_grade[i]= "x";}

var cboBox = document.cdsearch.length //reference to combo
var vLength = cboBox.length - 1
for (i = vLength; i >= 0; i --){
cboBox.options[i] = null;
f_len[i]= "x";}


var cboBox = document.cdsearch.width //reference to combo
var vLength = cboBox.length - 1
for (i = vLength; i >= 0; i --){
cboBox.options[i] = null;
f_wide[i]= "x";}


}

function set_data_status ()
{
var DB_ptr = 0;
var choice_cnt = 0;
var test = new Array();


test = summary;
if (init == true) 
    {
    usr_choice[0] = "All                                ";
    usr_choice[1] = "All                                ";
    usr_choice[2] = "All                                ";
    usr_choice[3] = "All                                ";
    usr_choice[4] = "All                                ";
	
    init = false;
    }
    else
    { 
    usr_choice[0] = document.cdsearch.print_type.options[document.cdsearch.print_type.selectedIndex].text;
    usr_choice[1] = document.cdsearch.colour.options[document.cdsearch.colour.selectedIndex].text;
    usr_choice[2] = document.cdsearch.grade.options[document.cdsearch.grade.selectedIndex].text;
    usr_choice[3] = document.cdsearch.length.options[document.cdsearch.length.selectedIndex].text;
    usr_choice[4] = document.cdsearch.width.options[document.cdsearch.width.selectedIndex].text;	
    }
    
 while (DB_ptr < dataDB_length)
	  {
	  summary [DB_ptr] = 1;        
	  DB_ptr++;
      } 
 DB_ptr =0;
 for ( choice_cnt = 0; choice_cnt < 5; choice_cnt++)
    {
     if (usr_choice[choice_cnt] == "All                                ")
	    {
	    DB_ptr = 0;
	    while (DB_ptr < dataDB_length)
	      {
	        data_status[DB_ptr][choice_cnt] = 1; 	      
	        DB_ptr++;
	      }
	   }
	  else
	    {
	    DB_ptr=0;
	    while (DB_ptr < dataDB_length)
           {
           if (usr_choice[choice_cnt] == dataDB[DB_ptr][choice_cnt])
	         {
	         data_status[DB_ptr][choice_cnt] = 1; 
	          
	         }
	       else
	         {
	         data_status[DB_ptr][choice_cnt] = 0;
	         summary[DB_ptr] = 0;
	         }
	         DB_ptr++;
           }
	     }
	 }
	fill_combo();
}


function fill_combo()
{
var active_combo = 0;
var DB_ptr = 0;
var prt_type_l = -1;
var combo = new Array();
var combo_ptr = 0;
var found = false;
var usr_selected = new Array ();

clean_me();

usr_selected = usr_choice;

 

 while (DB_ptr < usr_choice.length)
   {
 	if (usr_selected[DB_ptr] != "All                                ")
 	  {
 	  switch(DB_ptr)
 	    { 
        case 0 : document.cdsearch.print_type.options[document.cdsearch.print_type.options.length] = new Option (usr_choice[0]); prt_type[1] = usr_selected[DB_ptr]; break 
        case 1 : document.cdsearch.colour.options[document.cdsearch.colour.options.length] = new Option (usr_choice[1]); f_col[1] = usr_selected[DB_ptr]; break
        case 2 : document.cdsearch.grade.options[document.cdsearch.grade.options.length] = new Option (usr_choice[2]); f_grade[1] = usr_selected[DB_ptr]; break
        case 3 : document.cdsearch.length.options[document.cdsearch.length.options.length] = new Option (usr_choice[3]); f_len[1] = usr_selected[DB_ptr]; break
        case 4 : document.cdsearch.width.options[document.cdsearch.width.options.length] = new Option (usr_choice[4]); f_wide[1] = usr_selected[DB_ptr]; break       
		}
      } 
   DB_ptr++;
   }  
     
     
        
       document.cdsearch.print_type.options[document.cdsearch.print_type.options.length] = new Option ("All                                "); 
       document.cdsearch.colour.options[document.cdsearch.colour.options.length] = new Option ("All                                "); 
       document.cdsearch.grade.options[document.cdsearch.grade.options.length] = new Option ("All                                "); 
       document.cdsearch.length.options[document.cdsearch.length.options.length] = new Option ("All                                ");         
       document.cdsearch.width.options[document.cdsearch.width.options.length] = new Option ("All                                ");        

   
  
    

DB_ptr = 0;

prt_type[0] = "All                                ";
f_col[0] = "All                                ";
f_grade[0] = "All                                ";
f_len[0] = "All                                ";
f_wide[0] = "All                                ";

test = summary;

	for (active_combo = 0; active_combo < 5; active_combo++)
	   {
	   			   /*check 4 duplicates*/
			   switch(active_combo)
			     {
			     case 0 :combo = prt_type;  break
			     case 1 :combo = f_col; ;break
			     case 2 :combo = f_grade; ;break
			     case 3 :combo = f_len; ;break
				 case 4 :combo = f_wide; ;break
			     }	     
        DB_ptr = 0;
        combo.length = 2;
	     while (DB_ptr < dataDB.length)
           {
           if (summary[DB_ptr] == 1)
           {
			if (data_status[DB_ptr][active_combo] == 1)
			   {  
			   combo_ptr = 0;
			   found = false;
			   while(combo_ptr < combo.length )
	              {
				  if (combo[combo_ptr] == dataDB[DB_ptr][active_combo])
				    {
				    found = true;
				    }
				  combo_ptr++;
				  } 	       
	       		if (found == false)
		          {    
                  switch(active_combo)
			         {
			         case 0 :  document.cdsearch.print_type.options[document.cdsearch.print_type.options.length] = new Option(dataDB[DB_ptr][active_combo]);break
			         case 1 :  document.cdsearch.colour.options[document.cdsearch.colour.options.length] = new Option(dataDB[DB_ptr][active_combo]);break
			         case 2 :  document.cdsearch.grade.options[document.cdsearch.grade.options.length] = new Option(dataDB[DB_ptr][active_combo]);break
			         case 3 :  document.cdsearch.length.options[document.cdsearch.length.options.length] = new Option(dataDB[DB_ptr][active_combo]);break
			         case 4 :  document.cdsearch.width.options[document.cdsearch.width.options.length] = new Option(dataDB[DB_ptr][active_combo]);break
					 }
			      switch(active_combo)
			         {
			         case 0 : prt_type[combo.length] = dataDB[DB_ptr][active_combo]; prt_type_l = prt_type.length; break
			         case 1 : f_col[combo.length] = dataDB[DB_ptr][active_combo];break
			         case 2 : f_grade[combo.length] = dataDB[DB_ptr][active_combo];break
			         case 3 : f_len[combo.length] = dataDB[DB_ptr][active_combo];break
					 case 4 : f_wide[combo.length] = dataDB[DB_ptr][active_combo];break
			         }
			      }
			      }
			      }
			      DB_ptr++;
	   }
	  	  
    }	
	
  }	
	
