function createbody(dirname)
{
createcontent(dirname);

list();
createcat("http://worlds-best-pharmacy.com/order_allergy_en-us.html?wm=9670&tr=8030","Allergy");
createcat("http://worlds-best-pharmacy.com/order_anthelmintics_en-us.html?wm=9670&tr=8030","Anthelmintics");
createcat("http://worlds-best-pharmacy.com/order_anti_bacterial_en-us.html?wm=9670&tr=8030","Anti bacterial");
createcat("http://worlds-best-pharmacy.com/order_anti_convulsants_en-us.html?wm=9670&tr=8030","Anti convulsants");
createcat("http://worlds-best-pharmacy.com/order_anti_depressants_en-us.html?wm=9670&tr=8030","Anti depressants");
createcat("http://worlds-best-pharmacy.com/order_anti_fungal_en-us.html?wm=9670&tr=8030","Anti fungal");
createcat("http://worlds-best-pharmacy.com/order_anti_viral_en-us.html?wm=9670&tr=8030","Anti viral");
createcat("http://worlds-best-pharmacy.com/order_antibiotics_en-us.html?wm=9670&tr=8030","Antibiotics");
createcat("http://worlds-best-pharmacy.com/order_arthritis_en-us.html?wm=9670&tr=8030","Arthritis");
createcat("http://worlds-best-pharmacy.com/order_bladder_and_gout_en-us.html?wm=9670&tr=8030","Bladder and gout");
createcat("http://worlds-best-pharmacy.com/order_blood_pressure_en-us.html?wm=9670&tr=8030","Blood pressure");
createcat("http://worlds-best-pharmacy.com/order_cancer_en-us.html?wm=9670&tr=8030","Cancer");
createcat("http://worlds-best-pharmacy.com/order_cholesterol_en-us.html?wm=9670&tr=8030","Cholesterol");
createcat("http://worlds-best-pharmacy.com/order_diabetes_en-us.html?wm=9670&tr=8030","Diabetes");
createcat("http://worlds-best-pharmacy.com/order_diuretics_en-us.html?wm=9670&tr=8030","Diuretics");
createcat("http://worlds-best-pharmacy.com/order_erectile_dysfunction_en-us.html?wm=9670&tr=8030","Erectile Dysfunction");
createcat("http://worlds-best-pharmacy.com/order_gastrointestinal_en-us.html?wm=9670&tr=8030","Gastrointestinal");
createcat("http://worlds-best-pharmacy.com/order_heart_and_blood_vessels_en-us.html?wm=9670&tr=8030","Heart and blood vessels");
createcat("http://worlds-best-pharmacy.com/order_heart_diseases_en-us.html?wm=9670&tr=8030","Heart diseases");
createcat("http://worlds-best-pharmacy.com/order_inflammatory_en-us.html?wm=9670&tr=8030","Inflammatory");
createcat("http://worlds-best-pharmacy.com/order_lung_diseases_en-us.html?wm=9670&tr=8030","Lung diseases");
createcat("http://worlds-best-pharmacy.com/order_men___s_health_en-us.html?wm=9670&tr=8030","Men's Health");
createcat("http://worlds-best-pharmacy.com/order_mental_disorders_en-us.html?wm=9670&tr=8030","Mental disorders");
createcat("http://worlds-best-pharmacy.com/order_migraines_en-us.html?wm=9670&tr=8030","Migraines");
createcat("http://worlds-best-pharmacy.com/order_neurologic_diseases_en-us.html?wm=9670&tr=8030","Neurologic diseases");
createcat("http://worlds-best-pharmacy.com/order_muscle_relaxants_en-us.html?wm=9670&tr=8030","Muscle relaxants");
createcat("http://worlds-best-pharmacy.com/order_osteoporosis_en-us.html?wm=9670&tr=8030","Osteoporosis");
createcat("http://worlds-best-pharmacy.com/order_pain_relief_en-us.html?wm=9670&tr=8030","Pain relief");
createcat("http://worlds-best-pharmacy.com/order_parkinson_and_alzheimer_en-us.html?wm=9670&tr=8030","Parkinson and alzheimer");
createcat("http://worlds-best-pharmacy.com/order_skin_and_hair_care_en-us.html?wm=9670&tr=8030","Skin and hair care");
createcat("http://worlds-best-pharmacy.com/order_stomach_diseases_en-us.html?wm=9670&tr=8030","Stomach diseases");
createcat("http://worlds-best-pharmacy.com/order_stomack_diseases_en-us.html?wm=9670&tr=8030","Stomack diseases");
createcat("http://worlds-best-pharmacy.com/order_stop_smoking_en-us.html?wm=9670&tr=8030","Stop smoking");
createcat("http://worlds-best-pharmacy.com/order_surgery_en-us.html?wm=9670&tr=8030","Surgery");
createcat("http://worlds-best-pharmacy.com/order_thyroid_en-us.html?wm=9670&tr=8030","Thyroid");
createcat("http://worlds-best-pharmacy.com/order_weight_loss_en-us.html?wm=9670&tr=8030","Weight loss");
createcat("http://worlds-best-pharmacy.com/order_women___s_health_en-us.html?wm=9670&tr=8030","Women's Health");
createcat("http://worlds-best-pharmacy.com/order_other_en-us.html?wm=9670&tr=8030","Other");


clear();


createmenu("http://worlds-best-pharmacy.com/buy_advair_diskus_en-us.html?wm=9670&tr=8030",dirname+"/default.gif","Advair Diskus","210.78","...");
createmenu("http://worlds-best-pharmacy.com/buy_allegra_en-us.html?wm=9670&tr=8030",dirname+"/allegra.gif","Allegra","0.58","FEXOFENADINE  (Allegra) is an antihistamine. This medicine is used...");
createmenu("http://worlds-best-pharmacy.com/buy_atarax_en-us.html?wm=9670&tr=8030",dirname+"/atarax.gif","Atarax","0.49","HYDROXYZINE (Atarax) is used for the treatment of  itches and irritations,...");
createmenu("http://worlds-best-pharmacy.com/buy_allegra-d_en-us.html.html?wm=9670&tr=8030",dirname+"/allegra-d.gif","Allegra-d","1.70","...");
createmenu("http://worlds-best-pharmacy.com/buy_clarinex_en-us.html?wm=9670&tr=8030",dirname+"/clarinex.gif","Clarinex","0.57","DESLORATADINE (Clarinex) is used to relieve hay fever and  allergy...");
createmenu("http://worlds-best-pharmacy.com/buy_claritin_en-us.html?wm=9670&tr=8030",dirname+"/claritin.gif","Claritin","0.61","LORATADINE (Claritin)  is an  antihistamine that reduces the natural...");
createmenu("http://worlds-best-pharmacy.com/buy_fulvicin_en-us.html?wm=9670&tr=8030",dirname+"/fulvicin.gif","Fulvicin","0.50","...");
createmenu("http://worlds-best-pharmacy.com/buy_periactin_en-us.html?wm=9670&tr=8030",dirname+"/periactin.gif","Periactin","0.38","CYPROHEPTADINE (PeriactinŽ) is an antihistamine. It relieves symptoms...");
createmenu("http://worlds-best-pharmacy.com/buy_phenergan_en-us.html?wm=9670&tr=8030",dirname+"/phenergan.gif","Phenergan","0.34","PROMETHAZINE (PhenerganŽ) is an antihistamine. It relieves moderate...");
createmenu("http://worlds-best-pharmacy.com/buy_singulair_en-us.html?wm=9670&tr=8030",dirname+"/singulair.gif","Singulair","0.84","MONTELUKAST  (Singulair) is used for prevention and long-term treatment...");
createmenu("http://worlds-best-pharmacy.com/buy_sterapred_en-us.html?wm=9670&tr=8030",dirname+"/sterapred.gif","Sterapred","0.19","...");
createmenu("http://worlds-best-pharmacy.com/buy_tavist_en-us.html?wm=9670&tr=8030",dirname+"/tavist.gif","Tavist","1.13","...");
createmenu("http://worlds-best-pharmacy.com/buy_triacet_en-us.html?wm=9670&tr=8030",dirname+"/default.gif","Triacet","0.95","...");
createmenu("http://worlds-best-pharmacy.com/buy_triderm_en-us.html?wm=9670&tr=8030",dirname+"/default.gif","Triderm","0.95","...");
createmenu("http://worlds-best-pharmacy.com/buy_zyrtec_en-us.html?wm=9670&tr=8030",dirname+"/zyrtec.gif","Zyrtec","1.15","...");
createmenu("http://worlds-best-pharmacy.com/buy_zyrtec-d_en-us.html?wm=9670&tr=8030",dirname+"/zyrtec.gif","Zyrtec-d","0.38","...");


}
function clear()
{
   var div = document.createElement("div");
   div.className = "clear";   
   document.body.appendChild(div); 

}

function list()
{
   var span = document.createElement("span");
   span.className = "txt";   

 var text = document.createTextNode("Category list:");
span.appendChild(text);

   document.body.appendChild(span); 

}


function createcat(link,name)
{
   var div = document.createElement("div");
   div.className = "categories";
      var a = document.createElement("a");
   a.setAttribute("href",link);

var text = document.createTextNode(name);
a.appendChild(text);
div.appendChild(a);
document.body.appendChild(div); }

function createcontent(dirname)
{
   var tab = document.createElement("table");
   var tr = document.createElement("tr");
   var tr2 = document.createElement("tr");
   var td21 = document.createElement("td");
   td21.setAttribute("colspan","2");

   var td1 = document.createElement("td");
      td1.className = "td1";


   var td2 = document.createElement("td");
     td2.className = "td2";


   var dv = document.createElement("div");
   dv.className = "main";

   var h1 = document.createElement("h1");
   var h1text = document.createTextNode("Allergy");
   h1.appendChild(h1text);
   dv.appendChild(h1);
   
   var img = document.createElement("img");
   img.className = "cat_img";
   img.setAttribute("src",dirname+"/allergy.gif");
   dv.appendChild(img);

var p = document.createElement("p");
   var ptext = document.createTextNode("An allergy is a type of immune reaction. Normally, the immune system responds to foreign microorganisms or particles by producing specific proteins called anti-bodies. These antibodies are capable of binding to identifying molecules, or antigens, on the foreign particle. This reaction between antibody and antigen sets off a series of chemical reactions designed to protect the body from infection. Sometimes, this same series of reactions is triggered by harmless, everyday substances such as pollen, dust. When this occurs, an allergy develops against the offending sub-stance (an allergen.)");
p.appendChild(ptext);
dv.appendChild(p);

   var dv2 = document.createElement("div");
   dv.className = "spo";
   
   var h2 = document.createElement("h2");
   var h2text = document.createTextNode(">Get FREE sample tablets with your order");
   h2.appendChild(h2text);
   dv2.appendChild(h2);
   

var p2 = document.createElement("p");
var p2text = document.createTextNode("Wish to get free sample pills? It's easy! Placing an order for 60 or more pills of any medication on the list you will get 4 Viagra pills or 2 Cilais pills as a free bonus to your order. Just choose the medication you would like to receive as a sample while ordering.");
p2.appendChild(p2text);
dv2.appendChild(p2);
var p3 = document.createElement("p");
p3.className = "p3";

var p3text = document.createTextNode("Our Billing is certified by:");
var b = document.createElement("b");

   var img2 = document.createElement("img");
   img2.className = "cat_img";
   img2.setAttribute("src",dirname+"/image.gif");
   p3.appendChild(p3text);
   p3.appendChild(img2);

dv2.appendChild(p3);



td1.appendChild(dv);
td2.appendChild(dv2);
tab.appendChild(tr);
tab.appendChild(td1);
tab.appendChild(td2);



document.body.appendChild(tab); 
}






function createmenu(url,img,pills,price,text)
  {
  
   var dv = document.createElement("div");
   dv.className = "index";
   
   var a = document.createElement("a");
   a.className = "prod";
   a.setAttribute("href", url);
   
   
   var dvpic = document.createElement("div");
   dvpic.className = "pic";
   
   var image = document.createElement("img");
   image.setAttribute("src",img);
   
   dvpic.appendChild(image);
   a.appendChild(dvpic);
   
   var dvpr = document.createElement("div");
   dvpr.className = "pr";
   
   
   
   var span1 = document.createElement("span");
   var price1 = document.createTextNode(price);
   span1.appendChild(price1);   

   var textpr = document.createTextNode("our price ");
   
   dvpr.appendChild(textpr);
     dvpr.appendChild(span1);

   
   a.appendChild(dvpr);
   
   var dvname = document.createElement("div");
   dvname.className = "name";
   
   var textname = document.createTextNode(pills);
   dvname.appendChild(textname);
   
   a.appendChild(dvname);
   
   var dvbuy = document.createElement("div");
   dvbuy.className = "buy";
   
   var textbuy = document.createTextNode("Buy Now!");
   dvbuy.appendChild(textbuy);
   
   a.appendChild(dvbuy);
   
   dv.appendChild(a);
   
   var dvdsc = document.createElement("div");
   dvdsc.className = "dsc";
   
   var textdsc = document.createTextNode(text);
   dvdsc.appendChild(textdsc);
   
   var span = document.createElement("span");
   var more = document.createTextNode("More info");
   span.appendChild(more);   
   dvdsc.appendChild(span);

   a.appendChild(dvdsc);  
   
   dv.appendChild(a);
   
 
   
   

   document.body.appendChild(dv);

   }