I have a site, that works fine in IE explorer, but in firefox the javascript wont work. i have this html code
//////////////////////////
//////////
//////////
//////////
Code//////
//////////
//////////
//////////
//////////
/////////
<html>
<head>
<meta http-equiv="Content-Langua
ge" content="en-gb">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>handepay merchant services - Template</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</style>
<script LANGUAGE="JavaScript">
function handleMouseOverOut() {
var eSrc = window.event.srcElement;
}
function doOutline() {
var srcId, srcElement, targetElement;
srcElement = window.event.srcElement;
if (srcElement.className.toUp
perCase() == "FAQ") {
srcID = srcElement.id.substr(0, srcElement.id.length-1);
targetElement = document.all(srcID + "s");
if (targetElement.style.displ
ay == "none")
targetElement.style.displa
y = "";
else
targetElement.style.displa
y = "none";
}
}
document.onmouseover = handleMouseOverOut;
document.onmouseout = handleMouseOverOut;
document.onclick = doOutline;
</script>
<script language="javascript">
function toggle_tree(num_arg)
{
var myDiv = document.getElementById("e
xpand_div_
"+num_arg)
;
if (myDiv.style.display == "")
{
eval("document.expand_ico_
"+num_arg+
".src = 'images/minus.gif';");
myDiv.style.display="block
"
}
else
{
eval("document.expand_ico_
"+num_arg+
".src = 'images/plus.gif';");
myDiv.style.display=""
}
}
</script>
</head>
<body bgcolor="#0078A3">
<div><table width="100%">
<tr><td align="center">
<div align="center">
<table width="736" cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF">
<tr>
<td width="736" align="center" id="logo_td">
<table align="center" cellpadding="0" cellspacing="0" border="0" id="toptable" height="100%">
<img border="0" src="handepaylogo.png" width="700" height="121" align="center"></table></t
d></tr>
<tr class="white">
<td width="736"><table cellpadding="0" cellspacing="0" border="0" width="726">
<tr>
<td id="menu_block" width="143" bgcolor="#ffffff" valign="top">
<object classid="clsid:D27CDB6E-AE
6D-11CF-96
B8-4445535
40000" id="obj4" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="143" height="200">
<param name="movie" value="swf/menu.swf">
<param name="quality" value="High">
<embed src="swf/menu.swf" pluginspage="
http://www.macromedia.com/go/getflashplayer" type="application/x-shockw
ave-flash"
name="obj4" width="143" height="200"></object>
</td>
<td id="faq" width="284" rowspan="3" valign="top">
<p align="left" style="margin-top: 5px; margin-bottom: 5px">
<font color="#0078A3" face="Tahoma" style="font-size: 9pt">
<b>FREQUENTLY ASKED QUESTIONS<br> </b> </font>
<font color="#858585" face="Tahoma" style="font-size: 9pt; font-weight: 400">To make it easy for you, we've put together
the most frequently asked questions. Simply click on the questions to see the
answers</font></span></p>
<p align="left" style="margin-top: 5px; margin-bottom: 5px">
</p>
<p align="left" style="margin-top: 5px; margin-bottom: 5px">
<b>
<A CLASS=FAQ id=FAQ00t>Do I have to change my existing
bank?
</A><BR>
</p>
<div id=FAQ00s style=display:None class=FAQB>
<P align="left">No, your transactions can be credited to any bank of your choice.</P>
</div>
<p align="left">
<A CLASS=FAQ id=FAQ01t>How long will it take to process my
application?</A><BR>
</p>
<div id=FAQ01s style=display:None class=FAQB>
<P align="left">In most cases 2-3 weeks after we have received your signed application and supporting documentation.</P>
</div>
<p align="left">
<A CLASS=FAQ id=FAQ02t>How quickly will my customers
money get to my account?</A><BR>
</p>
<div id=FAQ02s style=display:None class=FAQB>
<P align="left">You should receive the funds in 2-3 working days.</P>
</div>
<p align="left">
<A CLASS=FAQ id=FAQ03t>I have a terminal that is not chip &
PIN capable. Do I need to do anything?</A><BR>
</p>
<div id=FAQ03s style=display:None class=FAQB>
<P align="left">As you dont have PIN we do recommend that you upgrade your terminal as soon as possible to remain protected from the liability shift.</P>
</div>
<p align="left">
<p align="left">
<A CLASS=FAQ id=FAQ07t>What does the Liability Shift mean?</A><BR>
</p>
<div id=FAQ07s style=display:None class=FAQB>
<P align="left">The Liability Shift from the 1st January 2005,
means that the party (either the Card Issuer or the retailer)
that does not have chip and PIN capability will become liable
for fraud arising from lost or stolen cards and where the card
has been counterfeited. Chip and PIN is designed to greatly reduce
these types of fraud.</P>
</div>
<p align="left">
<A CLASS=FAQ id=FAQ04t>Are there any exceptions to PIN
Transactions?</A><BR>
</p>
<div id=FAQ04s style=display:None class=FAQB>
<P align="left">There will be instances where cardholders do not have
a chip and PIN card, and where a signature will still be accepted. Some
disabled customers, for example, may still be using chip and signature
cards. Customers from countries that have yet to upgrade to chip and
PIN may not have a chip and PIN enabled card. Any customer using a non
chip and PIN card will automatically be prompted by the terminal to
give their signature. Remember, as always, you need to undertake the
usual security checks so that you are protected from any liability for fraud. </P>
</div>
<p align="left">
<A CLASS=FAQ id=FAQ05t>What should I do if a customer,
does not seem to know their PIN?</A><BR>
</p>
<div id=FAQ05s style=display:None class=FAQB>
<P align="left">If their PIN is locked, suggest that they contact
their card company. If a customer has difficulty remembering their
PIN, advise them to change it to a more memorable number at a cash machine.</P>
</div>
<p align="left">
<A CLASS=FAQ id=FAQ06t>When will every cardholder in the UK have all their chip and PIN cards?
</A><BR>
</p>
<div id=FAQ06s style=display:None class=FAQB>
<P align="left">Nearly everyone in the UK now has at least one chip and
PIN card. The exact date is not known as Issuers are upgrading cards at different speeds.</P>
</div>
<P align="left">
<A CLASS=FAQ id=FAQ08t>How will I know that the card is a PIN card?
</A><BR>
</p>
<div id=FAQ08s style=display:None class=FAQB>
<P align="left" style="margin-top: 3px; margin-bottom: 3px">When the cardholder hands the card to you, you will
not know whether the card has a PIN. The terminal will check this
when the card is inserted into the chip reader and will prompt you
to seek the correct cardholder verification method.</P>
</div>
<P align="left">
<A CLASS=FAQ id=FAQ09t>What does Address Verification Service (AVS) mean?
</A><BR>
</p>
<div id=FAQ09s style=display:None class=FAQB>
<P align="left">The Address Verification Service
gives you extra security when accepting Card Not
Present (CNP) transactions. The AVS allows you
to check the numerical part of a customer's post
code and statement address with their card issuing
bank. All handepay terminals are equipped with these security measures.</P>
</div></p>
<p align="left">
<A CLASS=FAQ id=FAQ18t>I am undertaking a Cardholder Not Present transaction and my terminal is prompting me for a Security Code what does this mean?</A><BR>
</p>
<div id=FAQ18s style=display:None class=FAQB>
<P align="left">This is a unique 3 digit number printed on or just beneath the signature strip on the back of the card. It is shown after the last 4 digits of the card number.
</P>
</div>
</td>
<td width="11" rowspan="4" valign="top">
</td>
<td width="262" align="left" height="157" valign="top" rowspan="2">
<table border="0" width="262" id="table1">
<tr>
<td width="252" colspan="2" valign="top">
<p align="center">
<br><img border="0" src="images/faq3.JPG" width="187" height="74"></td>
</tr>
<tr>
<td width="29" valign="top"> </td>
<td width="217" valign="top">
<p style="margin-top: 0; margin-bottom: 0"><font size="2" face="Tahoma"><font color="#0078A3">
If your question is not in the list,<br></font><font color="#858585">
please do not hesitate to contact <br>us. Just call 0871 871 3888.</font></font></p>
<p style="margin-top: 0; margin-bottom: 0"> </td>
</tr>
</table>
<p>
<A CLASS=FAQ id=FAQ10t>I have a chip reader on my terminal and my PIN pad, which one should I use?</A><BR>
</p>
<div id=FAQ10s style=display:None class=FAQB>
<P align="left">You should use the chip reader on the PIN pad.</P>
</div>
<p align="left">
<A CLASS=FAQ id=FAQ11t>Who inserts the card into the chip reader?</A><BR>
</p>
<div id=FAQ11s style=display:None class=FAQB>
<P align="left">You should insert the card into the chip reader for the time being as you still need to complete the card security checks detailed in your Merchant Operating Instructions, section 2, Card Recognition</P>
</div>
<p align="left">
<A CLASS=FAQ id=FAQ12t>What should I do if the chip on the card is not working?
</A><BR>
</p>
<div id=FAQ12s style=display:None class=FAQB>
<P align="left">If the terminal detects that the chip is not working, it will prompt you to use the magnetic stripe to read the card details.</P>
</div>
<p align="left">
<A CLASS=FAQ id=FAQ13t>Will a PIN transaction take longer?
</A><BR>
</p>
<div id=FAQ13s style=display:None class=FAQB>
<P align="left">No, it should take slightly less time overall, than the cardholder signing a receipt and the signature being verified.</P>
</div>
<p align="left">
<A CLASS=FAQ id=FAQ14t>How do I refund a PIN transaction?</A><BR>
</p>
<div id=FAQ14s style=display:None class=FAQB>
<P align="left">Follow current procedures but as with sales, the cardholder will be prompted to enter their PIN.</P>
</div>
<p align="left">
<A CLASS=FAQ id=FAQ15t>Will PIN mean I get less referrals?</A><BR>
</p>
<div id=FAQ15s style=display:None class=FAQB>
<P align="left">Not necessarily, the referral process will remain unchanged. If your terminal requests a referral then you must still ring the Authorisation Centre for an authorisation code. Please note: an authorisation code is not the same as a PIN.</P>
</div>
<p align="left">
<A CLASS=FAQ id=FAQ16t>I wish to take a Cardholder Not Present (CNP) transaction, what do I do regarding chip & PIN?
</A><BR>
</p>
<div id=FAQ16s style=display:None class=FAQB>
<P align="left">The chip & PIN process only relates to Cardholder Present transactions. Process your CNP transaction in the normal way.</P>
</div>
<p align="left">
<A CLASS=FAQ id=FAQ17t>What is PAN truncation?</A><BR>
</p>
<div id=FAQ17s style=display:None class=FAQB>
<P align="left">Primary Account Number (PAN) Truncation, is a simple and effective way of disguising cardholder account numbers on transaction receipts. Each customers card account details are replaced by a set of asterisks (****) on their copy of the receipt. This keeps their account details secret and stops fraudsters who could otherwise steal and use the information. (You will retain the account number in full on your merchant copy of the receipt should any queries arise). It is highly recommended by all card schemes that merchants should have this fraud prevention measure.</P>
</div>
<tr>
<td id="menu_block" width="143" bgcolor="#ffffff" valign="bottom">
<p align="center">
<img border="0" src="cards.jpg" width="100" height="211" align="bottom"></td>
</tr>
<tr>
<td width="171" align="center" valign="top">
</tr>
</tr>
</tr>
</tr>
</table></td>
<tr class="sand">
<td width="736"><table id="footer" width="700" align="center" cellpadding="0" cellspacing="0" border="0">
<tr><td width="94"><p class="foot">
<font face="Verdana" style="font-size: 7pt">©
handepay :</font></td>
<td><font face="Verdana"><a href="privacy.asp">
<span style="font-size: 7pt">privacy policy</span></a></font></
td>
<td width="63"><font face="Verdana"><a href="index.asp">
<span style="font-size: 7pt">main page</span></a><span style="font-size: 7pt"> :</span></font></td>
<td width="75"><font face="Verdana"><a href="products.asp">
<span style="font-size: 7pt">our products</span></a><span style="font-size: 7pt"> :</span></font></td>
<td width="50"><font face="Verdana"><a href="savings.asp">
<span style="font-size: 7pt">savings</span></a><sp
an style="font-size: 7pt"> :</span></font></td>
<td width="53"><font face="Verdana"><a href="services.asp">
<span style="font-size: 7pt">services</span></a><s
pan style="font-size: 7pt"> :
</span>
</font>
<td width="36"><font face="Verdana"><a href="faq.asp">
<span style="font-size: 7pt">faq's</span></a><span
style="font-size: 7pt"> :</span></font></td>
<td width="80"><font face="Verdana"><a href="company.asp">
<span style="font-size: 7pt">our company</span></a><span style="font-size: 7pt"> :</span></font></td>
<td width="39"><font face="Verdana"><a href="contact.asp">
<span style="font-size: 7pt">contact</span></a></f
ont></td>
</td></tr>
</table></td></tr>
<td width="100%" height="10" id="bottomwhite"></td>
</tr>
</table>
</div>
</table>
</div>
</body>
</html>
//////////////////////////
//////////
//////////
//////////
Code//////
//////////
//////////
//////////
//////////
/////////
Works perfectly in IE but not at all in firefox
the text is still hidden as it is a css property but there is not even an option to click on any of the text in firefox, just select it.
Thanks in advance.