Forums

ASP

This topic is locked

multiple recordsets per page

Posted 23 Jan 2006 17:11:29
1
has voted
23 Jan 2006 17:11:29 andy bertaut posted:
I have two pages - one with a list of types of paper (inkjet, A4 etc) (paper.asp) and a second with a list of each of the specific kinds available within each group (paperDT.asp). When i follow the inkjet link on the paper.asp page, everything is fine, but when I follow the A3/A4 link, i get the paperDT page populated by the recordset for the inkjet range, with one A4 entry squeezed in at the bottom. I have done this before and its a pretty simple thing to achieve but i am damned if i can see what i am doing wrong this time.

Code for paper.asp:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<!--#include file="../Connections/connWIZARD06.asp" -->
<%
var rsPAPERA34 = Server.CreateObject("ADODB.Recordset";
rsPAPERA34.ActiveConnection = MM_connWIZARD06_STRING;
rsPAPERA34.Source = "SELECT * FROM paper_a3_4";
rsPAPERA34.CursorType = 0;
rsPAPERA34.CursorLocation = 2;
rsPAPERA34.LockType = 1;
rsPAPERA34.Open();
var rsPAPERA34_numRows = 0;
%>
<%
var rsPAPERINK = Server.CreateObject("ADODB.Recordset";
rsPAPERINK.ActiveConnection = MM_connWIZARD06_STRING;
rsPAPERINK.Source = "SELECT * FROM paper_injet";
rsPAPERINK.CursorType = 0;
rsPAPERINK.CursorLocation = 2;
rsPAPERINK.LockType = 1;
rsPAPERINK.Open();
var rsPAPERINK_numRows = 0;
%>
<% var MM_paramName = ""; %>
<%
// *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters

// create the list of parameters which should not be maintained
var MM_removeList = "&index=";
if (MM_paramName != "" MM_removeList += "&" + MM_paramName.toLowerCase() + "=";
var MM_keepURL="",MM_keepForm="",MM_keepBoth="",MM_keepNone="";

// add the URL parameters to the MM_keepURL string
for (var items=new Enumerator(Request.QueryString); !items.atEnd(); items.moveNext()) {
var nextItem = "&" + items.item().toLowerCase() + "=";
if (MM_removeList.indexOf(nextItem) == -1) {
MM_keepURL += "&" + items.item() + "=" + Server.URLencode(Request.QueryString(items.item()));
}
}

// add the Form variables to the MM_keepForm string
for (var items=new Enumerator(Request.Form); !items.atEnd(); items.moveNext()) {
var nextItem = "&" + items.item().toLowerCase() + "=";
if (MM_removeList.indexOf(nextItem) == -1) {
MM_keepForm += "&" + items.item() + "=" + Server.URLencode(Request.Form(items.item()));
}
}

// create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL + MM_keepForm;
if (MM_keepBoth.length > 0) MM_keepBoth = MM_keepBoth.substring(1);
if (MM_keepURL.length > 0) MM_keepURL = MM_keepURL.substring(1);
if (MM_keepForm.length > 0) MM_keepForm = MM_keepForm.substring(1);
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "www.w3.org/TR/html4/loose.dtd">
<html><!-- InstanceBegin template="/Templates/wizard06.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<title>Wizard - Your Quality Office Products Supplier                     </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META name="Wizard.ie" content="Your Quality Office Products Supplier.">
<meta name="description" content="Wizard - Your Quality Office Products Supplier. Ireland's Premier Office Products Supplier.">
<meta name="keywords" content="wizard, office supplies, stationery, stationary, online ordering, online catalogue, safety & hygiene, pc media & accessories, postroom & packaging, quality office supplier, quality office products, clearance sale, special offers">
<meta name="Author" content="This site designed by Andy Bertaut for Wizard">
<meta name="Copyright" content="(C) 2006 Slevin-Group">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
background-color: #E1DFF4;
}
-->
</style>
<link href="../wiz.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">function mmLoadMenus() {
if (window.mm_menu_0103133907_0) return;
window.mm_menu_0103133907_0 = new Menu("root",181,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103133907_0.addMenuItem("Adhesives & Tapes","location='../asp/adhesives_tapes.asp'";
mm_menu_0103133907_0.addMenuItem("Artist & Graphic Supplies","location='../asp/artist_graphic.asp'";
mm_menu_0103133907_0.addMenuItem("Bespoke Printing","location='../asp/bespoke_print.asp'";
mm_menu_0103133907_0.addMenuItem("Books & Pads","location='../asp/books_pads.asp'";
mm_menu_0103133907_0.addMenuItem("Catering","location='../asp/catering.asp'";
mm_menu_0103133907_0.addMenuItem("Computer Accessories","location='../asp/computer_accessories.asp'";
mm_menu_0103133907_0.addMenuItem("Computer Hardware","location='../asp/computer_hardware.asp'";
mm_menu_0103133907_0.addMenuItem("Computer Media Supplies","location='../asp/computer_media_sup.asp'";
mm_menu_0103133907_0.fontWeight="bold";
mm_menu_0103133907_0.hideOnMouseOut=true;
mm_menu_0103133907_0.bgColor='#6A63CB';
mm_menu_0103133907_0.menuBorder=1;
mm_menu_0103133907_0.menuLiteBgColor='#6A63CB';
mm_menu_0103133907_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103151900_0 = new Menu("root",172,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103151900_0.addMenuItem("Desktop Accessories","location='../asp/desktop_accessories.asp'";
mm_menu_0103151900_0.addMenuItem("Envelopes","location='../asp/envelopes.asp'";
mm_menu_0103151900_0.addMenuItem("Files, Pockets & Binding","location='../asp/files_pockets_bind.asp'";
mm_menu_0103151900_0.addMenuItem("Furniture","location='../asp/furniture.asp'";
mm_menu_0103151900_0.fontWeight="bold";
mm_menu_0103151900_0.hideOnMouseOut=true;
mm_menu_0103151900_0.bgColor='#6A63CB';
mm_menu_0103151900_0.menuBorder=1;
mm_menu_0103151900_0.menuLiteBgColor='#6A63CB';
mm_menu_0103151900_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152132_0 = new Menu("root",182,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152132_0.addMenuItem("Janitorial","location='../asp/janitorial.asp'";
mm_menu_0103152132_0.addMenuItem("Labels","location='../asp/labels.asp'";
mm_menu_0103152132_0.addMenuItem("Legal & Personal Supplies","location='../asp/legal_personal.asp'";
mm_menu_0103152132_0.fontWeight="bold";
mm_menu_0103152132_0.hideOnMouseOut=true;
mm_menu_0103152132_0.bgColor='#6A63CB';
mm_menu_0103152132_0.menuBorder=1;
mm_menu_0103152132_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152132_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152215_0 = new Menu("root",170,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152215_0.addMenuItem("Mailroom Warehouse","location='../asp/mailroom_warehouse.asp'";
mm_menu_0103152215_0.addMenuItem("Office Envirnoment","location='../asp/office_env.asp'";
mm_menu_0103152215_0.addMenuItem("Office Machine Supplies","location='../asp/office _mach_supp.asp'";
mm_menu_0103152215_0.addMenuItem("Office Machines","location='../asp/office _mach.asp'";
mm_menu_0103152215_0.addMenuItem("Office Planning","location='../asp/office_planning.asp'";
mm_menu_0103152215_0.fontWeight="bold";
mm_menu_0103152215_0.hideOnMouseOut=true;
mm_menu_0103152215_0.bgColor='#6A63CB';
mm_menu_0103152215_0.menuBorder=1;
mm_menu_0103152215_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152215_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152326_0 = new Menu("root",221,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152326_0.addMenuItem("Paper","location='../asp/paper.asp'";
mm_menu_0103152326_0.addMenuItem("Personal Planning & Accessories","location='../asp/personal_plan_acc.asp'";
mm_menu_0103152326_0.addMenuItem("Presentation Equipment","location='../asp/presentation_equip.asp'";
mm_menu_0103152326_0.addMenuItem("Presentation Supplies","location='../asp/presentation_supp.asp'";
mm_menu_0103152326_0.addMenuItem("Printer/Fax/Copier/WP Supplies","location='../asp/printer_copier.asp'";
mm_menu_0103152326_0.fontWeight="bold";
mm_menu_0103152326_0.hideOnMouseOut=true;
mm_menu_0103152326_0.bgColor='#6A63CB';
mm_menu_0103152326_0.menuBorder=1;
mm_menu_0103152326_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152326_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152527_0 = new Menu("root",129,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152527_0.addMenuItem("Safety & Security","location='../asp/safety_sec.asp'";
mm_menu_0103152527_0.fontWeight="bold";
mm_menu_0103152527_0.hideOnMouseOut=true;
mm_menu_0103152527_0.bgColor='#6A63CB';
mm_menu_0103152527_0.menuBorder=1;
mm_menu_0103152527_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152527_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152559_0 = new Menu("root",159,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152559_0.addMenuItem("Wall & Notice Boards","location='../asp/wall_notice.asp'";
mm_menu_0103152559_0.addMenuItem("Writing Supplies","location='../asp/writing_supp.asp'";
mm_menu_0103152559_0.fontWeight="bold";
mm_menu_0103152559_0.hideOnMouseOut=true;
mm_menu_0103152559_0.bgColor='#6A63CB';
mm_menu_0103152559_0.menuBorder=1;
mm_menu_0103152559_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152559_0.menuBorderBgColor='#6A63CB';

window.mm_menu_0109142338_0 = new Menu("root",100,17,"Verdana, Arial, Helvetica, sans-serif",11,"#059EB0","#036A76","#E7EBEC","#FFFFFF","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0109142338_0.addMenuItem("No Products";
mm_menu_0109142338_0.fontWeight="bold";
mm_menu_0109142338_0.hideOnMouseOut=true;
mm_menu_0109142338_0.bgColor='#CCCCCC';
mm_menu_0109142338_0.menuBorder=1;
mm_menu_0109142338_0.menuLiteBgColor='#FFFFFF';
mm_menu_0109142338_0.menuBorderBgColor='#079DAE';

mm_menu_0109142338_0.writeMenus();
} // mmLoadMenus()

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#"!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--

function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape"&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?")>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function tmt_compareField(f1,f2,rule,errorMsg){ var myErr = ""; if(eval("MM_findObj('"+f1+"').value"+rule+"MM_findObj('"+f2+"').value"){ alert(unescape(errorMsg));myErr += 'errorMsg';} document.MM_returnValue = (myErr == "";}
//-->
</script>
<style type="text/css">
<!--
.smallboldfooter {font-family: Verdana,Arial,Helvetica; font-size: 10px; color: #999999;}
.smallnormal {font-family: Verdana,Arial,Helvetica; font-size: 10px; }
.buttonstyle {font-family: Verdana; font-size: 10px; font-weight: bold; color: white; background-color: #8888AA; }
.style1 {font-size: 16px}
.style2 {font-size: 12px}
-->
</style>
<script language="JavaScript" src="../mm_menu.js"></script>
</head>

<body>
<script language="JavaScript1.2">mmLoadMenus();</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100" valign="top" bgcolor="#3C349C"> </td>
<td width="375" align="left" valign="top"><img src="../images/banner_lrg.gif" alt="Wizard - Your Quality Office Products Supplier!" width="375" height="77"></td>
<td width="282" align="left" valign="top"><img src="../images/logo.gif" alt="Wizard - Your Quality Office Products Supplier" width="282" height="77"></td>
&lt;td align="left" valign="middle" style="filter<img src=../images/dmxzone/forum/icon_smile_tongue.gif border=0 align=middle>rogidXImageTransform.Microsoft.Gradient(startColorstr='#FCEE04', endColorstr='#FFFFFF', gradientType='1');" &gt;&lt;!-- #BeginLibraryItem "/Library/cart.lbi" --&gt;
&lt;table width="281" height="53" border="0" cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;
&lt;td colspan="2" rowspan="2" valign="bottom"&gt;&lt;div align="right"&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;/div&gt; &lt;div align="right"&gt;&lt;/div&gt; &lt;div align="right"&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td width="156" rowspan="2" valign="top"&gt;&lt;div align="right"&gt;&lt;/div&gt; &lt;div align="right"&gt;&lt;a href="shopping_cart.asp"&gt;&lt;img src="../images/cart.gif" alt="View Cart and Checkout" width="150" height="50" border="0"&gt;&lt;/a&gt;&lt;/div&gt; &lt;div align="right"&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td width="46" height="27" align="center" valign="middle"&gt;&lt;div align="right"&gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="46" align="center" valign="middle"&gt;&lt;div align="right"&gt; &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;!-- #EndLibraryItem --&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;br/&gt;
&lt;table width="990" height="615" border="0" cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;
&lt;td width="170" height="10" valign="top"&gt;&nbsp;&lt;/td&gt;
&lt;td width="820" height="10" valign="top"&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="170" height="539" valign="bottom"&gt;
&lt;!-- Navigation Section. --&gt;
&lt;div id="navdiv"&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" class="style1"&gt;Product Index &lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link17" id="link1" onMouseOver="MM_showMenu(window.mm_menu_0103133907_0,116,0,null,'link17')" onMouseOut="MM_startTimeout();"&gt;A - C&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link14" id="link3" onMouseOver="MM_showMenu(window.mm_menu_0103151900_0,116,0,null,'link14')" onMouseOut="MM_startTimeout();"&gt;D - F&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link4" id="link12" onMouseOver="MM_showMenu(window.mm_menu_0109142338_0,116,0,null,'link4')" onMouseOut="MM_startTimeout();"&gt;G - I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link2" id="link5" onMouseOver="MM_showMenu(window.mm_menu_0103152132_0,116,0,null,'link2')" onMouseOut="MM_startTimeout();"&gt;J - L&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link15" id="link7" onMouseOver="MM_showMenu(window.mm_menu_0103152215_0,116,0,null,'link15')" onMouseOut="MM_startTimeout();"&gt;M - O&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link6" id="link9" onMouseOver="MM_showMenu(window.mm_menu_0103152326_0,116,0,null,'link6')" onMouseOut="MM_startTimeout();"&gt;P - R&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link8" id="link11" onMouseOver="MM_showMenu(window.mm_menu_0103152527_0,116,0,null,'link8')" onMouseOut="MM_startTimeout();"&gt;S - U&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link10" id="link13" onMouseOver="MM_showMenu(window.mm_menu_0103152559_0,116,0,null,'link10')" onMouseOut="MM_startTimeout();"&gt;V - Z&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="quick_order.asp"&gt;Quick Order&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="terms_conditions.asp" class="style2"&gt;Terms & Conditions&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;!-- End Of Navigation Section --&gt;
&lt;/td&gt;
&lt;td align="left" valign="top"&gt;&lt;!-- InstanceBeginEditable name="EditRegion1" --&gt;
&lt;table width="700" border="0" cellspacing="0" cellpadding="0"&gt;
&lt;tr&gt;
&lt;td width="33%"&gt;&nbsp;&lt;/td&gt;
&lt;td width="33%" class="buttonstyle"&gt;&lt;div align="center"&gt;Paper&lt;/div&gt;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr valign="top"&gt;
&lt;td colspan="3"&gt;&lt;br/&gt;
&lt;table width="300" border="0" cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;
&lt;td width="50"&gt;&nbsp;&lt;/td&gt;
&lt;td id="login"&gt;&lt;A HREF="paperDT.asp?&lt;%= Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!=""?"&":"" + "ProductCode=" + rsPAPERA34.Fields.Item("ProductCode".Value %&gt;"&gt;A3/A4&lt;/A&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td id="login"&gt;&lt;A HREF="paperDT.asp?&lt;%= Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!=""?"&":"" + "ProductCode=" + rsPAPERINK.Fields.Item("ProductCode".Value %&gt;"&gt;Inkjet&lt;/A&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;Card&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;Listing Paper &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;Blotting Paper&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;Reprinted Stationery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;Scoial Stationery &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;Other&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;!-- InstanceEndEditable --&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr valign="bottom"&gt;
&lt;td colspan="2"&gt;
&lt;!-- Quick Nav Table --&gt;&lt;!-- #BeginLibraryItem "/Library/navtbl.lbi" --&gt;
&lt;link href="../wiz.css" rel="stylesheet" type="text/css"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
&lt;tr&gt;
&lt;td height="1" bgcolor="#000000"&gt;&lt;img src="../images/spacer.gif"&gt;&lt;/td
&gt;&lt;/tr&gt;
&lt;tr id="quicknav"&gt;
&lt;td height="20" align="center" valign="middle" id="quicknav" style="color:white;"&gt; &lt;a href="default.asp" id="quicknav"&gt;Home&lt;/a&gt;&nbsp;|&nbsp; &lt;a href="search.asp" id="quicknav"&gt;Search&lt;/a&gt;&nbsp;|&nbsp; &lt;a href="category_list.asp" id="quicknav"&gt;Categories&lt;/a&gt;&nbsp;|&nbsp; &lt;a href="shopping_cart.asp" id="quicknav"&gt;Shopping
Cart&lt;/a&gt; &nbsp;|&nbsp; &lt;a href="catalogue_request.asp" id="quicknav"&gt;Request
Catalogue&lt;/a&gt; &nbsp;|&nbsp;&lt;a href="quick_order.asp" id="quicknav"&gt;Quick Order &lt;/a&gt;&nbsp;|&nbsp;
&lt;a href="about_us.asp" target="_self" id="quicknav"&gt;About
Us&lt;/a&gt;&nbsp;|&nbsp; &lt;a href="contact_us.asp" target="_self" id="quicknav"&gt;Contact Us&lt;/a&gt; | &lt;a href="mailto: ?subject=I%20Wish%20To%20Report%20An%20Error" id="quicknav"&gt;Report Error &lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="1" bgcolor="#000000"&gt;&lt;img src="../images/spacer.gif"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align="center" valign="top" class="smallboldfooter"&gt;&copy;2005 Wizard
Direct&nbsp;&nbsp;FREEPHONE: 1800 923 200 &nbsp;&nbsp;FREEFAX: 1800 923
400 &lt;br&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;!-- #EndLibraryItem --&gt;&lt;!-- End Of Quick Nav Table --&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;iframe id="preview" name="preview" style="position:absolute; left:3px; top:400px; width:165px; height:115px; z-index:1;" scrolling="yes" src="cart_prv.asp"&gt;&nbsp;&lt;/iframe&gt;
&lt;/body&gt;
&lt;!-- InstanceEnd --&gt;&lt;/html&gt;
&lt;%
rsPAPERA34.Close();
%&gt;
&lt;%
rsPAPERINK.Close();
%&gt;


Code for paperDT.asp:
&lt;%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%&gt;
&lt;!--#include file="../WA_eCart/WA_eCart_Definition_JS.asp" --&gt;
&lt;!--#include file="../WA_eCart/Wizard_Cart_JS.asp" --&gt;
&lt;!--#include file="../Connections/connWIZARD06.asp" --&gt;
&lt;%
var rsPAPERINK = Server.CreateObject("ADODB.Recordset";
rsPAPERINK.ActiveConnection = MM_connWIZARD06_STRING;
rsPAPERINK.Source = "SELECT * FROM paper_injet";
rsPAPERINK.CursorType = 2;
rsPAPERINK.CursorLocation = 3;
rsPAPERINK.LockType = 1;
rsPAPERINK.Open();
var rsPAPERINK_numRows = 0;
%&gt;
&lt;%
var rsPAPERA34__MMColParam = "1";
if (String(Request.QueryString("ProductCode") != "undefined" &&
String(Request.QueryString("ProductCode") != "" {
rsPAPERA34__MMColParam = String(Request.QueryString("ProductCode");
}
%&gt;
&lt;%
var rsPAPERA34 = Server.CreateObject("ADODB.Recordset";
rsPAPERA34.ActiveConnection = MM_connWIZARD06_STRING;
rsPAPERA34.Source = "SELECT * FROM paper_a3_4 WHERE ProductCode LIKE '%"+ rsPAPERA34__MMColParam.replace(/'/g, "''" + "%'";
rsPAPERA34.CursorType = 0;
rsPAPERA34.CursorLocation = 2;
rsPAPERA34.LockType = 1;
rsPAPERA34.Open();
var rsPAPERA34_numRows = 0;
%&gt;
&lt;%
var Repeat2__numRows = 10;
var Repeat2__index = 0;
rsPAPERINK_numRows += Repeat2__numRows;
%&gt;
&lt;%
var Repeat1__numRows = 10;
var Repeat1__index = 0;
rsPAPERA34_numRows += Repeat1__numRows;
%&gt;
&lt;%
// WA eCart Redirect
if (Wizard_Cart_redirStr != "" {
Response.Redirect(Wizard_Cart_redirStr);
}
%&gt;
&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "www.w3.org/TR/html4/loose.dtd"&gt;
&lt;html&gt;&lt;!-- InstanceBegin template="/Templates/wizard06.dwt" codeOutsideHTMLIsLocked="false" --&gt;
&lt;head&gt;
&lt;title&gt;Wizard - Your Quality Office Products Supplier&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/title&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;
&lt;META name="Wizard.ie" content="Your Quality Office Products Supplier."&gt;
&lt;meta name="description" content="Wizard - Your Quality Office Products Supplier. Ireland's Premier Office Products Supplier."&gt;
&lt;meta name="keywords" content="wizard, office supplies, stationery, stationary, online ordering, online catalogue, safety & hygiene, pc media & accessories, postroom & packaging, quality office supplier, quality office products, clearance sale, special offers"&gt;
&lt;meta name="Author" content="This site designed by Andy Bertaut for Wizard"&gt;
&lt;meta name="Copyright" content="(C) 2006 Slevin-Group"&gt;
&lt;style type="text/css"&gt;
&lt;!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
background-color: #E1DFF4;
}
--&gt;
&lt;/style&gt;
&lt;link href="../wiz.css" rel="stylesheet" type="text/css"&gt;
&lt;script language="JavaScript" type="text/JavaScript"&gt;function mmLoadMenus() {
if (window.mm_menu_0103133907_0) return;
window.mm_menu_0103133907_0 = new Menu("root",181,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103133907_0.addMenuItem("Adhesives & Tapes","location='../asp/adhesives_tapes.asp'";
mm_menu_0103133907_0.addMenuItem("Artist & Graphic Supplies","location='../asp/artist_graphic.asp'";
mm_menu_0103133907_0.addMenuItem("Bespoke Printing","location='../asp/bespoke_print.asp'";
mm_menu_0103133907_0.addMenuItem("Books & Pads","location='../asp/books_pads.asp'";
mm_menu_0103133907_0.addMenuItem("Catering","location='../asp/catering.asp'";
mm_menu_0103133907_0.addMenuItem("Computer Accessories","location='../asp/computer_accessories.asp'";
mm_menu_0103133907_0.addMenuItem("Computer Hardware","location='../asp/computer_hardware.asp'";
mm_menu_0103133907_0.addMenuItem("Computer Media Supplies","location='../asp/computer_media_sup.asp'";
mm_menu_0103133907_0.fontWeight="bold";
mm_menu_0103133907_0.hideOnMouseOut=true;
mm_menu_0103133907_0.bgColor='#6A63CB';
mm_menu_0103133907_0.menuBorder=1;
mm_menu_0103133907_0.menuLiteBgColor='#6A63CB';
mm_menu_0103133907_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103151900_0 = new Menu("root",172,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103151900_0.addMenuItem("Desktop&nbsp;Accessories","location='../asp/desktop_accessories.asp'";
mm_menu_0103151900_0.addMenuItem("Envelopes","location='../asp/envelopes.asp'";
mm_menu_0103151900_0.addMenuItem("Files,&nbsp;Pockets&nbsp;&&nbsp;Binding","location='../asp/files_pockets_bind.asp'";
mm_menu_0103151900_0.addMenuItem("Furniture","location='../asp/furniture.asp'";
mm_menu_0103151900_0.fontWeight="bold";
mm_menu_0103151900_0.hideOnMouseOut=true;
mm_menu_0103151900_0.bgColor='#6A63CB';
mm_menu_0103151900_0.menuBorder=1;
mm_menu_0103151900_0.menuLiteBgColor='#6A63CB';
mm_menu_0103151900_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152132_0 = new Menu("root",182,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152132_0.addMenuItem("Janitorial","location='../asp/janitorial.asp'";
mm_menu_0103152132_0.addMenuItem("Labels","location='../asp/labels.asp'";
mm_menu_0103152132_0.addMenuItem("Legal&nbsp;&&nbsp;Personal&nbsp;Supplies","location='../asp/legal_personal.asp'";
mm_menu_0103152132_0.fontWeight="bold";
mm_menu_0103152132_0.hideOnMouseOut=true;
mm_menu_0103152132_0.bgColor='#6A63CB';
mm_menu_0103152132_0.menuBorder=1;
mm_menu_0103152132_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152132_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152215_0 = new Menu("root",170,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152215_0.addMenuItem("Mailroom&nbsp;Warehouse","location='../asp/mailroom_warehouse.asp'";
mm_menu_0103152215_0.addMenuItem("Office&nbsp;Envirnoment","location='../asp/office_env.asp'";
mm_menu_0103152215_0.addMenuItem("Office&nbsp;Machine&nbsp;Supplies","location='../asp/office _mach_supp.asp'";
mm_menu_0103152215_0.addMenuItem("Office&nbsp;Machines","location='../asp/office _mach.asp'";
mm_menu_0103152215_0.addMenuItem("Office&nbsp;Planning","location='../asp/office_planning.asp'";
mm_menu_0103152215_0.fontWeight="bold";
mm_menu_0103152215_0.hideOnMouseOut=true;
mm_menu_0103152215_0.bgColor='#6A63CB';
mm_menu_0103152215_0.menuBorder=1;
mm_menu_0103152215_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152215_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152326_0 = new Menu("root",221,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152326_0.addMenuItem("Paper","location='../asp/paper.asp'";
mm_menu_0103152326_0.addMenuItem("Personal&nbsp;Planning&nbsp;&&nbsp;Accessories","location='../asp/personal_plan_acc.asp'";
mm_menu_0103152326_0.addMenuItem("Presentation&nbsp;Equipment","location='../asp/presentation_equip.asp'";
mm_menu_0103152326_0.addMenuItem("Presentation&nbsp;Supplies","location='../asp/presentation_supp.asp'";
mm_menu_0103152326_0.addMenuItem("Printer/Fax/Copier/WP&nbsp;Supplies","location='../asp/printer_copier.asp'";
mm_menu_0103152326_0.fontWeight="bold";
mm_menu_0103152326_0.hideOnMouseOut=true;
mm_menu_0103152326_0.bgColor='#6A63CB';
mm_menu_0103152326_0.menuBorder=1;
mm_menu_0103152326_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152326_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152527_0 = new Menu("root",129,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152527_0.addMenuItem("Safety&nbsp;&&nbsp;Security","location='../asp/safety_sec.asp'";
mm_menu_0103152527_0.fontWeight="bold";
mm_menu_0103152527_0.hideOnMouseOut=true;
mm_menu_0103152527_0.bgColor='#6A63CB';
mm_menu_0103152527_0.menuBorder=1;
mm_menu_0103152527_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152527_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152559_0 = new Menu("root",159,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152559_0.addMenuItem("Wall&nbsp;&&nbsp;Notice&nbsp;Boards","location='../asp/wall_notice.asp'";
mm_menu_0103152559_0.addMenuItem("Writing&nbsp;Supplies","location='../asp/writing_supp.asp'";
mm_menu_0103152559_0.fontWeight="bold";
mm_menu_0103152559_0.hideOnMouseOut=true;
mm_menu_0103152559_0.bgColor='#6A63CB';
mm_menu_0103152559_0.menuBorder=1;
mm_menu_0103152559_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152559_0.menuBorderBgColor='#6A63CB';

window.mm_menu_0109142338_0 = new Menu("root",100,17,"Verdana, Arial, Helvetica, sans-serif",11,"#059EB0","#036A76","#E7EBEC","#FFFFFF","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0109142338_0.addMenuItem("No&nbsp;Products";
mm_menu_0109142338_0.fontWeight="bold";
mm_menu_0109142338_0.hideOnMouseOut=true;
mm_menu_0109142338_0.bgColor='#CCCCCC';
mm_menu_0109142338_0.menuBorder=1;
mm_menu_0109142338_0.menuLiteBgColor='#FFFFFF';
mm_menu_0109142338_0.menuBorderBgColor='#079DAE';

mm_menu_0109142338_0.writeMenus();
} // mmLoadMenus()

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i&lt;a.length; i++)
if (a[i].indexOf("#"!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//--&gt;
&lt;/script&gt;
&lt;script language="JavaScript" type="text/JavaScript"&gt;
&lt;!--

function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape"&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?")&gt;0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i&lt;d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i&lt;d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function tmt_compareField(f1,f2,rule,errorMsg){ var myErr = ""; if(eval("MM_findObj('"+f1+"').value"+rule+"MM_findObj('"+f2+"').value"){ alert(unescape(errorMsg));myErr += 'errorMsg';} document.MM_returnValue = (myErr == "";}
//--&gt;
&lt;/script&gt;
&lt;style type="text/css"&gt;
&lt;!--
.smallboldfooter {font-family: Verdana,Arial,Helvetica; font-size: 10px; color: #999999;}
.smallnormal {font-family: Verdana,Arial,Helvetica; font-size: 10px; }
.buttonstyle {font-family: Verdana; font-size: 10px; font-weight: bold; color: white; background-color: #8888AA; }
.style1 {font-size: 16px}
.style2 {font-size: 12px}
--&gt;
&lt;/style&gt;
&lt;script language="JavaScript" src="../mm_menu.js"&gt;&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;script language="JavaScript1.2"&gt;mmLoadMenus();&lt;/script&gt;
&lt;table width="100%" border="0" cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;
&lt;td width="100" valign="top" bgcolor="#3C349C"&gt;&nbsp;&lt;/td&gt;
&lt;td width="375" align="left" valign="top"&gt;&lt;img src="../images/banner_lrg.gif" alt="Wizard - Your Quality Office Products Supplier!" width="375" height="77"&gt;&lt;/td&gt;
&lt;td width="282" align="left" valign="top"&gt;&lt;img src="../images/logo.gif" alt="Wizard - Your Quality Office Products Supplier" width="282" height="77"&gt;&lt;/td&gt;
&lt;td align="left" valign="middle" style="filter<img src=../images/dmxzone/forum/icon_smile_tongue.gif border=0 align=middle>rogidXImageTransform.Microsoft.Gradient(startColorstr='#FCEE04', endColorstr='#FFFFFF', gradientType='1');" &gt;&lt;!-- #BeginLibraryItem "/Library/cart.lbi" --&gt;
&lt;table width="281" height="53" border="0" cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;
&lt;td colspan="2" rowspan="2" valign="bottom"&gt;&lt;div align="right"&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;/div&gt; &lt;div align="right"&gt;&lt;/div&gt; &lt;div align="right"&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td width="156" rowspan="2" valign="top"&gt;&lt;div align="right"&gt;&lt;/div&gt; &lt;div align="right"&gt;&lt;a href="shopping_cart.asp"&gt;&lt;img src="../images/cart.gif" alt="View Cart and Checkout" width="150" height="50" border="0"&gt;&lt;/a&gt;&lt;/div&gt; &lt;div align="right"&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td width="46" height="27" align="center" valign="middle"&gt;&lt;div align="right"&gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="46" align="center" valign="middle"&gt;&lt;div align="right"&gt; &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;!-- #EndLibraryItem --&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;br/&gt;
&lt;table width="990" height="615" border="0" cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;
&lt;td width="170" height="10" valign="top"&gt;&nbsp;&lt;/td&gt;
&lt;td width="820" height="10" valign="top"&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="170" height="539" valign="bottom"&gt;
&lt;!-- Navigation Section. --&gt;
&lt;div id="navdiv"&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" class="style1"&gt;Product Index &lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link17" id="link1" onMouseOver="MM_showMenu(window.mm_menu_0103133907_0,116,0,null,'link17')" onMouseOut="MM_startTimeout();"&gt;A - C&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link14" id="link3" onMouseOver="MM_showMenu(window.mm_menu_0103151900_0,116,0,null,'link14')" onMouseOut="MM_startTimeout();"&gt;D - F&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link4" id="link12" onMouseOver="MM_showMenu(window.mm_menu_0109142338_0,116,0,null,'link4')" onMouseOut="MM_startTimeout();"&gt;G - I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link2" id="link5" onMouseOver="MM_showMenu(window.mm_menu_0103152132_0,116,0,null,'link2')" onMouseOut="MM_startTimeout();"&gt;J - L&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link15" id="link7" onMouseOver="MM_showMenu(window.mm_menu_0103152215_0,116,0,null,'link15')" onMouseOut="MM_startTimeout();"&gt;M - O&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link6" id="link9" onMouseOver="MM_showMenu(window.mm_menu_0103152326_0,116,0,null,'link6')" onMouseOut="MM_startTimeout();"&gt;P - R&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link8" id="link11" onMouseOver="MM_showMenu(window.mm_menu_0103152527_0,116,0,null,'link8')" onMouseOut="MM_startTimeout();"&gt;S - U&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link10" id="link13" onMouseOver="MM_showMenu(window.mm_menu_0103152559_0,116,0,null,'link10')" onMouseOut="MM_startTimeout();"&gt;V - Z&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="quick_order.asp"&gt;Quick Order&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="terms_conditions.asp" class="style2"&gt;Terms & Conditions&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;!-- End Of Navigation Section --&gt;
&lt;/td&gt;
&lt;td align="left" valign="top"&gt;&lt;!-- InstanceBeginEditable name="EditRegion1" --&gt;
&lt;% if (!rsPAPERINK.EOF || !rsPAPERINK.BOF) { %&gt;
&lt;% while ((Repeat2__numRows-- != 0) && (!rsPAPERINK.EOF)) { %&gt;
&lt;table width="650" border="0" cellspacing="0" cellpadding="0"&gt;
&lt;tr&gt;
&lt;td width="80" rowspan="5"&gt;&lt;img src="&lt;%=(rsPAPERINK.Fields.Item("Expr1".Value)%&gt;" width="80" height="80"&gt;&lt;/td&gt;
&lt;td colspan="4" class="buttonstyle"&gt;&lt;%=(rsPAPERINK.Fields.Item("Description".Value)%&gt;&lt;/td&gt;
&lt;td width="170"&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr id="maintbl"&gt;
&lt;td width="100"&gt;Product Code &lt;/td&gt;
&lt;td width="100"&gt;&lt;%=(rsPAPERINK.Fields.Item("ProductCode".Value)%&gt;&lt;/td&gt;
&lt;td width="100"&gt;Price&lt;/td&gt;
&lt;td width="100"&gt;&lt;%=(rsPAPERINK.Fields.Item("Expr2".Value)%&gt;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;%
Repeat2__index++;
rsPAPERINK.MoveNext();
}
%&gt;
&lt;% } // end !rsPAPERINK.EOF || !rsPAPERINK.BOF %&gt;
&lt;% if (!rsPAPERA34.EOF || !rsPAPERA34.BOF) { %&gt;
&lt;% while ((Repeat1__numRows-- != 0) && (!rsPAPERA34.EOF)) { %&gt;
&lt;table width="650" border="0" cellspacing="0" cellpadding="0"&gt;
&lt;tr&gt;
&lt;td width="80" rowspan="5"&gt;&lt;img src="&lt;%=(rsPAPERA34.Fields.Item("Expr2".Value)%&gt;" width="80" height="80"&gt;&lt;/td&gt;
&lt;td colspan="4" class="buttonstyle"&gt;&lt;%=(rsPAPERA34.Fields.Item("Description".Value)%&gt;&lt;/td&gt;
&lt;td width="170"&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr id="maintbl"&gt;
&lt;td width="100"&gt;Product Code &lt;/td&gt;
&lt;td width="100"&gt;&lt;%=(rsPAPERA34.Fields.Item("ProductCode".Value)%&gt;&lt;/td&gt;
&lt;td width="100"&gt;Price&lt;/td&gt;
&lt;td width="100"&gt;&lt;%=(rsPAPERA34.Fields.Item("Expr2".Value)%&gt;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;%
Repeat1__index++;
rsPAPERA34.MoveNext();
}
%&gt;
&lt;% } // end !rsPAPERA34.EOF || !rsPAPERA34.BOF %&gt;
&lt;!-- InstanceEndEditable --&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr valign="bottom"&gt;
&lt;td colspan="2"&gt;
&lt;!-- Quick Nav Table --&gt;&lt;!-- #BeginLibraryItem "/Library/navtbl.lbi" --&gt;
&lt;link href="../wiz.css" rel="stylesheet" type="text/css"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
&lt;tr&gt;
&lt;td height="1" bgcolor="#000000"&gt;&lt;img src="../images/spacer.gif"&gt;&lt;/td
&gt;&lt;/tr&gt;
&lt;tr id="quicknav"&gt;
&lt;td height="20" align="center" valign="middle" id="quicknav" style="color:white;"&gt; &lt;a href="default.asp" id="quicknav"&gt;Home&lt;/a&gt;&nbsp;|&nbsp; &lt;a href="search.asp" id="quicknav"&gt;Search&lt;/a&gt;&nbsp;|&nbsp; &lt;a href="category_list.asp" id="quicknav"&gt;Categories&lt;/a&gt;&nbsp;|&nbsp; &lt;a href="shopping_cart.asp" id="quicknav"&gt;Shopping
Cart&lt;/a&gt; &nbsp;|&nbsp; &lt;a href="catalogue_request.asp" id="quicknav"&gt;Request
Catalogue&lt;/a&gt; &nbsp;|&nbsp;&lt;a href="quick_order.asp" id="quicknav"&gt;Quick Order &lt;/a&gt;&nbsp;|&nbsp;
&lt;a href="about_us.asp" target="_self" id="quicknav"&gt;About
Us&lt;/a&gt;&nbsp;|&nbsp; &lt;a href="contact_us.asp" target="_self" id="quicknav"&gt;Contact Us&lt;/a&gt; | &lt;a href="mailto: ?subject=I%20Wish%20To%20Report%20An%20Error" id="quicknav"&gt;Report Error &lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="1" bgcolor="#000000"&gt;&lt;img src="../images/spacer.gif"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align="center" valign="top" class="smallboldfooter"&gt;&copy;2005 Wizard
Direct&nbsp;&nbsp;FREEPHONE: 1800 923 200 &nbsp;&nbsp;FREEFAX: 1800 923
400 &lt;br&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;!-- #EndLibraryItem --&gt;&lt;!-- End Of Quick Nav Table --&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;iframe id="preview" name="preview" style="position:absolute; left:3px; top:400px; width:165px; height:115px; z-index:1;" scrolling="yes" src="cart_prv.asp"&gt;&nbsp;&lt;/iframe&gt;
&lt;/body&gt;
&lt;!-- InstanceEnd --&gt;&lt;/html&gt;
&lt;%
rsPAPERINK.Close();
%&gt;
&lt;%
rsPAPERA34.Close();
%&gt;

Andy help would be great....Thanks

Replies

Replied 23 Jan 2006 17:31:45
23 Jan 2006 17:31:45 andy bertaut replied:
UPDATE::
I noticed i didnt have my recordsets filtered, so i set some filtering on them and now only one of each product is sowing on paperDT.asp, instead of the 10 i set in the repeat region. Code below. I know I have my filtering set to "contains" instead of "equals" for product code, but this is a long standing issue I have with Equals not workign properly, and Contains usually does.

paper.asp:
&lt;%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%&gt;
&lt;!--#include file="../Connections/connWIZARD06.asp" --&gt;
&lt;%
var rsPAPERA34 = Server.CreateObject("ADODB.Recordset";
rsPAPERA34.ActiveConnection = MM_connWIZARD06_STRING;
rsPAPERA34.Source = "SELECT * FROM paper_a3_4";
rsPAPERA34.CursorType = 0;
rsPAPERA34.CursorLocation = 2;
rsPAPERA34.LockType = 1;
rsPAPERA34.Open();
var rsPAPERA34_numRows = 0;
%&gt;
&lt;%
var rsPAPERINK = Server.CreateObject("ADODB.Recordset";
rsPAPERINK.ActiveConnection = MM_connWIZARD06_STRING;
rsPAPERINK.Source = "SELECT * FROM paper_injet";
rsPAPERINK.CursorType = 0;
rsPAPERINK.CursorLocation = 2;
rsPAPERINK.LockType = 1;
rsPAPERINK.Open();
var rsPAPERINK_numRows = 0;
%&gt;
&lt;% var MM_paramName = ""; %&gt;
&lt;%
// *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters

// create the list of parameters which should not be maintained
var MM_removeList = "&index=";
if (MM_paramName != "" MM_removeList += "&" + MM_paramName.toLowerCase() + "=";
var MM_keepURL="",MM_keepForm="",MM_keepBoth="",MM_keepNone="";

// add the URL parameters to the MM_keepURL string
for (var items=new Enumerator(Request.QueryString); !items.atEnd(); items.moveNext()) {
var nextItem = "&" + items.item().toLowerCase() + "=";
if (MM_removeList.indexOf(nextItem) == -1) {
MM_keepURL += "&" + items.item() + "=" + Server.URLencode(Request.QueryString(items.item()));
}
}

// add the Form variables to the MM_keepForm string
for (var items=new Enumerator(Request.Form); !items.atEnd(); items.moveNext()) {
var nextItem = "&" + items.item().toLowerCase() + "=";
if (MM_removeList.indexOf(nextItem) == -1) {
MM_keepForm += "&" + items.item() + "=" + Server.URLencode(Request.Form(items.item()));
}
}

// create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL + MM_keepForm;
if (MM_keepBoth.length &gt; 0) MM_keepBoth = MM_keepBoth.substring(1);
if (MM_keepURL.length &gt; 0) MM_keepURL = MM_keepURL.substring(1);
if (MM_keepForm.length &gt; 0) MM_keepForm = MM_keepForm.substring(1);
%&gt;
&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "www.w3.org/TR/html4/loose.dtd"&gt;
&lt;html&gt;&lt;!-- InstanceBegin template="/Templates/wizard06.dwt" codeOutsideHTMLIsLocked="false" --&gt;
&lt;head&gt;
&lt;title&gt;Wizard - Your Quality Office Products Supplier&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/title&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;
&lt;META name="Wizard.ie" content="Your Quality Office Products Supplier."&gt;
&lt;meta name="description" content="Wizard - Your Quality Office Products Supplier. Ireland's Premier Office Products Supplier."&gt;
&lt;meta name="keywords" content="wizard, office supplies, stationery, stationary, online ordering, online catalogue, safety & hygiene, pc media & accessories, postroom & packaging, quality office supplier, quality office products, clearance sale, special offers"&gt;
&lt;meta name="Author" content="This site designed by Andy Bertaut for Wizard"&gt;
&lt;meta name="Copyright" content="(C) 2006 Slevin-Group"&gt;
&lt;style type="text/css"&gt;
&lt;!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
background-color: #E1DFF4;
}
--&gt;
&lt;/style&gt;
&lt;link href="../wiz.css" rel="stylesheet" type="text/css"&gt;
&lt;script language="JavaScript" type="text/JavaScript"&gt;function mmLoadMenus() {
if (window.mm_menu_0103133907_0) return;
window.mm_menu_0103133907_0 = new Menu("root",181,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103133907_0.addMenuItem("Adhesives & Tapes","location='../asp/adhesives_tapes.asp'";
mm_menu_0103133907_0.addMenuItem("Artist & Graphic Supplies","location='../asp/artist_graphic.asp'";
mm_menu_0103133907_0.addMenuItem("Bespoke Printing","location='../asp/bespoke_print.asp'";
mm_menu_0103133907_0.addMenuItem("Books & Pads","location='../asp/books_pads.asp'";
mm_menu_0103133907_0.addMenuItem("Catering","location='../asp/catering.asp'";
mm_menu_0103133907_0.addMenuItem("Computer Accessories","location='../asp/computer_accessories.asp'";
mm_menu_0103133907_0.addMenuItem("Computer Hardware","location='../asp/computer_hardware.asp'";
mm_menu_0103133907_0.addMenuItem("Computer Media Supplies","location='../asp/computer_media_sup.asp'";
mm_menu_0103133907_0.fontWeight="bold";
mm_menu_0103133907_0.hideOnMouseOut=true;
mm_menu_0103133907_0.bgColor='#6A63CB';
mm_menu_0103133907_0.menuBorder=1;
mm_menu_0103133907_0.menuLiteBgColor='#6A63CB';
mm_menu_0103133907_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103151900_0 = new Menu("root",172,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103151900_0.addMenuItem("Desktop&nbsp;Accessories","location='../asp/desktop_accessories.asp'";
mm_menu_0103151900_0.addMenuItem("Envelopes","location='../asp/envelopes.asp'";
mm_menu_0103151900_0.addMenuItem("Files,&nbsp;Pockets&nbsp;&&nbsp;Binding","location='../asp/files_pockets_bind.asp'";
mm_menu_0103151900_0.addMenuItem("Furniture","location='../asp/furniture.asp'";
mm_menu_0103151900_0.fontWeight="bold";
mm_menu_0103151900_0.hideOnMouseOut=true;
mm_menu_0103151900_0.bgColor='#6A63CB';
mm_menu_0103151900_0.menuBorder=1;
mm_menu_0103151900_0.menuLiteBgColor='#6A63CB';
mm_menu_0103151900_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152132_0 = new Menu("root",182,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152132_0.addMenuItem("Janitorial","location='../asp/janitorial.asp'";
mm_menu_0103152132_0.addMenuItem("Labels","location='../asp/labels.asp'";
mm_menu_0103152132_0.addMenuItem("Legal&nbsp;&&nbsp;Personal&nbsp;Supplies","location='../asp/legal_personal.asp'";
mm_menu_0103152132_0.fontWeight="bold";
mm_menu_0103152132_0.hideOnMouseOut=true;
mm_menu_0103152132_0.bgColor='#6A63CB';
mm_menu_0103152132_0.menuBorder=1;
mm_menu_0103152132_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152132_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152215_0 = new Menu("root",170,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152215_0.addMenuItem("Mailroom&nbsp;Warehouse","location='../asp/mailroom_warehouse.asp'";
mm_menu_0103152215_0.addMenuItem("Office&nbsp;Envirnoment","location='../asp/office_env.asp'";
mm_menu_0103152215_0.addMenuItem("Office&nbsp;Machine&nbsp;Supplies","location='../asp/office _mach_supp.asp'";
mm_menu_0103152215_0.addMenuItem("Office&nbsp;Machines","location='../asp/office _mach.asp'";
mm_menu_0103152215_0.addMenuItem("Office&nbsp;Planning","location='../asp/office_planning.asp'";
mm_menu_0103152215_0.fontWeight="bold";
mm_menu_0103152215_0.hideOnMouseOut=true;
mm_menu_0103152215_0.bgColor='#6A63CB';
mm_menu_0103152215_0.menuBorder=1;
mm_menu_0103152215_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152215_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152326_0 = new Menu("root",221,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152326_0.addMenuItem("Paper","location='../asp/paper.asp'";
mm_menu_0103152326_0.addMenuItem("Personal&nbsp;Planning&nbsp;&&nbsp;Accessories","location='../asp/personal_plan_acc.asp'";
mm_menu_0103152326_0.addMenuItem("Presentation&nbsp;Equipment","location='../asp/presentation_equip.asp'";
mm_menu_0103152326_0.addMenuItem("Presentation&nbsp;Supplies","location='../asp/presentation_supp.asp'";
mm_menu_0103152326_0.addMenuItem("Printer/Fax/Copier/WP&nbsp;Supplies","location='../asp/printer_copier.asp'";
mm_menu_0103152326_0.fontWeight="bold";
mm_menu_0103152326_0.hideOnMouseOut=true;
mm_menu_0103152326_0.bgColor='#6A63CB';
mm_menu_0103152326_0.menuBorder=1;
mm_menu_0103152326_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152326_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152527_0 = new Menu("root",129,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152527_0.addMenuItem("Safety&nbsp;&&nbsp;Security","location='../asp/safety_sec.asp'";
mm_menu_0103152527_0.fontWeight="bold";
mm_menu_0103152527_0.hideOnMouseOut=true;
mm_menu_0103152527_0.bgColor='#6A63CB';
mm_menu_0103152527_0.menuBorder=1;
mm_menu_0103152527_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152527_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152559_0 = new Menu("root",159,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152559_0.addMenuItem("Wall&nbsp;&&nbsp;Notice&nbsp;Boards","location='../asp/wall_notice.asp'";
mm_menu_0103152559_0.addMenuItem("Writing&nbsp;Supplies","location='../asp/writing_supp.asp'";
mm_menu_0103152559_0.fontWeight="bold";
mm_menu_0103152559_0.hideOnMouseOut=true;
mm_menu_0103152559_0.bgColor='#6A63CB';
mm_menu_0103152559_0.menuBorder=1;
mm_menu_0103152559_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152559_0.menuBorderBgColor='#6A63CB';

window.mm_menu_0109142338_0 = new Menu("root",100,17,"Verdana, Arial, Helvetica, sans-serif",11,"#059EB0","#036A76","#E7EBEC","#FFFFFF","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0109142338_0.addMenuItem("No&nbsp;Products";
mm_menu_0109142338_0.fontWeight="bold";
mm_menu_0109142338_0.hideOnMouseOut=true;
mm_menu_0109142338_0.bgColor='#CCCCCC';
mm_menu_0109142338_0.menuBorder=1;
mm_menu_0109142338_0.menuLiteBgColor='#FFFFFF';
mm_menu_0109142338_0.menuBorderBgColor='#079DAE';

mm_menu_0109142338_0.writeMenus();
} // mmLoadMenus()

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i&lt;a.length; i++)
if (a[i].indexOf("#"!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//--&gt;
&lt;/script&gt;
&lt;script language="JavaScript" type="text/JavaScript"&gt;
&lt;!--

function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape"&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?")&gt;0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i&lt;d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i&lt;d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function tmt_compareField(f1,f2,rule,errorMsg){ var myErr = ""; if(eval("MM_findObj('"+f1+"').value"+rule+"MM_findObj('"+f2+"').value"){ alert(unescape(errorMsg));myErr += 'errorMsg';} document.MM_returnValue = (myErr == "";}
//--&gt;
&lt;/script&gt;
&lt;style type="text/css"&gt;
&lt;!--
.smallboldfooter {font-family: Verdana,Arial,Helvetica; font-size: 10px; color: #999999;}
.smallnormal {font-family: Verdana,Arial,Helvetica; font-size: 10px; }
.buttonstyle {font-family: Verdana; font-size: 10px; font-weight: bold; color: white; background-color: #8888AA; }
.style1 {font-size: 16px}
.style2 {font-size: 12px}
--&gt;
&lt;/style&gt;
&lt;script language="JavaScript" src="../mm_menu.js"&gt;&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;script language="JavaScript1.2"&gt;mmLoadMenus();&lt;/script&gt;
&lt;table width="100%" border="0" cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;
&lt;td width="100" valign="top" bgcolor="#3C349C"&gt;&nbsp;&lt;/td&gt;
&lt;td width="375" align="left" valign="top"&gt;&lt;img src="../images/banner_lrg.gif" alt="Wizard - Your Quality Office Products Supplier!" width="375" height="77"&gt;&lt;/td&gt;
&lt;td width="282" align="left" valign="top"&gt;&lt;img src="../images/logo.gif" alt="Wizard - Your Quality Office Products Supplier" width="282" height="77"&gt;&lt;/td&gt;
&lt;td align="left" valign="middle" style="filter<img src=../images/dmxzone/forum/icon_smile_tongue.gif border=0 align=middle>rogidXImageTransform.Microsoft.Gradient(startColorstr='#FCEE04', endColorstr='#FFFFFF', gradientType='1');" &gt;&lt;!-- #BeginLibraryItem "/Library/cart.lbi" --&gt;
&lt;table width="281" height="53" border="0" cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;
&lt;td colspan="2" rowspan="2" valign="bottom"&gt;&lt;div align="right"&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;/div&gt; &lt;div align="right"&gt;&lt;/div&gt; &lt;div align="right"&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td width="156" rowspan="2" valign="top"&gt;&lt;div align="right"&gt;&lt;/div&gt; &lt;div align="right"&gt;&lt;a href="shopping_cart.asp"&gt;&lt;img src="../images/cart.gif" alt="View Cart and Checkout" width="150" height="50" border="0"&gt;&lt;/a&gt;&lt;/div&gt; &lt;div align="right"&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td width="46" height="27" align="center" valign="middle"&gt;&lt;div align="right"&gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="46" align="center" valign="middle"&gt;&lt;div align="right"&gt; &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;!-- #EndLibraryItem --&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;br/&gt;
&lt;table width="990" height="615" border="0" cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;
&lt;td width="170" height="10" valign="top"&gt;&nbsp;&lt;/td&gt;
&lt;td width="820" height="10" valign="top"&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="170" height="539" valign="bottom"&gt;
&lt;!-- Navigation Section. --&gt;
&lt;div id="navdiv"&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" class="style1"&gt;Product Index &lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link17" id="link1" onMouseOver="MM_showMenu(window.mm_menu_0103133907_0,116,0,null,'link17')" onMouseOut="MM_startTimeout();"&gt;A - C&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link14" id="link3" onMouseOver="MM_showMenu(window.mm_menu_0103151900_0,116,0,null,'link14')" onMouseOut="MM_startTimeout();"&gt;D - F&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link4" id="link12" onMouseOver="MM_showMenu(window.mm_menu_0109142338_0,116,0,null,'link4')" onMouseOut="MM_startTimeout();"&gt;G - I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link2" id="link5" onMouseOver="MM_showMenu(window.mm_menu_0103152132_0,116,0,null,'link2')" onMouseOut="MM_startTimeout();"&gt;J - L&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link15" id="link7" onMouseOver="MM_showMenu(window.mm_menu_0103152215_0,116,0,null,'link15')" onMouseOut="MM_startTimeout();"&gt;M - O&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link6" id="link9" onMouseOver="MM_showMenu(window.mm_menu_0103152326_0,116,0,null,'link6')" onMouseOut="MM_startTimeout();"&gt;P - R&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link8" id="link11" onMouseOver="MM_showMenu(window.mm_menu_0103152527_0,116,0,null,'link8')" onMouseOut="MM_startTimeout();"&gt;S - U&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link10" id="link13" onMouseOver="MM_showMenu(window.mm_menu_0103152559_0,116,0,null,'link10')" onMouseOut="MM_startTimeout();"&gt;V - Z&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="quick_order.asp"&gt;Quick Order&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="terms_conditions.asp" class="style2"&gt;Terms & Conditions&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;!-- End Of Navigation Section --&gt;
&lt;/td&gt;
&lt;td align="left" valign="top"&gt;&lt;!-- InstanceBeginEditable name="EditRegion1" --&gt;
&lt;table width="700" border="0" cellspacing="0" cellpadding="0"&gt;
&lt;tr&gt;
&lt;td width="33%"&gt;&nbsp;&lt;/td&gt;
&lt;td width="33%" class="buttonstyle"&gt;&lt;div align="center"&gt;Paper&lt;/div&gt;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr valign="top"&gt;
&lt;td colspan="3"&gt;&lt;br/&gt;
&lt;table width="300" border="0" cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;
&lt;td width="50"&gt;&nbsp;&lt;/td&gt;
&lt;td id="login"&gt;&lt;A HREF="paperDT.asp?&lt;%= Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!=""?"&":"" + "ProductCode=" + rsPAPERA34.Fields.Item("ProductCode".Value %&gt;"&gt;A3/A4&lt;/A&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td id="login"&gt;&lt;A HREF="paperDT.asp?&lt;%= Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!=""?"&":"" + "ProductCode=" + rsPAPERINK.Fields.Item("ProductCode".Value %&gt;"&gt;Inkjet&lt;/A&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;Card&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;Listing Paper &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;Blotting Paper&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;Reprinted Stationery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;Scoial Stationery &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;Other&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;!-- InstanceEndEditable --&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr valign="bottom"&gt;
&lt;td colspan="2"&gt;
&lt;!-- Quick Nav Table --&gt;&lt;!-- #BeginLibraryItem "/Library/navtbl.lbi" --&gt;
&lt;link href="../wiz.css" rel="stylesheet" type="text/css"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
&lt;tr&gt;
&lt;td height="1" bgcolor="#000000"&gt;&lt;img src="../images/spacer.gif"&gt;&lt;/td
&gt;&lt;/tr&gt;
&lt;tr id="quicknav"&gt;
&lt;td height="20" align="center" valign="middle" id="quicknav" style="color:white;"&gt; &lt;a href="default.asp" id="quicknav"&gt;Home&lt;/a&gt;&nbsp;|&nbsp; &lt;a href="search.asp" id="quicknav"&gt;Search&lt;/a&gt;&nbsp;|&nbsp; &lt;a href="category_list.asp" id="quicknav"&gt;Categories&lt;/a&gt;&nbsp;|&nbsp; &lt;a href="shopping_cart.asp" id="quicknav"&gt;Shopping
Cart&lt;/a&gt; &nbsp;|&nbsp; &lt;a href="catalogue_request.asp" id="quicknav"&gt;Request
Catalogue&lt;/a&gt; &nbsp;|&nbsp;&lt;a href="quick_order.asp" id="quicknav"&gt;Quick Order &lt;/a&gt;&nbsp;|&nbsp;
&lt;a href="about_us.asp" target="_self" id="quicknav"&gt;About
Us&lt;/a&gt;&nbsp;|&nbsp; &lt;a href="contact_us.asp" target="_self" id="quicknav"&gt;Contact Us&lt;/a&gt; | &lt;a href="mailto: ?subject=I%20Wish%20To%20Report%20An%20Error" id="quicknav"&gt;Report Error &lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="1" bgcolor="#000000"&gt;&lt;img src="../images/spacer.gif"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align="center" valign="top" class="smallboldfooter"&gt;&copy;2005 Wizard
Direct&nbsp;&nbsp;FREEPHONE: 1800 923 200 &nbsp;&nbsp;FREEFAX: 1800 923
400 &lt;br&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;!-- #EndLibraryItem --&gt;&lt;!-- End Of Quick Nav Table --&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;iframe id="preview" name="preview" style="position:absolute; left:3px; top:400px; width:165px; height:115px; z-index:1;" scrolling="yes" src="cart_prv.asp"&gt;&nbsp;&lt;/iframe&gt;
&lt;/body&gt;
&lt;!-- InstanceEnd --&gt;&lt;/html&gt;
&lt;%
rsPAPERA34.Close();
%&gt;
&lt;%
rsPAPERINK.Close();
%&gt;


paperDT.asp:
&lt;%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%&gt;
&lt;!--#include file="../WA_eCart/WA_eCart_Definition_JS.asp" --&gt;
&lt;!--#include file="../WA_eCart/Wizard_Cart_JS.asp" --&gt;
&lt;!--#include file="../Connections/connWIZARD06.asp" --&gt;
&lt;%
var rsPAPERINK__MMColParam = "1";
if (String(Request.QueryString("ProductCode") != "undefined" &&
String(Request.QueryString("ProductCode") != "" {
rsPAPERINK__MMColParam = String(Request.QueryString("ProductCode");
}
%&gt;
&lt;%
var rsPAPERINK = Server.CreateObject("ADODB.Recordset";
rsPAPERINK.ActiveConnection = MM_connWIZARD06_STRING;
rsPAPERINK.Source = "SELECT * FROM paper_injet WHERE ProductCode LIKE '%"+ rsPAPERINK__MMColParam.replace(/'/g, "''" + "%'";
rsPAPERINK.CursorType = 2;
rsPAPERINK.CursorLocation = 3;
rsPAPERINK.LockType = 1;
rsPAPERINK.Open();
var rsPAPERINK_numRows = 0;
%&gt;
&lt;%
var rsPAPERA34__MMColParam = "1";
if (String(Request.QueryString("ProductCode") != "undefined" &&
String(Request.QueryString("ProductCode") != "" {
rsPAPERA34__MMColParam = String(Request.QueryString("ProductCode");
}
%&gt;
&lt;%
var rsPAPERA34 = Server.CreateObject("ADODB.Recordset";
rsPAPERA34.ActiveConnection = MM_connWIZARD06_STRING;
rsPAPERA34.Source = "SELECT * FROM paper_a3_4 WHERE ProductCode LIKE '%"+ rsPAPERA34__MMColParam.replace(/'/g, "''" + "%'";
rsPAPERA34.CursorType = 0;
rsPAPERA34.CursorLocation = 2;
rsPAPERA34.LockType = 1;
rsPAPERA34.Open();
var rsPAPERA34_numRows = 0;
%&gt;
&lt;%
var Repeat2__numRows = 10;
var Repeat2__index = 0;
rsPAPERINK_numRows += Repeat2__numRows;
%&gt;
&lt;%
var Repeat1__numRows = 10;
var Repeat1__index = 0;
rsPAPERA34_numRows += Repeat1__numRows;
%&gt;
&lt;%
// WA eCart Redirect
if (Wizard_Cart_redirStr != "" {
Response.Redirect(Wizard_Cart_redirStr);
}
%&gt;
&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "www.w3.org/TR/html4/loose.dtd"&gt;
&lt;html&gt;&lt;!-- InstanceBegin template="/Templates/wizard06.dwt" codeOutsideHTMLIsLocked="false" --&gt;
&lt;head&gt;
&lt;title&gt;Wizard - Your Quality Office Products Supplier&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/title&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;
&lt;META name="Wizard.ie" content="Your Quality Office Products Supplier."&gt;
&lt;meta name="description" content="Wizard - Your Quality Office Products Supplier. Ireland's Premier Office Products Supplier."&gt;
&lt;meta name="keywords" content="wizard, office supplies, stationery, stationary, online ordering, online catalogue, safety & hygiene, pc media & accessories, postroom & packaging, quality office supplier, quality office products, clearance sale, special offers"&gt;
&lt;meta name="Author" content="This site designed by Andy Bertaut for Wizard"&gt;
&lt;meta name="Copyright" content="(C) 2006 Slevin-Group"&gt;
&lt;style type="text/css"&gt;
&lt;!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
background-color: #E1DFF4;
}
--&gt;
&lt;/style&gt;
&lt;link href="../wiz.css" rel="stylesheet" type="text/css"&gt;
&lt;script language="JavaScript" type="text/JavaScript"&gt;function mmLoadMenus() {
if (window.mm_menu_0103133907_0) return;
window.mm_menu_0103133907_0 = new Menu("root",181,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103133907_0.addMenuItem("Adhesives & Tapes","location='../asp/adhesives_tapes.asp'";
mm_menu_0103133907_0.addMenuItem("Artist & Graphic Supplies","location='../asp/artist_graphic.asp'";
mm_menu_0103133907_0.addMenuItem("Bespoke Printing","location='../asp/bespoke_print.asp'";
mm_menu_0103133907_0.addMenuItem("Books & Pads","location='../asp/books_pads.asp'";
mm_menu_0103133907_0.addMenuItem("Catering","location='../asp/catering.asp'";
mm_menu_0103133907_0.addMenuItem("Computer Accessories","location='../asp/computer_accessories.asp'";
mm_menu_0103133907_0.addMenuItem("Computer Hardware","location='../asp/computer_hardware.asp'";
mm_menu_0103133907_0.addMenuItem("Computer Media Supplies","location='../asp/computer_media_sup.asp'";
mm_menu_0103133907_0.fontWeight="bold";
mm_menu_0103133907_0.hideOnMouseOut=true;
mm_menu_0103133907_0.bgColor='#6A63CB';
mm_menu_0103133907_0.menuBorder=1;
mm_menu_0103133907_0.menuLiteBgColor='#6A63CB';
mm_menu_0103133907_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103151900_0 = new Menu("root",172,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103151900_0.addMenuItem("Desktop&nbsp;Accessories","location='../asp/desktop_accessories.asp'";
mm_menu_0103151900_0.addMenuItem("Envelopes","location='../asp/envelopes.asp'";
mm_menu_0103151900_0.addMenuItem("Files,&nbsp;Pockets&nbsp;&&nbsp;Binding","location='../asp/files_pockets_bind.asp'";
mm_menu_0103151900_0.addMenuItem("Furniture","location='../asp/furniture.asp'";
mm_menu_0103151900_0.fontWeight="bold";
mm_menu_0103151900_0.hideOnMouseOut=true;
mm_menu_0103151900_0.bgColor='#6A63CB';
mm_menu_0103151900_0.menuBorder=1;
mm_menu_0103151900_0.menuLiteBgColor='#6A63CB';
mm_menu_0103151900_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152132_0 = new Menu("root",182,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152132_0.addMenuItem("Janitorial","location='../asp/janitorial.asp'";
mm_menu_0103152132_0.addMenuItem("Labels","location='../asp/labels.asp'";
mm_menu_0103152132_0.addMenuItem("Legal&nbsp;&&nbsp;Personal&nbsp;Supplies","location='../asp/legal_personal.asp'";
mm_menu_0103152132_0.fontWeight="bold";
mm_menu_0103152132_0.hideOnMouseOut=true;
mm_menu_0103152132_0.bgColor='#6A63CB';
mm_menu_0103152132_0.menuBorder=1;
mm_menu_0103152132_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152132_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152215_0 = new Menu("root",170,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152215_0.addMenuItem("Mailroom&nbsp;Warehouse","location='../asp/mailroom_warehouse.asp'";
mm_menu_0103152215_0.addMenuItem("Office&nbsp;Envirnoment","location='../asp/office_env.asp'";
mm_menu_0103152215_0.addMenuItem("Office&nbsp;Machine&nbsp;Supplies","location='../asp/office _mach_supp.asp'";
mm_menu_0103152215_0.addMenuItem("Office&nbsp;Machines","location='../asp/office _mach.asp'";
mm_menu_0103152215_0.addMenuItem("Office&nbsp;Planning","location='../asp/office_planning.asp'";
mm_menu_0103152215_0.fontWeight="bold";
mm_menu_0103152215_0.hideOnMouseOut=true;
mm_menu_0103152215_0.bgColor='#6A63CB';
mm_menu_0103152215_0.menuBorder=1;
mm_menu_0103152215_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152215_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152326_0 = new Menu("root",221,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152326_0.addMenuItem("Paper","location='../asp/paper.asp'";
mm_menu_0103152326_0.addMenuItem("Personal&nbsp;Planning&nbsp;&&nbsp;Accessories","location='../asp/personal_plan_acc.asp'";
mm_menu_0103152326_0.addMenuItem("Presentation&nbsp;Equipment","location='../asp/presentation_equip.asp'";
mm_menu_0103152326_0.addMenuItem("Presentation&nbsp;Supplies","location='../asp/presentation_supp.asp'";
mm_menu_0103152326_0.addMenuItem("Printer/Fax/Copier/WP&nbsp;Supplies","location='../asp/printer_copier.asp'";
mm_menu_0103152326_0.fontWeight="bold";
mm_menu_0103152326_0.hideOnMouseOut=true;
mm_menu_0103152326_0.bgColor='#6A63CB';
mm_menu_0103152326_0.menuBorder=1;
mm_menu_0103152326_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152326_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152527_0 = new Menu("root",129,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152527_0.addMenuItem("Safety&nbsp;&&nbsp;Security","location='../asp/safety_sec.asp'";
mm_menu_0103152527_0.fontWeight="bold";
mm_menu_0103152527_0.hideOnMouseOut=true;
mm_menu_0103152527_0.bgColor='#6A63CB';
mm_menu_0103152527_0.menuBorder=1;
mm_menu_0103152527_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152527_0.menuBorderBgColor='#6A63CB';
window.mm_menu_0103152559_0 = new Menu("root",159,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FCEE04","#FFFFFF","#3C349C","#6A63CB","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0103152559_0.addMenuItem("Wall&nbsp;&&nbsp;Notice&nbsp;Boards","location='../asp/wall_notice.asp'";
mm_menu_0103152559_0.addMenuItem("Writing&nbsp;Supplies","location='../asp/writing_supp.asp'";
mm_menu_0103152559_0.fontWeight="bold";
mm_menu_0103152559_0.hideOnMouseOut=true;
mm_menu_0103152559_0.bgColor='#6A63CB';
mm_menu_0103152559_0.menuBorder=1;
mm_menu_0103152559_0.menuLiteBgColor='#6A63CB';
mm_menu_0103152559_0.menuBorderBgColor='#6A63CB';

window.mm_menu_0109142338_0 = new Menu("root",100,17,"Verdana, Arial, Helvetica, sans-serif",11,"#059EB0","#036A76","#E7EBEC","#FFFFFF","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0109142338_0.addMenuItem("No&nbsp;Products";
mm_menu_0109142338_0.fontWeight="bold";
mm_menu_0109142338_0.hideOnMouseOut=true;
mm_menu_0109142338_0.bgColor='#CCCCCC';
mm_menu_0109142338_0.menuBorder=1;
mm_menu_0109142338_0.menuLiteBgColor='#FFFFFF';
mm_menu_0109142338_0.menuBorderBgColor='#079DAE';

mm_menu_0109142338_0.writeMenus();
} // mmLoadMenus()

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i&lt;a.length; i++)
if (a[i].indexOf("#"!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//--&gt;
&lt;/script&gt;
&lt;script language="JavaScript" type="text/JavaScript"&gt;
&lt;!--

function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape"&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?")&gt;0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i&lt;d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i&lt;d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function tmt_compareField(f1,f2,rule,errorMsg){ var myErr = ""; if(eval("MM_findObj('"+f1+"').value"+rule+"MM_findObj('"+f2+"').value"){ alert(unescape(errorMsg));myErr += 'errorMsg';} document.MM_returnValue = (myErr == "";}
//--&gt;
&lt;/script&gt;
&lt;style type="text/css"&gt;
&lt;!--
.smallboldfooter {font-family: Verdana,Arial,Helvetica; font-size: 10px; color: #999999;}
.smallnormal {font-family: Verdana,Arial,Helvetica; font-size: 10px; }
.buttonstyle {font-family: Verdana; font-size: 10px; font-weight: bold; color: white; background-color: #8888AA; }
.style1 {font-size: 16px}
.style2 {font-size: 12px}
--&gt;
&lt;/style&gt;
&lt;script language="JavaScript" src="../mm_menu.js"&gt;&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;script language="JavaScript1.2"&gt;mmLoadMenus();&lt;/script&gt;
&lt;table width="100%" border="0" cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;
&lt;td width="100" valign="top" bgcolor="#3C349C"&gt;&nbsp;&lt;/td&gt;
&lt;td width="375" align="left" valign="top"&gt;&lt;img src="../images/banner_lrg.gif" alt="Wizard - Your Quality Office Products Supplier!" width="375" height="77"&gt;&lt;/td&gt;
&lt;td width="282" align="left" valign="top"&gt;&lt;img src="../images/logo.gif" alt="Wizard - Your Quality Office Products Supplier" width="282" height="77"&gt;&lt;/td&gt;
&lt;td align="left" valign="middle" style="filter<img src=../images/dmxzone/forum/icon_smile_tongue.gif border=0 align=middle>rogidXImageTransform.Microsoft.Gradient(startColorstr='#FCEE04', endColorstr='#FFFFFF', gradientType='1');" &gt;&lt;!-- #BeginLibraryItem "/Library/cart.lbi" --&gt;
&lt;table width="281" height="53" border="0" cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;
&lt;td colspan="2" rowspan="2" valign="bottom"&gt;&lt;div align="right"&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;/div&gt; &lt;div align="right"&gt;&lt;/div&gt; &lt;div align="right"&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td width="156" rowspan="2" valign="top"&gt;&lt;div align="right"&gt;&lt;/div&gt; &lt;div align="right"&gt;&lt;a href="shopping_cart.asp"&gt;&lt;img src="../images/cart.gif" alt="View Cart and Checkout" width="150" height="50" border="0"&gt;&lt;/a&gt;&lt;/div&gt; &lt;div align="right"&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td width="46" height="27" align="center" valign="middle"&gt;&lt;div align="right"&gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="46" align="center" valign="middle"&gt;&lt;div align="right"&gt; &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;!-- #EndLibraryItem --&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;br/&gt;
&lt;table width="990" height="615" border="0" cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;
&lt;td width="170" height="10" valign="top"&gt;&nbsp;&lt;/td&gt;
&lt;td width="820" height="10" valign="top"&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="170" height="539" valign="bottom"&gt;
&lt;!-- Navigation Section. --&gt;
&lt;div id="navdiv"&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" class="style1"&gt;Product Index &lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link17" id="link1" onMouseOver="MM_showMenu(window.mm_menu_0103133907_0,116,0,null,'link17')" onMouseOut="MM_startTimeout();"&gt;A - C&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link14" id="link3" onMouseOver="MM_showMenu(window.mm_menu_0103151900_0,116,0,null,'link14')" onMouseOut="MM_startTimeout();"&gt;D - F&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link4" id="link12" onMouseOver="MM_showMenu(window.mm_menu_0109142338_0,116,0,null,'link4')" onMouseOut="MM_startTimeout();"&gt;G - I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link2" id="link5" onMouseOver="MM_showMenu(window.mm_menu_0103152132_0,116,0,null,'link2')" onMouseOut="MM_startTimeout();"&gt;J - L&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link15" id="link7" onMouseOver="MM_showMenu(window.mm_menu_0103152215_0,116,0,null,'link15')" onMouseOut="MM_startTimeout();"&gt;M - O&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link6" id="link9" onMouseOver="MM_showMenu(window.mm_menu_0103152326_0,116,0,null,'link6')" onMouseOut="MM_startTimeout();"&gt;P - R&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link8" id="link11" onMouseOver="MM_showMenu(window.mm_menu_0103152527_0,116,0,null,'link8')" onMouseOut="MM_startTimeout();"&gt;S - U&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="#" name="link10" id="link13" onMouseOver="MM_showMenu(window.mm_menu_0103152559_0,116,0,null,'link10')" onMouseOut="MM_startTimeout();"&gt;V - Z&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="quick_order.asp"&gt;Quick Order&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="center"&gt;&lt;a href="terms_conditions.asp" class="style2"&gt;Terms & Conditions&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;!-- End Of Navigation Section --&gt;
&lt;/td&gt;
&lt;td align="left" valign="top"&gt;&lt;!-- InstanceBeginEditable name="EditRegion1" --&gt;
&lt;% if (!rsPAPERINK.EOF || !rsPAPERINK.BOF) { %&gt;
&lt;% while ((Repeat2__numRows-- != 0) && (!rsPAPERINK.EOF)) { %&gt;
&lt;table width="650" border="0" cellspacing="0" cellpadding="0"&gt;
&lt;tr&gt;
&lt;td width="80" rowspan="5"&gt;&lt;img src="&lt;%=(rsPAPERINK.Fields.Item("Expr1".Value)%&gt;" width="80" height="80" border="0"&gt;&lt;/td&gt;
&lt;td colspan="4" class="buttonstyle"&gt;&lt;%=(rsPAPERINK.Fields.Item("Description".Value)%&gt;&lt;/td&gt;
&lt;td width="170"&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr id="maintbl"&gt;
&lt;td width="100"&gt;Product Code &lt;/td&gt;
&lt;td width="100"&gt;&lt;%=(rsPAPERINK.Fields.Item("ProductCode".Value)%&gt;&lt;/td&gt;
&lt;td width="100"&gt;Price&lt;/td&gt;
&lt;td width="100"&gt;&lt;%=(rsPAPERINK.Fields.Item("Expr2".Value)%&gt;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;%
Repeat2__index++;
rsPAPERINK.MoveNext();
}
%&gt;
&lt;% } // end !rsPAPERINK.EOF || !rsPAPERINK.BOF %&gt;
&lt;% if (!rsPAPERA34.EOF || !rsPAPERA34.BOF) { %&gt;
&lt;% while ((Repeat1__numRows-- != 0) && (!rsPAPERA34.EOF)) { %&gt;
&lt;table width="650" border="0" cellspacing="0" cellpadding="0"&gt;
&lt;tr&gt;
&lt;td width="80" rowspan="5"&gt;&lt;img src="&lt;%=(rsPAPERA34.Fields.Item("Expr2".Value)%&gt;" width="80" height="80"&gt;&lt;/td&gt;
&lt;td colspan="4" class="buttonstyle"&gt;&lt;%=(rsPAPERA34.Fields.Item("Description".Value)%&gt;&lt;/td&gt;
&lt;td width="170"&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr id="maintbl"&gt;
&lt;td width="100"&gt;Product Code &lt;/td&gt;
&lt;td width="100"&gt;&lt;%=(rsPAPERA34.Fields.Item("ProductCode".Value)%&gt;&lt;/td&gt;
&lt;td width="100"&gt;Price&lt;/td&gt;
&lt;td width="100"&gt;&lt;%=(rsPAPERA34.Fields.Item("Expr2".Value)%&gt;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;td&gt;&nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;%
Repeat1__index++;
rsPAPERA34.MoveNext();
}
%&gt;
&lt;% } // end !rsPAPERA34.EOF || !rsPAPERA34.BOF %&gt;
&lt;!-- InstanceEndEditable --&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr valign="bottom"&gt;
&lt;td colspan="2"&gt;
&lt;!-- Quick Nav Table --&gt;&lt;!-- #BeginLibraryItem "/Library/navtbl.lbi" --&gt;
&lt;link href="../wiz.css" rel="stylesheet" type="text/css"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
&lt;tr&gt;
&lt;td height="1" bgcolor="#000000"&gt;&lt;img src="../images/spacer.gif"&gt;&lt;/td
&gt;&lt;/tr&gt;
&lt;tr id="quicknav"&gt;
&lt;td height="20" align="center" valign="middle" id="quicknav" style="color:white;"&gt; &lt;a href="default.asp" id="quicknav"&gt;Home&lt;/a&gt;&nbsp;|&nbsp; &lt;a href="search.asp" id="quicknav"&gt;Search&lt;/a&gt;&nbsp;|&nbsp; &lt;a href="category_list.asp" id="quicknav"&gt;Categories&lt;/a&gt;&nbsp;|&nbsp; &lt;a href="shopping_cart.asp" id="quicknav"&gt;Shopping
Cart&lt;/a&gt; &nbsp;|&nbsp; &lt;a href="catalogue_request.asp" id="quicknav"&gt;Request
Catalogue&lt;/a&gt; &nbsp;|&nbsp;&lt;a href="quick_order.asp" id="quicknav"&gt;Quick Order &lt;/a&gt;&nbsp;|&nbsp;
&lt;a href="about_us.asp" target="_self" id="quicknav"&gt;About
Us&lt;/a&gt;&nbsp;|&nbsp; &lt;a href="contact_us.asp" target="_self" id="quicknav"&gt;Contact Us&lt;/a&gt; | &lt;a href="mailto: ?subject=I%20Wish%20To%20Report%20An%20Error" id="quicknav"&gt;Report Error &lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="1" bgcolor="#000000"&gt;&lt;img src="../images/spacer.gif"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align="center" valign="top" class="smallboldfooter"&gt;&copy;2005 Wizard
Direct&nbsp;&nbsp;FREEPHONE: 1800 923 200 &nbsp;&nbsp;FREEFAX: 1800 923
400 &lt;br&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;!-- #EndLibraryItem --&gt;&lt;!-- End Of Quick Nav Table --&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;iframe id="preview" name="preview" style="position:absolute; left:3px; top:400px; width:165px; height:115px; z-index:1;" scrolling="yes" src="cart_prv.asp"&gt;&nbsp;&lt;/iframe&gt;
&lt;/body&gt;
&lt;!-- InstanceEnd --&gt;&lt;/html&gt;
&lt;%
rsPAPERINK.Close();
%&gt;
&lt;%
rsPAPERA34.Close();
%&gt;


thanks

Reply to this topic