
/* --------------------------------------------------------------------------------- 

	This function is used to create instances of products. Each product must be
    represented by an object in the following form. The parameters are all self-
    explainatory - the PRICE of the product - the NAME of the product - the URL
    of the product on your site - the ID of the product. The product ID is essencial
    because this is sent back to you rather than the name of the product.*/
    
function product(prezzo, prezzo2, euro, name, location, id) 
{
   this.prezzo = prezzo; 
   this.prezzo2 = prezzo2; 
   this.euro = euro;
   this.name = name;
   this.location = location;
   this.id = id;
}

/* --------------------------------------------------------------------------------------------

	This code creates instances of the nine demo products on this site. It is recommended
   that you maintain a naming system similar to the one below to avoid confusion as the
   size of your site increases. (eg pgone_prone means page one - product one (the first
   product displayed on the first page)).*/

// ***INSERT HERE***

epsonpro_prone = new product(0, 12.00, 0, "kit nero cod.pro", "epsonpro.htm#eps proN", "eps-proN");
epsonpro_prtwo = new product(0, 30.00, 0, "Kit colore cod.pro", "epsonpro.htm#eps proC", "eps-proC");

epsonc42_prone = new product(0, 12.00, 0, "kit nero cod.c42", "epsonc42.htm#eps-C42N", "eps-C42N");
epsonc42_prtwo = new product(0, 30.00, 0, "kit colore cod.c42", "epsonc42.htm#eps-C42C", "eps-C42C");
epsonc42_prthree = new product(0, 7.50, 0, "resetter", "epsonc42.htm#RESETTER", "RESETTER");

epson790_prone = new product(0, 12.00, 0, "kit nero cod.790", "epson790.htm#eps-790N", "eps-790N");
epson790_prtwo = new product(0, 45.00, 0, "kit colore cod.790", "epson790.htm#eps-790C", "eps-790C");
epson790_prthree = new product(0, 7.50, 0, "resetter1", "epson790.htm#RESETTER1", "RESETTER");

epsonc70_prone = new product(0, 12.00, 0, "kit nero cod.c70", "epsonc70.htm#eps c70N", "eps-c70N");
epsonc70_prtwo = new product(0, 30.00, 0, "kit colore cod.c70", "epsonc70.htm#eps c70C", "eps-c70C");
epsonc70_prthree = new product(0, 7.50, 0, "resetter2", "epsonc70.htm#RESETTER2", "RESETTER");

epsonR200_prone = new product(0, 12.00, 0, "kit nero cod.R200", "epsonR200.htm#eps R200N", "eps-R200N");
epsonR200_prtwo = new product(0, 45.00, 0, "kit colore cod.R200", "epsonR200.htm#eps R200C", "eps-R200C");
epsonR200_prthree = new product(0, 7.50, 0, "resetter3", "epsonR200.htm#RESETTER3", "RESETTER");

hp11_prone = new product(0, 12.00, 0, "Kit nero cod.hp11", "hp11.htm#hp 11N", "hp-11N");
hp11_prtwo = new product(0, 30.00, 0, "Kit colore cod.hp11", "hp11.htm#hp 11C", "hp-11C");
hp11_prthree = new product(0, 18.00, 0, "Accessorio1 cod.hp11", "hp11.htm#hp 11 acc", "ACC-hp11");
hp11_prfour = new product(0, 20.00, 0, "Kit nero cod.hp11-250ml", "hp11.htm#hp11N-250", "hp11N-25");
hp11_prfive = new product(0, 20.00, 0, "Kit ciano cod.hp11-250ml", "hp11.htm#hp11C-250", "hp11C-25");
hp11_prsix = new product(0, 20.00, 0, "Kit magenta cod.hp11-250ml", "hp11.htm#hp11M-250", "hp11M-25");
hp11_prseven = new product(0, 20.00, 0, "Kit yellow cod.hp11-250ml", "hp11.htm#hp11Y-250", "hp11Y-25");

hp21_prone = new product(0, 12.00, 0, "Kit nero cod.hp21", "hp21.htm#hp 21N", "hp-21N");
hp21_prtwo = new product(0, 30.00, 0, "Kit colore cod.hp21", "hp21.htm#hp 21C", "hp-21C");
hp21_prthree = new product(0, 18.00, 0, "Accessorio1 cod.hp21", "hp21.htm#hp 21 acc", "ACC-hp21");
hp21_prfour = new product(0, 20.00, 0, "Kit nero cod.hp21-250ml", "hp21.htm#hp21N-25", "hp-21N-25");
hp21_prfive = new product(0, 20.00, 0, "Kit ciano cod.hp21-250ml", "hp21.htm#hp21CI-25", "hp-21CI-25");
hp21_prsix = new product(0, 20.00, 0, "Kit magenta cod.hp21-250ml", "hp21.htm#hp21MA-25", "hp-21MA-25");
hp21_prseven = new product(0, 20.00, 0, "Kit yellow cod.hp21-250ml", "hp21.htm#hp21YE-25", "hp-21YE-25");

hp31_prone = new product(0, 12.00, 0, "Kit nero cod.hp31", "hp31.htm#hp 31N", "hp-31N");
hp31_prtwo = new product(0, 30.00, 0, "Kit colore cod.hp31", "hp31.htm#hp 31C", "hp-31C");
hp31_prthree = new product(0, 24.00, 0, "Kit colore photo cod.hp31", "hp31.htm#hp 31C ph", "PH-hp31C");
hp31_prfour = new product(0, 9.00, 0, "Accessorio3 cod.hp31", "hp31.htm#hp 31 acc", "ACC-hp31");
hp31_prfive = new product(0, 20.00, 0, "Kit nero cod.hp31-250ml", "hp31.htm#hp31N-25", "hp-31N-25");
hp31_prsix = new product(0, 20.00, 0, "Kit ciano cod.hp31-250ml", "hp31.htm#hp31CI-25", "hp-31CI-25");
hp31_prseven = new product(0, 20.00, 0, "Kit magenta cod.hp31-250ml", "hp31.htm#hp31MA-25", "hp-31MA-25");
hp31_preight = new product(0, 20.00, 0, "Kit yellow cod.hp31-250ml", "hp31.htm#hp31YE-25", "hp-31YE-25");


can41_prone = new product(0, 12.00, 0, "Kit nero cod.can41", "can41.htm#can 41N", "can-41N");
can41_prtwo = new product(0, 30.00, 0, "Kit colore cod.can41", "can41.htm#can 41C", "can-41C");
can41_prthree = new product(0, 20.00, 0, "Kit nero cod.can41-250ml", "can41.htm#can 41N-250ml", "can-41N-250ml");
can41_prfour = new product(0, 20.00, 0, "Kit ciano cod.can41-250ml", "can41.htm#can 41CI-250ml", "can-41CI-250ml");
can41_prfive = new product(0, 20.00, 0, "Kit magenta cod.can41-250ml", "can41.htm#can 41MA-250ml", "can-41MA-250ml");
can41_prsix = new product(0, 20.00, 0, "Kit yellow cod.can41-250ml", "can41.htm#can 41YE-250ml", "can-41YE-250ml");

can51_prone = new product(0, 12.00, 0, "Kit nero cod.can51", "can51.htm#can 51N", "can-51N");
can51_prtwo = new product(0, 30.00, 0, "Kit colore cod.can51", "can51.htm#can 51C", "can-51C");
can51_prthree = new product(0, 20.00, 0, "Kit nero cod.can51-250ml", "can51.htm#can 51N-250ml", "can-51N-250ml");
can51_prfour = new product(0, 20.00, 0, "Kit ciano cod.can51-250ml", "can51.htm#can 51CI-250ml", "can-51CI-250ml");
can51_prfive = new product(0, 20.00, 0, "Kit magenta cod.can51-250ml", "can51.htm#can 51MA-250ml", "can-51MA-250ml");
can51_prsix = new product(0, 20.00, 0, "Kit yellow cod.can51-250ml", "can51.htm#can 51YE-250ml", "can-51YE-250ml");

can61_prone = new product(0, 12.00, 0, "Kit nero cod.can61", "can61.htm#can 61N", "can-61N");
can61_prtwo = new product(0, 30.00, 0, "Kit colore cod.can61", "can61.htm#can 61C", "can-61C");
can61_prthree = new product(0, 20.00, 0, "Kit nero cod.can61-250ml", "can61.htm#can 61N-250ml", "can-61N-250ml");
can61_prfour = new product(0, 20.00, 0, "Kit ciano cod.can61-250ml", "can61.htm#can 61CI-250ml", "can-61CI-250ml");
can61_prfive = new product(0, 20.00, 0, "Kit magenta cod.can61-250ml", "can61.htm#can 61MA-250ml", "can-61MA-250ml");
can61_prsix = new product(0, 20.00, 0, "Kit yellow cod.can61-250ml", "can61.htm#can 61YE-250ml", "can-61YE-250ml");

lex71_prone = new product(0, 12.00, 0, "Kit nero cod.lex71", "lex71.htm#lex 71N", "lex-71N");
lex71_prtwo = new product(0, 30.00, 0, "Kit colore cod.lex71", "lex71.htm#lex 71C", "lex-71C");
lex71_prthree = new product(0, 9.00, 0, "Accessorio1 cod.lex71", "lex71.htm#lex 71 acc", "ACC-lex71");
lex71_prfour = new product(0, 20.00, 0, "Kit nero cod.lex71-250ml", "lex71.htm#lex 71N-250ml", "lex-71N-250ml");
lex71_prfive = new product(0, 20.00, 0, "Kit ciano cod.lex71-250ml", "lex71.htm#lex 71CI-250ml", "lex-71CI-250ml");
lex71_prsix = new product(0, 20.00, 0, "Kit magenta cod.lex71-250ml", "lex71.htm#lex 71MA-250ml", "lex-71MA-250ml");
lex71_prseven = new product(0, 20.00, 0, "Kit yellow cod.lex71-250ml", "lex71.htm#lex 71YE-250ml", "lex-71YE-250ml");

lex81_prone = new product(0, 12.00, 0, "Kit nero cod.lex81", "lex81.htm#lex 81N", "lex-81N");
lex81_prtwo = new product(0, 30.00, 0, "Kit colore cod.lex81", "lex81.htm#lex 81C", "lex-81C");
lex81_prthree = new product(0, 9.00, 0, "Accessorio1 cod.lex81", "lex81.htm#lex 81 acc", "ACC-lex81");
lex81_prfour = new product(0, 20.00, 0, "Kit nero cod.lex81-250ml", "lex81.htm#lex 81N-250ml", "lex-81N-250ml");
lex81_prfive = new product(0, 20.00, 0, "Kit ciano cod.lex81-250ml", "lex81.htm#lex 81CI-250ml", "lex-81CI-250ml");
lex81_prsix = new product(0, 20.00, 0, "Kit magenta cod.lex81-250ml", "lex81.htm#lex 81MA-250ml", "lex-81MA-250ml");
lex81_prseven = new product(0, 20.00, 0, "Kit yellow cod.lex81-250ml", "lex81.htm#lex 81YE-250ml", "lex-81YE-250ml");

olive91_prone = new product(0, 12.00, 0, "Kit nero cod.olive91", "olive91.htm#olive 91N", "olive-91N");
olive91_prtwo = new product(0, 30.00, 0, "Kit colore cod.olive91", "olive91.htm#olive 91C", "olive-91C");
olive91_prthree = new product(0, 20.00, 0, "Kit nero cod.olive91-250ml", "olive91.htm#olive 91N-250ml", "olive-91N-250ml");
olive91_prfour = new product(0, 20.00, 0, "Kit ciano cod.olive91-250ml", "olive91.htm#olive 91CI-250ml", "olive-91CI-250ml");
olive91_prfive = new product(0, 20.00, 0, "Kit magenta cod.olive91-250ml", "olive91.htm#olive 91MA-250ml", "olive-91MA-250ml");
olive91_prsix = new product(0, 20.00, 0, "Kit yellow cod.olive91-250ml", "olive91.htm#olive 91YE-250ml", "olive-91YE-250ml");

cartucceCANON_prone = new product(0, 2.50, 0, "Nero bj30-bjc70", "cartucceCANON.htm#cartucceCANON-BCI-10-BK", "001");
cartucceCANON_prtwo = new product(0, 2.50, 0, "Nero bjc70", "cartucceCANON.htm#cartucceCANON-BCI-11-BK", "002");
cartucceCANON_prthree = new product(0, 3.00, 0, "Colore bjc70", "cartucceCANON.htm#cartucceCANON-BCI-11-C", "003");
cartucceCANON_prfour = new product(0, 2.00, 0, "Nero bjc 4000 ecc..", "cartucceCANON.htm#cartucceCANON-BCI-21-N", "004");
cartucceCANON_prfive = new product(0, 2.70, 0, "Colore bjc 4000 ecc..", "cartucceCANON.htm#cartucceCANON-BCI-21-C", "005");
cartucceCANON_prsix = new product(0, 3.00, 0, "Nero Bj 600", "cartucceCANON.htm#cartucceCANON-BJI-201-BK", "006");
cartucceCANON_prseven = new product(0, 3.00, 0, "Giallo Bj 600", "cartucceCANON.htm#cartucceCANON-BJI-201-Y", "007");
cartucceCANON_preight = new product(0, 3.00, 0, "Magenta Bj 600", "cartucceCANON.htm#cartucceCANON-BJI-201-M", "008");
cartucceCANON_prnine = new product(0, 3.00, 0, "Ciano Bj 600", "cartucceCANON.htm#cartucceCANON-BJI-201-C", "009");
cartucceCANON_prten = new product(0, 4.50, 0, "Nero Bj 800", "cartucceCANON.htm#cartucceCANON BJI-643-BK", "010");
cartucceCANON_preleven = new product(0, 4.50, 0, "Ciano Bj 800", "cartucceCANON.htm#cartucceCANON-BJI-643-C", "011");
cartucceCANON_prtwelve= new product(0, 4.50, 0, "Magenta Bj 800", "cartucceCANON.htm#cartucceCANON-BJI-643-M", "012");
cartucceCANON_prthirteen= new product(0, 4.50, 0, "Giallo Bj 800", "cartucceCANON.htm#cartucceCANON-BJI-643-Y", "013");
cartucceCANON_prfourteen= new product(0, 10.00, 0, "Nero Bj 300-330", "cartucceCANON.htm#cartucceCANON-BJI-642-BK", "014");
cartucceCANON_prfifteen= new product(0, 3.25, 0, "Nero Bci 3000-6000 ecc..", "cartucceCANON.htm#cartucceCANON-BCI-3-BK", "015");
cartucceCANON_prsixteen= new product(0, 3.00, 0, "Ciano Bci 3000-6000 ecc..", "cartucceCANON.htm#cartucceCANON-BCI-3-C", "016");
cartucceCANON_prseventeen= new product(0, 3.00, 0, "Magenta Bci 3000-6000 ecc..", "cartucceCANON.htm#cartucceCANON-BCI-3-M", "017");
cartucceCANON_preighteen= new product(0, 3.00, 0, "Giallo Bci 3000-6000 ecc..", "cartucceCANON.htm#cartucceCANON-BCI-3-Y", "018");
cartucceCANON_prnineteen= new product(0, 3.00, 0, "Nero Photo Bci 3000-6000 ecc..", "cartucceCANON.htm#cartucceCANON-BCI-3-BKp", "019");
cartucceCANON_prtwenty= new product(0, 3.00, 0, "Ciano Photo Bci 3000-6000 ecc..", "cartucceCANON.htm#cartucceCANON-BCI-3-Cp", "020");
cartucceCANON_prtwenty_one= new product(0, 3.00, 0, "Magenta Photo Bci 3000-6000 ecc..", "cartucceCANON.htm#cartucceCANON-BCI-3-Mp", "021");
cartucceCANON_prtwenty_two= new product(0, 3.00, 0, "Nero Bjc 8200-S800 ecc..", "cartucceCANON.htm#cartucceCANON-BCI-6-5-BK", "022");
cartucceCANON_prtwenty_three= new product(0, 3.00, 0, "Ciano Bjc 8200-S800 ecc..", "cartucceCANON.htm#cartucceCANON-BCI-6-5-C", "023");
cartucceCANON_prtwenty_four= new product(0, 3.00, 0, "Magenta Bjc 8200-S800 ecc..", "cartucceCANON.htm#cartucceCANON-BCI-6-5-M", "024");
cartucceCANON_prtwenty_five= new product(0, 3.00, 0, "Giallo Bjc 8200-S800 ecc..", "cartucceCANON.htm#cartucceCANON-BCI-6-5-Y", "025");
cartucceCANON_prtwenty_six= new product(0, 3.00, 0, "Ciano Photo Bjc 8200-S800 ecc..", "cartucceCANON.htm#cartucceCANON-BCI-6-5-CP", "026");
cartucceCANON_prtwenty_seven= new product(0, 3.00, 0, "Magenta Photo Bjc 8200-S800 ecc..", "cartucceCANON.htm#cartucceCANON-BCI-6-5-MP", "027");
cartucceCANON_prtwenty_eight= new product(0, 2.00, 0, "Nero S200-S300 ecc..", "cartucceCANON.htm#cartucceCANON-BCI-24-BK", "028");
cartucceCANON_prtwenty_nine= new product(0, 3.00, 0, "3 Colori S200-S300 ecc..", "cartucceCANON.htm#cartucceCANON-BCI-24-C", "029");

cartucceEPSON_prone= new product(0, 9.80, 0, "Nero SQ 870-1170", "cartucceEPSON.htm#cartucceEPSON-S020010", "030");
cartucceEPSON_prtwo= new product(0, 4.80, 0, "Nero Stylus 800-1000", "cartucceEPSON.htm#cartucceEPSON-S020025", "031");
cartucceEPSON_prthree= new product(0, 3.80, 0, "Nero Stylus Color-Pro-Xl", "cartucceEPSON.htm#cartucceEPSON-S020034", "032");
cartucceEPSON_prfour= new product(0, 5.80, 0, "3 Colori Stylus Color-Pro-Xl", "cartucceEPSON.htm#cartucceEPSON-S020036", "033");
cartucceEPSON_prfive= new product(0, 3.90, 0, "Nero Stylus 820-200", "cartucceEPSON.htm#cartucceEPSON-S020047", "034");
cartucceEPSON_prsix= new product(0, 4.90, 0, "3 Colori Stylus 820-1500", "cartucceEPSON.htm#cartucceEPSON-S020049", "035");
cartucceEPSON_prseven= new product(0, 12.00, 0, "Nero Stylus 1500", "cartucceEPSON.htm#cartucceEPSON-S020062", "036");
cartucceEPSON_preight= new product(0, 3.60, 0, "Nero 400-500 ecc..", "cartucceEPSON.htm#cartucceEPSON-S020093", "037");
cartucceEPSON_prnine= new product(0, 5.90, 0, "Colore 200-500 ecc..", "cartucceEPSON.htm#cartucceEPSON-S020097", "038");
cartucceEPSON_prten= new product(0, 3.60, 0, "Nero 800-850-1520 ecc..", "cartucceEPSON.htm#cartucceEPSON-S020108", "039");
cartucceEPSON_preleven= new product(0, 4.80, 0, "Colori 400-600-800 ecc..", "cartucceEPSON.htm#cartucceEPSON-S020089", "040");
cartucceEPSON_prtwelve= new product(0, 6.60, 0, "Colori Photo 700-710 ecc..", "cartucceEPSON.htm#cartucceEPSON-S020110", "041");
cartucceEPSON_prthirteen= new product(0, 4.90, 0, "Colori 300", "cartucceEPSON.htm#cartucceEPSON-S020138", "042");
cartucceEPSON_prfourteen= new product(0, 3.60, 0, "Nero 440-460-640 ecc..", "cartucceEPSON.htm#cartucceEPSON-S020187", "043");
cartucceEPSON_prfifteen= new product(0, 3.60, 0, "Nero 740-760-860 ecc..", "cartucceEPSON.htm#cartucceEPSON-S020189", "044");
cartucceEPSON_prsixteen= new product(0, 5.40, 0, "Colori 440-460-640 ecc..", "cartucceEPSON.htm#cartucceEPSON-S020191", "045");
cartucceEPSON_prseventeen= new product(0, 2.90, 0, "Nero 480-580 ecc..", "cartucceEPSON.htm#cartucceEPSON-T013401", "046");
cartucceEPSON_preighteen= new product(0, 4.80, 0, "Colori 480-580 ecc..", "cartucceEPSON.htm#cartucceEPSON-T014401", "047");
cartucceEPSON_prnineteen= new product(0, 6.90, 0, "Nero 680-685-777 ecc..", "cartucceEPSON.htm#cartucceEPSON-T017401", "048");
cartucceEPSON_prtwenty= new product(0, 7.20, 0, "Colori 680-685-777 ecc..", "cartucceEPSON.htm#cartucceEPSON-T018401", "049");
cartucceEPSON_prtwenty_one= new product(0, 6.60, 0, "Colori 720-750 ecc..", "cartucceEPSON.htm#cartucceEPSON-S020193", "050");
cartucceEPSON_prtwenty_two= new product(0, 3.90, 0, "Nero 900", "cartucceEPSON.htm#cartucceEPSON-T003011", "051");
cartucceEPSON_prtwenty_three= new product(0, 5.90, 0, "Colori 900", "cartucceEPSON.htm#cartucceEPSON-T005011", "052");
cartucceEPSON_prtwenty_four= new product(0, 5.90, 0, "Colori Photo 1200", "cartucceEPSON.htm#cartucceEPSON-T001011", "053");
cartucceEPSON_prtwenty_five= new product(0, 7.20, 0, "Nero 780-785-870 ecc..", "cartucceEPSON.htm#cartucceEPSON-T007401", "054");
cartucceEPSON_prtwenty_six= new product(0, 7.90, 0, "Colori Photo 780-785-870 ecc..", "cartucceEPSON.htm#cartucceEPSON-T008401", "055");
cartucceEPSON_prtwenty_seven= new product(0, 3.20, 0, "Nero 880", "cartucceEPSON.htm#cartucceEPSON-T019401", "056");
cartucceEPSON_prtwenty_eight= new product(0, 4.90, 0, "Colori 880-880i", "cartucceEPSON.htm#cartucceEPSON-T020401", "057");
cartucceEPSON_prtwenty_nine= new product(0, 8.90, 0, "Colori 1270-1280-1290", "cartucceEPSON.htm#cartucceEPSON-T009401", "058");
cartucceEPSON_prthirty= new product(0, 9.50, 0, "Nero C3000-PRO 5000", "cartucceEPSON.htm#cartucceEPSON-S020118", "059");
cartucceEPSON_prthirty_one= new product(0, 10.00, 0, "Ciano C 3000-PRO 5000", "cartucceEPSON.htm#cartucceEPSON-S020130", "060");
cartucceEPSON_prthirty_two= new product(0, 10.00, 0, "Magenta C 3000-PRO 5000", "cartucceEPSON.htm#cartucceEPSON-S020126", "061");
cartucceEPSON_prthirty_three= new product(0, 10.00, 0, "Giallo C 3000-PRO 5000", "cartucceEPSON.htm#cartucceEPSON-S020122", "062");
cartucceEPSON_prthirty_four= new product(0, 19.00, 0, "Nero PRO 9000", "cartucceEPSON.htm#cartucceEPSON-T407011", "063");
cartucceEPSON_prthirty_five= new product(0, 19.00, 0, "Giallo PRO 9000", "cartucceEPSON.htm#cartucceEPSON-T408011", "064");
cartucceEPSON_prthirty_six= new product(0, 19.00, 0, "Magenta PRO 9000", "cartucceEPSON.htm#cartucceEPSON-T409011", "065");
cartucceEPSON_prthirty_seven= new product(0, 19.00, 0, "Ciano PRO 9000", "cartucceEPSON.htm#cartucceEPSON-T410011", "066");
cartucceEPSON_prthirty_eight= new product(0, 19.00, 0, "Magenta Light PRO 9000", "cartucceEPSON.htm#cartucceEPSON-T411011", "067");
cartucceEPSON_prthirty_nine= new product(0, 19.00, 0, "Ciano Light PRO 9000", "cartucceEPSON.htm#cartucceEPSON-T412011", "068");
cartucceEPSON_prfourty= new product(0, 5.10, 0, "Nero C42-C44 ecc..", "cartucceEPSON.htm#cartucceEPSON-T036140", "069");
cartucceEPSON_prfourty_one= new product(0, 6.20, 0, "Colori C42-C44 ecc..", "cartucceEPSON.htm#cartucceEPSON-T037040", "070");
cartucceEPSON_prfourty_two= new product(0, 7.20, 0, "Nero C60-C61 ecc..", "cartucceEPSON.htm#cartucceEPSON-T028401", "071");
cartucceEPSON_prfourty_three= new product(0, 7.50, 0, "Colori C60-61-C50", "cartucceEPSON.htm#cartucceEPSON-T029401", "072");
cartucceEPSON_prfourty_four= new product(0, 5.30, 0, "Nero C62", "cartucceEPSON.htm#cartucceEPSON-T040140", "073");
cartucceEPSON_prfourty_five= new product(0, 6.20, 0, "Colori C62", "cartucceEPSON.htm#cartucceEPSON-T041040", "074");
cartucceEPSON_prfourty_six= new product(0, 7.10, 0, "Nero C70-C80-C82", "cartucceEPSON.htm#cartucceEPSON-T032140", "075");
cartucceEPSON_prfourty_seven= new product(0, 5.90, 0, "Ciano C70-C80", "cartucceEPSON.htm#cartucceEPSON-T032240", "076");
cartucceEPSON_prfourty_eight= new product(0, 5.90, 0, "Magenta C70-C80", "cartucceEPSON.htm#cartucceEPSON-T032340", "077");
cartucceEPSON_prfourty_nine= new product(0, 5.90, 0, "Giallo C70-C80", "cartucceEPSON.htm#cartucceEPSON-T032440", "078");
cartucceEPSON_prfifty= new product(0, 5.90, 0, "Ciano C82", "cartucceEPSON.htm#cartucceEPSON-T042240", "079");
cartucceEPSON_prfifty_one= new product(0, 5.90, 0, "Magenta C82", "cartucceEPSON.htm#cartucceEPSON-T042340", "080");
cartucceEPSON_prfifty_two= new product(0, 5.90, 0, "Giallo C82", "cartucceEPSON.htm#cartucceEPSON-T042440", "081");
cartucceEPSON_prfifty_three= new product(0, 5.90, 0, "Nero C64-C84 ecc..", "cartucceEPSON.htm#cartucceEPSON-T0441", "082");
cartucceEPSON_prfifty_four= new product(0, 6.90, 0, "Nero C84-CX6400", "cartucceEPSON.htm#cartucceEPSON-T0431", "083");
cartucceEPSON_prfifty_five= new product(0, 5.90, 0, "Ciano C64-C84-CX6400 ecc..", "cartucceEPSON.htm#cartucceEPSON-T0442", "084");
cartucceEPSON_prfifty_six= new product(0, 5.90, 0, "Magenta C64-C84-CX6400 ecc..", "cartucceEPSON.htm#cartucceEPSON-T0443", "085");
cartucceEPSON_prfifty_seven= new product(0, 5.90, 0, "Giallo C64-C84-CX6400 ecc..", "cartucceEPSON.htm#cartucceEPSON-T0444", "086");
cartucceEPSON_prfifty_eight= new product(0, 7.10, 0, "Nero C50-Photo 810-820", "cartucceEPSON.htm#cartucceEPSON-T026401", "087");
cartucceEPSON_prfifty_nine= new product(0, 7.40, 0, "Colori Photo 810-820", "cartucceEPSON.htm#cartucceEPSON-T027401", "088");
cartucceEPSON_prsixty= new product(0, 7.30, 0, "Nero Photo 2000P", "cartucceEPSON.htm#cartucceEPSON-T015401", "089");
cartucceEPSON_prsixty_one= new product(0, 7.80, 0, "Colori Photo 2000P", "cartucceEPSON.htm#cartucceEPSON-T016401", "090");
cartucceEPSON_prsixty_two= new product(0, 6.30, 0, "Nero Photo 2100", "cartucceEPSON.htm#cartucceEPSON-T034140", "091");
cartucceEPSON_prsixty_three= new product(0, 6.30, 0, "Ciano Photo 2100", "cartucceEPSON.htm#cartucceEPSON-T034240", "092");
cartucceEPSON_prsixty_four= new product(0, 6.30, 0, "Magenta Photo 2100", "cartucceEPSON.htm#cartucceEPSON-T034340", "093");
cartucceEPSON_prsixty_five= new product(0, 6.30, 0, "Giallo Photo 2100", "cartucceEPSON.htm#cartucceEPSON-T034440", "094");
cartucceEPSON_prsixty_six= new product(0, 6.30, 0, "Ciano Light Photo 2100", "cartucceEPSON.htm#cartucceEPSON-T034540", "095");
cartucceEPSON_prsixty_seven= new product(0, 6.30, 0, "Magenta Light Photo 2100", "cartucceEPSON.htm#cartucceEPSON-T034640", "096");
cartucceEPSON_prsixty_eight= new product(0, 6.30, 0, "Nero Light Photo 2100", "cartucceEPSON.htm#cartucceEPSON-T034740", "097");
cartucceEPSON_prsixty_nine= new product(0, 6.30, 0, "Nero Matt Photo 2100", "cartucceEPSON.htm#cartucceEPSON-T034840", "098");
cartucceEPSON_prseventy= new product(0, 5.90, 0, "Nero RX420-Photo RX425", "cartucceEPSON.htm#cartucceEPSON-T0551", "099");
cartucceEPSON_prseventy_one= new product(0, 5.90, 0, "Ciano RX420-Photo RX425", "cartucceEPSON.htm#cartucceEPSON-T0552", "100");
cartucceEPSON_prseventy_two= new product(0, 5.90, 0, "Magenta RX420-Photo RX425", "cartucceEPSON.htm#cartucceEPSON-T0553", "101");
cartucceEPSON_prseventy_three= new product(0, 5.90, 0, "Giallo RX420-Photo RX425", "cartucceEPSON.htm#cartucceEPSON-T0554", "102");
cartucceEPSON_prseventy_four= new product(0, 5.90, 0, "Nero Photo R200-R300 ...", "cartucceEPSON.htm#cartucceEPSON-T048140", "103");
cartucceEPSON_prseventy_five= new product(0, 5.90, 0, "Ciano Photo R200-R300 ...", "cartucceEPSON.htm#cartucceEPSON-T048240", "104");
cartucceEPSON_prseventy_six= new product(0, 5.90, 0, "Magenta Photo R200-R300 ...", "cartucceEPSON.htm#cartucceEPSON-T048340", "105");
cartucceEPSON_prseventy_seven= new product(0, 5.90, 0, "Giallo Photo R200-R300 ...", "cartucceEPSON.htm#cartucceEPSON-T048440", "106");
cartucceEPSON_prseventy_eight= new product(0, 5.90, 0, "Ciano Light Photo R200-R300 ...", "cartucceEPSON.htm#cartucceEPSON-T048540", "107");
cartucceEPSON_prseventy_nine= new product(0, 5.90, 0, "Magenta Light Photo R200-R300 ...", "cartucceEPSON.htm#cartucceEPSON-T048640", "108");
cartucceEPSON_preighty= new product(0, 6.30, 0, "Shiny Transparent R800-R1800", "cartucceEPSON.htm#cartucceEPSON-T0540", "109");
cartucceEPSON_preighty_one= new product(0, 6.30, 0, "Black Photo R800-R1800", "cartucceEPSON.htm#cartucceEPSON-T0541", "110");
cartucceEPSON_preighty_two= new product(0, 6.30, 0, "Ciano R800-R1800", "cartucceEPSON.htm#cartucceEPSON-T0542", "111");
cartucceEPSON_preighty_three= new product(0, 6.30, 0, "Magenta R800-R1800", "cartucceEPSON.htm#cartucceEPSON-T0543", "112");
cartucceEPSON_preighty_four= new product(0, 6.30, 0, "Yellow R800-R1800", "cartucceEPSON.htm#cartucceEPSON-T0544", "113");
cartucceEPSON_preighty_five= new product(0, 6.30, 0, "Red R800-R1800", "cartucceEPSON.htm#cartucceEPSON-T0547", "114");
cartucceEPSON_preighty_six= new product(0, 6.30, 0, "Black Matte R800-R1800", "cartucceEPSON.htm#cartucceEPSON-T0548", "115");
cartucceEPSON_preighty_seven= new product(0, 6.30, 0, "Blue R800-R1800", "cartucceEPSON.htm#cartucceEPSON-T0549", "116");


cartaSTAMP_prone= new product(0, 15.00, 0, "3 Conf.Carta 180gr Lucida - F.to A4", "cartaSTAMPvendita.htm#cartSTAMP-1001", "1001");
cartaSTAMP_prtwo= new product(0, 29.00, 0, "3 Conf.Carta 180gr Lucida - F.to A3", "cartaSTAMPvendita.htm#cartSTAMP-1002", "1002");
cartaSTAMP_prthree= new product(0, 10.00, 0, "1 Conf.Cartoncino per B.VISITA", "cartaSTAMPvendita.htm#cartSTAMP-1003", "1003");

accessori_prone= new product(0, 130.00, 0, "Flebo inkjet to441 ecc.", "accessori.htm#accessori-2001", "2001");
accessori_prtwo= new product(0, 240.00, 0, "stampante C66 con flebo", "accessori.htm#accessori-2002", "2002");
accessori_prthree= new product(0, 30.00, 0, "pulisci testine universale", "accessori.htm#accessori-2003", "2003");
accessori_prfour= new product(0, 3.50, 0, "porta cd-dvd 24 posti", "accessori.htm#accessori-2004", "2004");


nastriFAX_prone= new product(0, 26.40, 0, "2 Conf.TTR FAX BROTHER 1010", "nastroFAXtermico.htm#nastriFAX-3001", "3001");
nastriFAX_prtwo= new product(0, 19.80, 0, "2 Conf.TTR FAX BROTHER 910", "nastroFAXtermico.htm#nastriFAX-3002", "3002");
nastriFAX_prthree= new product(0, 14.30, 0, "2 Conf.TTR FAX BROTHER T74", "nastroFAXtermico.htm#nastriFAX-3003", "3003");
nastriFAX_prfour= new product(0, 25.30, 0, "2 Conf.TTR FAX PANASONIC 1810", "nastroFAXtermico.htm#nastriFAX-3004", "3004");
nastriFAX_prfive= new product(0, 15.40, 0, "2 Conf.TTR FAX PANASONIC KXFA54", "nastroFAXtermico.htm#nastriFAX-3005", "3005");
nastriFAX_prsix= new product(0, 16.50, 0, "2 Conf.TTR FAX PANASONIC KXFA55", "nastroFAXtermico.htm#nastriFAX-3006", "3006");
nastriFAX_prseven= new product(0,25.30, 0, "2 Conf.TTR FAX SIEMENS PAPIROK", "nastroFAXtermico.htm#nastriFAX-3007", "3007");
nastriFAX_preight= new product(0, 22.00, 0, "2 Conf.TTR FAX PHILIPS 2", "nastroFAXtermico.htm#nastriFAX-3008", "3008");
nastriFAX_prnine= new product(0, 24.20, 0, "2 Conf.TTR FAX PHILIPS O", "nastroFAXtermico.htm#nastriFAX-3009", "3009");
nastriFAX_prten= new product(0, 30.80, 0, "2 Conf.TTR FAX SAGEM 900", "nastroFAXtermico.htm#nastriFAX-3010", "3010");
nastriFAX_preleven= new product(0, 22.00, 0, "2 Conf.TTR FAX SHA1460", "nastroFAXtermico.htm#nastriFAX-3011", "3011");
nastriFAX_prtwelve= new product(0, 20.00, 0, "2 Conf.TTR FAX SHA410-UX9CR", "nastroFAXtermico.htm#nastriFAX-3012", "3012");
nastriFAX_prthirteen= new product(0, 12.00, 0, "2 Conf.TTR FAX SHAFO730", "nastroFAXtermico.htm#nastriFAX-3013", "3013");
nastriFAX_prfourteen= new product(0, 20.00, 0, "2 Conf.TTR FAX SHATUX6CR", "nastroFAXtermico.htm#nastriFAX-3014", "3014");
nastriFAX_prfifteen= new product(0, 38.50, 0, "2 Conf.TTR FAX TOSTTR815", "nastroFAXtermico.htm#nastriFAX-3015", "3015");
nastriFAX_prsixteen= new product(0, 52.80, 0, "2 Conf.TTR FAX XEROX", "nastroFAXtermico.htm#nastriFAX-3016", "3016");

cartLASERrig_prone= new product(0, 86.52, 0, "BROTHER DR 6000", "cartucceLASERrigenerate.htm#cartLASERrig-4001", "4001");
cartLASERrig_prtwo= new product(0, 92.58, 0, "BROTHER DR 7000", "cartucceLASERrigenerate.htm#cartLASERrig-4002", "4002");
cartLASERrig_prthree= new product(0, 20.52, 0, "BROTHER TN 300", "cartucceLASERrigenerate.htm#cartLASERrig-4003", "4003");
cartLASERrig_prfour= new product(0, 52.11, 0, "BROTHER TN 6600", "cartucceLASERrigenerate.htm#cartLASERrig-4004", "4004");
cartLASERrig_prfive= new product(0, 42.02, 0, "BROTHER TN 7600", "cartucceLASERrigenerate.htm#cartLASERrig-4005", "4005");
cartLASERrig_prsix= new product(0, 72.73, 0, "CANON E 30", "cartucceLASERrigenerate.htm#cartLASERrig-4006", "4006");
cartLASERrig_prseven= new product(0, 46.53, 0, "CANON F X3", "cartucceLASERrigenerate.htm#cartLASERrig-4007", "4007");
cartLASERrig_preight= new product(0, 48.53, 0, "CANON F X4", "cartucceLASERrigenerate.htm#cartLASERrig-4008", "4008");
cartLASERrig_prnine= new product(0, 48.00, 0, "CANON CLT", "cartucceLASERrigenerate.htm#cartLASERrig-4009", "4009");
cartLASERrig_prten= new product(0, 59.93, 0, "EPSON C13S050033", "cartucceLASERrigenerate.htm#cartLASERrig-4010", "4010");
cartLASERrig_preleven= new product(0, 90.08, 0, "EPSON C13S050034", "cartucceLASERrigenerate.htm#cartLASERrig-4011", "4011");
cartLASERrig_prtwelve= new product(0, 90.08, 0, "EPSON C13S050036", "cartucceLASERrigenerate.htm#cartLASERrig-4012", "4012");
cartLASERrig_prthirteen= new product(0, 90.08, 0, "EPSON C13S050035", "cartucceLASERrigenerate.htm#cartLASERrig-4013", "4013");
cartLASERrig_prfourteen= new product(0, 47.13, 0, "EPSON C13S051055", "cartucceLASERrigenerate.htm#cartLASERrig-4014", "4014");
cartLASERrig_prfifteen= new product(0, 52.37, 0, "EPSON C13S051099", "cartucceLASERrigenerate.htm#cartLASERrig-4015", "4015");
cartLASERrig_prsixteen= new product(0, 61.06, 0, "EPSON C13S050087", "cartucceLASERrigenerate.htm#cartLASERrig-4016", "4016");
cartLASERrig_prseventeen= new product(0, 59.96, 0, "EPSON C13S050167", "cartucceLASERrigenerate.htm#cartLASERrig-4017", "4017");
cartLASERrig_preighteen= new product(0, 37.58, 0, "HP C3906A", "cartucceLASERrigenerate.htm#cartLASERrig-4018", "4018");
cartLASERrig_prnineteen= new product(0, 57.87, 0, "HP E92298A", "cartucceLASERrigenerate.htm#cartLASERrig-4019", "4019");
cartLASERrig_prtwenty= new product(0, 41.85, 0, "HP Q2612A", "cartucceLASERrigenerate.htm#cartLASERrig-4020", "4020");
cartLASERrig_prtwenty_one= new product(0, 35.42, 0, "HP C4092A", "cartucceLASERrigenerate.htm#cartLASERrig-4021", "4021");
cartLASERrig_prtwenty_two= new product(0, 41.30, 0, "HP Q2624A", "cartucceLASERrigenerate.htm#cartLASERrig-4022", "4022");
cartLASERrig_prtwenty_three= new product(0, 38.41, 0, "HP C7115A", "cartucceLASERrigenerate.htm#cartLASERrig-4023", "4023");
cartLASERrig_prtwenty_four= new product(0, 43.25, 0, "HP Q2613A", "cartucceLASERrigenerate.htm#cartLASERrig-4024", "4024");
cartLASERrig_prtwenty_five= new product(0, 49.76, 0, "HP C4096A", "cartucceLASERrigenerate.htm#cartLASERrig-4025", "4025");
cartLASERrig_prtwenty_six= new product(0, 71.42, 0, "HP Q2610A", "cartucceLASERrigenerate.htm#cartLASERrig-4026", "4026");
cartLASERrig_prtwenty_seven= new product(0, 53.29, 0, "HP C4127A", "cartucceLASERrigenerate.htm#cartLASERrig-4027", "4027");
cartLASERrig_prtwenty_eight= new product(0, 69.56, 0, "HP C8061X", "cartucceLASERrigenerate.htm#cartLASERrig-4028", "4028");
cartLASERrig_prtwenty_nine= new product(0, 91.93, 0, "HP Q1338A", "cartucceLASERrigenerate.htm#cartLASERrig-4029", "4029");
cartLASERrig_prthirty= new product(0, 101.76, 0, "HP Q1339A", "cartucceLASERrigenerate.htm#cartLASERrig-4030", "4030");
cartLASERrig_prthirty_one= new product(0, 48.10, 0, "HP Q5949A", "cartucceLASERrigenerate.htm#cartLASERrig-4031", "4031");
cartLASERrig_prthirty_two= new product(0, 97.10, 0, "HP C4129A", "cartucceLASERrigenerate.htm#cartLASERrig-4032", "4032");
cartLASERrig_prthirty_three= new product(0, 74.14, 0, "HP Q6511A", "cartucceLASERrigenerate.htm#cartLASERrig-4033", "4033");
cartLASERrig_prthirty_four= new product(0, 105.56, 0, "HP C3909A", "cartucceLASERrigenerate.htm#cartLASERrig-4034", "4034");
cartLASERrig_prthirty_five= new product(0, 103.23, 0, "HP C4182X", "cartucceLASERrigenerate.htm#cartLASERrig-4035", "4035");


postage = 5.50;

/* ----------------------------------------------------------------------------------------

	This function sets a cookie. When a customer buys a product, the quantity is stored in 
	a cookie represented by the products name. Each product bought has its own cookie.
	These are destoyed automatically when the customer leaves the site because they have
	no expiry date. There is nothing to stop you adding an expiry date to these cookies
	however. */

function setCookie(name, value)
{
document.cookie = name + "=" + escape(value);
}


/* ------------------------------------------------------------------------------------

	This function gets a cookie that had previously been set with the function above.
   It accepts a parameter representing the name of a product, which you will recall
   is also the name of that products cookie. If it finds a cookie it returns the value
   representing the quantity of that product the customer has bought. */

function getCookie(name){
var Search = name + "=";
if (document.cookie.length > 0) {
	offset = document.cookie.indexOf(Search)
	if (offset != -1) {
		offset += Search.length;
		end = document.cookie.indexOf(";", offset);
		if (end == -1)
			end = document.cookie.length;
		return unescape(document.cookie.substring(offset, end));
		}
	}
}

/* -------------------------------------------------------------------------------------

	This function is called everytime you want to convert a number into a currency.
   For instance, if you send it 8.87634 it will return 8.88. If you send it 45.5 it
   will return 45.50. */

function roundToCents(n)
{
cents = n * 100;
cents = Math.round(cents);
strCents = "" + cents;
len = strCents.length;
	
first = strCents.substring(0, len - 2) + ".";
last = strCents.substring(len - 2, len);
	
	if (first == "."){
	   first = "0.";
  	}
	
	if (last.length == 1){
	   last += "0";
	}
	
return first+last;
}
/* -------------------------------------------------------------------------------------*/
function checkrequired(which)
{
var pass=true
if (document.images)
	{
	for (b=0;b<which.length;b++)
		{
		var tempobj=which.elements[b]
		if (tempobj.name.substring(0,8)=="required")
			{
			if (((tempobj.type=="text"||tempobj.type=="textarea")&&tempobj.value=='')||(tempobj.type.toString().charAt(0)=="s"&&tempobj.selectedIndex==-1))
				{
				pass=false
				break
				}
			}
		}
	}
	if (!pass)
	{
	alert("Non hai inserito tutti i dati richiesti. Clicca su OK, verifica e completa il form.")
	return false
	}
	else
	return true
}

/*-------------------------------------------------------------------------------------------------
questa funzione viene richiamata dal carrello per ritornare le righe carrello (nel carrello è rimasto solo i=0;)
   This function prints out each order. It accepts one parameter which is an instance of the
   product object defined in index.htm. It creates four text boxes to store the PRODUCT ID,
   QUANTITY BOUGHT, PRICE PER ITEM, TOTAL FOR THIS PRODUCT. It then prints a hyperlink displaying
   the products name, and leading to the products URL. This enables the customer to quickly 
   locate the product if they wish to change their order in relation to this product. */

function printLine(pr)
{

product = parent.getCookie(pr.name);
if (product > 0){
prodtotal = product * pr.prezzo2;
quantity = 'quantity' + 3;

document.write("<table border='1' width='620' align='left' bgcolor='#f8f8ff'>")
document.write("<tr>")
document.write("<td width='12%' align=left><font face='verdana' size='2'>")
document.write( pr.id);
document.write("<INPUT TYPE='hidden' SIZE='7' NAME=productid", i, " VALUE=", pr.id, ">");
document.write("</td>")
document.write("<td width='5%' align=right><font face='verdana' size='2'>")
document.write( product);
document.write("<INPUT TYPE='hidden' SIZE='7' NAME=quantity", i, " VALUE=", product, ">");
document.write("</td>")
document.write("<td width='5%' align=right><font face='verdana' size='2'>")
document.write(pr.prezzo2);
document.write("<INPUT TYPE='hidden' SIZE='7' NAME=price", i, " VALUE=", 'EUR' + pr.prezzo2, ">");
document.write("</td>")
document.write("<td width='6%' align=right><font face='verdana' size='2'>")
document.write( prodtotal);
document.write("<INPUT TYPE='hidden' SIZE='7' NAME=total", i, " VALUE=",'EUR' + prodtotal, ">");
document.write("</td>")
document.write("<td width='23%' align=center><font face='verdana' size='2'>")
document.write(" <a href=", pr.location, ">", pr.name, "</a>");


document.write("</td>")
document.write("</font> </tr>")
document.write("</table>")
document.write("<br> <br>")

calculateTotal(prodtotal);
i++;
}
}


/*-------------------------------------------------------------------------------------------------
questa funzione viene richiamata quando serve nel carrello per ritornare il totale

   Each time a product is printed out, this function is called from the printLine function with
   the total cost for that product. These are then added together in this function. When the
   printLine has been called for each product the customer has bought, this will hold the
   total price of all the products bought by that customer. */
   
function calculateTotal(num)
{
	grandtotal += num;
	return grandtotal;
}



/* This function is used to set the initial values of the text boxes showing the
	quantities on each product the customer is buying. For instance, if the customer
	entered '2' in the text box for Product One, if they went to another page, and
	then came back to this page, the value would be reset to '2'. It keeps consistency
	between repeated trips to the same page. */

function getInitialValue(name)
{
v = parent.getCookie(name);
if (v > 0){
initial = v;
}
else {
initial = 0;
}
return initial;
}


