with(document) {
writeln('<tr>');
writeln('<td background="../../images/background_side.gif" style="background-repeat: no-repeat" valign="top">');
writeln('<table border="0" margin="0" cellspacing="0"  cellpadding="0">');
writeln('<tr>');
writeln('<td rowspan="10">');
writeln('<img border="0" src="../../images/spacer.gif" width="5">');
writeln('</td>');
writeln('<td>');
writeln('<img border="0" src="../../images/spacer.gif" height="125">');
writeln('</td>');
writeln('</tr>');

// Shipment tracking
if (page.indexOf('quikx_logistics/') != -1) {
} else {
 writeln('<tr>');
 writeln('<td background="../../images/box_stdr_fr.gif" height="38">');
 // writeln('<img border="0" src="../../images/box_stdr.gif" alt="Shipment Tracking &amp; Document  Retrieval">'); 
 writeln('</td>');
 writeln('</tr>');
 writeln('<tr>');
 writeln('<td background="../../images/box_gradient.gif">');
 writeln('<span style="position: relative; top: 5px; left: 2px;">');
 writeln('<form name="quickTracking" method="post" target="quikTrackingWin" style="margin-bottom: 10px" ');
 if (page.indexOf('quiktrax/') != -1) {
  write('action="http://www.quikx.com/quikxgrpweb/CGI101R_QT.PGM">');
 }
 if (page.indexOf('quikx/') != -1) {
  write('action="http://www.quikx.com/quikxgrpweb/CGI101R_QX.PGM">');
 }
 if (page.indexOf('roadfast/') != -1) {
  write('action="http://www.quikx.com/quikxgrpweb/CGI101R_RF.PGM">');
 }
 if (page.indexOf('ushkowski/') != -1) {
  write('action="http://www.quikx.com/quikxgrpweb/CGI101R_UK.PGM">');
 }
 if (page.indexOf('elke/') != -1) {
  write('action="http://www.quikx.com/quikxgrpweb/CGI101R_EB.PGM">');
 }
 writeln('<input type="hidden" name="LANGUAGE" value="F" />');
 writeln('<table width="185" border="0" cellspacing="0" cellpadding="0" class="bodyText">');
 writeln('<tr align="left" valign="middle">');
 writeln('<td valign="top">');
 writeln('<select name="NUMTYPE" size="1" class="inputText" >');
 writeln('<option selected>PRO NUMBER</option>');
 writeln('<option>BILL OF LADING NUMBER</option>');
 writeln('<option>CUSTOMER P.O. NUMBER</option>');
 writeln('<option>CARRIER PRO NUMBER</option>');
 writeln('</select>');
 writeln('</td>');
 writeln('</tr>');
 writeln('<tr align="left" valign="middle">');
 writeln('<td valign="top">');
 writeln('<input name="NUM" type="text" class="inputText" size="17" maxlength="20"  >');
 writeln('<span class="buttonText" onmouseover="this.style.color=\'#ff0000\'" onmouseout="this.style.color=\'#447583\'" onclick="if (validateString(document.quickTracking.NUM,\'S&#096;il vous plaît entrer un numéro\',1,20) != false) document.quickTracking.submit();">ALLEZ</span>');
 writeln('</td>');
 writeln('</tr>');
 writeln('</table>');
 writeln('</form>');
 writeln('</span>');
 writeln('</td>');
 writeln('</tr>');

 writeln('<tr><td><br></td></tr>');
}

// Fuel Surcharge
writeln('<tr>');
writeln('<td background="../../images/box_fuelsurcharge_fr.gif" height="27">');
// writeln('<img border="0" src="../../images/box_fuelsurcharge.gif" alt="Fuel Surcharge">');
writeln('</td>');
writeln('</tr>');
writeln('<tr>');
writeln('<td background="../../images/box_gradient.gif" >');
writeln('<span style="position: relative; top: 5px; left: 2px;">');
writeln('<form name="fuelSurcharge" method="post" target="fuelSurchargeWin" style="margin-bottom: 10px"');
if (page.indexOf('quikx/') != -1) {
 write('action="http://www.quikx.com/quikxgrpweb/CGI180R_QX.PGM">');
}
if (page.indexOf('quikx_logistics/') != -1) {
 write('action="http://www.quikx.com/quikxgrpweb/CGI180R_TX.PGM">');
}
if (page.indexOf('roadfast/') != -1) {
 write('action="http://www.quikx.com/quikxgrpweb/CGI180R_RF.PGM">');
}
if (page.indexOf('quiktrax/') != -1) {
 write('action="http://www.quikx.com/quikxgrpweb/CGI180R_QT.PGM">');
}
if (page.indexOf('ushkowski/') != -1) {
 write('action="http://www.quikx.com/quikxgrpweb/CGI180R_UK.PGM">');
}
if (page.indexOf('elke/') != -1) {
 write('action="http://www.quikx.com/quikxgrpweb/CGI180R_EB.PGM">');
}
writeln('<input type="hidden" name="LANGUAGE" value="F" />');
writeln('<input type="hidden" name="FSCE" value="F" />');
writeln('<table width="185" border="0" cellspacing="0" cellpadding="1" class="bodyText">');
writeln('<tr align="left" valign="middle">');
writeln('<td>');
writeln('<input name="PUDATE" id="fsDate" type="text" size="13" maxlength="10" class="inputText">');
writeln('<img onclick="show_calendar(\'fuelSurcharge.PUDATE\')" src="../../images/Date_Picker.gif" alt="Display calendar" border="0" align="absmiddle" />');
writeln('<span class="buttonText" onmouseover="this.style.color=\'#ff0000\'" onmouseout="this.style.color=\'#447583\'" onclick="if (validateDate(document.fuelSurcharge.PUDATE,\'S&#096;il vous plaît entrer une date valide de ramassage - MM/JJ/AAAA\') != false) document.fuelSurcharge.submit();">ALLEZ</span>');
writeln('</td>');
writeln('</tr>');
writeln('<tr align="left" valign="middle">');
writeln('<td>(MM/DD/AAAA)</td>');
writeln('</tr>');
writeln('</table>');
writeln('</form>');
writeln('</span>');
writeln('</td>');
writeln('</tr>');

writeln('<tr><td><br></td></tr>');

// Currency Exchange
writeln('<tr>');
writeln('<td background="../../images/box_currencyexchnage_fr.gif" height="27">');
// writeln('<img border="0" src="../../images/box_currencyexchnage.gif" alt="Currency Exchange">');
writeln('</td>');
writeln('</tr>');
writeln('<tr>');
writeln('<td background="../../images/box_gradient.gif" >');
writeln('<span style="position: relative; top: 5px; left: 2px;">');
writeln('<form name="currencyExchange" method="post" target="currencyExchangeWin" style="margin-bottom: 10px" ');
if (page.indexOf('quikx/') != -1) {
 write('action="http://www.quikx.com/quikxgrpweb/CGI180R_QX.PGM">');
}
if (page.indexOf('quikx_logistics/') != -1) {
 write('action="http://www.quikx.com/quikxgrpweb/CGI180R_TX.PGM">');
}
if (page.indexOf('roadfast/') != -1) {
 write('action="http://www.quikx.com/quikxgrpweb/CGI180R_RF.PGM">');
}
if (page.indexOf('quiktrax/') != -1) {
 write('action="http://www.quikx.com/quikxgrpweb/CGI180R_QT.PGM">');
}
if (page.indexOf('ushkowski/') != -1) {
 write('action="http://www.quikx.com/quikxgrpweb/CGI180R_UK.PGM">');
}
if (page.indexOf('elke/') != -1) {
 write('action="http://www.quikx.com/quikxgrpweb/CGI180R_EB.PGM">');
}
writeln('<input type="hidden" name="LANGUAGE" value="F" />');
writeln('<input type="hidden" name="FSCE" value="C" />');
writeln('<table width="185" border="0" cellspacing="0" cellpadding="1" class="bodyText">');
writeln('<tr align="left" valign="middle">');
writeln('<td>');
writeln('<input name="PUDATE" id="ceDate" type="text" size="13" maxlength="10" class="inputText">');
writeln('<img onclick="show_calendar(\'currencyExchange.PUDATE\')" src="../../images/Date_Picker.gif" alt="Display calendar" border="0" align="absmiddle" />');
writeln('<span class="buttonText" onmouseover="this.style.color=\'#ff0000\'" onmouseout="this.style.color=\'#447583\'" onclick="if (validateDate(document.currencyExchange.PUDATE,\'S&#096;il vous plaît entrer une date valide de ramassage - MM/JJ/AAAA\') != false) document.currencyExchange.submit();">ALLEZ</span>');
writeln('</td>');
writeln('</tr>');
writeln('<tr align="left" valign="middle">');
writeln('<td>(MM/DD/AAAA)</td>');
writeln('</tr>');
writeln('</table>');
writeln('</form>');
writeln('</span>');
writeln('</td>');
writeln('</tr>');
writeln('<tr>');
writeln('<td align="right" v-align="bottom" height="100">');
writeln('<a href="../company_index.html"><img border="0" src="../../images/logo_quikxgroup_sm_fr.gif" width="110" height="27" alt="Quik X Group of Companies"></a>');
writeln('</td>');
writeln('<td rowspan="10">');
writeln('<img border="0" src="../../images/spacer.gif" width="15">');
writeln('</td>');
writeln('</tr>');
writeln('</table>');

writeln('</td>');
writeln('<td align="left" valign="top" bgcolor="#FFFFFF">');
writeln('<table border="0" cellspacing="2" cellpadding="2" bgcolor="#FFFFFF" class="bodyText" height="420">');
writeln('<tr>');
writeln('<td valign="top">');

if (page.indexOf('quikx/') != -1) {
writeln('<a href="splash.html"><img border="0" style="padding-top: 5px;" src="../../images/quikx/head_img_quikx.jpg"></a>');
}
if (page.indexOf('quikx_logistics/') != -1) {
writeln('<a href="splash.html"><img border="0" style="padding-top: 5px;" src="../../images/quikx_logistics/head_img_quikx_logistics_fr.jpg"></a>');
}
if (page.indexOf('roadfast/') != -1) {
writeln('<a href="splash.html"><img border="0" style="padding-top: 5px;" src="../../images/roadfast/head_img_roadfast.jpg"></a>');
}
if (page.indexOf('quiktrax/') != -1) {
writeln('<a href="splash.html"><img border="0" style="padding-top: 5px;" src="../../images/quiktrax/head_img_quiktrax.jpg"></a>');
}
if (page.indexOf('ushkowski/') != -1) {
writeln('<a href="splash.html"><img border="0" style="padding-top: 5px;" src="../../images/ushkowski/head_img_ushkowski.jpg"></a>');
}
if (page.indexOf('elke/') != -1) {
writeln('<a href="splash.html"><img border="0" style="padding-top: 5px;" src="../../images/elke/head_img_elke.jpg"></a>');
}
if (page.indexOf('troair/') != -1) {
writeln('<a href="splash.html"><img border="0" style="padding-top: 5px;" src="../../images/troair/head_img_troair.jpg"></a>');
}

var d=new Date();
month = d.getMonth()+1;
if (month <=9) {month = '0' + month}    
day = d.getDate();
if (day <=9) {day = '0' + day}    
year = d.getYear();
if (year < 200) {year = year + 1900};
getElementById('fsDate').value = month + '/' + day + '/' + year;
getElementById('ceDate').value = month + '/' + day + '/' + year;
}



