When I print my web page some text get cut off on the right hand side of the page. I have pasted my HTML code and .Net White labelling.
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="OfficeUse.aspx
.vb" Inherits="B1SA.OfficeUse" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>OfficeUse</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScri
pt">
<meta content="
http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="../Dis.css" type="text/css" rel="stylesheet">
<link href="../print.css" type="text/css" rel="stylesheet" media="print">
</HEAD>
<body leftMargin="0" topMargin="0" class="body">
<form id="Form1" method="post" runat="server">
<script>
<asp:Literal id="ltlAlert" runat="server"
EnableViewState="False">
</asp:Literal>
</script>
<asp:table id="tblHeader" Runat="server">
<asp:TableRow>
<asp:TableCell ID="tblHeaderTop" Runat="server">
<asp:Image Runat="server" ID="imgSpacerTop" width="1" height="1"></asp:Image>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell CssClass="tableHeader" HorizontalAlign="Center">S
UPPLIER APPLICATION FORM 2007</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell ID="tblHeaderBottom" Runat="server">
<asp:Image Runat="server" ID="imgSpacerBottom" width="1" height="3"></asp:Image>
</asp:TableCell>
</asp:TableRow>
</asp:table>
<table id="tblContent" runat="server" width="100%">
<TR>
<TD align="right" colSpan="3"><IMG src="../Images/Picture1.jp
g"></TD>
</TR>
<TR>
<TD align="right" colSpan="3"><STRONG><FONT face="Tahoma" size="1">Discovery is an
authorised financial service provider<BR>
VAT registration number 4100192717</FONT></STRONG>
</TD>
</TR>
<TR>
<TD colSpan="3"><STRONG><FONT face="Arial" color="#003399" size="2">SUPPLIER APPLICATION
FORM 2007</FONT></STRONG></TD>
</TR>
<TR>
<TD>
<table class="generalfont" id="tblVatDetails" cellSpacing="0" cellPadding="0" width="100%">
<tr>
<td bgColor="#cccccc" colSpan="2"><FONT face="Arial" color="#003399" size="2"><STRONG>B.
YOUR VAT DETAILS</STRONG></FONT></t
d>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td><FONT color="#006699">Vat
exemption  
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp;Yes&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;<asp:l
abel id="lblYesNo" runat="server">Yes/No</asp
:label>&nb
sp; &
nbsp; 
; &nb
sp; <
/FONT></td
>
</tr>
<tr>
<td><FONT color="#006699">Vat registration
number &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
<asp:label id="lblVatReg" runat="server">VatRegNumbe
r</asp:lab
el></FONT>
</td>
</tr>
</table>
</TD>
</TR>
<TR>
<TD>
<table class="generalfont" id="tblOrgPeople" cellSpacing="0" cellPadding="0" width="100%">
<tr>
<td bgColor="#cccccc" colSpan="3"><FONT face="Arial" color="#003399" size="2"><STRONG>C.
YOUR ORGANISATION'S CONTACT PEOPLE</STRONG></FONT></td
>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td colSpan="3"><FONT color="#006699">Please appoint two representatives that are
authorised to handle account issues</FONT></td>
</tr>
<tr>
<td colSpan="3"><FONT color="#006699">1. <STRONG>Sales representative or account manager</STRONG></FONT></t
d>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td><FONT color="#006699">Title 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp;
<asp:label id="lblOrgTitle" runat="server">Label</asp:
label></FO
NT></td>
<td><FONT color="#006699">Initials&n
bsp;
&nbs
p; &n
bsp;
&nbs
p;
<asp:label id="lblOrgInitials" runat="server">Initials</a
sp:label><
/FONT></td
>
<td><FONT color="#006699">Surname&nb
sp; &
nbsp; 
; &nb
sp;
<asp:label id="lblOrgSurname" runat="server">Surname</as
p:label></
FONT></td>
</tr>
<tr>
<td colSpan="3"><FONT color="#006699">First Name(s) as per Identity
document
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
<asp:label id="lblOrgFirstNames" runat="server">FirstNames<
/asp:label
></FONT></
td>
</tr>
<tr>
<td><FONT color="#006699">Gender&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
<asp:label id="lblOrgGender" runat="server">Gender</asp
:label></F
ONT></td>
<td><FONT color="#006699">Date of birth
<asp:label id="lblOrgDOB" runat="server">DOB</asp:la
bel></FONT
></td>
<td><FONT color="#006699">Cellular&n
bsp;
&nbs
p; &n
bsp;
<asp:label id="lblOrgCell" runat="server">Cel</asp:la
bel>
&nbs
p; &n
bsp;
</FO
NT></td>
</tr>
<tr>
<td><FONT color="#006699">Telephone&
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
;
<asp:label id="lblOrgTel" runat="server">Telephone</
asp:label>
</FONT></t
d>
<td><FONT color="#006699">Fax &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
;
<asp:label id="lblOrgFax" runat="server">Fax</asp:la
bel>
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;</FONT
></td>
<td></td>
</tr>
<tr>
<td class="generalfont" colSpan="3">Email
address &
nbsp; 
; &nb
sp;
<asp:label id="lblOrgEmail" runat="server">Email</asp:
label></td
>
</tr>
<tr>
<td></td>
</tr>
</table>
</TD>
</TR>
<TR>
<TD>
<table id="tblOrgPeople1" width="100%">
<TBODY>
<tr>
<td class="generalfont" colSpan="3">2. <STRONG>Financial representative (gor example,
your debtors clerk or financial controller)</STRONG></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td class="generalfont" style="HEIGHT: 18px">Title &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
;
<asp:label id="Label11" runat="server">Label</asp:
label></td
>
<td class="generalfont" style="HEIGHT: 18px">Initials
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
<asp:label id="Label12" runat="server">Initials</a
sp:label><
/td>
<td class="generalfont" style="HEIGHT: 18px">Surname &
nbsp; 
; &nb
sp; &
nbsp; 
;
<asp:label id="Label13" runat="server">Surname</as
p:label></
td>
</tr>
<tr>
<td class="generalfont" colSpan="3">First Name(s) as per Identity
document
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p;
<asp:label id="Label14" runat="server">FirstNames<
/asp:label
></td>
</tr>
<tr>
<td class="generalfont">Gender
&nbs
p; &n
bsp;
&nbs
p;
<asp:label id="Label15" runat="server">Gender</asp
:label></t
d>
<td class="generalfont">Date of
birth &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
;
<asp:label id="Label16" runat="server">DOB</asp:la
bel></td>
<td class="generalfont">Cellul
ar &n
bsp;
&nbs
p; &n
bsp;
<asp:label id="Label17" runat="server">Cel</asp:la
bel>
&nbs
p; &n
bsp;
</td
>
</tr>
<tr>
<td class="generalfont" style="HEIGHT: 22px">Telephone  
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
;
<asp:label id="Label18" runat="server">Telephone</
asp:label>
</td>
<td class="generalfont" style="HEIGHT: 22px">Fax  
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp;
<asp:label id="Label19" runat="server">Fax</asp:la
bel>
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;</td>
<td class="generalfont" style="HEIGHT: 22px"></td>
</tr>
<tr>
<td colSpan="3"><FONT color="#006699">Email address
<asp:label id="Label20" runat="server">Email</asp:
label></FO
NT></td>
</tr>
</TBODY>
</table>
</TD>
</TR>
<TR>
<TD class="generalfont">Would you like to receive an email notification once
Discovery has received your invoice or statement? Yes
<asp:checkbox id="chkCYes" runat="server"></asp:check
box>
No
<asp:checkbox id="chkNo" runat="server"></asp:check
box></TD>
</TR>
<TR>
<TD>
<table class="generalfont" id="tblBEEContactDetails" cellSpacing="0" cellPadding="0" width="100%">
<tr>
<td class="generalfont" style="HEIGHT: 16px" bgColor="#cccccc" colSpan="3"><STRONG>D.
YOUR ORGANISATION'S BLACK ECONOMIC EMPOWERMENT (BEE) CONTACT DETAILS</STRONG></td>
</tr>
<tr>
<td></td>
</tr>
<TR>
<td class="generalfont" width="100%">Title &n
bsp;
&nbs
p; &n
bsp;
<asp:label id="Label1" runat="server">Title</asp:
label></td
>
<td class="generalfont" width="100%">Initials
<asp:label id="Label2" runat="server">Initials</a
sp:label><
/td>
<td class="generalfont" width="100%">Surname
&nbs
p;
<asp:label id="Label10" runat="server">Surname</as
p:label></
td>
</TR>
<tr>
<td class="generalfont" colSpan="3">First Name(s)as per identity
document
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
<asp:label id="Label3" runat="server">Names</asp:
label></td
>
</tr>
<tr>
<td class="generalfont" width="100%">Gender &
nbsp; 
; &nb
sp; &
nbsp; 
;
<asp:label id="lblGender" runat="server">Gender</asp
:label>&nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp;</td>
<td class="generalfont" width="100%">Date of
birth</td>
<td class="generalfont" width="100%">
<asp:label id="Label4" runat="server">DOB</asp:la
bel></td>
</tr>
<tr>
<td class="generalfont" width="100%" colSpan="3">Designation&nb
sp;
<asp:label id="Label5" runat="server">Designation
</asp:labe
l> &n
bsp;
&nbs
p; &n
bsp;
&nbs
p;</td>
</tr>
<tr>
<td class="generalfont" width="100%">Telephone&nbs
p; &n
bsp;
<asp:label id="Label6" runat="server">Telephone</
asp:label>
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p;</td>
<td class="generalfont" width="100%">Fax &nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
<asp:label id="Label7" runat="server">Fax</asp:la
bel></td>
<td width="100%"></td>
</tr>
<tr>
<td class="generalfont" width="100%" colSpan="3">Email
Address &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
;
<asp:label id="Label8" runat="server">EmailAddres
s</asp:lab
el></td>
</tr>
<tr>
<td class="generalfont" width="100%" colSpan="3">Your BEE
status &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p;
<asp:label id="Label9" runat="server">BEE Status</asp:label> &n
bsp;
&nbs
p;</td>
</tr>
<tr>
<td class="generalfont" colSpan="3">Should your application be successful, your BEE
status will need to be completed on Our BEE rating system.</td>
</tr>
</table>
</TD>
</TR>
<TR>
<TD>
<table class="generalfont" id="tblBankingdetails" cellSpacing="0" cellPadding="0" width="100%">
<tr>
<td class="generalfont" bgColor="#cccccc" colSpan="2"><STRONG>E. BANKING DETAILS FOR
PAYMENT</STRONG></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td class="generalfont">Please
note: All payments will be made via electronic fund
transfer</td>
</tr>
<tr>
<td class="generalfont">Bank
Name &nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
<asp:label id="lblBankName" runat="server">BankName</a
sp:label><
/td>
<td class="generalfont">Branch
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p;
<asp:label id="lblBranchName" runat="server">BranchCode<
/asp:label
></td>
</tr>
<tr>
<td class="generalfont">Accoun
t
type &nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p;
<asp:label id="lblAccountType" runat="server">AccountType
</asp:labe
l></td>
<td class="generalfont">Branch
Code &nbs
p; &n
bsp;
<asp:label id="lblBranchCode" runat="server">BranchCode<
/asp:label
></td>
</tr>
<tr>
<td class="generalfont">Name of
accountholder &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
;
<asp:label id="lblAccountHolderName" runat="server">AccountHold
erName</as
p:label></
td>
</tr>
<tr>
<td class="generalfont">Accoun
t
number &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
&nbs
p; &n
bsp;
<asp:label id="lblAccountNumber" runat="server">AccountNumb
er</asp:la
bel></td>
</tr>
<tr>
<td class="generalfont">Please
note the terms are strictly 30 days from statement
date.</td>
</tr>
</table>
</TD>
</TR>
<tr>
<td>
<TABLE id="Table5" cellSpacing="1" cellPadding="1" width="100%" align="center">
<TR>
<TD class="generalfont" bgColor="#cccccc" colSpan="4"><STRONG><FONT face="Arial" size="2">F.
YOUR LEGAL DECLARATION</FONT></STRONG
></TD>
</TR>
<TR>
<TD class="generalfont" colSpan="4">
<OL>
<LI>
<DIV align="justify"><FONT face="Arial" size="1">This form comprises an application by
yourself to become a supplier to one or more of the subsidiary companies in the
Discovery Group of Companie in South Africa. For purposes of
clarification Discovery Holdings Limited is the parent of Discovery
Health (Pty)Limited, Vitality HealthStyle (Pty) Limited and Discovery Life
Limited. </FONT>
</DIV>
<LI>
<DIV align="justify"><FONT face="Arial" size="1">Nothing set out in this application
form will be construed to compromise an appointment of your services. Such
appontment will be approved at the sole discretion of Discovery and the terms
and conditions thereof will be governed by a separate agreement that you will
be to sign with one or more of the subsidiary companies.For the avoidance of
doubt Discovery will be fully entitled to reject your application </FONT>
</DIV>
<LI>
<DIV align="justify"><FONT face="Arial" size="1">It may be that you will contract with
only one of the subsidiaries and yet be requied to provide services that
benefit the other subsidiary companies. </FONT>
</DIV>
<LI>
<DIV align="justify"><FONT face="Arial" size="1">Nothing set out herein will be
constructued to grant you an exclusive appointment in any manner whatsoever.
Discovery strictly reserves the rght to appoint you together with a group of
other vendors to provide the same or similar services. </FONT>
</DIV>
<LI>
<DIV align="justify"><FONT face="Arial" size="1">Please ensure that the banking details
you have provided in Section E are correct. Discovery will make all payments
due and payable to you into the aacount stipulated and such payment will be
solely made via electronic funds transfer. In this regard you indemnity
Discovery against any claim or loss that Discovery may suffer as a result of
the reliance it places details on the banking details sipplied and any actions
taken pursuant to such reliance. </FONT>
</DIV>
<LI>
<DIV align="justify"><FONT face="Arial" size="1">You will be required to be mindful of
the good reputation that Discovery has and agree not to take any actions that
could in any manner harm such good reputation. </FONT>
</DIV>
<LI>
<DIV align="justify"><FONT face="Arial" size="1">Discovery will be entitled to obtain
credit and related information concerning your organisation at any time and
lodge, exchange and dsclose such information with any credit bureau without any
notice to you. Discovery will be entitled to check such informatin and to
make any queries it considers neccessary. </FONT>
</DIV>
<LI>
<DIV align="justify"><FONT face="Arial" size="1">By your signature below you declare
that the contents of this application are true, correct and complete.</FONT></DIV>
</LI>
</OL>
</TD>
</TR>
<TR>
<TD class="generalfont">Signed
at <INPUT type="text"></TD>
<TD class="generalfont" colSpan="2">on
</TD
>
<td><INPUT type="text"></td>
</TR>
<TR>
<TD class="generalfont" width="100%">Print name (s) <INPUT type="text"></TD>
<TD class="generalfont" colSpan="2">Print name(s)</TD>
<td><INPUT type="text"></td>
</TR>
<TR>
<TD class="generalfont" width="100%">Authorised signatories <INPUT type="text"></TD>
<TD class="generalfont" colSpan="2">Authorised signatories</TD>
<TD><INPUT type="text"></TD>
</TR>
<TR>
<TD class="generalfont" width="100%">Designation<I
NPUT type="text"></TD>
<TD class="generalfont" colSpan="2">Disignation</T
D>
<TD><INPUT type="text"></TD>
</TR>
<TR>
<TD class="generalfont" colSpan="4">Please email your completed form to <A href="mailto:procurement_h
elpdesk@di
scovery.co
.za">
procurement_helpdesk@disco
very.co.za
</A> or fax it to us at 011 539 2859.
Contact this email address or fax number for any queries.</TD>
</TR>
<TR>
<TD colSpan="4">
<TABLE class="bg" id="Table2" cellSpacing="0" cellPadding="0" width="100%">
<TR>
<TD class="generalfont" colSpan="3">For Office Use Only</TD>
</TR>
<TR>
<TD class="generalfont">Suppli
er number <INPUT type="text"></TD>
<TD class="generalfont">Search
type<INPUT type="text"></TD>
<TD class="generalfont">Suppli
er categories<INPUT type="text"></TD>
</TR>
<TR>
<TD class="generalfont">Genera
l ledger class<INPUT type="text"></TD>
<TD class="generalfont">BEE Level/Rating<INPUT type="text"></TD>
<TD class="generalfont">Commod
ity<INPUT type="text"></TD>
</TR>
<TR>
<TD class="generalfont" colSpan="3">Medical Scheme<INPUT type="checkbox">
Health <INPUT type="checkbox"> Destiny <INPUT type="checkbox"> &nbs
p;
Vitality<INPUT type="checkbox"> Life <INPUT type="checkbox">
Prudential <INPUT type="checkbox"> Corporate<INPUT type="checkbox"></TD>
</TR>
<TR>
<TD class="generalfont" >Comments</TD>
<TD class="generalfont" colSpan="2"><INPUT width="100%" type="text" size="66"></TD>
</TR>
<TR>
<TD class="generalfont">BEE scorecard completed</TD>
<TD class="generalfont">Yes&nb
sp; <INPUT type="checkbox"> &nbs
p; &n
bsp;
Print name</TD>
<TD class="generalfont"><INPUT
type="text"></TD>
</TR>
<TR>
<TD class="generalfont">VAT verification</TD>
<TD class="generalfont">Yes&nb
sp; <INPUT type="checkbox"> &nbs
p; &n
bsp;
Print name</TD>
<TD class="generalfont"><INPUT
type="text"></TD>
</TR>
<TR>
<TD class="generalfont">Bankin
g details approved</TD>
<TD class="generalfont">Yes&nb
sp; <INPUT type="checkbox"> &nbs
p; &n
bsp;
Print name</TD>
<TD class="generalfont"><INPUT
type="text"></TD>
</TR>
<TR>
<TD class="generalfont">Signat
ure</TD>
<TD class="generalfont"><INPUT
width="100%" type="text" size="32"></TD>
<TD></TD>
</TR>
<TR>
<TD class="generalfont">Commen
ts</TD>
<TD class="generalfont" colSpan="2"><INPUT width="100%" type="text" size="66"></TD>
</TR>
<TR>
<TD class="generalfont">Date<I
NPUT type="text"></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD class="generalfont">Reason
for loading supplier</TD>
<TD class="generalfont">1. Preffered supplier <INPUT type="checkbox"></TD>
<TD class="generalfont">2. T.T.U <INPUT type="checkbox"></TD>
</TR>
<TR>
<TD class="generalfont" colSpan="2">Can an existing Supplier, provide these goods
or services?</TD>
<TD class="generalfont">Yes <INPUT type="checkbox"> &nbs
p; No <INPUT type="checkbox"></TD>
</TR>
<TR>
<TD class="generalfont">If 'yes', please specify</TD>
<TD class="generalfont" colSpan="2"><INPUT width="100%" type="text" size="66"></TD>
</TR>
<TR>
<TD class="generalfont">Suppli
er authorised Yes <INPUT type="checkbox"> </TD
>
<TD class="generalfont">
Print name</TD>
<TD class="generalfont"><INPUT
width="100%" type="text" size="32"></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</td>
</tr>
<TR>
<TD id="printCol" align="center" colSpan="3" runat="server"><input class="buttons" id="btnPrint" width="100%" onclick="openPrint();" type="button"
value="Print"></TD>
</TR>
</table>
</form>
<script language="javascript">
formatthepage()
function openPrint()
{
var qstring=''
window.open (location.pathname+'?Print
me=1&'+loc
ation.sear
ch, 'printwin')
}
</script>
</body>
</HTML>
.Net Code
Sub doWhiteLabeling()
Dim oMentorValues As MentorValues = New MentorValues
Dim vsStyleSheet As String
Dim vsMentorName As String
Dim vsStyle As Style = New Style
Dim wloColorConverter As WLColorConverter = New WLColorConverter
Dim vlr, vlg, vlb
Dim oWhiteLabel As WhiteLabeller = New WhiteLabeller
If oMentorValues.getMentorAtt
r(Request.
QueryStrin
g("MentorI
D"), vsStyleSheet, vsMentorName, , , , , , , , , , , , , , , vsSpacerImage, vsSpacerColour, vsLeftMargin, vsTopMargin, , vsWidthConst, vsHeightConst) = False Then
vsStyleSheet = "Dis.css"
vsMentorName = "B1SA"
End If
If Request.Browser.Browser.To
String() = "IE" Then
If Request.Browser.MajorVersi
on < 4 Then
Response.Write("<link rel='stylesheet' type='text/css' href='../css/" & vsStyleSheet & "'></link>")
Else
Response.Write("<link rel='stylesheet' type='text/css' href='../css/" & vsStyleSheet & "'></link>")
End If
Else
If Request.Browser.MajorVersi
on < 5 Then
Response.Write("<link rel='stylesheet' type='text/css' href='../css/" & vsStyleSheet & "'></link>")
Else
Response.Write("<link rel='stylesheet' type='text/css' href='../css/" & vsStyleSheet & "'></link>")
End If
End If
wloColorConverter.HEXCOL2R
GB(vsSpace
rColour, vlr, vlg, vlb)
imgSpacerBottom.ImageUrl = vsSpacerImage
imgSpacerTop.ImageUrl = vsSpacerImage
tblHeaderTop.BackColor = System.Drawing.Color.FromA
rgb(vlr, vlg, vlb)
tblHeaderBottom.BackColor = System.Drawing.Color.FromA
rgb(vlr, vlg, vlb)
tblHeader.Width = tblHeader.Width.Pixel(CInt
(vsWidthCo
nst) - (CInt(vsLeftMargin) * 2))
tblContent.Width = CInt(vsWidthConst) - (CInt(vsLeftMargin) * 2)
Response.Write(oWhiteLabel
.FormatThe
Page(Reque
st.QuerySt
ring("Ment
orID")))
End Sub