﻿function IMCalendar(calendar_id, web_id, year, month, dokinet, pathroot, cpathroot, s_id) {
    this.web_id = web_id;
    this.calendar_id = calendar_id;
    this.year = year;
    this.month = month;
    this.dokinet = dokinet == '1';
    this.pathroot = pathroot;
    this.cpathroot = cpathroot;
    this.s_id = s_id;
}

var Calendar;// = new IMCalendar("esemenynaptar", "", 0, 0, '', '');

var $j = jQuery.noConflict();

$j.ajaxSetup({
    cache: false
});

$j(document).ready(function () {
  //  reLoadCalendar(Calendar.calendar_id, Calendar.year, Calendar.month);
    // reLoadCalendar("datepicker2",  0, 0);
    //    createCalendar();
    //
});

function reLoadCalendar(loadCalendar_id, loadYear, loadMonth) {
    selector = "#" + loadCalendar_id;  
    $j("#naptar_loading").css('display', 'block');
    $j("#" + loadCalendar_id).load(Calendar.pathroot + 'CongressService.asmx/GetCalendarByMonth #portlet_esemenynaptar', {
        year: loadYear,
        month: loadMonth,
        dokinet: Calendar.dokinet,
        web_id: Calendar.web_id,
        calendar_id: loadCalendar_id,
        pathroot: Calendar.pathroot,
        cpathroot: Calendar.cpathroot,
        s_id: Calendar.s_id
    }, function (response, status, xhr) {
        var xml = xhr.responseXML;        
        var calText = "";
       for (var i = 0; i < xml.getElementsByTagName("string")[0].childNodes.length; i++) //mert ff limitálja a hosszát
            calText += xml.getElementsByTagName("string")[0].childNodes[i].nodeValue;

        $j("#" + loadCalendar_id).html(xml.getElementsByTagName("string")[0].firstChild.nodeValue);
        //    calText = "";
        $j("#" + loadCalendar_id).html(calText);

        $j("#" + loadCalendar_id).datepicker('refresh');        
        $j("#naptar_loading").css('display', 'none');
    });
}



function changeMonth(calendar_id, year, month) {
    reLoadCalendar(calendar_id, year, month);
}

function changeMonthOrYear(calendar_id) {
    reLoadCalendar(calendar_id, $j('#selectEv').val(), $j('#selectHonap').val());
}

//mppt ilyet szeretne, animált lista
function loadEventList(id) {
    $("#target_block_list_1794").animate({ 'height': 'toggle' }, 'normal');

    $.post(
                   "/konferenciak.php",
                   {
                       date: id,
                       onlyBlock: '1794'
                   },
                   function (data) {
                       $("#target_block_list_1794").html(data);
                       $("#target_block_list_1794").animate({ 'height': 'toggle' }, 'normal');
                   }
                );

}

//$(document).ready(function () {
//    loadCalendar();
//});

//meg ilyen tooltipet?? Berniét megnézni
//ez a naptár generálásakor csinál egy tömböt, dátum és adatokkal
function popup(_id) {

    var ret = "";
    var event_list = { "2011-08-19": [{ "event_id": "793", "event_event_type_et_id": "1", "event_title": "HMAA F\u00dcRED2011 KONFERENCIA", "event_name": "HMAA F\u00dcRED2011 KONFERENCIA", "event_location": "Balatonf\u00fcredi \u00c1llami Sz\u00edvk\u00f3rh\u00e1z", "event_date": "2011-08-19 09:00:00", "event_date_to": "2011-08-19 09:00:00", "event_description": "<p><strong><em>Tudom&aacute;ny, kult&uacute;ra &eacute;s sz&oacute;rakoz&aacute;s egy\nBalaton parti<\/em><\/strong><strong> <\/strong><strong><em>ny&aacute;ri konferencia keretein bel&uuml;l<\/em><\/strong><\/p>\n<p><strong>MULTIDISZCIPLIN&Aacute;RIS KONFERENCIA -\nKIEMELT T&Eacute;M&Aacute;INK: <\/strong><\/p>\n<p><strong>A PASSZ&Iacute;V DOH&Aacute;NYZ&Aacute;S ELLENI HARC\nMAGYARORSZ&Aacute;GON &Eacute;S HYPERTONIA PREVENCI&Oacute;<\/strong><\/p>\n<p><strong>Konferencia t&aacute;mogat&oacute;i, partnerei:\nMagyar T&uuml;d\u0151gy&oacute;gy&aacute;sz T&aacute;rsas&aacute;g, Magyar Eg&eacute;szs&eacute;g&uuml;gyi T&aacute;rsas&aacute;g <\/strong><\/p>\n<p><strong>HMAA F&Uuml;RED2011 CONFERENCE IN\nBALATONF&Uuml;RED, HUNGARY: 08\/19-20\/2011<\/strong><\/p>\n<p>A HMAA Hungary Chapter 2011-ben &ouml;t&ouml;dik\nalkalommal rendezi meg a balatonf&uuml;redi konferenci&aacute;t. A tudom&aacute;nyos rendezv&eacute;nyre <strong>egyetemi\nhallgat&oacute;kat, rezidenseket, PhD hallgat&oacute;kat &eacute;s orvosokat<\/strong> egyar&aacute;nt v&aacute;runk. F\u0151\nc&eacute;lunk, hogy &ouml;sszehozzuk azokat, akik m&aacute;r j&aacute;rtak a HMAA &aacute;ltal szervezett <strong>hatod&eacute;ves\nbuffaloi cseregyakorlat<\/strong>on, tov&aacute;bb&aacute; a magyar orvosi egyetemeken ill. orvosok\nk&ouml;z&ouml;tt n&eacute;pszer\u0171s&iacute;ts&uuml;k a HMAA hazai &eacute;s k&uuml;lf&ouml;ldi rendezv&eacute;nyeit, illetve&nbsp; a cseregyakorlatot. Ezen k&iacute;v&uuml;l tudom&aacute;nyos\nf&oacute;rumot szeretn&eacute;nk l&eacute;trehozni a fenti c&eacute;lcsoportok sz&aacute;m&aacute;ra. <\/p>\n<p>A rendezv&eacute;nyre\nnemcsak <strong>orvostanhallgat&oacute;k, hanem fogorvos-, gy&oacute;gyszer&eacute;sz- &eacute;s\ntestnevel&eacute;studom&aacute;nyi hallgat&oacute;k<\/strong> is jelentkezhetnek. A konferenci&aacute;n megismerhetik a HMAA buffaloi\nhatod&eacute;ves cseregyakorlat&aacute;t, tov&aacute;bb&aacute; a csereprogram finansz&iacute;roz&aacute;s&aacute;t a nyertes\np&aacute;ly&aacute;z&oacute;knak biztos&iacute;t&oacute; HAESF &ouml;szt&ouml;nd&iacute;j alapot, &eacute;rdekes el\u0151ad&aacute;sokat hallhatnak\nvolt &eacute;s jelenlegi &eacute;vfolyamt&aacute;rsaikt&oacute;l, hazai &eacute;s k&uuml;lf&ouml;ldi orvosokt&oacute;l, ill.\norvostanhallgat&oacute;kt&oacute;l.&nbsp; A multidiszciplin&aacute;ris tudom&aacute;nyos el\u0151ad&aacute;sokon k&iacute;v&uuml;l sport-\n&eacute;s kultur&aacute;lis programok is sz&iacute;nes&iacute;tik majd a kongresszust. <\/p>\n<p>A 2011-es konferencia\nkiemelt t&eacute;m&aacute;ja - a multidiszciplin&aacute;ris el\u0151ad&aacute;sokon k&iacute;v&uuml;l - a <strong>passz&iacute;v\ndoh&aacute;nyz&aacute;s elleni harc<\/strong> Magyarorsz&aacute;gon, melyre h&iacute;res szakembereket h&iacute;vunk\nmeg.&nbsp; A HMAA 2007 &oacute;ta foglalkozik\nkiemelten ezzel a t&eacute;m&aacute;val, ezzel kapcsolatosan t&ouml;bb publik&aacute;ci&oacute; is sz&uuml;letett. Az\nOrvossz&ouml;vets&eacute;g 2008-as budapesti nagysiker\u0171 konferenci&aacute;ja szint&eacute;n a passz&iacute;v\ndoh&aacute;nyz&aacute;sellenes harcr&oacute;l sz&oacute;lt, amelyre az US&Aacute;-b&oacute;l sz&aacute;mos neves szakember\n&eacute;rkezett. A t&eacute;ma aktualit&aacute;sa miatt a 2011-es kongresszust t&ouml;bbek k&ouml;z&ouml;tt a\nMagyar T&uuml;d\u0151gy&oacute;gy&aacute;sz T&aacute;rsas&aacute;g &eacute;s a Magyar Eg&eacute;szs&eacute;g&uuml;gyi T&aacute;rsas&aacute;g t&aacute;mogatja, a\nszakma neves k&eacute;pvisel\u0151it v&aacute;rjuk a kongresszusra. <\/p>\n<p>A\nbalatonf&uuml;redi konferenci&aacute;t &eacute;vr\u0151l &eacute;vre egyre t&ouml;bben l&aacute;togatj&aacute;k, 2010-ben rekord\nsz&uuml;letett: 120 el\u0151ad&aacute;s, t&ouml;bb mint 200 r&eacute;sztvev\u0151vel. A konferenci&aacute;n angol &eacute;s\nmagyar nyelv\u0171 szekci&oacute;k vannak. <\/p>\n<p>A legjobb\ndi&aacute;kel\u0151ad&aacute;sokat a HMAA nagy &eacute;rt&eacute;k\u0171 d&iacute;jakkal jutalmazza. <strong>A konferencia 1.\ndija a legjobb angol nyelv\u0171 el\u0151ad&oacute;nak: William Ganz Award (r&eacute;szv&eacute;tel a HMAA\n2011-es sarasotai konferenci&aacute;j&aacute;n<\/strong>, ahol a d&iacute;jnyertes el\u0151ad&aacute;s&aacute;t &uacute;jra\nmegtartja). Ezen k&iacute;v&uuml;l <strong>sz&aacute;mos nyerem&eacute;nnyel &eacute;s d&iacute;jjal jutalmazzuk a legjobb\nszekci&oacute; el\u0151ad&oacute;kat. <\/strong>A vizilabdameccs akt&iacute;v r&eacute;sztvev\u0151it &eacute;remmel jutalmazzuk.<\/p>\n<p>Minden\norvostanhallgat&oacute; r&eacute;sztvev\u0151 vagy el\u0151ad&oacute; <strong>4\nMOE-pontot<\/strong> kap.<\/p>\n<p><strong>A r&eacute;szv&eacute;teli\nd&iacute;j tartalmazza<\/strong> a regisztr&aacute;ci&oacute;t,\nk&aacute;v&eacute;sz&uuml;neteket, eb&eacute;deket &eacute;s a p&eacute;nteki bankettvacsor&aacute;t.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">El\u0151ad&aacute;s\nm&oacute;djai:<\/span><\/strong><strong> <\/strong>Sz&oacute;beli prezent&aacute;ci&oacute; (7 perc), E-Poster\n(5 perc) a b&iacute;r&aacute;l&oacute;bizotts&aacute;g d&ouml;nt&eacute;se alapj&aacute;n.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Helysz&iacute;n:<\/span><\/strong><strong> <\/strong>Balatonf&uuml;redi &Aacute;llami Sz&iacute;vk&oacute;rh&aacute;z<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Jelentkez&eacute;s\n(mind el\u0151ad&oacute;nak mind r&eacute;sztvev\u0151nek<\/span><\/strong><strong>)<\/strong>: www.amosz.extra.hu - online rendszeren kereszt&uuml;l. <\/p>\n<p>\n<strong><span style=\"text-decoration: underline;\">Jelentkez&eacute;si &eacute;s absztrakt\nlead&aacute;si hat&aacute;rid\u0151:<\/span><\/strong> 2011. j&uacute;nius 18.,\nszombat &eacute;jf&eacute;l a honlapon (<a href=\"http:\/\/www.amosz.extra.hu\/\">www.amosz.extra.hu<\/a>)\nkereszt&uuml;l, b&aacute;rmely t&eacute;m&aacute;ban (multidiszciplin&aacute;ris di&aacute;kszekci&oacute;ba)<\/p>", "event_description_order": "0", "event_description_title": "R\u00e9szletes tematika", "event_enabled": "1", "event_url": null, "event_url_redirect": "0", "event_portal_po_id": "30", "event_lead": null, "event_deadline": null, "event_institution": null, "event_show_in_full": "1", "event_priority_box": null, "event_days": null, "event_friendly_url": "_hmaa_fured2011_konferencia", "event_popup": "1", "event_short_name": "HMAA F\u00dcRED2011 KONFERENCIA", "event_download": null, "event_download_order": "0", "event_download_title": "Let\u00f6lthet\u0151 anyagok", "event_contact": null, "event_contact_order": "0", "event_contact_title": "Kapcsolat", "event_summary": null, "event_summary_order": "0", "event_summary_title": "\u00d6sszefoglal\u00f3", "event_presenter_order": "0", "event_presenter_title": "El\u0151ad\u00f3k", "event_presentation_order": "0", "event_presentation_title": "Program", "event_image_order": "0", "event_image_title": "K\u00e9pek", "event_video_order": "0", "event_video_title": "Vide\u00f3k", "event_header_image_img_id": null, "event_middle_image_img_id": null, "json_date": "2011-08-19"}], "2011-08-23": [{ "event_id": "862", "event_event_type_et_id": "1", "event_title": "8th European Biophysics Congress", "event_name": "8th European Biophysics Congress", "event_location": "Budapest", "event_date": "2011-08-23 00:00:00", "event_date_to": "2011-08-23 00:00:00", "event_description": "<p>Inform&aacute;ci&oacute;: Varga Attila, Diamond Congress\nKft.<\/p>\n<p>Tel: 06-1\/225-0210<\/p>\n<p>Fax: 06-1\/201-2680<\/p>\n<p>\nE-mail: <a href=\"mailto:diamond@diamond-congress.hu\">diamond@diamond-congress.hu<\/a><\/p>", "event_description_order": "0", "event_description_title": "R\u00e9szletes tematika", "event_enabled": "1", "event_url": null, "event_url_redirect": "0", "event_portal_po_id": "30", "event_lead": null, "event_deadline": null, "event_institution": null, "event_show_in_full": "0", "event_priority_box": null, "event_days": null, "event_friendly_url": "_8th_european_biophysics_congress", "event_popup": "1", "event_short_name": "8th European Biophysics Congress", "event_download": null, "event_download_order": "0", "event_download_title": "Let\u00f6lthet\u0151 anyagok", "event_contact": null, "event_contact_order": "0", "event_contact_title": "Kapcsolat", "event_summary": null, "event_summary_order": "0", "event_summary_title": "\u00d6sszefoglal\u00f3", "event_presenter_order": "0", "event_presenter_title": "El\u0151ad\u00f3k", "event_presentation_order": "0", "event_presentation_title": "Program", "event_image_order": "0", "event_image_title": "K\u00e9pek", "event_video_order": "0", "event_video_title": "Vide\u00f3k", "event_header_image_img_id": null, "event_middle_image_img_id": null, "json_date": "2011-08-23"}], "2011-08-25": [{ "event_id": "863", "event_event_type_et_id": "1", "event_title": "MONT XVII. Kongresszus", "event_name": "MONT XVII. Kongresszus", "event_location": "Budapest", "event_date": "2011-08-25 00:00:00", "event_date_to": "2011-08-25 00:00:00", "event_description": "<p>Inform&aacute;ci&oacute;: Dr. Garai Ildik&oacute;, PET-CT\nOrvosi Diagnosztikai Kft. (Debrecen)<\/p>\n<p>Tel: 06-52\/423-592<\/p>\n<p>Fax: 06-52\/411-717\/56376 mell&eacute;k<\/p>\n<p>\nE-mail: <a href=\"mailto:garai@internal.med.unideb.hu\">garai@internal.med.unideb.hu<\/a><\/p>", "event_description_order": "0", "event_description_title": "R\u00e9szletes tematika", "event_enabled": "1", "event_url": null, "event_url_redirect": "0", "event_portal_po_id": "30", "event_lead": null, "event_deadline": null, "event_institution": null, "event_show_in_full": "0", "event_priority_box": null, "event_days": null, "event_friendly_url": "_mont_kongresszus", "event_popup": "1", "event_short_name": "MONT XVII. Kongresszus", "event_download": null, "event_download_order": "0", "event_download_title": "Let\u00f6lthet\u0151 anyagok", "event_contact": null, "event_contact_order": "0", "event_contact_title": "Kapcsolat", "event_summary": null, "event_summary_order": "0", "event_summary_title": "\u00d6sszefoglal\u00f3", "event_presenter_order": "0", "event_presenter_title": "El\u0151ad\u00f3k", "event_presentation_order": "0", "event_presentation_title": "Program", "event_image_order": "0", "event_image_title": "K\u00e9pek", "event_video_order": "0", "event_video_title": "Vide\u00f3k", "event_header_image_img_id": null, "event_middle_image_img_id": null, "json_date": "2011-08-25" }, { "event_id": "864", "event_event_type_et_id": "1", "event_title": "Orvosi Rehabilit\u00e1ci\u00f3 \u00e9s Fizik\u00e1lis Medicina Magyarorsz\u00e1gi T\u00e1rsas\u00e1ga XXX. V\u00e1ndorgy\u0171l\u00e9se \u00e9s VI. ISPO Kelet-Eur\u00f3pai Konferencia", "event_name": "Orvosi Rehabilit\u00e1ci\u00f3 \u00e9s Fizik\u00e1lis Medicina Magyarorsz\u00e1gi T\u00e1rsas\u00e1ga XXX. V\u00e1ndorgy\u0171l\u00e9se \u00e9s VI. ISPO Kelet-Eur\u00f3pai Konferencia", "event_location": "Ny\u00edregyh\u00e1za", "event_date": "2011-08-25 00:00:00", "event_date_to": "2011-08-25 00:00:00", "event_description": "<p>Inform&aacute;ci&oacute;: M&aacute;tray Katalin, K&amp;M\nCongress Kft.<\/p>\n<p>Tel: 06-1\/301-2000<\/p>\n<p>Fax: 06-1\/301-2001<\/p>\n<p>\nE-mail: <a href=\"mailto:info@kmcongress.com\">info@kmcongress.com<\/a><\/p>", "event_description_order": "0", "event_description_title": "R\u00e9szletes tematika", "event_enabled": "1", "event_url": null, "event_url_redirect": "0", "event_portal_po_id": "30", "event_lead": null, "event_deadline": null, "event_institution": null, "event_show_in_full": "0", "event_priority_box": null, "event_days": null, "event_friendly_url": "_orfmmt_vandorgyules", "event_popup": "1", "event_short_name": "Orvosi Rehabilit\u00e1ci\u00f3 \u00e9s Fizik\u00e1lis Medicina Magyarorsz\u00e1gi T\u00e1rsas\u00e1ga XXX. V\u00e1ndorgy\u0171l\u00e9se \u00e9s VI. ISPO Kelet-Eur\u00f3pai Konferencia", "event_download": null, "event_download_order": "0", "event_download_title": "Let\u00f6lthet\u0151 anyagok", "event_contact": null, "event_contact_order": "0", "event_contact_title": "Kapcsolat", "event_summary": null, "event_summary_order": "0", "event_summary_title": "\u00d6sszefoglal\u00f3", "event_presenter_order": "0", "event_presenter_title": "El\u0151ad\u00f3k", "event_presentation_order": "0", "event_presentation_title": "Program", "event_image_order": "0", "event_image_title": "K\u00e9pek", "event_video_order": "0", "event_video_title": "Vide\u00f3k", "event_header_image_img_id": null, "event_middle_image_img_id": null, "json_date": "2011-08-25" }, { "event_id": "865", "event_event_type_et_id": "1", "event_title": "Magyar Szem\u00e9szeti Szakdolgoz\u00f3k Egyes\u00fclet\u00e9nek VIII. Kongresszusa (SHAO 2011)", "event_name": "Magyar Szem\u00e9szeti Szakdolgoz\u00f3k Egyes\u00fclet\u00e9nek VIII. Kongresszusa (SHAO 2011)", "event_location": "Veszpr\u00e9m", "event_date": "2011-08-25 00:00:00", "event_date_to": "2011-08-25 00:00:00", "event_description": "<p>Inform&aacute;ci&oacute;:\n<a href=\"http:\/\/www.vmkorhaz.hu\/kongresszus-shao\/\">http:\/\/www.vmkorhaz.hu\/kongresszus-shao\/<\/a><\/p>", "event_description_order": "0", "event_description_title": "R\u00e9szletes tematika", "event_enabled": "1", "event_url": null, "event_url_redirect": "0", "event_portal_po_id": "30", "event_lead": null, "event_deadline": null, "event_institution": null, "event_show_in_full": "0", "event_priority_box": null, "event_days": null, "event_friendly_url": "_shao_2011", "event_popup": "1", "event_short_name": "Magyar Szem\u00e9szeti Szakdolgoz\u00f3k Egyes\u00fclet\u00e9nek VIII. Kongresszusa (SHAO 2011)", "event_download": null, "event_download_order": "0", "event_download_title": "Let\u00f6lthet\u0151 anyagok", "event_contact": null, "event_contact_order": "0", "event_contact_title": "Kapcsolat", "event_summary": null, "event_summary_order": "0", "event_summary_title": "\u00d6sszefoglal\u00f3", "event_presenter_order": "0", "event_presenter_title": "El\u0151ad\u00f3k", "event_presentation_order": "0", "event_presentation_title": "Program", "event_image_order": "0", "event_image_title": "K\u00e9pek", "event_video_order": "0", "event_video_title": "Vide\u00f3k", "event_header_image_img_id": null, "event_middle_image_img_id": null, "json_date": "2011-08-25"}], "2011-08-26": [{ "event_id": "866", "event_event_type_et_id": "1", "event_title": "VIII. Nemzetk\u00f6zi Danubius Kongresszus \u00e9s a Magyar Arc-\u00c1llcsont \u00e9s Sz\u00e1jseb\u00e9szeti T\u00e1rsas\u00e1g XV. Nemzeti Kongresszusa", "event_name": "VIII. Nemzetk\u00f6zi Danubius Kongresszus \u00e9s a Magyar Arc-\u00c1llcsont \u00e9s Sz\u00e1jseb\u00e9szeti T\u00e1rsas\u00e1g XV. Nemzeti Kongresszusa", "event_location": "Debrecen", "event_date": "2011-08-26 00:00:00", "event_date_to": "2011-08-26 00:00:00", "event_description": "<p>Inform&aacute;ci&oacute;: Menyh&aacute;rt &Eacute;va, DEOEC\nFogorvostudom&aacute;nyi Kar<\/p>\n<p>Tel: 06-52\/255-515<\/p>\n<p>Fax: 06-52\/255-208<\/p>\n<p>\nE-mail: <a href=\"mailto:fokszak@dote.hu\">fokszak@dote.hu<\/a><\/p>", "event_description_order": "0", "event_description_title": "R\u00e9szletes tematika", "event_enabled": "1", "event_url": null, "event_url_redirect": "0", "event_portal_po_id": "30", "event_lead": null, "event_deadline": null, "event_institution": null, "event_show_in_full": "0", "event_priority_box": null, "event_days": null, "event_friendly_url": "_danubius_kongresszus", "event_popup": "1", "event_short_name": "VIII. Nemzetk\u00f6zi Danubius Kongresszus \u00e9s a Magyar Arc-\u00c1llcsont \u00e9s Sz\u00e1jseb\u00e9szeti T\u00e1rsas\u00e1g XV. Nemzeti Kongresszusa", "event_download": null, "event_download_order": "0", "event_download_title": "Let\u00f6lthet\u0151 anyagok", "event_contact": null, "event_contact_order": "0", "event_contact_title": "Kapcsolat", "event_summary": null, "event_summary_order": "0", "event_summary_title": "\u00d6sszefoglal\u00f3", "event_presenter_order": "0", "event_presenter_title": "El\u0151ad\u00f3k", "event_presentation_order": "0", "event_presentation_title": "Program", "event_image_order": "0", "event_image_title": "K\u00e9pek", "event_video_order": "0", "event_video_title": "Vide\u00f3k", "event_header_image_img_id": null, "event_middle_image_img_id": null, "json_date": "2011-08-26" }, { "event_id": "867", "event_event_type_et_id": "1", "event_title": "18th Budapest Nephrology School", "event_name": "18th Budapest Nephrology School", "event_location": "Budapest", "event_date": "2011-08-26 00:00:00", "event_date_to": "2011-08-26 00:00:00", "event_description": "<p>Inform&aacute;ci&oacute;: Neubauer Borb&aacute;la, Blaguss Ltd.\nCongress Bureau<\/p>\n<p>Tel: 06-1\/374-7030<\/p>\n<p>Fax: 06-1\/374-7031<\/p>\n<p>\nE-mail: <a href=\"mailto:neubauer@blaguss-congress.hu\">neubauer@blaguss-congress.hu<\/a><\/p>", "event_description_order": "0", "event_description_title": "R\u00e9szletes tematika", "event_enabled": "1", "event_url": null, "event_url_redirect": "0", "event_portal_po_id": "30", "event_lead": null, "event_deadline": null, "event_institution": null, "event_show_in_full": "0", "event_priority_box": null, "event_days": null, "event_friendly_url": "_nephrology_school", "event_popup": "1", "event_short_name": "18th Budapest Nephrology School", "event_download": null, "event_download_order": "0", "event_download_title": "Let\u00f6lthet\u0151 anyagok", "event_contact": null, "event_contact_order": "0", "event_contact_title": "Kapcsolat", "event_summary": null, "event_summary_order": "0", "event_summary_title": "\u00d6sszefoglal\u00f3", "event_presenter_order": "0", "event_presenter_title": "El\u0151ad\u00f3k", "event_presentation_order": "0", "event_presentation_title": "Program", "event_image_order": "0", "event_image_title": "K\u00e9pek", "event_video_order": "0", "event_video_title": "Vide\u00f3k", "event_header_image_img_id": null, "event_middle_image_img_id": null, "json_date": "2011-08-26"}], "2011-08-28": [{ "event_id": "868", "event_event_type_et_id": "1", "event_title": "II. M\u0171v\u00e9szetter\u00e1pi\u00e1s Vil\u00e1gkongresszus", "event_name": "II. M\u0171v\u00e9szetter\u00e1pi\u00e1s Vil\u00e1gkongresszus", "event_location": "Budapest", "event_date": "2011-08-28 00:00:00", "event_date_to": "2011-08-28 00:00:00", "event_description": "<p>Inform&aacute;ci&oacute;: <a href=\"http:\/\/www.arttherapy.worldcongress.hu\/\">http:\/\/www.arttherapy.worldcongress.hu\/<\/a><\/p>", "event_description_order": "0", "event_description_title": "R\u00e9szletes tematika", "event_enabled": "1", "event_url": null, "event_url_redirect": "0", "event_portal_po_id": "30", "event_lead": null, "event_deadline": null, "event_institution": null, "event_show_in_full": "0", "event_priority_box": null, "event_days": null, "event_friendly_url": "_muveszetterapia", "event_popup": "1", "event_short_name": "II. M\u0171v\u00e9szetter\u00e1pi\u00e1s Vil\u00e1gkongresszus", "event_download": null, "event_download_order": "0", "event_download_title": "Let\u00f6lthet\u0151 anyagok", "event_contact": null, "event_contact_order": "0", "event_contact_title": "Kapcsolat", "event_summary": null, "event_summary_order": "0", "event_summary_title": "\u00d6sszefoglal\u00f3", "event_presenter_order": "0", "event_presenter_title": "El\u0151ad\u00f3k", "event_presentation_order": "0", "event_presentation_title": "Program", "event_image_order": "0", "event_image_title": "K\u00e9pek", "event_video_order": "0", "event_video_title": "Vide\u00f3k", "event_header_image_img_id": null, "event_middle_image_img_id": null, "json_date": "2011-08-28"}], "2011-08-31": [{ "event_id": "869", "event_event_type_et_id": "1", "event_title": "45th Meeting of the Continental European Division of the International Association for Dental Research (CED-IADR)", "event_name": "45th Meeting of the Continental European Division of the International Association for Dental Research (CED-IADR)", "event_location": "Budapest", "event_date": "2011-08-31 00:00:00", "event_date_to": "2011-08-31 00:00:00", "event_description": "<p>Inform&aacute;ci&oacute;: Luk&aacute;csi M&aacute;t&eacute;, Convention\nBudapest Kft.<\/p>\n<p>Tel: 06-1\/299-0184<\/p>\n<p>Fax: 06-1\/299-0187<\/p>\n<p>\nE-mail: <a href=\"mailto:mlukacsi@convention.hu\">mlukacsi@convention.hu<\/a><\/p>", "event_description_order": "0", "event_description_title": "R\u00e9szletes tematika", "event_enabled": "1", "event_url": null, "event_url_redirect": "0", "event_portal_po_id": "30", "event_lead": null, "event_deadline": null, "event_institution": null, "event_show_in_full": "0", "event_priority_box": null, "event_days": null, "event_friendly_url": "_ced_iadr", "event_popup": "1", "event_short_name": "45th Meeting of the Continental European Division of the International Association for Dental Research (CED-IADR)", "event_download": null, "event_download_order": "0", "event_download_title": "Let\u00f6lthet\u0151 anyagok", "event_contact": null, "event_contact_order": "0", "event_contact_title": "Kapcsolat", "event_summary": null, "event_summary_order": "0", "event_summary_title": "\u00d6sszefoglal\u00f3", "event_presenter_order": "0", "event_presenter_title": "El\u0151ad\u00f3k", "event_presentation_order": "0", "event_presentation_title": "Program", "event_image_order": "0", "event_image_title": "K\u00e9pek", "event_video_order": "0", "event_video_title": "Vide\u00f3k", "event_header_image_img_id": null, "event_middle_image_img_id": null, "json_date": "2011-08-31"}] };
    $(event_list[_id]).each(function (k, v) {
        ret += "<div style='border-bottom: 1px solid #ccc; padding: 5px;'><b>" + v['event_title'] + "</b><br> " + v['json_date'] + "</div>";
    });
    //create div
    $(document.body).append("<div id='" + _id + "' style='width: 300px; position:absolute; background-color: #e9e9e9; border: 1px solid #ccc;'>" + ret + "</div>");
    $("#" + _id).css("top", ($("a[rel=" + _id + "]").offset().top + 30));
    $("#" + _id).css("left", ($("a[rel=" + _id + "]").offset().left + 30));
}

function popdown(_id) {
    $("#" + _id).remove();
}



