You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<script>
var precio_producto = new Array( 0, 570, 380, 350, 230, 350, 230, 260, 560, 350, 230, 280, 280 );
var nombre_producto = new Array( 'Pick one',
'FTDN',
'FTDN renewal',
'FWH for Harbour/xHarbour 32',
'Upgrade an old version to current FWH 32',
'FWH for Harbour 64',
'Upgrade an old version to current FWH 64',
'FiveTouch',
'FiveTouch Developer Edition',
'FWPPC for Pocket PC',
'Upgrade an old version to current FWPPC',
'FiveMac for Mac OSX',
'FiveLinux' );
function PrecioTotal()
{
document.form1.total.value = precio_producto[ document.form1.lista_productos.value ];
if( document.form1.por_email.value == -60 )
{
document.form1.total.value -= 60;
}
else
{
if( document.form1.portes.value != '-' ) // tiene portes
{
document.form1.total.value = parseInt( document.form1.total.value ) +
parseInt( document.form1.portes.value );
}
}
}
function validar( form )
{
if( form.lista_productos.value == "0" )
{
alert( "Please select a product" );
form.lista_productos.focus();
return false;
}
if( ( form.portes.value == '-' ) && ( form.por_email.value == 0 ) )
{
alert( "Please select a shipping area" );
form.portes.focus();
return false;
}
if( form.remitente.value == "" )
{
alert( "Please enter your email" );
form.remitente.focus();
return false;
}
if( form.company.value == "" )
{
alert( "Please, enter the company name" );
form.company.focus();
return false;
}
if( form.credit_card.value == "" )
{
alert( "Please, select your credit card" );
form.credit_card.focus();
return false;
}
if( form.vattax.value == "" )
{
alert( "Please, enter your vat/tax number or zero if it does not apply" );
form.vattax.focus();
return false;
}
if( form.credit_owner.value == "" )
{
alert( "Please, enter the name of the card owner" );
form.credit_owner.focus();
return false;
}
if( form.credit_number.value == "" )
{
alert( "Please, enter your credit card number" );
form.credit_number.focus();
return false;
}
if( form.security_code.value == "" )
{
alert( "Please, enter your credit card security code" );
form.security_code.focus();
return false;
}
if( form.expdate.value == "" )
{
alert( "Please, enter the expiration date" );
form.expdate.focus();
return false;
}
// Almcenamos el precio del producto
form.producto.value = precio_producto[ form.lista_productos.value ];
//Almcenamos el nombre del producto
form.product.value = nombre_producto[ form.lista_productos.value ];
//selecionamos el area viendo su precio
switch( form.portes.value )
{
case "-":
form.shipping_area.value = "-";
break;
case "20":
form.shipping_area.value = "Spain & Portugal";
break;
case "52":
form.shipping_area.value = "UK, Benelux, Germany, France & Italy";
break;
case "58":
form.shipping_area.value = "Austria, Denmark, Finland, Sweden, Greece & Irland";
break;
case "85":
form.shipping_area.value = "Rest of Europe";
break;
case "87":
form.shipping_area.value = "USA, Canada & Puerto Rico";
break;
case "96":
form.shipping_area.value = "Central & South America";
break;
case "110":
form.shipping_area.value = "Rest of the World";
break;
}
// vemos si el envio es por email
if( form.por_email.value == 0 )
{
form.viamail.value = "No";
}
else
{
form.viamail.value = "Yes";
}
form.submit();
}
</script>
Buy your FIVETECH Product Today!
Please fill the following form:
<tr>
<td height="33"><font size="2"
face="Verdana, Arial, Helvetica, sans-serif">Email delivery (60 Euros disccount)</font></td>
<td><!--aki se almacena si el envio es por email en formato texto--> <select name="por_email" size="1"
onchange="PrecioTotal()">
<option selected value="-60">Yes</option>
<option value="0">No</option>
</select></td>
</tr>
<tr>
<td height="42"><font size="2" face="Verdana">Shipping expenses</font></td>
<td><font face="Verdana"><!--<aki se almacena el area selecionada--> <!--si se cambian los precios hay q cambiar los valores del switch de la linea 122-->
Not applicable
20 euros - España & Portugal
52 euros - UK, Benelux, Germany, France & Italy
58 euros - Austria, Denmark, Finland, Sweden, Greece & Ireland
85 euros - Rest of Europe
87 euros - USA, Canada & Puerto Rico
96 euros - Central & south America
110 euros - Rest of the world
Please select a product
Select one
FTDN
FTDN Renewal
FWH for Harbour/xHarbour 32
Upgrade an old version to current FWH 32
FWH for Harbour 64
Upgrade an old version to current FWH 64
FiveTouch
FiveTouch Developer Edition
FiveWin for Pocket PC (FWPPC)
Upgrade an old version to current FWPPC
FiveMac for Mac OSX
FiveLinux
Price
Euros
Email address
Company name
Address
Address
City
State
ZIP code
Country
VAT (if applicable)
Phone
Credit card
Select one
VisaCard
MasterCard
American Express
EuroCard