// JavaScript Document

var mainpopup; //this will hold a reference to the popupwindow while it is open
var browserid = navigator.userAgent;

var popups = new Array(99);
for(i=0; i<popups.length ;i++) popups[i] = new Array(10);

//Brochure / List of Services

popups[0][0] = 0; //section id - 0: brochure, list of services
popups[0][1] = 0; //UNIQUE popup id - 0: JW Blend Massage
popups[0][2] = 0; //layout - 0: standard text, 1: price list
popups[0][3] = 0; //window width
popups[0][4] = 0; //window height
popups[0][5] = 0; //window scrollbars
popups[0][6] = 'Brochure / List of Services'; //title
popups[0][7] = 'Xux Ek, The Venus Goddess Facial'; //header
popups[0][8] = 'A journey into the past with true native ingredients with rich ancient medicinal properties: marine mud rich in minerals from the Chicxulub crater mixed with unique herbs: Chaya and Achiote. The Mayan wisdom brings us this perfect combination of ingredients, nurturing the skin and helping it recover its lost moisture.';//body text
popups[0][9] = '50 min. 115 USD.'; //pricing information

popups[1][0] = 0;
popups[1][1] = 1;
popups[1][2] = 0;
popups[1][3] = 0;
popups[1][4] = 0;
popups[1][5] = 0;
popups[1][6] = 'Brochure / List of Services';
popups[1][7] = 'Ah Mun, God of Corn';
popups[1][8] = 'An original and refreshing body exfoliation done in the most traditional way, with ground corn, honey and hydrating agents, that leaves your skin fresh and nourished.';
popups[1][9] = '25 min. 75 USD.';

popups[2][0] = 0;
popups[2][1] = 2;
popups[2][2] = 0;
popups[2][3] = 0;
popups[2][4] = 0;
popups[2][5] = 0;
popups[2][6] = 'Brochure / List of Services';
popups[2][7] = 'Hunab Ku, Mayan Traditional Massage';
popups[2][8] = 'Still performed in the local communities, this treatment is a refreshing mixture of rituals and unconventional healing movements, with standard massage touches and strokes and a very unique abdominal massage technique performed according to the traditional beliefs of energy flow; one step back in time, bringing you closer to the simple and unsophisticated truths.';
popups[2][9] = '80 min. 185 USD.';

popups[3][0] = 0;
popups[3][1] = 3;
popups[3][2] = 0;
popups[3][3] = 0;
popups[3][4] = 0;
popups[3][5] = 0;
popups[3][6] = 'Brochure / List of Services';
popups[3][7] = 'Mexican Sand Buffer';
popups[3][8] = 'From ancient times, sand was used to exfoliate the skin as a traditional beautifying treatment. The white beaches of Cancun provide one of the softer sands, perfect for a very effective exfoliation. The ingredients added to the scrub mixture take care of rehydration and softening of rough skin.';
popups[3][9] = '25 min. 75 USD.';

popups[4][0] = 0;
popups[4][1] = 4;
popups[4][2] = 0;
popups[4][3] = 0;
popups[4][4] = 0;
popups[4][5] = 0;
popups[4][6] = 'Brochure / List of Services';
popups[4][7] = 'Xtabentun Body and Face Adventure';
popups[4][8] = 'A traditional Yucatan recipe, based on a Mayan legend, Xtabentun is delightful anis-seed liquor. An exfoliation with brown sugar and honey will refresh the skin while the body and face masks will leave you with a firmer, more hydrated, suppler and shinier skin.';
popups[4][9] = '50 min. 135 USD.';

popups[5][0] = 0;
popups[5][1] = 5;
popups[5][2] = 0;
popups[5][3] = 0;
popups[5][4] = 0;
popups[5][5] = 0;
popups[5][6] = 'Brochure / List of Services';
popups[5][7] = 'Achiote Hydrating Envelopment';
popups[5][8] = 'Achiote has long been used by the Mayan communities as a medicinal remedy for sunstroke, extremely dry skin, burns and eczemas . Still very popular in Mexico, Achiote combines both culinary and medicinal properties, leaving your skin fresh and hydrated.';
popups[5][9] = '50 min. 135 USD.';

/*
disabled
popups[6][0] = 0;
popups[6][1] = 6;
popups[6][2] = 0;
popups[6][3] = 0;
popups[6][4] = 0;
popups[6][5] = 0;
popups[6][6] = 'Brochure / List of Services';
popups[6][7] = 'Luxury Back Massage';
popups[6][8] = 'Perfect for long stored tension on your back muscles, this treatment starts with an exfoliation of the back, followed by a massage that combines different techniques to relax the muscles, then a mask to soothe and relax.';
popups[6][9] = '50 min. USD 120';

*/

//Massage

popups[7][0] = 1;
popups[7][1] = 7;
popups[7][2] = 0;
popups[7][3] = 0;
popups[7][4] = 0;
popups[7][5] = 0;
popups[7][6] = 'Massage';
popups[7][7] = 'Itzamna God Warm Stones Massage';
popups[7][8] = 'The obsidian stones are gemstones of volcanic origin, well known for their heat retaining abilities and for conducting energy. The warm-stones massage will not only relax the muscles and ease tension, but will also facilitate the flow of energy within the body, giving you a total state of well being.';
popups[7][9] = '80 Min. $175 USD';

popups[8][0] = 1;
popups[8][1] = 8;
popups[8][2] = 0;
popups[8][3] = 0;
popups[8][4] = 0;
popups[8][5] = 0;
popups[8][6] = 'Massage';
popups[8][7] = 'Shiatsu Therapy';
popups[8][8] = 'The ancient art of &ldquo;energy work&rdquo; through specific trigger points on the body is well known for releasing energy blockages and helping the body to achieve an optimal energetic flow. It will leave you revitalized, peaceful and balanced.';
popups[8][9] = '50 Min. $130 USD';

popups[9][0] = 1;
popups[9][1] = 9;
popups[9][2] = 0;
popups[9][3] = 0;
popups[9][4] = 0;
popups[9][5] = 0;
popups[9][6] = 'Massage';
popups[9][7] = 'Swedish Massage';
popups[9][8] = 'Using the standard massage techniques, this treatment is adapted to your specific needs. Our skilled therapists will manipulate muscle tissue, easing tension and strain, relaxing and invigorating the body.';
popups[9][9] = '50 Min $120 USD<br>80 Min. $155 USD';

popups[10][0] = 1;
popups[10][1] = 10;
popups[10][2] = 0;
popups[10][3] = 0;
popups[10][4] = 0;
popups[10][5] = 0;
popups[10][6] = 'Massage';
popups[10][7] = 'Deep Tissue Massage';
popups[10][8] = 'Perfect choice for sport enthusiasts as well as for people who suffer chronic muscle tension. This treatment will help neutralize the lactic acid that blocks the muscles&rsquo; fibers and will increase flexibility and reinstate the normal toning of the body; releasing all the deep tension that has been stored within the muscles for a long time.';
popups[10][9] = '50 Min. $125 USD<br>80 Min. $160 USD';

popups[11][0] = 1;
popups[11][1] = 11;
popups[11][2] = 0;
popups[11][3] = 0;
popups[11][4] = 0;
popups[11][5] = 0;
popups[11][6] = 'Massage';
popups[11][7] = 'Abhyanga Four Hands Massage';
popups[11][8] = 'This is truly a unique experience. Two expert therapists work in unison over the entire body using a variety of therapeutic techniques.';
popups[11][9] = '50 Min. $250 USD';

popups[12][0] = 1;
popups[12][1] = 12;
popups[12][2] = 0;
popups[12][3] = 0;
popups[12][4] = 0;
popups[12][5] = 0;
popups[12][6] = 'Massage';
popups[12][7] = 'Couples Massage';
popups[12][8] = 'With a traditional Swedish mass age, you and your partner will be able to enjoy the luxury spa treatment experience in the privacy of the same room, creating a memorable moment of your visit.';
popups[12][9] = '50 Min. $230 USD<br>80 Min. $270 USD';

popups[13][0] = 1;
popups[13][1] = 13;
popups[13][2] = 0;
popups[13][3] = 0;
popups[13][4] = 0;
popups[13][5] = 0;
popups[13][6] = 'Massage';
popups[13][7] = 'Lomi Lomi Massage';
popups[13][8] = 'This massage imposes a rhythmic, rocking sensation, gently relaxing fatigued muscles, while stimulating the circulatory system.';
popups[13][9] = '50 Min. $135 USD<br>80 Min. $170 USD';

popups[14][0] = 1;
popups[14][1] = 14;
popups[14][2] = 0;
popups[14][3] = 0;
popups[14][4] = 0;
popups[14][5] = 0;
popups[14][6] = 'Massage';
popups[14][7] = 'Oriental Head Massage';
popups[14][8] = 'A deep scalp massage focusing on vital energy points, a perfect solution for migraine, tired neck and shoulders. It will increase the circulation, reduce the tension and deeply relax the whole body.';
popups[14][9] = '25 Min. $60 USD';

popups[15][0] = 1;
popups[15][1] = 15;
popups[15][2] = 0;
popups[15][3] = 0;
popups[15][4] = 0;
popups[15][5] = 0;
popups[15][6] = 'Massage';
popups[15][7] = 'Ix Chel Maternity Massage';
popups[15][8] = 'For mothers to be, this treatment is the solution for your tired back, aching feet and accumulated tension. Specific chosen massage movements will nurture the back, ease the tension in your feet and help the puffiness around the eyes with gentle, eye lymph drainage movements.';
popups[15][9] = '50 Min $115 USD';

popups[16][0] = 1;
popups[16][1] = 16;
popups[16][2] = 0;
popups[16][3] = 0;
popups[16][4] = 0;
popups[16][5] = 0;
popups[16][6] = 'Massage';
popups[16][7] = 'Back, Neck And Shoulders Massage';
popups[16][8] = 'A shorter version of the swedish massage, concentrating on the tense area of the back and shoulders.';
popups[16][9] = '25 Min. $70 USD';

popups[17][0] = 1;
popups[17][1] = 17;
popups[17][2] = 0;
popups[17][3] = 0;
popups[17][4] = 0;
popups[17][5] = 0;
popups[17][6] = 'Massage';
popups[17][7] = 'Reflexology';
popups[17][8] = 'A non medical session of reflexology, where the therapist will activate the reflex points on your feet, deeply relaxing the tension throughout the body. An ancient art of healing and well being, connecting and balancing the body&rsquo;s energy channels.';
popups[17][9] = '50 Min. $125 USD';

popups[18][0] = 1;
popups[18][1] = 18;
popups[18][2] = 0;
popups[18][3] = 0;
popups[18][4] = 0;
popups[18][5] = 0;
popups[18][6] = 'Massage';
popups[18][7] = 'Kin Ahau Blend Massage';
popups[18][8] = 'Using a special mixture of aromatherapy oils, this massage will take you on a journey starting with the local Mayan culture, its rituals and sounds. Introducing techniques of Loomi Loomi massage, Thai massage, Swedish style, Deep tissue, Lymphdrainage, and Shiatsu pressure techniques.';
popups[18][9] = '50 min. $135 USD<br>80 min. $170 USD';

popups[88][0] = 1;
popups[88][1] = 88;
popups[88][2] = 0;
popups[88][3] = 0;
popups[88][4] = 0;
popups[88][5] = 0;
popups[88][6] = 'Massage';
popups[88][7] = 'Outside Experience Palapa';
popups[88][8] = 'Beach massages are the ultimate ideal way of relaxing to the soundtrack of the ocean lapping against the sand; they are comforting and offer a level of relaxation and rejuvenation that are both a soothing and refreshing experience. Our professional therapists will encompass a combination of techniques based entirely upon your own personal needs and preferences. Relax in our palapas with breathtaking views to sooth your body and soul.';
popups[88][9] = '50 min. $120 USD<br>80 min. $155 USD';

//Facials

popups[19][0] = 2;
popups[19][1] = 19;
popups[19][2] = 0;
popups[19][3] = 0;
popups[19][4] = 0;
popups[19][5] = 0;
popups[19][6] = 'Facials';
popups[19][7] = 'Hydradermie';
popups[19][8] = 'Ideal option for mature skin, using some of the latest advances in skincare technology, ionization and high frequency, this facial is ideal for individuals wanting to improve their appearance, the texture and overall condition of their skin. This facial will assist in reducing the flaccidity of the skin, giving the overall effect of being lifted while providing intense hydration.';
popups[19][9] = '80 Min. $155 USD';

popups[20][0] = 2;
popups[20][1] = 20;
popups[20][2] = 0;
popups[20][3] = 0;
popups[20][4] = 0;
popups[20][5] = 0;
popups[20][6] = 'Facials';
popups[20][7] = 'Gentlemen&rsquo;s Facial';
popups[20][8] = 'This facial is designed with the specific needs of a man in mind. Shaving, and its effects take a toll on our skin and from time to time, we need to replenish much needed moisture and hydration.';
popups[20][9] = '50 Min. $120 USD';

popups[21][0] = 2;
popups[21][1] = 21;
popups[21][2] = 0;
popups[21][3] = 0;
popups[21][4] = 0;
popups[21][5] = 0;
popups[21][6] = 'Facials';
popups[21][7] = 'Aromatic Comfort Facial';
popups[21][8] = 'This facial offers instant and deep hydration of the skin; this treatment adds a potent cocktail of antioxidants and alpha hydroxyl acids to protect the skin from the damages of free radicals and environmental aggression, smoothing and helping to reduce redness and skin irritation. Not to be taken immediately before or after sun exposure.';
popups[21][9] = '60 Min. $125 USD';

popups[22][0] = 2;
popups[22][1] = 22;
popups[22][2] = 0;
popups[22][3] = 0;
popups[22][4] = 0;
popups[22][5] = 0;
popups[22][6] = 'Facials';
popups[22][7] = 'Cucumber Green Tea Facial';
popups[22][8] = 'The &ldquo;Coolest&rdquo; treatment you have ever experienced in your entire life. The nurturing, and soothing properties of cucumber, combined with the antioxidant power of sweet limes and green tea, will heal your skin from accumulated sun damage, as well as leaving you looking fresh and revitalized.';
popups[22][9] = '50 Min. $125 USD';

popups[23][0] = 2;
popups[23][1] = 23;
popups[23][2] = 0;
popups[23][3] = 0;
popups[23][4] = 0;
popups[23][5] = 0;
popups[23][6] = 'Facials';
popups[23][7] = 'Eight Greens Phyto Facial';
popups[23][8] = 'Have you been dreaming of looking 10 years younger? This is your chance! The exotic, herbal active ingredients contained in yucca, hop, and an assortment of seeds, along with the potent rejuvenating power of chlorophyll, and the oxygenating properties of paprika extract, will enhance the overall tone and elasticity of your skin right away.';
popups[23][9] = '50 Min. $125 USD';

popups[24][0] = 2;
popups[24][1] = 24;
popups[24][2] = 0;
popups[24][3] = 0;
popups[24][4] = 0;
popups[24][5] = 0;
popups[24][6] = 'Facials';
popups[24][7] = 'Skin Couture';
popups[24][8] = 'Fiflowr BTX which is the most efficient gas carrier known to science is designed to revitalize newly exposed skin cells by infusing oxygen into the skin as well as performing as a relaxer to deliver anti-wrinkle results. Is a medium strength peel formulated with 10% L-lactic Acid and 2% Retinol. Ideal for fatigued, stressed, dull skin.';
popups[24][9] = '50 min. $125 USD';

popups[25][0] = 2;
popups[25][1] = 25;
popups[25][2] = 0;
popups[25][3] = 0;
popups[25][4] = 0;
popups[25][5] = 0;
popups[25][6] = 'Facials';
popups[25][7] = 'Pumpkin Facial';
popups[25][8] = 'This luxurious and comforting facial treatment was created with the potent enzymatic properties of yams and pumpkins that will decongest your skin from smog and other oxidant factors. Along with these ingredients, we have combined the regenerating properties of Champagne and Black Perlette grapes to give your skin a boost of antioxidants to protect you from the harmful natural elements around you.';
popups[25][9] = '50 min. $125 USD';

popups[26][0] = 2;
popups[26][1] = 26;
popups[26][2] = 0;
popups[26][3] = 0;
popups[26][4] = 0;
popups[26][5] = 0;
popups[26][6] = 'Facials';
popups[26][7] = 'Golden Look Eye Treatment';
popups[26][8] = 'The most delicate and thinnest skin on our bodies is that around our eyes. This treatment is dedicated to replenishing the lost moisture and refining the texture, minimizing fine lines. This service can be added to any of our facials for $60 USD.';
popups[26][9] = '25 Min. $75 USD';

popups[27][0] = 2;
popups[27][1] = 27;
popups[27][2] = 0;
popups[27][3] = 0;
popups[27][4] = 0;
popups[27][5] = 0;
popups[27][6] = 'Facials';
popups[27][7] = 'Liftosome Facial';
popups[27][8] = 'Citrus extracts are the basic ingredients used in this facial. The treatment restores firmness to the skin, smoothes away expression lines, and relaxes the facial muscles. This facial is not for individuals who are claustrophobic.';
popups[27][9] = '60 min. $130 USD';

popups[78][0] = 2;
popups[78][1] = 78;
popups[78][2] = 0;
popups[78][3] = 0;
popups[78][4] = 0;
popups[78][5] = 0;
popups[78][6] = 'Facials';
popups[78][7] = 'Cocktail Happy Hour Signature Facial';
popups[78][8] = 'Designed to exfoliate and helps to improve the overall skin condition. Regulates oily skin, smoothes texture and softens the skin as it provides antioxidant protection against the free radical cascade that is generally unleashed during the peeling process. Corrects sun damage and stimulates cell turnover. It&rsquo;s a relaxing experience for the senses. Ideal for normal to oily skin in need of an effective professional peel.';
popups[78][9] = '50 Min. $140 USD';

popups[79][0] = 2;
popups[79][1] = 79;
popups[79][2] = 0;
popups[79][3] = 0;
popups[79][4] = 0;
popups[79][5] = 0;
popups[79][6] = 'Facials';
popups[79][7] = 'Cool Lychee wa &trade;';
popups[79][8] = 'Delivers anti-inflammatory, anti-aging, and antioxidant rich hydration. Deliciously cooling and especially formulated to leave the skin &ldquo;happy&rdquo;. Ideal for all skin types.';
popups[79][9] = '50 Min. $125 USD';

popups[80][0] = 2;
popups[80][1] = 80;
popups[80][2] = 0;
popups[80][3] = 0;
popups[80][4] = 0;
popups[80][5] = 0;
popups[80][6] = 'Facials';
popups[80][7] = 'Citrus-c Facial';
popups[80][8] = 'This pore-purifying, PH balancing facial uses a poppy seed and pear polisher to remove dead cells and boost the production of collagen. The citric ingredients such as lemon, lime, grapefruit and mandarin will leave you invigorated, and blemish free so you can enjoy the rest of your vacations with healthy, clean looking skin.';
popups[80][9] = '50 Min. $125 USD';

popups[81][0] = 2;
popups[81][1] = 81;
popups[81][2] = 0;
popups[81][3] = 0;
popups[81][4] = 0;
popups[81][5] = 0;
popups[81][6] = 'Facials';
popups[81][7] = 'Youth Accelerator';
popups[81][8] = 'Nutrient rich powerful antioxidant to minimize free radical damage. Targets the receptors responsible for cell turnover. Is an effective skin renewal and refining peel. Potent vitamin A therapy (equivalent to approximately 30% Glycolic Acid Peel) is achieved with 100% natural pumpkin enzymes. Ideal for normal to oily skin in need of texture improvement.';
popups[81][9] = '50 Min. $100 USD';

popups[82][0] = 2;
popups[82][1] = 82;
popups[82][2] = 0;
popups[82][3] = 0;
popups[82][4] = 0;
popups[82][5] = 0;
popups[82][6] = 'Facials';
popups[82][7] = 'Mocha Loca';
popups[82][8] = 'Designed to exfoliate, improve skin texture and soften the skin as it provides antioxidant against free radical cascade that is generally unleashed during the peeling process. Corrects sun damage, stimulates cell turnover. Is an effective chirally correct lactic acid peel, enriched with numerous active ingredients and antioxidants. Ideal for all skin types including rosacea in need of a mild peel, yet very effective professional peel.';
popups[82][9] = '50 Min. $100 USD';

//Body Treatments

popups[29][0] = 3;
popups[29][1] = 29;
popups[29][2] = 0;
popups[29][3] = 0;
popups[29][4] = 0;
popups[29][5] = 0;
popups[29][6] = 'Body Treatments';
popups[29][7] = 'Golden Body Wrap';
popups[29][8] = 'A treatment that combines gold powder and floral essential oils in an exfoliation, followed by a silky body wrap that will leave your skin glowing, hydrated and completely rejuvenated.';
popups[29][9] = '50 min. 125 USD.';

popups[30][0] = 3;
popups[30][1] = 30;
popups[30][2] = 0;
popups[30][3] = 0;
popups[30][4] = 0;
popups[30][5] = 0;
popups[30][6] = 'Body Treatments';
popups[30][7] = 'Mayan Herbal Exfoliation';
popups[30][8] = 'A warm exfoliation by a select blend of native herbs, oats and herbal oils is applied and massaged into the skin. The deep penetrating effect of these herbs nourishes the skin and restores an energetic glow of life.';
popups[30][9] = '25 min. 65 USD.';

popups[35][0] = 3;
popups[35][1] = 35;
popups[35][2] = 0;
popups[35][3] = 0;
popups[35][4] = 0;
popups[35][5] = 0;
popups[35][6] = 'Body Treatments';
popups[35][7] = 'Chocolate Body Treatment';
popups[35][8] = 'A cocoa body scrub followed by a covering of a Chocolate mask from neck to toes. This ritual leaves your skin delightfully soft and is truly one of Gods&#8217; gifts to mankind.';
popups[35][9] = '50 min. 140 USD.';

popups[47][0] = 3;
popups[47][1] = 47;
popups[47][2] = 0;
popups[47][3] = 0;
popups[47][4] = 0;
popups[47][5] = 0;
popups[47][6] = 'Body Treatments';
popups[47][7] = 'Herbal Bath';
popups[47][8] = 'A full body scrub will remove dead cells from your skin leaving it soft and fresh; soak in a warm blend of rosemary, spearmint and sage, followed by an aromatic and moisturizing body-modeling cream that wi ll hydrate and nurture your skin.';
popups[47][9] = '45 min. 110 USD.';


popups[89][0] = 3;
popups[89][1] = 47;
popups[89][2] = 0;
popups[89][3] = 0;
popups[89][4] = 0;
popups[89][5] = 0;
popups[89][6] = 'Body Treatments';
popups[89][7] = 'Brown Sugar Body Polish';
popups[89][8] = 'An ideal experience before spending your day in the sun! Using a mixture of honey and brown sugar, the skin will be gently and efficiently exfoliated, removing all the dead cells on the surface of the skin, offering you the chance for a glowing suntan and a refreshed skin.';
popups[89][9] = '25 min. $65 USD.';



//Ayurvedic Treatments

popups[37][0] = 4;
popups[37][1] = 37;
popups[37][2] = 0;
popups[37][3] = 0;
popups[37][4] = 0;
popups[37][5] = 0;
popups[37][6] = 'Ayurvedic Treatments';
popups[37][7] = 'Stones Massage';
popups[37][8] = 'The obsidian stones are gemstones of volcanic origin, well known for their heat retaining abilities and for conducting energy. The warm-stones mass age will not only relax the muscles and ease tension, but will also facilitate the flow of energy within the body, giving you a total state of well being.';
popups[37][9] = '80 min. $175 USD.';

popups[38][0] = 4;
popups[38][1] = 38;
popups[38][2] = 0;
popups[38][3] = 0;
popups[38][4] = 0;
popups[38][5] = 0;
popups[38][6] = 'Ayurvedic Treatments';
popups[38][7] = 'Shiatsu Therapy';
popups[38][8] = 'The ancient art of &ldquo;energy work&rdquo; through specific trigger points on the body is well known for releasing energy blockages and helping the body to achieve optimal energy flow. It will leave you revitalized, peaceful and balanced. ITZAMN&Aacute; god WARM';
popups[38][9] = '50 min. $130 USD.';

//Salon Services

popups[39][0] = 5;
popups[39][1] = 39;
popups[39][2] = 1;
popups[39][3] = 0;
popups[39][4] = 0;
popups[39][5] = 1;
popups[39][6] = 'Salon Services';
popups[39][7] = 'Hair';

if(browserid.indexOf("MSIE") > -1)
{
popups[39][8] = 'Men&acute;s haircut and style..................................... #35 USD.';
popups[39][8] += '#Ladies cut and style........................................... #45 USD.<br>';
popups[39][8] += '#Beard trim....................................................... #20 USD.';
popups[39][8] += '#Shampoo set..................................................... #60 USD.';
popups[39][8] += '#Shampoo and blow dry...................................... #45 USD.';
popups[39][8] += '#Up do............................................................... #50 USD.';
popups[39][8] += '#Shampoo and iron curls..................................... #60 USD.';
popups[39][8] += '#Braids, long hair............................................... #85 USD.';
popups[39][8] += '#Braids, regular hair.......................................... #60 USD.';
popups[39][8] += '#Braids, half head.............................................. #40 USD.';
popups[39][8] += '#French braid.................................................... #40 USD.';
popups[39][8] += '#Nourishing hair treatment................................ #45 USD.';
popups[39][8] += '#<br><br><strong>Color And Texturefull</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;&nbsp;';
popups[39][8] += '#Tint............................................................... #85 USD.';
popups[39][8] += '#Full tint w/ bleaching agent............................................................. #110 USD.';
popups[39][8] += '#Retouch tint.................................................... #75 USD.';
popups[39][8] += '#Highlights, short hair................................ #85 USD.';
popups[39][8] += '#Highlights, long hair................................ #105 USD.';
popups[39][8] += '#Color removal................................ #140 USD.';
}
else
{
popups[39][8] = 'Men&acute;s haircut and style..................................... #35 USD.';
popups[39][8] += '#Ladies cut and style........................................... #45 USD.<br>';
popups[39][8] += '#Beard trim....................................................... #20 USD.';
popups[39][8] += '#Shampoo set..................................................... #60 USD.';
popups[39][8] += '#Shampoo and blow dry...................................... #45 USD.';
popups[39][8] += '#Up do............................................................... #50 USD.';
popups[39][8] += '#Shampoo and iron curls..................................... #60 USD.';
popups[39][8] += '#Braids, long hair............................................... #85 USD.';
popups[39][8] += '#Braids, regular hair.......................................... #60 USD.';
popups[39][8] += '#Braids, half head.............................................. #40 USD.';
popups[39][8] += '#French braid.................................................... #40 USD.';
popups[39][8] += '#Nourishing hair treatment................................ #45 USD.';
popups[39][8] += '#<br><br><strong>Color And Texturefull</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;&nbsp;';
popups[39][8] += '#Tint............................................................... #85 USD.';
popups[39][8] += '#Full tint w/ bleaching agent............................................................. #110 USD.';
popups[39][8] += '#Retouch tint.................................................... #75 USD.';
popups[39][8] += '#Highlights, short hair................................ #85 USD.';
popups[39][8] += '#Highlights, long hair................................ #105 USD.';
popups[39][8] += '#Color removal................................ #140 USD.';
popups[39][9] = '';
}

popups[40][0] = 5;
popups[40][1] = 40;
popups[40][2] = 1;
popups[40][3] = 0;
popups[40][4] = 0;
popups[40][5] = 0;
popups[40][6] = 'Salon Services';
popups[40][7] = 'Nails';

if(browserid.indexOf("MSIE") > -1)
{
	popups[40][8] = 'Classic manicure 45 min....................................#40 USD.';
	popups[40][8] += '#JW spa manicure 60 min....................................#70 USD.';
	popups[40][8] += '#Classic pedicure 45 min.....................................#50 USD.';
	popups[40][8] += '#JW spa pedicure 75 min......................................#95 USD.';
	popups[40][8] += '#JW hot stones pedicure 45 min............................#60 USD.';
	popups[40][8] += '#Polish change 15 min.........................................#10 USD.';
	popups[40][8] += '#French polish change 30 min..............................#20 USD.';
	popups[40][8] += '#French manicure 45 min...................................#45 USD.';
	popups[40][8] += '#French pedicure 45 min.....................................#55 USD.';
	popups[40][8] += '#Nail decoration 30 min.......................................#25 USD.';
	popups[40][8] += '#Full set acrylic nails 2 hrs...................................#90 USD.';
	popups[40][8] += '#Acrylic nails refill 1 hrs......................................#55 USD.';
	popups[40][8] += '#Acrylic nail repair 30 min..................................#20 USD.';
	popups[40][8] += '#Acrylic removal and buffing 45 min...................#55 USD.';
}
else
{
	popups[40][8] = 'Classic manicure 45 min............................#40 USD.';
	popups[40][8] += '#JW spa manicure 60 min...........................#70 USD.';
	popups[40][8] += '#Classic pedicure 45 min.............................#50 USD.';
	popups[40][8] += '#JW spa pedicure 75 min.............................#95 USD.';
	popups[40][8] += '#JW hot stones pedicure 45 min...................#60 USD.';
	popups[40][8] += '#Polish change 15 min.................................#10 USD.';
	popups[40][8] += '#French polish change 30 min......................#20 USD.';
	popups[40][8] += '#French manicure 45 min...........................#45 USD.';
	popups[40][8] += '#French pedicure 45 min.............................#55 USD.';
	popups[40][8] += '#Nail decoration 30 min..............................#25 USD.';
	popups[40][8] += '#Full set acrylic nails 2 hrs..........................#90 USD.';
	popups[40][8] += '#Acrylic nails refill 1 hrs..............................#55 USD.';
	popups[40][8] += '#Acrylic nail repair 30 min.........................#20 USD.';
	popups[40][8] += '#Acrylic removal and buffing 45 min...........#55 USD.';
}

popups[40][9] = '';

popups[41][0] = 5;
popups[41][1] = 41;
popups[41][2] = 1;
popups[41][3] = 0;
popups[41][4] = 0;
popups[41][5] = 0;
popups[41][6] = 'Salon Services';
popups[41][7] = 'Face';

if(browserid.indexOf("MSIE") > -1)
{
	popups[41][8] = 'Make up Professional make-up..................................................#55 USD.';
	popups[41][8] += '#Bride’s make-up...........................................#65 USD.';
	popups[41][8] += '#Bride’s make-up trial...........................................#35 USD.';
	popups[41][8] += '#<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;&nbsp;';
	popups[41][8] += '#Waxing Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;&nbsp;';
	popups[41][8] += '#Upper lip ...........................................#20 USD.';
	popups[41][8] += '#Chin ...........................................#20 USD.';
	popups[41][8] += '#Eyebrow ...........................................#25 USD.';
	popups[41][8] += '#Full face ...........................................#55 USD.';
}
else
{
	popups[41][8] = 'Make up Professional make-up........................................#55 USD.';
	popups[41][8] += '#Bride’s make-up..............................................#65 USD.';
	popups[41][8] += '#Bride’s make-up trial.......................................#35 USD.';
	popups[41][8] += '#<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;&nbsp;';
	popups[41][8] += '#Waxing Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;&nbsp;';
	popups[41][8] += '#Upper lip................................................#20 USD.';
	popups[41][8] += '#Chin.....................................................#20 USD.';
	popups[41][8] += '#Eyebrow.................................................#25 USD.';
	popups[41][8] += '#Full face...............................................#55 USD.';
}
popups[41][9] = '';

popups[53][0] = 5;
popups[53][1] = 53;
popups[53][2] = 1;
popups[53][3] = 0;
popups[53][4] = 0;
popups[53][5] = 0;
popups[53][6] = 'Salon Services';
popups[53][7] = 'Waxing';

if(browserid.indexOf("MSIE") > -1)
{
	popups[53][8] = 'Upper lip..........................................................#20 USD.';
	popups[53][8] += '#Chin................................................................#20 USD.';
	popups[53][8] += '#Eyebrow...........................................................#25 USD.';
	popups[53][8] += '#Full face...........................................................#55 USD.';
	popups[53][8] += '#Underarm........................................................#20 USD.';
	popups[53][8] += '#Bikini...............................................................#30 USD.';
	popups[53][8] += '#Half leg............................................................#40 USD.';
	popups[53][8] += '#Full leg............................................................#70 USD.';
	popups[53][8] += '#Arm.................................................................#30 USD.';
	popups[53][8] += '#Full back or chest regular..................................#50 USD.';
	popups[53][8] += '#Full back or chest abundant................................#75 USD.';
}
else //firefox
{
	popups[53][8] = 'Upper lip..........................................................#20 USD.';
	popups[53][8] += '#Chin................................................................#20 USD.';
	popups[53][8] += '#Eyebrow...........................................................#25 USD.';
	popups[53][8] += '#Full face...........................................................#55 USD.';
	popups[53][8] += '#Underarm........................................................#20 USD.';
	popups[53][8] += '#Bikini...............................................................#30 USD.';
	popups[53][8] += '#Half leg............................................................#40 USD.';
	popups[53][8] += '#Full leg............................................................#70 USD.';
	popups[53][8] += '#Arm.................................................................#30 USD.';
	popups[53][8] += '#Full back or chest regular..................................#50 USD.';
	popups[53][8] += '#Full back or chest abundant................................#75 USD.';
}

popups[53][9] = '';

popups[90][0] = 5;
popups[90][1] = 90;
popups[90][2] = 1;
popups[90][3] = 0;
popups[90][4] = 0;
popups[90][5] = 1;
popups[90][6] = 'Salon Services';
popups[90][7] = 'Body';

if(browserid.indexOf("MSIE") > -1)
{
	popups[90][8] = 'Parafin treatments Hand treatment................... #10 USD.';
	popups[90][8] += '#Foot treatment.................................................. #17 USD.';
	popups[90][8] += '#Back treatment.................................................. #35 USD.';
	popups[90][8] += '#<br><br><strong>Waxing services</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;&nbsp;';
	popups[90][8] += '#Underarm........................................................ #20 USD.';
	popups[90][8] += '#Bikini............................................................... #30 USD.';
	popups[90][8] += '#Half leg............................................................ #40 USD.';
	popups[90][8] += '#Full leg............................................................. #70 USD.';
	popups[90][8] += '#Arm................................................................. #30 USD.';
	popups[90][8] += '#Full back or chest, regular.................................. #50 USD.';
	popups[90][8] += '#Full back or chest, Abundant.............................. #75 USD.';
}
else
{
	popups[90][8] = 'Parafin treatments Hand treatment.................... #10 USD.';
	popups[90][8] += '#Foot treatment.................................................. #17 USD.';
	popups[90][8] += '#Back treatment................................................. #35 USD.';
	popups[90][8] += '#<br><br><strong>Waxing services</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;&nbsp;';
	popups[90][8] += '#Underarm........................................................ #20 USD.';
	popups[90][8] += '#Bikini............................................................... #30 USD.';
	popups[90][8] += '#Half leg............................................................ #40 USD.';
	popups[90][8] += '#Full leg............................................................. #70 USD.';
	popups[90][8] += '#Arm................................................................. #30 USD.';
	popups[90][8] += '#Full back or chest, regular.................................. #50 USD.';
	popups[90][8] += '#Full back or chest, Abundant.............................. #75 USD.';
}
popups[90][9] = '';


//Group & Special Events Services

popups[42][0] = 6;
popups[42][1] = 42;
popups[42][2] = 0;
popups[42][3] = 0;
popups[42][4] = 0;
popups[42][5] = 0;
popups[42][6] = 'Group & Special Events Services';
popups[42][7] = 'MD Skincare Perfect Face Treatment';
popups[42][8] = 'This facial is designed with the specific needs of a man in mind. Shaving and its effects take a toll on our skin and from time to time, we need to replenish much needed moisture and hydration.';
popups[42][9] = '45 min. USD 120';

popups[43][0] = 6;
popups[43][1] = 43;
popups[43][2] = 0;
popups[43][3] = 0;
popups[43][4] = 0;
popups[43][5] = 0;
popups[43][6] = 'Group & Special Events Services';
popups[43][7] = 'Gentlemen\'s Facial';
popups[43][8] = 'This facial is designed with the specific needs of a man in mind. Shaving and its effects take a toll on our skin and from time to time, we need to replenish much needed moisture and hydration.';
popups[43][9] = '50 min. 120 USD.';

popups[44][0] = 6;
popups[44][1] = 44;
popups[44][2] = 0;
popups[44][3] = 0;
popups[44][4] = 0;
popups[44][5] = 0;
popups[44][6] = 'Group & Special Events Services';
popups[44][7] = 'Brown Sugar Body Polish';
popups[44][8] = 'An ideal experience before spending your day in the sun! Using a mixture of honey and brown sugar, the skin will be gently and efficiently exfoliated, removing all the dead cells on the surface of the skin, offering you the chance for a glowing suntan and a refreshed skin.';
popups[44][9] = '25 min. 65 USD.';

popups[45][0] = 6;
popups[45][1] = 45;
popups[45][2] = 0;
popups[45][3] = 0;
popups[45][4] = 0;
popups[45][5] = 0;
popups[45][6] = 'Group & Special Events Services';
popups[45][7] = 'Luxury Back Massage';
popups[45][8] = 'Perfect for long-stored tension on your back muscles, this treatment starts with a light exfoliation of the back, followed by a back waxing and lotion aplication, then a mask to soothe and relax.';
popups[45][9] = '80 min. 170 USD.';

popups[54][0] = 6;
popups[54][1] = 54;
popups[54][2] = 0;
popups[54][3] = 0;
popups[54][4] = 0;
popups[54][5] = 0;
popups[54][6] = 'Group & Special Events Services';
popups[54][7] = 'Papaya Mango Facial';
popups[54][8] = 'This luxurious treatment is based on botanical enzymes to eliminate the dry upper layer of the skin while deeply relaxing the face. With a strong touch of Mexico, this aromatic treatment will leave the skin radiant and replenished.';
popups[54][9] = '50 min. 125 USD.';

popups[55][0] = 6;
popups[55][1] = 55;
popups[55][2] = 0;
popups[55][3] = 0;
popups[55][4] = 0;
popups[55][5] = 0;
popups[55][6] = 'Group & Special Events Services';
popups[55][7] = 'Reflexology';
popups[55][8] = 'A non-medical session of reflexology, where the therapist will activate the reflex points on your feet, deeply relaxing the tension throughout the body. An ancient art of healing and well being, connecting and balancing the body&#8217;s energy channels.';
popups[55][9] = '50 min. 125 USD.';

popups[56][0] = 6;
popups[56][1] = 56;
popups[56][2] = 0;
popups[56][3] = 0;
popups[56][4] = 0;
popups[56][5] = 0;
popups[56][6] = 'Group & Special Events Services';
popups[56][7] = 'Spa Family Experience';
popups[56][8] = 'A perfect combination you can share with your family. Treat yourself to a back, neck and shoulders massage, ad a refreshing facial to give you glow and complete your spa day with a classic manicure. Get a 15% off booking a refreshing teen facial plus a miracle manicure from our kids menu.';
popups[56][9] = '175 USD per person.';

popups[57][0] = 6;
popups[57][1] = 57;
popups[57][2] = 0;
popups[57][3] = 0;
popups[57][4] = 0;
popups[57][5] = 0;
popups[57][6] = 'Group & Special Events Services';
popups[57][7] = 'Moisture Replenishing Facial Treatment';
popups[57][8] = 'This lavender treatment uses a double-enzyme exfoliation to renew the skin. It is a delicious, extravagant treatment with blueberry, papaya, pumpkin and lavender aromatherapy. The finishing touch is done with the collagen mask to enhance the skin&#8217;s appearance leaving it glowing for days.';
popups[57][9] = '50 min. 125 USD.';

popups[58][0] = 6;
popups[58][1] = 58;
popups[58][2] = 0;
popups[58][3] = 0;
popups[58][4] = 0;
popups[58][5] = 0;
popups[58][6] = 'Group & Special Events Services';
popups[58][7] = 'Therapeutic Feet Treatment';
popups[58][8] = 'Relieve stress and tension from the calves and feet during this 50-minute treatment that uses an exfoliation, a massage concentrating on pressure points directly correlated to various parts of the body and a lower leg wrap with specific products to improve the circulation and remove water retention.';
popups[58][9] = '50 min. USD 110';

popups[59][0] = 6;
popups[59][1] = 59;
popups[59][2] = 0;
popups[59][3] = 0;
popups[59][4] = 0;
popups[59][5] = 0;
popups[59][6] = 'Group & Special Events Services';
popups[59][7] = 'Ix Chel, Maternity Massage';
popups[59][8] = 'For mothers to be, this treatment is the solution for the tired back, aching feet and accumulated tension. Specific chosen massage movements will nurture the back, ease the tension in your feet and help the puffiness around the eyes with gentle, eye lymph drainage movements.';
popups[59][9] = '50 min. 115 USD.';

popups[60][0] = 6;
popups[60][1] = 60;
popups[60][2] = 0;
popups[60][3] = 0;
popups[60][4] = 0;
popups[60][5] = 0;
popups[60][6] = 'Group & Special Events Services';
popups[60][7] = 'Just girls Spa Experience';
popups[60][8] = 'Immerse yourself in this aromatic journey. Your skin will look energized with the brown sugar and honey exfoliation. The Nance wrap will mooth and nurture your skin, whi le a papaya-mango face treatment is applied. Pamper your feet with our JW Hot Stones Pedicure for a long lasting relaxation.';
popups[60][9] = '340 USD per person.';

popups[61][0] = 6;
popups[61][1] = 61;
popups[61][2] = 0;
popups[61][3] = 0;
popups[61][4] = 0;
popups[61][5] = 0;
popups[61][6] = 'Group & Special Events Services';
popups[61][7] = 'Ocean View Prime Time';
popups[61][8] = 'Experience these unique moments enjoying a brown sugar exfoliation followed by your choice of any of our 50 min massages you choose from the treatment list.';
popups[61][9] = 'USD 170 per person';

popups[62][0] = 6;
popups[62][1] = 62;
popups[62][2] = 0;
popups[62][3] = 0;
popups[62][4] = 0;
popups[62][5] = 0;
popups[62][6] = 'Group & Special Events Services';
popups[62][7] = 'Active Vacation';
popups[62][8] = 'Start your day with a class of your choice in the gym, followed by a delicious protein smoothie and completed with a relaxing Swedish massage to prepare you for a great day.';
popups[62][9] = '125 USD per person.';

popups[64][0] = 6;
popups[64][1] = 64;
popups[64][2] = 0;
popups[64][3] = 0;
popups[64][4] = 450;
popups[64][5] = 0;
popups[64][6] = 'Group & Special Events Services';
popups[64][7] = 'Weddings';
popups[64][8] = "<b>Ch´úupal Uj Moon Princess</b><br>Bride´s Hair Style. Bride´s Make up. SPA manicure. SPA pedicure.<br><b>245 USD.</b><br><br>"
popups[64][8] += "<b>Ch´úupal Ha´ Water Princess</b><br>Bride´s Hair Style. Bride´s Make up. Back, neck and shoulders massage. Jade and Roses Body Sculpture. French manicure. French pedicure.<br><b>345 USD.</b><br><br>"
popups[64][8] += "<b>Ch´úupal K´in Sun Princess</b><br>Bride´s Hair Style. Bride´s Make up. Golden Bath. Golden Body Wrap. Classic manicure. Classic pedicure.<br><b>385 USD.</b><br><br>"
popups[64][8] += "<b>Ch&acute;uupal Groom Time</b><br>Haircut. Gentlemen&#8217;s facial. Classic manicure. Classic pedicure.<br><b>245 USD.</b>"
popups[64][9] = '';

popups[67][0] = 6;
popups[67][1] = 67;
popups[67][2] = 0;
popups[67][3] = 0;
popups[67][4] = 0;
popups[67][5] = 0;
popups[67][6] = 'Group & Special Events Services';
popups[67][7] = 'Refreshing Teen Facial';
popups[67][8] = 'Skin care education is the key for teens to maintain healthy skin. This session will teach teens about their skin type and how to care for it. Includes standard cleansing and light exfoliation. Select this facial if experiencing breakouts or irritation.';
popups[67][9] = '50 min. USD 60';

popups[68][0] = 6;
popups[68][1] = 68;
popups[68][2] = 0;
popups[68][3] = 0;
popups[68][4] = 0;
popups[68][5] = 0;
popups[68][6] = 'Group & Special Events Services';
popups[68][7] = 'Miracle Manicure';
popups[68][8] = 'Nails - Ages 6-17. <br> A manicure at its best! Hand massage and nail care with polish and decals.';
popups[68][9] = '25 USD.';

popups[69][0] = 6;
popups[69][1] = 69;
popups[69][2] = 0;
popups[69][3] = 0;
popups[69][4] = 0;
popups[69][5] = 0;
popups[69][6] = 'Group & Special Events Services';
popups[69][7] = 'Sweet Paradise Chocolate Facial';
popups[69][8] = '';
popups[69][9] = '30 min. 40 USD.';

popups[70][0] = 6;
popups[70][1] = 70;
popups[70][2] = 1;
popups[70][3] = 0;
popups[70][4] = 0;
popups[70][5] = 0;
popups[70][6] = 'Group & Special Events Services';
popups[70][7] = 'From The Top Of Her Head. Hair styling. Ages 6-17';

if(browserid.indexOf("MSIE") > -1)
{
	popups[70][8] = 'Chic Cancun Braids............................................#30 USD.';
	popups[70][8] += '#Diva Darling Up-Do............................................#25 USD.';
	popups[70][8] += '#JW Super Star HairCut.......................................#20 USD.';
}
else //firefox
{
	popups[70][8] = 'Chic Cancun Braids.....................................#30 USD.';
	popups[70][8] += '#Diva Darling Up-Do.....................................#25 USD.';
	popups[70][8] += '#JW Super Star HairCut...............................#20 USD.';
}

popups[70][9] = '';

popups[71][0] = 6;
popups[71][1] = 71;
popups[71][2] = 0;
popups[71][3] = 0;
popups[71][4] = 0;
popups[71][5] = 0;
popups[71][6] = 'Group & Special Events Services';
popups[71][7] = 'Nails (Ages 6-17)';
popups[71][8] = 'Gleam & Glow Polish Change';
popups[71][9] = 'USD 10';

popups[72][0] = 6;
popups[72][1] = 72;
popups[72][2] = 0;
popups[72][3] = 0;
popups[72][4] = 0;
popups[72][5] = 0;
popups[72][6] = 'Group & Special Events Services';
popups[72][7] = 'Perfect Paradise Ice Cream Pedicure';
popups[72][8] = 'Hit the beach with the hottest toes in Cancun. Our salon pedicure includes exfoliation, massage, nail care and polish.';
popups[72][9] = '35 USD.';

popups[73][0] = 6;
popups[73][1] = 73;
popups[73][2] = 0;
popups[73][3] = 0;
popups[73][4] = 0;
popups[73][5] = 0;
popups[73][6] = 'Group & Special Events Services';
popups[73][7] = 'Just The Right Touch Teen Massage.';
popups[73][8] = 'Ages 15-17.<br> A-List Aromatherapy.<br>Book bag too heavy? Help tired or sore shoulders with this Aromatherapy Massage, concentrating on the back, neck and shoulders.';
popups[73][9] = '25 min. 40 USD.';

popups[74][0] = 6;
popups[74][1] = 74;
popups[74][2] = 0;
popups[74][3] = 0;
popups[74][4] = 0;
popups[74][5] = 0;
popups[74][6] = 'Group & Special Events Services';
popups[74][7] = 'Delightful Peppermint Patty';
popups[74][8] = 'Did your parents drag you around all day? For this leg and foot massage, we use stimulating peppermint cream to &#8220;wake up&#8221; tired feet.';
popups[74][9] = '25 min. 40 USD.';

popups[75][0] = 6;
popups[75][1] = 75;
popups[75][2] = 0;
popups[75][3] = 0;
popups[75][4] = 0;
popups[75][5] = 0;
popups[75][6] = 'Group & Special Events Services';
popups[75][7] = 'Mayan Princess for a Day';
popups[75][8] = 'Begin the day with a pedicure and manicure with your choice of nail polish and decals, followed by a hair-styling session in which you can choose either Cancun braids or Fancy up-do. No princess would feel complete without glitter make-up, lip-gloss and a fresh application of sunscreen. Bring your Mom along and add just 90 USD.';
popups[75][9] = 'Aprox. 2 hrs. 135 USD.';

popups[84][0] = 6;
popups[84][1] = 75;
popups[84][2] = 0;
popups[84][3] = 0;
popups[84][4] = 0;
popups[84][5] = 0;
popups[84][6] = 'Group & Special Events Services';
popups[84][7] = 'Precious Elements Gold &amp; Jade Treatment';
popups[84][8] = 'Experience the wonderful sensation of utilizing three of the most prized elements in the Mayan culture, gold, jade and flowers. This ritual begins with a full body exfoliation using precious gold and floral ess ences, followed by a relaxing body wrap to replenish and nourish the skin. During the wrap, a gentle facial will remove impurities and refine skin texture. A 20 minute bath of precious gold powder and flowers will promote detoxification and bring about profound relaxation. An application of precious oils, again using precious elements, leaves your skin glowing, hydrated and totally rejuvenated.';
popups[84][9] = '280 USD.';

popups[85][0] = 6;
popups[85][1] = 75;
popups[85][2] = 0;
popups[85][3] = 0;
popups[85][4] = 0;
popups[85][5] = 0;
popups[85][6] = 'Group & Special Events Services';
popups[85][7] = 'Kids Menu';
popups[85][8] = 'Its never too early to develop a healthy attitude toward beauty The Spa at JW Marriott Cancun Resort celebrates the spirited style and unique needs of each individual client. We offer a variety of fine treatments and services designed specifically for our younger clientele, from rich formulas that nourish youthful skin to our sweet treat for busy feet, an Ice Cream Pedicure. Within our world-class facility you wi ll find highly trained Spa attendants who understand that all children have beautiful dreams. And that all parents believe in them. Teen / Spa is located in our spa saloon.';
popups[85][9] = '';

popups[86][0] = 6;
popups[86][1] = 75;
popups[86][2] = 0;
popups[86][3] = 0;
popups[86][4] = 0;
popups[86][5] = 0;
popups[86][6] = 'Group & Special Events Services';
popups[86][7] = 'A Fresh Face Skincare';
popups[86][8] = 'Ages 13-17. <br> Skin care education is the key for teens to maintain healthy skin. This session will teach teens about their skin type and how to care for it. Includes standard cleansing and light exfoliation. Select this facial if experiencing breakouts or irritation.';
popups[86][9] = 'Refreshing Teen Facial. 50 min. 60 USD.';

popups[87][0] = 6;
popups[87][1] = 75;
popups[87][2] = 0;
popups[87][3] = 0;
popups[87][4] = 0;
popups[87][5] = 0;
popups[87][6] = 'Group & Special Events Services';
popups[87][7] = 'Good Clean Fun.';
popups[87][8] = 'Pre-Teen Skincare Ages 6-12. Good basic cleansing and clean fun is the focus of this facial. We us e a gentle cleanser, a fun chocolate mask and protecting SPF in this 30 minute facial.';
popups[87][9] = 'Refreshing Teen Facial. 50 min. 60 USD.';



//set options and open popup window

function launchpopup(pid)
{
	var targeturl;
	var customwidth = popups[pid][3];
	var customheight = popups[pid][4];

	if(popups[pid][2] == 0) //plain text template
	{
		targeturl = "srvcsa.htm?pid=" + pid;	
		if(customwidth < 1) customwidth = 421;
		if(customheight < 1) customheight = 330;
	}
	else if(popups[pid][2] == 1) //price list table template
	{
		targeturl = "srvcsb.htm?pid=" + pid;	
		if(customwidth < 1) customwidth = 421;
		if(customheight < 1) customheight = 360;
	}
		
	var params = "toolbar=0";
	params += ",scrollbars=" + popups[pid][5];
	params += ",statusbar=0";
	params += ",menubar=0";
	params += ",resizable=0";
	params += ",width=" + customwidth;
	params += ",height=" + customheight;
	params += ",left=192";
	params += ",top=144";
	
	if(mainpopup != null) mainpopup.close();
	mainpopup = window.open(targeturl,"_blank",params);
}

//init popup page

function initPopup()
{
	var qs = new Querystring(qs);
	var pid = qs.get("pid",0);
	var pricelist;
	
	if(popups[pid][2] == 0) //plain text
	{
		document.getElementById("popupTitle").innerHTML = popups[pid][6];
		document.getElementById("popupHeader").innerHTML = popups[pid][7];
		document.getElementById("popupBody").innerHTML = popups[pid][8];
		document.getElementById("popupFooter").innerHTML = popups[pid][9];	
	}
	else if(popups[pid][2] == 1) //pricelist
	{
		document.getElementById("popupTitle").innerHTML = popups[pid][6];
		document.getElementById("popupHeader").innerHTML = popups[pid][7];
		
		pricelist = new String(popups[pid][8]).split("#");
		
		if(pricelist.length > 0)
		{
			var j = 0;
			for(i=0; i<16; i++)
			{
				document.getElementById(["pl"+i+"0"]).innerHTML = pricelist[j];
				document.getElementById(["pl"+i+"1"]).innerHTML = pricelist[j+1];
				j = j + 2;
				if(j == pricelist.length) break;
			}
		}
	}
}

//querystring parsing

function Querystring(qs) 
{ 
	this.params = new Object();
	this.get=Querystring_get;
	
	if(qs == null) qs=location.search.substring(1,location.search.length);
	
	if(qs.length == 0) return;

	qs = qs.replace(/\+/g, ' ');
	var args = qs.split('&');
	
	for(var i=0;i<args.length;i++) 
	{
		var value;
		var pair = args[i].split('=');
		var name = unescape(pair[0]);

		if (pair.length == 2)
		{
			value = unescape(pair[1]);
		}
		else
		{
			value = name;
		}
		
		this.params[name] = value;
	}
}

function Querystring_get(key, default_) 
{
	if(default_ == null) default_ = null;
	
	var value=this.params[key];
	if(value==null) value=default_;
	
	return value;
}
