<!--//
function setC() {
// Care To [C]omment?
// Should be "left:0px; top:31px;" to align exactly over the original box.
t =         '<div id="messageBeingSentLayer" style="visibility: hidden; position:absolute; left:12px; top:36px; width:370px; height:118px; z-index:1; border-left: 1px solid #999999; border-bottom: 1px solid #999999; background-color: #FFFFFF; padding: 12px">';
t += "\n" + '  <b>Sending message...</b><br>';
t += "\n" + '    <img src="/ctc/px.gif" width="1" height="8" alt=""><br>';
t += "\n" + '    Please wait...<br>';
t += "\n" + '    &nbsp;<br>';
t += "\n" + '    &nbsp;<br>';
t += "\n" + '    <img src="/ctc/px.gif" width="1" height="8" alt=""><br>';
t += "\n" + '    <b>&nbsp;</b>';
t += "\n" + '</div>';
t += "\n" + '<div id="messageSentLayer" style="visibility: hidden; position:absolute; left:12px; top:36px; width:370px; height:118px; z-index:1; border-left: 1px solid #999999; border-bottom: 1px solid #999999; background-color: #FFFFFF; padding: 12px">';
t += "\n" + '  <b>Sending message... Done.</b><br>';
t += "\n" + '    <img src="/ctc/px.gif" width="1" height="8" alt=""><br>';
t += "\n" + '    Your opinion helps us improve the content of<br>';
t += "\n" + '    this and other OFFSHORE-FOX.COM websites<br>';
t += "\n" + '    and publications.<br>';
t += "\n" + '    <img src="/ctc/px.gif" width="1" height="8" alt=""><br>';
t += "\n" + '    <b>Thank you!</b>';
t += "\n" + '</div>';
c =         '<form action="/cgi-bin/ctc-thanks.cgi" method="POST" target="_self" onSubmit="showT()">';
c += "\n" + '<table width="370" border="0" cellspacing="0" cellpadding="0" align="left">';
c += "\n" + '  <tr>';
c += "\n" + '    <td rowspan="2" width="181" height="31"><img src="/ctc/f_ctc_w.gif" width="181" height="31" border="0" alt="Care to comment?"></td>';
c += "\n" + '    <td width="11" height="30">&nbsp;</td>';
c += "\n" + '    <td width="121" height="30" bgcolor="#FFFFFF" valign="bottom"><a href="javascript:showA()"><img src="/ctc/f_na_g.gif" width="121" height="24" border="0" alt="Need advice?"></a></td>';
c += "\n" + '    <td width="57" height="30">&nbsp;</td>';
c += "\n" + '  </tr>';
c += "\n" + '  <tr>';
c += "\n" + '    <td colspan="3" width="189" height="1" style="background-color: #999999" bgcolor="#999999"><img src="/ctc/px.gif" width="1" height="1" alt=""></td>';
c += "\n" + '  </tr>';
c += "\n" + '</table>';
c += "\n" + '<br clear="all">';
c += "\n" + '<table width="370" border="0" cellspacing="0" cellpadding="0" align="left">';
c += "\n" + '  <tr>';
c += "\n" + '    <td rowspan="5" width="1" style="background-color: #999999" bgcolor="#999999"><img src="/ctc/px.gif" width="1" height="1" alt=""></td>';
c += "\n" + '    <td rowspan="5" width="12">&nbsp;</td>';
c += "\n" + '    <td colspan="2" width="357"><img src="/ctc/px.gif" width="1" height="12" alt=""></td>';
c += "\n" + '  </tr>';
c += "\n" + '  <tr>';
c += "\n" + '    <td width="101"><b>Was this page<br>';
c += "\n" + '      useful to you?</b></td>';
c += "\n" + '    <td width="256">';
c += "\n" + '      <select id="selectRankingPullDown" style="visibility: visible; width: 202px" name="pageRating">';
c += "\n" + '        <option selected>Select answer...</option>';
c += "\n" + '        <option> </option>';
c += "\n" + '        <option>(++) Very useful</option>';
c += "\n" + '        <option>(+) Mostly useful</option>';
c += "\n" + '        <option>(+-) Partly useful</option>';
c += "\n" + '        <option>(-) Not really useful</option>';
c += "\n" + '        <option>(--) Not at all useful</option>';
c += "\n" + '      </select></td>';
c += "\n" + '  </tr>';
c += "\n" + '  <tr>';
c += "\n" + '    <td colspan="2" width="357"><img src="/ctc/px.gif" width="1" height="4" alt=""></td>';
c += "\n" + '  </tr>';
c += "\n" + '  <tr>';
c += "\n" + '    <td width="101"><b>Have you any comments?</b></td>';
c += "\n" + '    <td width="256">';
c += "\n" + '      <textarea style="width: 202px; height: 45px" name="pageComments" wrap="VIRTUAL" cols="25" rows="3"></textarea></td>';
c += "\n" + '  </tr>';
c += "\n" + '  <tr>';
c += "\n" + '    <td colspan="2" width="357"><img src="/ctc/px.gif" width="1" height="4" alt=""></td>';
c += "\n" + '  </tr>';
c += "\n" + '  <tr>';
c += "\n" + '    <td colspan="3" width="114"><img src="/ctc/f_arr.gif" width="104" height="24" border="0" alt=""></td>';
c += "\n" + '    <td width="256">';
c += "\n" + '      <input class="button" type="submit" value="Submit">';
c += "\n" + hiddenFormFields + '</td>';
c += "\n" + '  </tr>';
c += "\n" + '</table>';
c += "\n" + '</form>';
c = t + c;
}
function setA() {
// Need [A]dvice?
a =         '<form action="/cgi-bin/contact.cgi" method="GET" target="_parent">';
a += "\n" + '<table width="370" border="0" cellspacing="0" cellpadding="0" align="left">';
a += "\n" + '  <tr>';
a += "\n" + '    <td rowspan="2" width="141" height="31"><img src="/ctc/f_na_w.gif" width="141" height="31" border="0" alt="Need advice?"></td>';
a += "\n" + '    <td width="11" height="30">&nbsp;</td>';
a += "\n" + '    <td width="155" height="30" bgcolor="#FFFFFF" valign="bottom"><a href="javascript:showC()"><img src="/ctc/f_ctc_g.gif" width="155" height="24" border="0" alt="Care to comment?"></a></td>';
a += "\n" + '    <td width="63" height="30">&nbsp;</td>';
a += "\n" + '  </tr>';
a += "\n" + '  <tr>';
a += "\n" + '    <td colspan="3" width="229" height="1" style="background-color: #999999" bgcolor="#999999"><img src="/ctc/px.gif" width="1" height="1" alt=""></td>';
a += "\n" + '  </tr>';
a += "\n" + '</table>';
a += "\n" + '<br clear="all">';
a += "\n" + '<table width="370" border="0" cellspacing="0" cellpadding="0" align="left">';
a += "\n" + '  <tr>';
a += "\n" + '    <td rowspan="2" width="1" style="background-color: #999999" bgcolor="#999999"><img src="/ctc/px.gif" width="1" height="1" alt=""></td>';
a += "\n" + '    <td rowspan="2" width="12">&nbsp;</td>';
a += "\n" + '    <td colspan="2" width="357"><img src="/ctc/px.gif" width="1" height="6" alt=""></td>';
a += "\n" + '  </tr>';
a += "\n" + '  <tr>';
a += "\n" + '    <td width="101"><b>Write to an expert for practical advice and service.</b></td>';
a += "\n" + '    <td width="256">';
a += "\n" + '      <select style="width: 245px" name="subject">';
a += "\n" + '        <option selected>Subject of your enquiry?</option>';
a += "\n" + '        <option>_______________________________</option>';
a += "\n" + adviceOptions;
a += "\n" + '        <option>_______________________________</option>';
a += "\n" + '        <option>Another subject</option>';
a += "\n" + '        <option> </option>';
a += "\n" + '      </select></td>';
a += "\n" + '  </tr>';
a += "\n" + '  <tr>';
a += "\n" + '    <td colspan="3" width="114"><img src="/ctc/f_arr.gif" width="104" height="24" border="0" alt=""></td>';
a += "\n" + '    <td width="256">';
a += "\n" + '      <input class="button" type="submit" value="Continue">';
a += "\n" + hiddenFormFields + '</td>';
a += "\n" + '  </tr>';
a += "\n" + '</table>';
a += "\n" + '</form>';
}
function showC() { document.getElementById("ctc").innerHTML = c; }
function showA() { document.getElementById("ctc").innerHTML = a; }
// Use this for no delay:
//function showT() {
//  document.getElementById("selectRankingPullDown").style.visibility = "hidden";
//  document.getElementById("messageSentLayer").style.visibility = "visible";
//}
function showT() {
document.getElementById("selectRankingPullDown").style.visibility = "hidden";
document.getElementById("messageBeingSentLayer").style.visibility = "visible";
window.setTimeout('showT2();',1500); // 1.5 sec
}
function showT2() {
document.getElementById("messageBeingSentLayer").style.visibility = "hidden";
document.getElementById("messageSentLayer").style.visibility = "visible";
}
// function cancelClick() { return false; }
var c;  var t; setC();
var a;  setA();
//-->

