var aTweenId = new Array();

function InitPage(){
  findObjects('img','roller');
  findObjects('div','smallInfo');
  somePngFix();
  document.getElementById('foCikk').style.height = '230px';
}



function findObjects(tag,filter){
  var numberOfObjects = document.getElementsByTagName(tag).length;
  var inspectedObject;
  if (numberOfObjects) {
    for (var n=0; n<numberOfObjects;n++){
      inspectedObject = document.getElementsByTagName(tag)[n];
      if (inspectedObject.className.indexOf(filter) != -1){
        /*alert('megpedig: ' + inspectedObject.id); */
         
        if (filter=="roller"){
        if (navigator.userAgent.indexOf("MSIE") != -1){
        addEvent(inspectedObject,"mouseover", function(evt) {rollOnMenu(evt.srcElement.id)});
        addEvent(inspectedObject,"mouseout", function(evt) {rollOutMenu(evt.srcElement.id)});
        addEvent(inspectedObject,"click", function(evt) {clickMenu(evt.srcElement.id)});
        }else{
        addEvent(inspectedObject,"mouseover", function(evt) {rollOnMenu(this.id)});
        addEvent(inspectedObject,"mouseout", function(evt) {rollOutMenu(this.id)});
        addEvent(inspectedObject,"click", function(evt) {clickMenu(this.id)});
        }
        }else if(filter=="smallInfo"){
        if (navigator.userAgent.indexOf("MSIE") != -1){
        addEvent(inspectedObject,"mouseover", function(evt) {rollOnDiv(evt.srcElement.id)});
        addEvent(inspectedObject,"mouseout", function(evt) {rollOutDiv(evt.srcElement.id)});
        addEvent(inspectedObject,"click", function(evt) {clickDiv(evt.srcElement.id)});
        }else{
        addEvent(inspectedObject,"mouseover", function(evt) {rollOnDiv(this.id)});
        addEvent(inspectedObject,"mouseout", function(evt) {rollOutDiv(this.id)});
        addEvent(inspectedObject,"click", function(evt) {clickDiv(this.id)});
        }
        }
      }
    }
  }
}

function addEvent(elem,evtType, func){
  //showOnConsole('Rollin' + evtType);
  if (elem.addEventListener) {
    elem.addEventListener(evtType, func, false);
  } else if (elem.attachEvent) {
    //alert(elem.id);
    elem.attachEvent("on" + evtType, func);
  } else {
    elem["on" + evtType] = func;
  }
  
}

function callPicture(which) {
if (which =="libanap"){
    new_window = open("","displayWindow","width=517,height=600,left=10,top=10,scrollbars=yes");

    // open new document 
    new_window.document.open();

    // Text of the new document
    // Replace your " with ' or \" or your document.write statements will fail
    new_window.document.write("<html><title>Márton Napi Libanapok!</title>");
    new_window.document.write("<body style='margin:0px;padding:0px;'>");
    new_window.document.write("<img src='../Images/Content/Program/libanapok.jpg'>");
    new_window.document.write("</body></html>");

    // close the document
    new_window.document.close(); 
    }
    else {
    new_window = open("","displayWindow","width=719,height=500,left=10,top=10,scrollbars=yes");

    // open new document 
    new_window.document.open();


    new_window.document.write("<html><title>Enny Huylebroeck festőművész kiállítása!</title>");
    new_window.document.write("<body style='margin:0px;padding:0px;'>");
    new_window.document.write("<img src='../Images/Content/Huylebroeck/EnnyHuylebroeck-meghivo.jpg'>");
    new_window.document.write("</body></html>");

    // close the document
    new_window.document.close(); 
    }
}


/////////////////// MENU STUFF

function rollOnMenu(menuName){
var theObjName = menuName;
  if (document.getElementById(theObjName)) {
    var theObj = document.getElementById(theObjName);
    //var backer = document.getElementById("div_"+theObjName.substring(5,theObjName.length));
    //backer.style.backroundImage = "url("+theObj.src.substring(0,(theObj.src.lastIndexOf(".")-3))  + ".png)";
    //alert ('bezony: ' + backer.style.backgroundImage);
    changeOpac(0,theObjName);
    if (theObj.src.substring((theObj.src.lastIndexOf(".")-3),theObj.src.length) != "-on.png") theObj.src = theObj.src.substring(0,theObj.src.lastIndexOf(".")) + "-on.png";
    if(theObj.tagName == "IMG"){
      currentOpac(theObjName,100,3);
    }
  }
}

function rollOutMenu(menuName){

var theObjName = menuName;
  if (document.getElementById(theObjName)) {
    var theObj = document.getElementById(theObjName);
    /*alert ('bezony: ' + theObj.src);*/
//    theObj.src = theObj.src.substring(0,(theObj.src.lastIndexOf(".")-3))  + ".png";
    if(theObj.tagName == "IMG"){
      currentOpac(theObjName,0,15);
    }
  }
}


function startTween(theValue,start){
    if (typeof(tweenId) != "undefined" ) clearInterval(tweenId);
    if (start == 1) tweenId = setInterval("tweenToValue("+theValue+")",20);
    if (start == 0) clearInterval(tweenId);
//    alert ('hehey');
//    clearInterval(tweenId);
}

function tweenToValue(theValue){
  var theObj = document.getElementById('foCikk');
  var toValue = theValue;
  var currValue = parseInt(theObj.style.height.substring(0,(theObj.style.height.length-2)));
  var diff = currValue + (toValue-currValue)/10;
  var percent = currValue/toValue;
//  alert (theObj.style.height);
  //alert(percent);
  if (percent > 1) percent = 1-percent;
  theObj.style.height = diff +"px";
  if (percent>0.98) {
  startTween(1,0);
  }
}


function clickMenu(menuName){

var theObjName = menuName;
var theFrame = document.getElementById('foCikk');
  if (document.getElementById(theObjName)) {
//    var theObj = document.getElementById(theObjName);

    if (theObjName.indexOf("galer") != -1) {
//    theFrame.style.height="460px";
      startTween(460,1);
    }else {
//    theFrame.style.height="220px";
    startTween(230,1);
    }
    theFrame.src = 'Html/' + theObjName + ".html";
    
  }
}

//////////////////////  DIV STUFF

function rollOnDiv(divName){
if ((divName.substring(0,3) == "IMG") || (divName.substring(0,3) == "TIT")) divName = divName.substring(3,divName.length);
var theObjName = divName;
  if (document.getElementById(theObjName)) {
    var theObj = document.getElementById(theObjName);
    /*alert ('bezony: ' + theObj.src);*/
    theObj.style.backgroundColor = "#b09d83";
  }
}

function rollOutDiv(divName){

var theObjName = divName;
  if (document.getElementById(theObjName)) {
    var theObj = document.getElementById(theObjName);
    /*alert ('bezony: ' + theObj.src);*/
    theObj.style.backgroundColor = "";
  }
}

function clickDiv(divName){
if ((divName.substring(0,3) == "IMG") || (divName.substring(0,3) == "TIT")) divName = divName.substring(3,divName.length);
var theObjName = divName;
var theFrame = document.getElementById('foCikk');
  if (document.getElementById(theObjName)) {
//    var theObj = document.getElementById(theObjName);

    if (theObjName.indexOf("galer") != -1) {
    //theFrame.style.height="500px";
    startTween(460,1);
    }else {
    //theFrame.style.height="220px";
    startTween(230,1);
    }
    theFrame.src = 'Html/menu-' + theObjName.toLowerCase() + ".html";
  }
}

function startBlend(){
    var x = window.setInterval('fadeLeftPicture()',5000);
    }

function startBlendBig(){
    var x = window.setInterval('fadeFotoGaler()',5000);
    }

function startProgram(){
    somePngFix();
    var x = window.setInterval('fadeProgram()',5000);
}
function fadeFotoGaler(){
    var thePic = document.getElementById('nagyFoto').src;
    do {
    var myUrl = '../Images/Content/Foto/e0' + (Math.floor(Math.random()*8)+1) + '.jpg';
    } while (myUrl == thePic);
    //alert ('anyad: '+ myUrl);
    blendimage('divFotoGaler','nagyFoto', myUrl,3000);
    }

function fadeLeftPicture(){
var myUrl = '../Images/Content/Etelek/' + (Math.floor(Math.random()*14)+1) + '.jpg';
blendimage('divBalKep','cikkBalkep', myUrl,1000);
}

function fadeProgram(){
var myUrl = '../Images/Content/Libanap/' + (Math.floor(Math.random()*3)+1) + '.jpg';
blendimage('divBalKep','cikkBalkep', myUrl,1000);
}

function chLeftPic(){
var thePic = document.getElementById('cikkBalkep');
var theSelection = document.getElementById('sltRoom');
var leftPic = document.getElementById('cikkBalkep');
leftPic.src = '../Images/Content/Rendezveny/'+theSelection.value +'.jpg';

//alert(leftPic.src);
}

function nextImage(){


}

function chgList(){
var theSelection = document.getElementById('catSelect').value;
var theDiv = document.getElementById('theList');

// Kajak

if (theSelection == "Konyhafonok"){
theDiv.innerHTML = '<ul><li>Smoked tenderloin with roasted vegetables and Tokaj sauce</li><li>Giant roast sirloin steak (320 g) with mustard sauce and potatoes in their skin</li><li>Battered tenderloin stuffed with sheep’s milk cheese, served with mashed onion potatoes and braised cabbage</li><li>Hungarian style seared tournedos</li><li>Rump steak Sienna style, served with spicy potatoes</li><li>Roasted tenderloin of venison with wild mushroom sauce</li><li>Roasted saddle of wild rabbit ’Chasseur’, served with potato croquettes</li><li>Hare balls in a piquant soured cream sauce, served with bread dumplings</li><li>Roasted breast of turkey Peach Blossom style (foie gras, peach, cheese)</li><li>Smoked foie gras and penne with sheep curd</li><li>Roasted chicken breast with foie gras Niçoise style</li><li>Lamb steak Turkish style</li><li>Rack of lamb with a herb crust in salsa verde</li><li>Young roast lamb gourmet style</li><li>Lamb knuckles with garlic ’hremzli’</li><li>Roasted monkfish topped with dilled prawn ragout</li><li>Roasted pangasinus fillet in celeriac sauce</li><li>Cooked smoked knuckle of pork with home flavours</li><li>Oven-baked knuckle of pork</li><li>Shrimp salad</li><li>Garden salad plate with chicken strips; choose from 3 delicious dressings</li></ul>';
} 
if (theSelection =="Hethet"){
theDiv.innerHTML = '<ul><li>Monday:	Rooster testicle stew with potato dumplings</li><li>Tuesday:	Lights garnished with bread dumplings</li><li>Wednesday:	Home-made stuffed cabbage</li><li>Thursday:	Tripe stew with paprika, cooked and served with potatoes</li><li>Friday:	Sholet (oven-baked beans) with ’all the finest ingredients’</li><li>Saturday:	Roast duck served with prunes and braised cabbage, rösti potato cakes or Saturday sholet</li><li>Every Friday and Saturday ‘Floating Islands’ (creamy custard with cooked meringues on top)</li></ul>';
} else if (theSelection=="Eloetelek"){
theDiv.innerHTML = '<ul><li>Extra special caviar</li><li>Smoked salmon with horseradish cream</li><li>Salmon tartare with avocado</li><li>Slices of smoked foie gras on a bed of rucola</li><li>Home-cooked venison ham with tomato and bell pepper</li><li>Beef tartare</li><li>Cold foie gras in goose fat</li><li>Home-made egg paté with onion</li><li>Fresh letcho (Hungarian style ratatouille)</li><li>Cooked bone marrow on toast with pickled and fresh garlic</li><li>Moules marinière (Mussels marinated in garlic and white wine or with a creamy vegetable sauce	500 g</li><li>Coquilles Saint-Jacques (Scallops served on their shells with a creamy vegetable sauce, baked with cheese)</li><li>Fried frog’s legs served with risi e bisi</li><li>Garlicky and grilled frog’s leg, served with buttered parsley potatoes</li><li>Escargots in their shell with garlic and melted cheese</li><li>Sorbet</li></ul>';
} else if (theSelection=="Levesek"){
theDiv.innerHTML = '<ul><li>Consommé with foie gras</li><li>Consommé ‘Gardener’ style</li><li>Home-made meat broth</li><li>Venison ragout soup with tarragon</li><li>Alföld-style goulash soup served in a cup</li><li>Bean soup with smoked knuckle of ham</li><li>Creamy asparagus soup</li><li>Cream of onion soup with cheese croutons</li><li>Cream of spinach soup with camembert</li><li>Chilled lemon or strawberry cream soup</li></ul>';
} else if (theSelection=="Halak"){
theDiv.innerHTML = '<ul><li>Smooth Hungarian fish soup with carp fillet, milt and roe</li><li>Hungarian fish soup with carp’s milt and roe</li><li>Spicy and sour Hungarian fish soup</li><li>Hungarian fish soup with catfish fillets</li><li>Breaded pike-perch with potatoes in mayonnaise dressing</li><li>Pike-perch with almonds à la Goujon with green salad</li><li>Grilled fillet of pike-perch with vegetables</li><li>Whole pike-perch with Tartare sauce</li><li>Whole roast trout garnished with parsley potatoes</li><li>Fillet of catfish: roasted or breaded</li><li>Catfish paprika with Hungarian pasta topped with cheese</li><li>Vas-style fillet of catfish with shrimp ribbon noodles</li><li>Breaded carp fillets</li><li>Giant garlicky prawns (gambas) with vegetables</li><li>Tilapia on a bed of spinach with goat’s cheese gratin topping</li><li>Grilled salmon fillet with asparagus in butter</li><li>Grilled salmon fillet with creamy porcini and basil sauce</li><li>Grilled salmon fillet with spinach gnocchi</li><li>Grilled sole with garlicky porcini mushrooms</li></ul>';
}else if (theSelection=="Foetelek"){
theDiv.innerHTML = '<ul><li>Wild duck braised in red wine, served with Cumberland sauce</li><li>Roasted venison medallions with porcini taglitelle</li><li>Venison cutlets à la Périgeaux</li><li>Venison cutlet à l’orange with potato croquettes</li><li>Roast venison with fruits of the forest sauce and porcini rice</li><li>Braised leg of venison ’Chasseur’, served with bread dumplings</li><li>Leg of venison braised in red wine, garnished with potato croquettes</li><li>Wild boar ragout in red wine and mushrooms, garnished with potato croquettes coated in ground almond</li><li>Game stew flavoured with red wine, served with sheep’s cheese gnocchi</li><li>Breaded foie gras slices garnished with risi e bisi</li><li>Grilled foie gras slices with fried onion rings</li><li>Roast leg of goose served with braised cabbage and mashed onion potatoes</li><li>Breaded breast of turkey stuffed with foie gras</li><li>Grilled breast of chicken stuffed with foie gras, served with garlicky porcini mushrooms</li><li>Grilled breast of turkey in a creamy gorgonzola sauce, served with parsley potatoes</li><li>Breast of chicken with camembert gratin topping, served with rice and prunes</li><li>Grilled chicken breast fillet with assorted flambéed fruits</li><li>Turkey breast fillet with mozzarella and spinach stuffing and garnish</li><li>Breast of turkey slices in creamy pineapple sauce, served with assorted vegetables</li><li>Brashov style poultry ragout</li><li>Breaded lamb served with potato and red onion salad in mayonnaise dressing</li><li>Saddle of lamb with rosemary, garnished with sheep’s cheese potatoes</li><li>Grilled saddle of lamb in garlic sauce, served with scrambled eggs and potatoes</li><li>Knuckle of lamb à la ‘Pékasszony’</li><li>Grilled veal cutlets served in a pan</li><li>Escalope of veal with Italian asparagus</li><li>Viennese breaded veal garnished with parsley potatoes</li><li>Veal fricassé with paprika garnished with egg gnocchi</li><li>Breaded leg of veal with Tartare sauce and French fries</li><li>Breaded calf’s liver garnished with roast potatoes</li><li>Seared Hungarian-style calf’s liver with mashed potatoes</li><li>Sirloin steak à la Anglaise with baked vegetables</li><li>Châteubriand à la Marshal</li><li>Spicy grilled fillet steak with skewered prawns</li><li>Roast beef tenderloin Gourmet style</li><li>Spicy fillet steak with a chilli bean ragout and potato chips</li><li>Trumpeter’s roast with a spicy hot sauce</li><li>Roasted larded sirloin steak with cranberries</li><li>Tenderloin with a creamy green pepper sauce</li><li>Pork roast with fried onions and french fries</li><li>Breaded sirloin steak served with home-made pickles</li><li>Mangalitza pork roast with bacon and green beans</li><li>Breaded Mangalitza pork loin with roast potatoes</li><li>Gypsy style Mangalitza pork roast with garlic, served with Hungarian potato pasta</li><li>Vas style roast meat with potato chips</li></ul>';
} else if (theSelection=="Olasz"){
theDiv.innerHTML = '<ul><li>Parma ham with melon</li><li>Fillet steak carpaccio</li><li>Insalata Caprese (Mozarella and tomato salad with basil)</li><li>Scaloppina alla mozzarella	(veal cutlet baked with mozzarella)</li><li>King prawns aglio-olio, garnished with spicy ribbon noodles</li></ul>';
} else if (theSelection=="Vegetar"){
theDiv.innerHTML = '<ul><li>Stewed porcini mushrooms</li><li>Porcini mushrooms on olive oil</li><li>Aubergine or avocado stuffed with vegetables</li><li>Fresh vegetables fried in olive oil</li><li>Asparagus with melted butter</li><li>Fried breaded mushrooms or Trappist cheese</li></ul>';
} else if (theSelection=="Salatak"){
theDiv.innerHTML = '<ul><li>Fresh mixed salad</li><li>Shopska (Bulgarian salad with sheep’s cheese, tomatoes and red onions)</li><li>Russian salad with blue cheese dressing</li><li>Tomato and onion salad</li><li>Cucumber salad with soured cream</li><li>Lettuce with a lemony dressing</li><li>Home-made cabbage salad</li><li>Mixed pickles from Vecsés</li><li>Home-made pickled gherkins</li><li>Pickled gherkins</li><li>Stewed prunes</li><li>Peach compote</li><li>Quince compote</li></ul>';
} else if (theSelection=="Sajtok"){
theDiv.innerHTML = '<ul><li>Breaded camembert with stewed apples and blueberries</li><li>Blue cheese served with toast and butter</li><li>Trappista cheese served with apple slices</li><li>Camembert served with apple and walnuts</li><li>Gorgonzola served with fresh grapes</li></ul>';
} else if (theSelection=="Desszertek"){
theDiv.innerHTML = '<ul><li>Chocolate bomb garnished with fresh strawberries</li><li>Caramel parfait</li><li>Argentine slice</li><li>Crêpes flambées Kecskemét style</li><li>’Bello’s delight’, hot blackberries with vanilla sauce and ice-cream</li><li>Chocolate pancakes</li><li>Crêpe with sweet curd cheese filling, served with custard and icing sugar</li><li>Curd cheese pies with blueberries</li><li>Sweet curd cheese dumplings with soured cream and cinnamon</li><li>Agnolotti with plum jam</li><li>Shredded pancakes topped with ground poppy seeds and honey</li><li>Chestnut delight</li><li>Somló delight (Sponge layered with rich custard, garnished with chocolate sauce and whipped cream)</li><li>Ice cream cup with fruits</li><li>Mövenpick ice cream selection</li><li>Home-made pasta topped with curd cheese</li><li>Pasta with sautéed cabbage</li></ul>';
}
// Italok

if (theSelection == "Feher"){
theDiv.innerHTML = '<ul><li><b>Szemelt Riesling 2006</b><br/><i>Szeremley, Badacsony</i></li><li><b>Riesling 2005</b><br/><i>Péter Lehmann, Australia</i></li><li><b>Zen 2005</b><br/><i>Monarchia, Eger</i></li><li><b>Irsai Olivér 2006</b><br/><i>Monarchia, Nagyréde</i></li><li><b>Cserszegi Fűszeres 2006</b><br/><i>Frittmann, Kunság</i></li><li><b>Pinot Gris 2005/2006</b><br/><i>Ludányi, Mátraalja</i></li><li><b>Semillon 2003</b><br/><i>Péter Lehmann, Australia</i></li><li><b>Chardonnay 2006</b><br/><i>Vylyan, Villány</i></li><li><b>Chardonnay barrique 2003/2004</b><br/><i>Róbert Skalli, France</i></li><li><b>Chardonnay barrique 2006</b><br/><i>Malatinszky, Villány</i></li><li><b>Sauvignon Blanc 2006</b><br/><i>Árvay és Társa, Tokaj</i></li><li><b>Sauvignon Blanc 2005</b><br/><i>El Potillo, Argentína</i></li><li><b>Furmint 2005</b><br/><i>Árvay és Társa, Tokaj</i></li><li><b>Juhfark 2006</b><br/><i>Somogyi, Somló</i></li><li><b>Barát-Szikla Cuvée 2005</b><br/><i>Krenbacher birtok, Somló</i></li><li><b>Francishaner semi-sweet2005</b><br/><i>Simonsig, Dél-Afrika</i></li><li><b>Sárp. Muscat semi-sweet2006</b><br/><i>Ludányi, Mátraalja</i></li>';
}else if (theSelection =="Rose"){ 
theDiv.innerHTML = '<ul><li><b>Rosé 2006</b><br/><i>Tiffán, Villány</i></li><li><b>Rosé 2006</b><br/><i>Malatinszky, Villány</i></li><li><b>Réservée 2006</b><br/><i>Chateau du Rouet, France</i></li><li><b>Siller 2005/2006</b><br/><i>Wunderlich, Villány</i></li></ul>';
}else if (theSelection =="Voros"){ 
theDiv.innerHTML = '<ul><li><b>Portugieser 2006</b><br/><i>Tiffán, Villány</i></li><li><b>Malbec 2005</b><br/><i>El Portillo, Argentína</i></li><li><b>Blaufränkisch 2005/2006</b><br/><i>Monarchia, Szekszárd</i></li><li><b>Blaufränkisch 2005</b><br/><i>Franz Weninger, Sopron</i></li><li><b>Kadarka 2004/2005</b><br/><i>Vida Péter, Szekszárd</i></li><li><b>Zweigelt 2004/2005</b><br/><i>Wunderlich, Villány</i></li><li><b>Pinot Noir 2004/2005</b><br/><i>Vylyan, Villány</i></li><li><b>Pinot Noir 2004</b><br/><i>Count Buttler, Eger</i></li><li><b>Merlot 2004/2005</b><br/><i>Vida Péter, Szekszárd</i></li><li><b>Merlot 2005</b><br/><i>Chateau Teleki, Villány</i></li><li><b>Cabernet Sauvignon 2003</b><br/><i>Malatinszky, Villány</i></li><li><b>Cabernet Sauvignon 2000</b><br/><i>Wunderlich, Villány</i></li><li><b>Limité 2003</b><br/><i>Tiffán, Villány</i></li><li><b>Cabernet Sauvignon 2005</b><br/><i>Chateau Teleki, Villány</i></li><li><b>Cabernet Franc 2002</b><br/><i>Malatinszky, Villány</i></li><li><b>Montepulciano dAbruzzo</b><br/><i>Masciarelli, Italy</i></li><li><b>Zinfandel 2005</b><br/><i>Starry Night Winery, California</i></li><li><b>The Futures Shiraz 2003</b><br/><i>Péter Lehmann, Australia</i></li></ul>';
}else if (theSelection =="VorosCuvee"){
theDiv.innerHTML = '<ul><li><b>Red 2005/2006</b><br/><i>Vylyan, Villány</i></li><li><b>Montenuovo 2005</b><br/><i>Vylyan, Villány</i></li><li><b>Cuvée 2005</b><br/><i>Tiffán, Villány</i></li><li><b>Bikavér 2002/2003</b><br/><i>Tóth, Eger</i></li><li><b>Chateauneuf du Pape 2004</b><br/><i>Berthet-Rayne, France</i></li><li><b>Royal2002</b><br/><i>Bock, Villány</i></li><li><b>Rhapsody in Red 2003/2004</b><br/><i>Monarchia, Eger</i></li><li><b>Regnum 2003</b><br/><i>Takler, Szekszárd</i></li><li><b>Duennium 1998/2003</b><br/><i>Vylyan, Villány</i></li><li><b>Capella 2003</b><br/><i>Bock, Villány</i></li><li><b>Tréfli/sweet/2002</b><br/><i>Thummerer, Eger</i></li></ul>';
}else if (theSelection =="Tokay"){
theDiv.innerHTML = '<ul><li><b>Dry Szamorodni</b><br/><i>Disznókő Winery, </i></li><li><b>Sweet Szamorodni</b><br/><i>Disznókő Winery, </i></li><li><b>Aszú, 3-butt 2003</b><br/><i>Disznókő Winery, </i></li><li><b>4-butt 2001</b><br/><i>Árvay és Társa, </i></li><li><b>5-butt 2000</b><br/><i>Disznókő Winery, </i></li><li><b>6-butt 2000</b><br/><i>Disznókő Winery, </i></li><li><b>’Dolce Vita’ Cuvée 2003</b><br/><i>Árvay és Társa, </i></li></ul>';
}


}


function somePngFix(){

var arVersion = navigator.appVersion.split("MSIE")
var version = parseFloat(arVersion[1])

if ((version >= 5.5) && (document.body.filters)) 
{
   for(var i=0; i<document.images.length; i++)
   {
      var img = document.images[i]
      var imgName = img.src.toUpperCase()
      if ((imgName.substring(imgName.length-3, imgName.length) == "PNG") && (img.className.indexOf("fixTrans") != -1))
      {
      
         var imgID = (img.id) ? "id='" + img.id + "' " : ""
         var imgClass = (img.className) ? "class='" + img.className + "' " : ""
         var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
         var imgStyle = "display:inline-block;" + img.style.cssText 
         if (img.align == "left") imgStyle = "float:left;" + imgStyle
         if (img.align == "right") imgStyle = "float:right;" + imgStyle
         if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
         var strNewHTML = "<span " + imgID + imgClass + imgTitle
         + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
         + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
         + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 
         img.outerHTML = strNewHTML
         i = i-1
      }
   }
}
}

