var queryObj = parseQueryString( location.search );
var	id = unescape(queryObj.id);
var name;
var img;
var more;
var litre;
if(id=="1"){
name = "Tomatoes marinated cherry with sweet peppers";
img = "marinated_big/tom_cher_sewt_pep1.jpg";
litre = "1.000 L";
}
else if(id=="2"){
name = "Tomatoes marinated cherry with hot peppers";
img = "marinated_big/tom_cher_hot_pep1l.jpg";
litre = "1.000 L";
}
else if(id=="3"){
name = "Tomatoes marinated cherry with hot peppers";
img = "marinated_big/tom_cher_hot_pep17.jpg";
litre = "1.700 L";
}
else if(id=="4"){
name = "Pickles in brine";
img = "marinated_big/pickles_in_brine1l.jpg";
litre = "1.000 L";
}
else if(id=="5"){
name = "Summer squash marinated (yellow)";
img = "marinated_big/summer_squash_patisoni1l.jpg";
litre = "1.000 L";
}
else if(id=="6"){
name = "Pickled cherry tomatoes Amphora";
img = "marinated_big/pickled_cher_tom580.jpg";
litre = "0.580 L";
}
else if(id=="7"){
name = "Assorty (cherry + summer squash) Amphora";
img = "marinated_big/as_cher_sum_squash.jpg";
litre = "0.580 L";
}

else if(id=="8"){
name = "Assorty (cherry + gherkins) Amphora";
img = "marinated_big/ass_cher_gherkins580.jpg";
litre = "0.580 L";
}
else if(id=="9"){
name = "Roasted peppers green Amphora";
img = "marinated_big/roasted_green_pep580.jpg";
litre = "0.580 L";
}
else if(id=="10"){
name = "Salad TUNDJA  Amphora";
img = "marinated_big/tundja580.jpg";
litre = "0.580L";
}
else{
name="Error - wrong link";
img="images/no.jpg";
more="There is not product with this name please return to Gallery";
litre= "";
}
document.write("<p>"+"<img src=\"" + img + "\" width=\"300\" height=\"300" + "\" alt=\"" + name + "\" /><br />\n"+"</p>");
document.write("<h3>" + name + "</h3>");
document.write("<ul>"+"<li>"+"Weight " + litre +"</li>"+"</ul>");




