var source_valid_date = "24/1/2003";

var dataDB = new Array();
dataDB[0]=[];
dataDB[1]=["Overprint PE","Black","Standard","153","25","C0007-901A","QHA_25mm_x_153m_Black","1.88 GBP","b983fb6028c72457fbcacf8de5213f5f","7","£1.88","../html/more_info.html","1"];
dataDB[2]=["Overprint PE","Black","Value","153","25","C0010-201A","QHA_25mm_x_153m_Black","1.40 GBP","b983fb6028c72457fbcacf8de5213f5f","7","£1.40","../html/more_info.html","1"];
dataDB[3]=["OpenDate Eurocode 150","Black","Standard","153","38","C0008-A01A","QHA_38mm_x_153m_Black","2.43 GBP","b7c7774e2178a563d8be0358ebc1e654","8","£2.43","../html/more_info.html","1"];
dataDB[4]=["OpenDate Eurocode 300","Black","Standard","153","38","C0008-A01A","QHA_38mm_x_153m_Black","2.43 GBP","b7c7774e2178a563d8be0358ebc1e654","8","£2.43","../html/more_info.html","1"];
dataDB[5]=["Allen Compact 40/25 40/15","Black","Standard","153","38","C0008-A01A","QHA_38mm_x_153m_Black","2.43 GBP","b7c7774e2178a563d8be0358ebc1e654","8","£2.43","../html/more_info.html","1"];
dataDB[6]=["OpenDate Eurocode 150","Black","Value","153","38","C0011-A01A","QHB_38mm_x_153m_Black","2.12 GBP","568f893e8c0eda52b82da4ba14ff6c03","11","£2.12","../html/more_info.html","1"];
dataDB[7]=["OpenDate Eurocode 300","Black","Value","153","38","C0011-A01A","QHB_38mm_x_153m_Black","2.12 GBP","568f893e8c0eda52b82da4ba14ff6c03","11","£2.12","../html/more_info.html","1"];
dataDB[8]=["Allen Compact 40/25 40/15","Black","Value","153","38","C0011-A01A","QHB_38mm_x_153m_Black","2.12 GBP","568f893e8c0eda52b82da4ba14ff6c03","11","£2.12","../html/more_info.html","1"];
dataDB[9]=["OpenDate Printmaster","Black","Standard","153","50","C0009-301A","QHA_50mm_x_153m_Black","3.99 GBP","90a26d2865ce21b6a3350b1e775de8cf","9","£3.99","../html/more_info.html","1"];
dataDB[10]=["OpenDate Sprint","Black","Standard","153","50","C0009-301A","QHA_50mm_x_153m_Black","3.99 GBP","90a26d2865ce21b6a3350b1e775de8cf","9","£3.99","../html/more_info.html","1"];
dataDB[11]=["Allen Compact 60/35","Black","Standard","153","50","C0009-301A","QHA_50mm_x_153m_Black","3.99 GBP","90a26d2865ce21b6a3350b1e775de8cf","9","£3.99","../html/more_info.html","1"];
dataDB[12]=["Allen SuperCompact","Black","Standard","153","50","C0009-301A","QHA_50mm_x_153m_Black","3.99 GBP","90a26d2865ce21b6a3350b1e775de8cf","9","£3.99","../html/more_info.html","1"];

/*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('     <td style="border: 1 solid #999999"  bgcolor="black"> <font face="Arial" color="white"  size="2.5">More Info</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="/Hotfoil" 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><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=250 HEIGHT=134 Z-INDEX=6><IMG ID="Rectangle1" HEIGHT=134 WIDTH=250 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=155 HEIGHT=115 Z-INDEX=9  bgcolor="#FFFFFF" ><IMG ID="Picture16" HEIGHT=115 WIDTH=158 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/Hotfoil_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=800 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++;
	   }
	  	  
    }	
	
  }	
	
