var dmWorkPath="http://www.fhportal.cz/mytop/deluxe-menu.files/";

/*
   Deluxe Menu Data File
   Created by Deluxe Tuner v3.5
   http://deluxe-menu.com
*/


// -- Deluxe Tuner Style Names
var itemStylesNames=[];
var menuStylesNames=[];
// -- End of Deluxe Tuner Style Names

//--- Common
var isHorizontal=1;
var smColumns=1;
var smOrientation=0;
var dmRTL=0;
var pressedItem=-2;
var itemCursor="default";
var itemTarget="_blank";
var statusString="link";
var blankImage="http://www.fhportal.cz/mytop/deluxe-menu.files/blank.gif";
var pathPrefix_img="";
var pathPrefix_link="";

//--- Dimensions
var menuWidth="";
var menuHeight="";
var smWidth="";
var smHeight="";

//--- Positioning
var absolutePos=0;
var posX="10px";
var posY="10px";
var topDX=0;
var topDY=1;
var DX=-5;
var DY=0;
var subMenuAlign="left";
var subMenuVAlign="top";

//--- Font
var fontStyle=["normal 11px Trebuchet MS, Tahoma","normal 11px Trebuchet MS, Tahoma"];
var fontColor=["#FFFFFF","#000000"];
var fontDecoration=["none","none"];
var fontColorDisabled="#AAAAAA";

//--- Appearance
var menuBackColor="#0000FF";
var menuBackImage="";
var menuBackRepeat="repeat";
var menuBorderColor="#C0AF62";
var menuBorderWidth=1;
var menuBorderStyle="solid";

//--- Item Appearance
var itemBackColor=["#0000FF","#65BDDC"];
var itemBackImage=["",""];
var beforeItemImage=["",""];
var afterItemImage=["",""];
var beforeItemImageW="";
var afterItemImageW="";
var beforeItemImageH="";
var afterItemImageH="";
var itemBorderWidth=1;
var itemBorderColor=["#0000FF","#4C99AB"];
var itemBorderStyle=["solid","solid"];
var itemSpacing=3;
var itemPadding="3px";
var itemAlignTop="left";
var itemAlign="left";

//--- Icons
var iconTopWidth=16;
var iconTopHeight=16;
var iconWidth=16;
var iconHeight=16;
var arrowWidth=8;
var arrowHeight=16;
var arrowImageMain=["http://www.fhportal.cz/mytop/deluxe-menu.files/arrowmain.gif","http://www.fhportal.cz/mytop/deluxe-menu.files/arrowmaino.gif"];
var arrowWidthSub=0;
var arrowHeightSub=0;
var arrowimagesub=["http://www.fhportal.cz/mytop/deluxe-menu.files/arrowsub.gif","http://www.fhportal.cz/mytop/deluxe-menu.files/arrowsubo.gif"];

//--- Separators
var separatorImage="";
var separatorWidth="100%";
var separatorHeight="3px";
var separatorAlignment="left";
var separatorVImage="";
var separatorVWidth="3px";
var separatorVHeight="100%";
var separatorPadding="0px";

//--- Floatable Menu
var floatable=0;
var floatIterations=6;
var floatableX=1;
var floatableY=1;
var floatableDX=15;
var floatableDY=15;

//--- Movable Menu
var movable=0;
var moveWidth=12;
var moveHeight=20;
var moveColor="#DECA9A";
var moveImage="";
var moveCursor="move";
var smMovable=0;
var closeBtnW=15;
var closeBtnH=15;
var closeBtn="";

//--- Transitional Effects & Filters
var transparency="80";
var transition=24;
var transOptions="";
var transDuration=350;
var transDuration2=200;
var shadowLen=3;
var shadowColor="#B1B1B1";
var shadowTop=0;

//--- CSS Support (CSS-based Menu)
var cssStyle=0;
var cssSubmenu="";
var cssItem=["",""];
var cssItemText=["",""];

//--- Advanced
var dmObjectsCheck=0;
var saveNavigationPath=1;
var showByClick=0;
var noWrap=1;
var smShowPause=200;
var smHidePause=1000;
var smSmartScroll=1;
var topSmartScroll=0;
var smHideOnClick=1;
var dm_writeAll=1;
var useIFRAME=0;
var dmSearch=0;

//--- AJAX-like Technology
var dmAJAX=0;
var dmAJAXCount=0;
var ajaxReload=0;

//--- Dynamic Menu
var dynamic=0;

//--- Popup Menu
var popupMode=0;

//--- Keystrokes Support
var keystrokes=0;
var dm_focus=1;
var dm_actKey=113;

//--- Sound
var onOverSnd="";
var onClickSnd="";

var itemStyles = [
];
var menuStyles = [
];

var menuItems = [

    ["FHportal","http://www.fhportal.cz/", "", "", "Vaše cesta na internetu", "", "", "", "", "", "", ],
    ["Lidé","", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2b.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "", "", "", "", "", "", "", ],        
    ["|Apostiller","http://www.apostiller.com/", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "", "", "", "", "", "", "", ],        
    ["|Osobní stránky","", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "", "", "", "", "", "", "", ],
            ["||František Honsa","http://www.frantisekhonsa.cz/", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "Osobní stránky Františka Honsy", "", "", "", "", "", "", ],
            ["||František Honsa starší","http://www.fhportal.cz/91tp", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "Osobní stránky Františka Honsy", "", "", "", "", "", "", ],
            ["||František Honsa mladší","http://www.fhportal.cz/fhonsa", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "Osobní stránky Františka Honsy", "", "", "", "", "", "", ],
            ["||Josef Novák","http://www.fhportal.cz/novakj", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "Osobní stránky Josefa Nováka", "", "", "", "", "", "", ],
    ["|Dluh ČR","http://www.dluhcr.cz/", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "", "", "", "", "", "", "", ],        
    ["Katalogy","", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "", "_blank", "", "", "", "", "", ],
        ["|Co je v akci","http://www.cojevakci.cz/", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "Informace o zboží v akci a ve slevě", "", "", "", "", "", "", ],
        ["|Seeker","http://www.seeker.cz/", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "Katalog s více než 19000 odkazy", "", "", "", "", "", "", ],
        ["|Nej internetové obchody","http://www.nej-internetove-obchody.cz/", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "Nejlepší internetové obchody", "", "", "", "", "", "", ],
    ["Obchody","", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "", "_blank", "", "", "", "", "", ],
        ["|Nemovitosti","http://rk.fhportal.cz/", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "Reality z celé ČR", "", "", "", "", "", "", ],
        ["|Partnerké","http://www.fhportal.cz/phprs/view.php?nazevclanku=vitejte&cisloclanku=2009100042", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "Partnerské obchody", "", "", "", "", "", "", ],
    ["Odkazy","", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "", "_blank", "", "", "", "", "", ],
        ["|SAP","http://www.sap.cz/", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "ERP systém", "", "", "", "", "", "", ],
        ["|Vzory.cz","http://www.vzory.cz/", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "", "", "", "", "", "", "", ],
        ["|Dama.cz","http://www.dama.cz/", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "", "", "", "", "", "", "", ],
        ["|Centrum obchodu","http://www.centrumobchodu.net/", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "", "", "", "", "", "", "", ],
    ["Kontakt","http://www.frantisekhonsa.cz/phprs/view.php?cisloclanku=2009100023", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2y.gif", "http://www.fhportal.cz/mytop/deluxe-menu.files/icon2o.gif", "", "", "", "", "", "", "", ],
];

function generate_top () {

document.write('<table bgcolor="#0000FF" width="100%"><tbody><tr><td>');
dm_init();
document.write('</td></tr></tbody></table>');
}


function free_link () {
  alert('Zde může být Váš obchod');
}

function empty_catalogue () {
  alert('Tato sekce neobsahuje žádné obchody');
}

var b_uvod    = 'border=0';
var b_obchod  = 'border=0';
var b_chat    = 'border=0';
var b_forum   = 'border=0';
var b_kniha   = 'border=0';
var b_kontakt = 'border=0';
var b_katalog = 'border=0';
var b_info     = 'border=0';
var b_registrace = 'border=0';
var b_vyhledavani = 'border=0';
var cur_img = 1;

function show_new(day, month, year, start) {

  var today = new Date();
  var orig  = new Date(year,month-1,day+1);
  var days  = (today.getTime() - orig.getTime())/(24*60*60*1000);

  if( days <  start ) { 
    document.write('<img src="../images/ico_new.gif" border="0">');
  }

}

function this_page () {
}

function cursor_with_logo (logo) {
    // Text, který bude sledovat kurzor myši
    var str=logo;

    if (document.all){
      // Pokud prohlížeč podporuje kolekci document.all,
      // zapíše se do stránky definice textu a nastaví
      // se mu styl
      document.write('<div id="cursortext"');
      document.write(
        'style="position:absolute;visibility:hidden">');
      // Obsahem prvku bude předem nadefinovaný řetězec,
      // ale mohl by tu být například i obrázek
      document.write(str);
      document.write('</div>');
    }

    // Nastavení pozice loga (textu)
    function SetPosition(){
      if (document.all){
        // Zobrazení loga (textu)
        cursortext.style.visibility="visible"
      }
      
      // Nastavení pozice textu na stránce podle
      // kurzoru myši
      cursortext.style.left=document.body.scrollLeft+
        event.clientX+20;
      cursortext.style.top=document.body.scrollTop+
        event.clientY+0;
    }

    // Nastavení obsluhy události onmousemove
    document.onmousemove=SetPosition
}
function alert_volne () {
  alert("Chcete zde umístit Váš banner, neváhejte mne kontaktovat.");
}

function generate_menu (url, page) {
  var i=0;
  var save_url = '';
  var prev_url = '';

  save_url = ReadCookie('URL',url);
  prev_url = ReadCookie('URL_PREV',prev_url);

  if (page.search("uvod") != -1) {
    b_uvod  = 'border= "2px solid #FF0000"';
  } else if (page.search("katalog") != -1) {
    b_gatalog  = 'border= "2px solid #FF0000"';
  } else if (page.search("obchod") != -1) {
    b_obchod  = 'border= "2px solid #FF0000"';
  } else if (page.search("forum") != -1) {
    b_forum  = 'border= "2px solid #FF0000"';
  } else if (page.search("kniha") != -1) {
    b_kniha  = 'border= "2px solid #FF0000"';
  } else if (page.search("kontakt") != -1) {
    b_kontakt  = 'border= "2px solid #FF0000"';
  } else if (page.search("info") != -1) {
    b_info  = 'border= "2px solid #FF0000"';
  } else if (page.search("vyhledavani") != -1) {
    b_vyhledavani  = 'border= "2px solid #FF0000"';
  }

  if (save_url.search("vakci") != -1) {
    if ( page.search("vyhledavani") != -1) {
      document.write('<TABLE cellSpacing=0 cellPadding=0 width=116 background="' + 'images/pas1.gif" border=0>'); 
      document.write('<TBODY>'); 
      document.write(' <TR height=20><TD></TD></TR>'); 
      document.write('  <TR height=23><TD><A href="' + 'http://www.nej-internetove-obchody.cz/nio/index.htm">'); 
      document.write('   <IMG height=17 src="' + 'images/katalog.gif" width=112 ' + b_katalog); 
      document.write('   onmouseup=selUp(this) class=butClass onmousedown=selDown(this)');  
      document.write('   onmouseover=selOn(this) onmouseout=selOff(this)></A></TD></TR>'); 
      document.write('  <TR height=23><TD><A href="http://www.nej-internetove-obchody.cz/nio/searchengine.php?page=q0">'); 
      document.write('   <IMG height=17 src="' + 'images/vyhledavani.gif" width=112 ' + b_vyhledavani); 
      document.write('   onmouseup=selUp(this) class=butClass onmousedown=selDown(this)');  
      document.write('   onmouseover=selOn(this) onmouseout=selOff(this)></A></TD></TR>'); 
      document.write(' <TR height=23><TD><A href="http://www.fhportal.cz/vakci/index.htm">'); 
      document.write('   <IMG height=17 src="' + 'images/uvodni_strana.gif" width=112 ' + b_uvod); 
      document.write('   onmouseup=selUp(this) class=butClass onmousedown=selDown(this)');  
      document.write('   onmouseover=selOn(this) onmouseout=selOff(this)></A></TD></TR>'); 
      document.write('  <TR height=23><TD><A href="' + 'http://www.nej-internetove-obchody.cz/nio/registrace.htm">'); 
      document.write('   <IMG height=17 src="' + 'images/registrace.gif" width=112 ' + b_registrace); 
      document.write('   onmouseup=selUp(this) class=butClass onmousedown=selDown(this)');  
      document.write('   onmouseover=selOn(this) onmouseout=selOff(this)></A></TD></TR>'); 
      document.write('  <TR height=23><TD><A href="' + 'http://www.fhportal.cz/obchody.htm">'); 
      document.write('   <IMG height=17 src="' + 'images/obchody.gif" width=112 ' + b_obchod); 
      document.write('   onmouseup=selUp(this) class=butClass onmousedown=selDown(this)');  
      document.write('   onmouseover=selOn(this) onmouseout=selOff(this)></A></TD></TR>'); 
      document.write('  <TR height=23><TD><A href="' + 'http://www.fhportal.cz/kniha.htm">'); 
      document.write('   <IMG height=17 src="' + 'images/kniha.gif" width=112 ' + b_kniha); 
      document.write('   onmouseup=selUp(this) class=butClass onmousedown=selDown(this)');  
      document.write('   onmouseover=selOn(this) onmouseout=selOff(this)></A></TD></TR>'); 
      document.write('  <TR height=23><TD><A href="' + 'http://www.fhportal.cz/kontakt.htm">'); 
      document.write('   <IMG height=17 src="' + 'images/kontakt.gif" width=112 ' + b_kontakt); 
      document.write('   onmouseup=selUp(this) class=butClass onmousedown=selDown(this)');  
      document.write('   onmouseover=selOn(this) onmouseout=selOff(this)></A></TD></TR>'); 
      document.write('  <TR height=23><TD><A href="' + 'http://www.fhportal.cz/index.htm">'); 
      document.write('   <IMG height=17 src="' + 'images/fhportal.gif" width=112 border=0'); 
      document.write('   onmouseup=selUp(this) class=butClass onmousedown=selDown(this)' ); 
      document.write('   onmouseover=selOn(this) onmouseout=selOff(this)></A></TD></TR>'); 
      document.write('  <TR height=10><TD></TD></TR>'); 
      document.write('</TBODY></TABLE>');   
      cursor_with_logo ('www.cojevakci.cz');
    }
    else {   
      document.write('<TABLE cellSpacing=0 cellPadding=0 width=116 background="' + 'images/pas1.gif" border=0>'); 
      document.write('<TBODY>'); 
      document.write(' <TR height=20><TD></TD></TR>'); 
      if ( page.search("info") != -1) { 
        document.write(' <TR height=23><TD><A href="javascript:this_page()">'); 
        document.write('   <IMG height=17 src="' + 'images/info.gif" width=112 ' + b_info); 
        document.write('   onmouseup=selUp(this) class=butClass onmousedown=selDown(this)');  
        document.write('   onmouseover=selOn(this) onmouseout=selOff(this)></A></TD></TR>'); 
      }
      document.write('  <TR height=23><TD><A href="' + 'http://www.nej-internetove-obchody.cz/nio/index.htm">'); 
      document.write('   <IMG height=17 src="' + 'images/katalog.gif" width=112 ' + b_katalog); 
      document.write('   onmouseup=selUp(this) class=butClass onmousedown=selDown(this)');  
      document.write('   onmouseover=selOn(this) onmouseout=selOff(this)></A></TD></TR>'); 
      document.write('  <TR height=23><TD><A href="' + 'http://www.nej-internetove-obchody.cz/nio/searchengine.php?page=q0">'); 
      document.write('   <IMG height=17 src="' + 'images/vyhledavani.gif" width=112 ' + b_vyhledavani); 
      document.write('   onmouseup=selUp(this) class=butClass onmousedown=selDown(this)');  
      document.write('   onmouseover=selOn(this) onmouseout=selOff(this)></A></TD></TR>'); 
      document.write('  <TR height=23><TD><A href="' + 'http://www.nej-internetove-obchody.cz/nio/registrace.htm">'); 
      document.write('   <IMG height=17 src="' + 'images/registrace.gif" width=112 ' + b_registrace); 
      document.write('   onmouseup=selUp(this) class=butClass onmousedown=selDown(this)');  
      document.write('   onmouseover=selOn(this) onmouseout=selOff(this)></A></TD></TR>'); 
      document.write('  <TR height=23><TD><A href="' + 'http://www.fhportal.cz/obchody.htm">'); 
      document.write('   <IMG height=17 src="' + 'images/obchody.gif" width=112 ' + b_obchod); 
      document.write('   onmouseup=selUp(this) class=butClass onmousedown=selDown(this)');  
      document.write('   onmouseover=selOn(this) onmouseout=selOff(this)></A></TD></TR>'); 
      document.write('  <TR height=23><TD><A href="' + 'http://www.fhportal.cz/kniha.htm">'); 
      document.write('   <IMG height=17 src="' + 'images/kniha.gif" width=112 ' + b_kniha); 
      document.write('   onmouseup=selUp(this) class=butClass onmousedown=selDown(this)');  
      document.write('   onmouseover=selOn(this) onmouseout=selOff(this)></A></TD></TR>'); 
      document.write('  <TR height=23><TD><A href="' + 'http://www.fhportal.cz/kontakt.htm">'); 
      document.write('   <IMG height=17 src="' + 'images/kontakt.gif" width=112 ' + b_kontakt); 
      document.write('   onmouseup=selUp(this) class=butClass onmousedown=selDown(this)');  
      document.write('   onmouseover=selOn(this) onmouseout=selOff(this)></A></TD></TR>'); 
      document.write('  <TR height=23><TD><A href="' + 'http://www.fhportal.cz/index.htm">'); 
      document.write('   <IMG height=17 src="' + 'images/fhportal.gif" width=112 border=0'); 
      document.write('   onmouseup=selUp(this) class=butClass onmousedown=selDown(this)' ); 
      document.write('   onmouseover=selOn(this) onmouseout=selOff(this)></A></TD></TR>'); 
      document.write('  <TR height=10><TD></TD></TR>'); 
      document.write('</TBODY></TABLE>');   
      cursor_with_logo ('<nobr>www.nej-internetove-obchody.cz</nobr>');
    }  
  }
  else {
  }
  document.write('<table cols="2" width="116" height="150" border="0" cellspacing="1" cellpadding="1" background="images/pas1.gif">');
  document.write('  <tbody>');
  document.write('    <tr>');
  document.write('      <td Colspan="2"><A href="javascript:alert_volne()"><IMG src="images/partneri.gif" height=30 width=100 ></A></td>');
  document.write('      </tr>');
  document.write('    <tr>');
  document.write('      <td><A href="http://www.avareality.cz/index.php" target="_blank">');
  document.write('          <img src="http://www.fhportal.cz/images/logoavarealitysmall.gif" alt="REALITY z celé ČR"></A></td>');
  document.write('      </tr><tr><td><a href="http://www.valentine.cz/?refId=316" target="_blank" title="Parfémy levně - Parfémy-prodej on-line - Parfumerie - Internetový obchod - valentine"><img border="0" alt="Parfémy levně - Parfémy-prodej on-line - Parfumerie - Internetový obchod - valentine" src="http://www.fhportal.cz/images/logovalentinesmall.gif"></a></td>');
  document.write('      </tr>');
  document.write('    <tr>');
  document.write('      <td><A href="http://www.active24.cz/" title="hosted by ACTIVE 24">');
  document.write('          <img src="http://www.fhportal.cz/images/logoactive24small.gif" alt="hosted by ACTIVE 24" title="hosted by ACTIVE 24" /></A></td>');
  document.write('      </tr><tr><td><A href="javascript:alert_volne()" alt="Volne místo pro Vás">');
  document.write('          <img src="http://www.fhportal.cz/images/logovolnesmall.gif"></A></td>');
  document.write('      </tr>');
  document.write('    <tr>');
  document.write('      <td><A href="javascript:alert_volne()" alt="Volne místo pro Vás">');
  document.write('          <img src="http://www.fhportal.cz/images/logovolnesmall.gif"></A></td>');
  document.write('      </tr><tr><td><A href="javascript:alert_volne()" alt="Volne místo pro Vás">');
   document.write('         <img src="http://www.fhportal.cz/images/logovolnesmall.gif"></A></td>');
   document.write('     </tr>');
  document.write('  </tbody>');
  document.write('</table>');
  document.write('<BR><CENTER><A href="http://www.toplist.cz/stat/275478">');
  document.write ('<img src="http://toplist.cz/count.asp?id=275478&logo=mc&http='+escape(document.referrer)+'&wi='+escape(window.screen.width)+'&he='+escape(window.screen.height)+'&cd='+escape(window.screen.colorDepth)+'&t='+escape(document.title)+'" width="88" height="60" border=0 alt="TOPlist" />');
  document.write('</A></CENTER>');
  document.write('<BR><CENTER><a href="http://www.czin.eu/in/1170565928.html" target="_blank" title="PageRank změřil CZIN.eu"><img src="http://www.czin.eu/pagerank.php?web=http://www.fhportal.cz" alt="CZIN.eu" width="80" height="15" border="0"></a></CENTER>');
  for (i=0;i<document.images.length;i++) {
    if (document.images[i].src.search(page) != -1) {
      cur_img = i;
      break;
    }
  }
  document.images[cur_img].style.borderWidth = '2px'
  document.images[cur_img].style.borderColor = '#FF0000';
  document.images[cur_img].style.borderStyle = 'solid';
}

<!-- Rotator Zacatek -->
var rotator_data=new Array(
 'e-Fana', 'http://www.fhportal.cz/kontakt.htm', 'http://www.fhportal.cz/images/volnemisto.gif', '468', '60',
 'Parfémy levně - Parfémy - prodej on-line - Slevy 30-65% na parfémy','http://www.valentine.cz/?refId=316','http://www.valentine.cz/img/ikona_valentine.gif ','88','31',
 'Seznam firem | Poptávky | Nabídky | E-shopy | Vyhledávač zboží | Soutěže o ceny | Marketingové nástroje zdarma', 'http://www.b2bc.cz/?refid=2350', 'http://www.b2bc.cz/gfx/img/provize/searchpanel468x60.gif', '470', '60',
 'Internetový obchodní dům Patro.cz', 'http://www.patro.cz', 'http://www.fhportal.cz/images/logopatro.gif', '468', '60',
 'Retro rádia Lenco', 'http://ishop.cps-europe.cz/retro-radia?refId=1808', 'http://ishop.cps-europe.cz/banner/retro20.gif', '468', '60',
 'Aukro', 'http://www.aukro.cz/show_user_auctions.php?uid=3482567', 'http://www.fhportal.cz/images/logoaukro.gif', '470', '60',
 'REALITY z celé ČR', 'http://www.avareality.cz/index.php', 'http://www.avareality.cz/images/banner180x45.gif', '180', '45',
 'Svět parfémů', 'http://www.parfemy.cz/?deal=136', 'http://www.fhportal.cz/images/logoparfemy.gif', '447', '61',
 'Invia - zájezdy do celého světa', 'http://partner2.invia.cz/?advert=21841&app=15', 'http://www.fhportal.cz/images/logoinvia.gif', '462', '62',
 'Top-Cz', 'http://www.topcz.net/?ref=580', 'http://www.topcz.net/banners/ban23.gif', '468', '60',
 'Autohits Horys', 'http://autohits.horys.com/index.php?refer=honsa', 'http://autohits.horys.com/bannery/s468x60-2.gif', '468', '60',
 'Systém výměny reklamy Lišta', 'http://www.lista.cz/?ref=10918', 'http://banners.lista.cz/4.gif', '468', '60',
 'Internetový supermarket EVA', 'http://www.eva.cz/jumptopromo.php?pp=MFFXWL', 'http://www.fhportal.cz/images/evalogo.gif', '89', '57',
 'HOLAN Sport -  vybavení do přírody', 'http://www.holan.cz/default.asp?IDP=275', 'http://www.holan.cz/boxes/2banner60x468.gif', '468', '60',
 'FUN Store -  království her', 'http://www.funstore.cz/web.php?id=fana', 'http://www.fhportal.cz/images/funstorelogo.gif', '300', '60',
 'Sonnerie -  mobil snů', 'http://fhportal.sonnerie.net/cz/', 'http://www.fhportal.cz/images/sonnerielogo.gif', '247', '60',
 'e-Fana', 'http://www.fhportal.cz/kontakt.htm', 'http://www.fhportal.cz/images/volnemisto.gif', '468', '60'
 );
var rotator_index = 0;
var rotator_max_index = ( rotator_data.length / 5 ) - 1;
var rotator_timer;    // Časovač na automatické přepínání banneru
var rotator_interval = 20000;  // Interval mezi jednotlivými bannery (20 s)

function rotator_next_banner() {
  if ( rotator_index == rotator_max_index ) {
    rotator_index = 0;
  }
  else {
    rotator_index += 1;
  }
  rotator_lnk.href  = rotator_data[ 5*rotator_index + 1 ];
  rotator_img.alt   = rotator_data[ 5*rotator_index ];
  rotator_img.src   = rotator_data[ 5*rotator_index + 2 ];
  rotator_img.width = rotator_data[ 5*rotator_index + 3 ];
  rotator_img.height= rotator_data[ 5*rotator_index + 4 ];
}

function rotator_random_banner() {
  rotator_index = Math.floor (Math.random()*rotator_max_index);

  rotator_lnk.href  = rotator_data[ 5*rotator_index + 1 ];
  rotator_img.alt   = rotator_data[ 5*rotator_index ];
  rotator_img.src   = rotator_data[ 5*rotator_index + 2 ];
  rotator_img.width = rotator_data[ 5*rotator_index + 3 ];
  rotator_img.height= rotator_data[ 5*rotator_index + 4 ];
}

function rotator_next_click() {
  clearInterval (rotator_timer);
  rotator_random_banner();
  rotator_timer = setInterval ("rotator_random_banner();", rotator_interval);
}

function rotator_init (random) {
  var html = '';
  if ( random ) {
    rotator_index = Math.floor (Math.random()*rotator_max_index); 
  } 
  else {
    rotator_index = 1;
  }
  
  html += '<TABLE width="100%" height="65" cellSpacing=0 cellPadding=0 border=0>';
  html += '<TBODY>';
  html += '<TR align=center><TD>';
  html += '<TABLE cellSpacing=0 cellPadding=0 border=0>';
  html += '<TBODY>';
  html += '<TR><TD>';
  html += '<A href="' + rotator_data[ 5*rotator_index + 1 ] +'" name="rotator_lnk" target="_blank"><IMG name="rotator_img" src="' + rotator_data[ 5*rotator_index + 2 ] +'" alt="' + rotator_data[ 5*rotator_index ] + '" width='+ rotator_data[ 5*rotator_index + 3 ] + '" height='+ rotator_data[ 5*rotator_index + 4 ] + 'border=0></A>';
  html += '</TD><TD>&nbsp;&nbsp;</TD><TD>';
  html += '<BUTTON name="Next" value="Dalsi" onclick="rotator_next_click()">Další<BR>reklama</BUTTON>';
  html += '</TD></TR>';
  html += '</TBODY></TABLE>';
  html += '</TD></TR>';
  html += '</TBODY></TABLE>';
  document.write(html);
  if ( random ) {
    rotator_timer = setInterval ("rotator_random_banner();", rotator_interval);
  }
}
<!-- Rotator Konec -->
<!-- Opt-In Zacatek --> 
var allowpop=1;
function popWin(){
var ppl="popLayer";var objppl=findObj(ppl);
var prev_url = '';
prev_url = ReadCookie('URL_PREV',prev_url);
if (objppl==null){return;}// if the layer does not exist, do nothing.
if (prev_url.search("info") != -1) {
  WriteCookie ('URL_PREV','vakci','','/','www.fhportal.cz','');
  hideLayer(ppl);
  return;
} else {
  WriteCookie ('URL_PREV','vakci','','/','www.fhportal.cz','');
}
var args=arguments,movetoX=parseInt(args[0]),movetoY=parseInt(args[1]),movespeed=parseInt(args[2]);
var cycle=10,pxl="";
if(!document.layers){objppl=objppl.style;}
if(objppl.tmofn!=null){clearTimeout(objppl.tmofn);}
var pplcoordX=parseInt(objppl.left),pplcoordY=parseInt(objppl.top);
var xX=movetoX,yY=movetoY;if((pplcoordX!=movetoX)||(pplcoordY!=movetoY)){
   var moveX=((movetoX-pplcoordX)/movespeed),moveY=((movetoY-pplcoordY)/movespeed);
   moveX=(moveX>0)?Math.ceil(moveX):Math.floor(moveX);movetoX=pplcoordX+moveX;
   moveY=(moveY>0)?Math.ceil(moveY):Math.floor(moveY);movetoY=pplcoordY+moveY;
   if((parseInt(navigator.appVersion)>4||navigator.userAgent.indexOf("MSIE")>-1) && (!window.opera)) {pxl="px";}
   if (moveX!=0){eval("objppl.left='" + movetoX + pxl + "'");}
   if (moveY != 0) {eval("objppl.top = '" + movetoY + pxl + "'");}
   var sFunction = "popWin(" + xX + "," + yY + "," + movespeed+ ")";
   objppl.tmofn = setTimeout(sFunction,cycle);
   }
}
function findObj(theObj, theDoc){
var p, i, foundObj;
if(!theDoc) theDoc = document;
if((p = theObj.indexOf("?")) > 0 && parent.frames.length)
   {theDoc = parent.frames[theObj.substring(p+1)].document;
    theObj = theObj.substring(0,p);}
if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
for (i=0; !foundObj && i < theDoc.forms.length; i++)
foundObj = theDoc.forms[i][theObj];
for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++)
foundObj = findObj(theObj,theDoc.layers[i].document);
if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);
return foundObj;
}
function hideLayer(layername){
layer=findObj(layername);
if(layer.style){layer=layer.style;}
layer.visibility='hidden'; }

<!-- Opt-In Konec -->

function div_onclick(str)
{
  var strdiv = "div" + str;
  var objNode = document.all ? document.all[strdiv] : document.getElementById(strdiv);

  if(objNode.style.display=="none"){
     objNode.style.display="block";
  }else{
    objNode.style.display="none" ;
  }
}

function div_openall()
{
    tempColl = document.getElementsByTagName("DIV");
	for (i=0; i<tempColl.length; i++) {
		tempColl[i].style.display = "block";
	}
}
function file_se(kid)
{	
	popupWin = window.open('se.htm?kid='+kid, "File", 'resizable,scrollbars,menubar=0,width=580,height=460');
} 

function file_print(id)
{	
	window.print();
//      popupWin = window.open('print.htm?pid='+id, "File", 'resizable,scrollbars,menubar=0,width=580,height=280');
} 

function change_frame (url) {
  if (url.search("menu_jak") != -1) {
    parent.left.location.href="menu_jak.htm";
    parent.right.location.href="jak_na_to.htm";
  }
  else if (url.search("ieFavorites") != -1) {
    parent.left.location.href="ieFavorites.htm";
    parent.right.location.href="description_cs.htm";
  }
  else if (url.search("webmaster") != -1) {
    parent.left.location.href="http://www.frantisekhonsa.cz/menu.htm";
    parent.right.location.href="http://www.frantisekhonsa.cz/uvodni_stranka.htm";
  }
  else if (url.search("fhportal") != -1) {
    parent.left.location.href="../menu.htm";
    parent.right.location.href="../uvodni_stranka.htm";
  }
  else if (url.search("kontakt") != -1) {
    parent.left.location.href="http://www.frantisekhonsa.cz/menu.htm";
    parent.right.location.href="http://www.frantisekhonsa.cz/kontakt.htm";
  }
  else if (url.search("novakj") != -1) {
    parent.left.location.href="novakj/menu.htm";
    parent.right.location.href="novakj/uvodni_stranka.htm";
  }
  else {
    parent.left.location.href="menu.htm";
    parent.right.location.href="uvodni_stranka.htm";
  }
}

function link_parent()
{
 var m1  = " Tak trochu se stydím za design těchto stránek. Asi je to tím, že jsem vyrůstal v hospodě čtvrté cenové kategorie a mám to v krvi. "
 var m2  = " Otec nebyl majitelem, ale pouze vedoucím.  Komunisti více nedovolili. Hospodu mému dědečkovi sebrali a majitelem byla Jednota. ";
 var m3  = " Já mám to štěstí, že jsem v mé eHospodě svým pánem a tak s tím časem snad něco udělám.";
 var m4  = " ";

     var msg=m1+m2+m3+m4;
     alert(msg);
}

function no_link()
{
 var m1  = " Stránky se připravují ";
 var m2  = "  ";
 var m3  = "  ";
 var m4  = "  ";
     var msg=m1+m2+m3+m4;
     alert(msg);
}

function selOn(ctrl)
{
    if(ctrl){
 	    ctrl.style.borderColor = '#000000';
	    ctrl.style.backgroundColor = '#B5BED6';
	    ctrl.style.cursor = 'hand';	
	    ctrl.style.borderWidth = '1px';
	    ctrl.style.borderStyle = 'outset';
    }
}

function selOff(ctrl)
{
    if(ctrl){
	    ctrl.style.borderColor = 'silver';  
	    ctrl.style.backgroundColor = '#D6D3CE';
	    
            ctrl.style.borderStyle = 'solid';
            ctrl.style.borderWidth = '0px';
            if (document.images[cur_img].src.search(ctrl.src) != -1) {
               document.images[cur_img].style.borderWidth = '2px';
	       document.images[cur_img].style.borderColor = '#FF0000';
               document.images[cur_img].style.borderStyle = 'solid';
            }
    }
}

function selDown(ctrl)
{
    if(ctrl){
	    ctrl.style.backgroundColor = '#8492B5';
    }
}


function selUp(ctrl)
{   
    if(ctrl){
        ctrl.style.backgroundColor = '#B5BED6';
    }
}

function ch_lng() {
   if  (parent.bottom.location.href.search("/en/") != -1){
       newstr=parent.bottom.location.href.replace("/en/","/cz/");
       parent.bottom.location.href =newstr;
       parent.head.location.href="../cz/head.html"
   }
   else { newstr=parent.bottom.location.href.replace("/cz/","/en/")
       parent.bottom.location.href=newstr
       parent.head.location.href="../en/head.html"
   }
}

function nameday() {
  today = new Date();
  day=today.getDate();
  month=(today.getMonth()+1);
  if (month==1) {
    if (day==01) document.write("Nový rok");
    if (day==02) document.write("Karina");
    if (day==03) document.write("Radmila");
    if (day==04) document.write("Diana");
    if (day==05) document.write("Dalimil");
    if (day==06) document.write("Tři králové");
    if (day==07) document.write("Vilma");
    if (day==08) document.write("Čestmír");
    if (day==09) document.write("Vladan");
    if (day==10) document.write("Břetislav");
    if (day==11) document.write("Bohdana");
    if (day==12) document.write("Pravoslav");
    if (day==13) document.write("Edita");
    if (day==14) document.write("Radovan");
    if (day==15) document.write("Alice");
    if (day==16) document.write("Ctirad");
    if (day==17) document.write("Drahoslav");
    if (day==18) document.write("Vladislav");
    if (day==19) document.write("Doubravka");
    if (day==20) document.write("Ilona");
    if (day==21) document.write("Běla");
    if (day==22) document.write("Slavomír");
    if (day==23) document.write("Zdayěk");
    if (day==24) document.write("Milena");
    if (day==25) document.write("Miloš");
    if (day==26) document.write("Zora");
    if (day==27) document.write("Ingrid");
    if (day==28) document.write("Otýlie");
    if (day==29) document.write("Zdislava");
    if (day==30) document.write("Robin");
    if (day==31) document.write("Marika");
  }
  if (month==2) {
    if (day==01) document.write("Hynek");
    if (day==02) document.write("Nela");
    if (day==03) document.write("Blažej");
    if (day==04) document.write("Jarmila");
    if (day==05) document.write("Dobromila");
    if (day==06) document.write("Vanda");
    if (day==07) document.write("Veronika");
    if (day==08) document.write("Milada");
    if (day==09) document.write("Apolena");
    if (day==10) document.write("Mojmír");
    if (day==11) document.write("Božena");
    if (day==12) document.write("Slavěna");
    if (day==13) document.write("Věnceslav");
    if (day==14) document.write("Valentýn");
    if (day==15) document.write("Jiřina");
    if (day==16) document.write("Ljuba");
    if (day==17) document.write("Miloslava");
    if (day==18) document.write("Gizela");
    if (day==19) document.write("Patrik");
    if (day==20) document.write("Oldřich");
    if (day==21) document.write("Lenka");
    if (day==22) document.write("Petr");
    if (day==23) document.write("Svatopluk");
    if (day==24) document.write("Matěj");
    if (day==25) document.write("Liliana");
    if (day==26) document.write("Dorota");
    if (day==27) document.write("Alexandr");
    if (day==28) document.write("Lumír");
    if (day==29) document.write("Horymír");
  }
  if (month==3) {
    if (day==01) document.write("Bedřich");
    if (day==02) document.write("Anežka");
    if (day==03) document.write("Kamil");
    if (day==04) document.write("Stela");
    if (day==05) document.write("Kazimir");
    if (day==06) document.write("Miroslav");
    if (day==07) document.write("Tomáš");
    if (day==08) document.write("Gabriela");
    if (day==09) document.write("Františka");
    if (day==10) document.write("Viktorie");
    if (day==11) document.write("Anděla");
    if (day==12) document.write("Řehoř");
    if (day==13) document.write("Růžena");
    if (day==14) document.write("Růt a matylda");
    if (day==15) document.write("Ida");
    if (day==16) document.write("Elena a herbert");
    if (day==17) document.write("Vlastimil");
    if (day==18) document.write("Eduard");
    if (day==19) document.write("Josef");
    if (day==20) document.write("Světlana");
    if (day==21) document.write("Radek");
    if (day==22) document.write("Leona");
    if (day==23) document.write("Ivona");
    if (day==24) document.write("Gabriel");
    if (day==25) document.write("Marian");
    if (day==26) document.write("Emanuel");
    if (day==27) document.write("Dita");
    if (day==28) document.write("Soňa");
    if (day==29) document.write("Taťána");
    if (day==30) document.write("Arnošt");
    if (day==31) document.write("Kvido");
  }
  if (month==4) {
    if (day==01) document.write("Hugo");
    if (day==02) document.write("Erika");
    if (day==03) document.write("Richard");
    if (day==04) document.write("Ivana");
    if (day==05) document.write("Miroslava");
    if (day==06) document.write("Vendula");
    if (day==07) document.write("Heřman a Hermína");
    if (day==08) document.write("Ema");
    if (day==09) document.write("Dušan");
    if (day==10) document.write("Darja");
    if (day==11) document.write("Izabela");
    if (day==12) document.write("Julius");
    if (day==13) document.write("Aleš");
    if (day==14) document.write("Vincenc");
    if (day==15) document.write("Anastázie");
    if (day==16) document.write("Irena");
    if (day==17) document.write("Rudolf");
    if (day==18) document.write("Valérie");
    if (day==19) document.write("Rostislav");
    if (day==20) document.write("Marcela");
    if (day==21) document.write("Alexandra");
    if (day==22) document.write("Evženie");
    if (day==23) document.write("Vojtěch");
    if (day==24) document.write("Jiří");
    if (day==25) document.write("Marek");
    if (day==26) document.write("Oto");
    if (day==27) document.write("Jaroslav");
    if (day==28) document.write("Vlastislav");
    if (day==29) document.write("Robert");
    if (day==30) document.write("Blahoslav");
  }
  if (month==5) {
    if (day==01) document.write(" ");
    if (day==02) document.write("Zikmund");
    if (day==03) document.write("Alexej");
    if (day==04) document.write("Květoslav");
    if (day==05) document.write("Klaudie");
    if (day==06) document.write("Radoslav");
    if (day==07) document.write("Stanislav");
    if (day==08) document.write(" ");
    if (day==09) document.write("Ctibor");
    if (day==10) document.write("Blažena");
    if (day==11) document.write("Svatava");
    if (day==12) document.write("Pankrác");
    if (day==13) document.write("Servác");
    if (day==14) document.write("Bonifác");
    if (day==15) document.write("Žofie");
    if (day==16) document.write("Přemysl");
    if (day==17) document.write("Aneta");
    if (day==18) document.write("Nataša");
    if (day==19) document.write("Ivo");
    if (day==20) document.write("Zbyšek");
    if (day==21) document.write("Monika");
    if (day==22) document.write("Emil");
    if (day==23) document.write("Vladimír");
    if (day==24) document.write("Jana");
    if (day==25) document.write("Viola");
    if (day==26) document.write("Filip");
    if (day==27) document.write("Valdemar");
    if (day==28) document.write("Vilém");
    if (day==29) document.write("Maxmilián");
    if (day==30) document.write("Ferdinand");
    if (day==31) document.write("Kamila");
  }
  if (month==6) {
    if (day==01) document.write("Laura");
    if (day==02) document.write("Jarmil");
    if (day==03) document.write("Tamara");
    if (day==04) document.write("Dalibor");
    if (day==05) document.write("Dobroslav");
    if (day==06) document.write("Norbert");
    if (day==07) document.write("Iveta a Slavoj");
    if (day==08) document.write("Medard");
    if (day==09) document.write("Stanislava");
    if (day==10) document.write("Gita");
    if (day==11) document.write("Bruno");
    if (day==12) document.write("Antonie");
    if (day==13) document.write("Antonín");
    if (day==14) document.write("Roland");
    if (day==15) document.write("Vít");
    if (day==16) document.write("Zbyněk");
    if (day==17) document.write("Adolf");
    if (day==18) document.write("Milan");
    if (day==19) document.write("Leoš");
    if (day==20) document.write("Květa");
    if (day==21) document.write("Alois");
    if (day==22) document.write("Pavla");
    if (day==23) document.write("Zdeňka");
    if (day==24) document.write("Jan");
    if (day==25) document.write("Ivan");
    if (day==26) document.write("Adriana");
    if (day==27) document.write("Ladislav");
    if (day==28) document.write("Lubomír");
    if (day==29) document.write("Petr a Pavel");
    if (day==30) document.write("Šárka");
  }
  if (month==7) {
    if (day==01) document.write("Jaroslava");
    if (day==02) document.write("Patricie");
    if (day==03) document.write("Radomír");
    if (day==04) document.write("Prokop");
    if (day==05) document.write(" ");
    if (day==06) document.write(" ");
    if (day==07) document.write("Bohuslava");
    if (day==08) document.write("Nora");
    if (day==09) document.write("Drahoslava");
    if (day==10) document.write("Libuše a Amálie");
    if (day==11) document.write("Olga");
    if (day==12) document.write("Bořek");
    if (day==13) document.write("Markéta");
    if (day==14) document.write("Karolína");
    if (day==15) document.write("Jindřich");
    if (day==16) document.write("Luboš");
    if (day==17) document.write("Martina");
    if (day==18) document.write("Drahomíra");
    if (day==19) document.write("Čeněk");
    if (day==20) document.write("Ilja");
    if (day==21) document.write("Vítězslav");
    if (day==22) document.write("Magdaléna");
    if (day==23) document.write("Libor");
    if (day==24) document.write("Kristýna");
    if (day==25) document.write("Jakub");
    if (day==26) document.write("Anna");
    if (day==27) document.write("Věroslav");
    if (day==28) document.write("Viktor");
    if (day==29) document.write("Marta");
    if (day==30) document.write("Bořivoj");
    if (day==31) document.write("Ignác");
  }
  if (month==8) {
    if (day==01) document.write("Oskar");
    if (day==02) document.write("Gustav");
    if (day==03) document.write("Miluše");
    if (day==04) document.write("Dominik");
    if (day==05) document.write("Kristian");
    if (day==06) document.write("Oldřiška");
    if (day==07) document.write("Lada");
    if (day==08) document.write("Soběslav");
    if (day==09) document.write("Roman");
    if (day==10) document.write("Vavřinec");
    if (day==11) document.write("Zuzana");
    if (day==12) document.write("Klára");
    if (day==13) document.write("Alena");
    if (day==14) document.write("Alan");
    if (day==15) document.write("Hana");
    if (day==16) document.write("Jáchym");
    if (day==17) document.write("Petra");
    if (day==18) document.write("Helena");
    if (day==19) document.write("Ludvík");
    if (day==20) document.write("Bernard");
    if (day==21) document.write("Johana");
    if (day==22) document.write("Bohuslav");
    if (day==23) document.write("Sandra");
    if (day==24) document.write("Bartoloměj");
    if (day==25) document.write("Radim");
    if (day==26) document.write("Luděk");
    if (day==27) document.write("Otakar");
    if (day==28) document.write("Augustýn");
    if (day==29) document.write("Evelína");
    if (day==30) document.write("Vladěna");
    if (day==31) document.write("Pavlína");
  }
  if (month==9) {
    if (day==01) document.write("Linda a Samuel");
    if (day==02) document.write("Adéla");
    if (day==03) document.write("Bronislav");
    if (day==04) document.write("Jindřiška");
    if (day==05) document.write("Boris");
    if (day==06) document.write("Boleslav");
    if (day==07) document.write("Regína");
    if (day==08) document.write("Mariana");
    if (day==09) document.write("Daniela");
    if (day==10) document.write("Irma");
    if (day==11) document.write("dayisa");
    if (day==12) document.write("Marie");
    if (day==13) document.write("Lubor");
    if (day==14) document.write("Radka");
    if (day==15) document.write("Jolana");
    if (day==16) document.write("Ludmila");
    if (day==17) document.write("Naděžda");
    if (day==18) document.write("Kryštof");
    if (day==19) document.write("Zita");
    if (day==20) document.write("Oleg");
    if (day==21) document.write("Matouš");
    if (day==22) document.write("Darina");
    if (day==23) document.write("Berta");
    if (day==24) document.write("Jaromír");
    if (day==25) document.write("Zlata");
    if (day==26) document.write("Andrea");
    if (day==27) document.write("Jonáš");
    if (day==28) document.write("Václav");
    if (day==29) document.write("Michal");
    if (day==30) document.write("Jeroným");
  }
  if (month==10) {
    if (day==01) document.write("Igor");
    if (day==02) document.write("Olivie a Oliver");
    if (day==03) document.write("Bohumil");
    if (day==04) document.write("František");
    if (day==05) document.write("Eliška");
    if (day==06) document.write("Hanuš");
    if (day==07) document.write("Justýna");
    if (day==08) document.write("Věra");
    if (day==09) document.write("Štefan a Sára");
    if (day==10) document.write("Marina");
    if (day==11) document.write("Andrej");
    if (day==12) document.write("Marcel");
    if (day==13) document.write("Renáta");
    if (day==14) document.write("Agáta");
    if (day==15) document.write("Tereza");
    if (day==16) document.write("Havel");
    if (day==17) document.write("Hedvika");
    if (day==18) document.write("Lukáš");
    if (day==19) document.write("Michaela");
    if (day==20) document.write("Vendelín");
    if (day==21) document.write("Brigita");
    if (day==22) document.write("Sabina");
    if (day==23) document.write("Teodor");
    if (day==24) document.write("Nina");
    if (day==25) document.write("Beáta");
    if (day==26) document.write("Erik");
    if (day==27) document.write("Šarlota a Zoe");
    if (day==28) document.write(" ");
    if (day==29) document.write("Silvie");
    if (day==30) document.write("Tadeáš");
    if (day==31) document.write("Štěpánka");
  }
  if (month==11) {
    if (day==01) document.write("Felix");
    if (day==02) document.write(" ");
    if (day==03) document.write("Hubert");
    if (day==04) document.write("Karel");
    if (day==05) document.write("Miriam");
    if (day==06) document.write("Liběna");
    if (day==07) document.write("Saskie");
    if (day==08) document.write("Bohumír");
    if (day==09) document.write("Bohdan");
    if (day==10) document.write("Evžen");
    if (day==11) document.write("Martin");
    if (day==12) document.write("Benedikt");
    if (day==13) document.write("Tibor");
    if (day==14) document.write("Sáva");
    if (day==15) document.write("Leopold");
    if (day==16) document.write("Otmar");
    if (day==17) document.write("Mahulena");
    if (day==18) document.write("Romana");
    if (day==19) document.write("Alžběta");
    if (day==20) document.write("Nikola");
    if (day==21) document.write("Albert");
    if (day==22) document.write("Cecílie");
    if (day==23) document.write("Klement");
    if (day==24) document.write("Emílie");
    if (day==25) document.write("Kateřina");
    if (day==26) document.write("Artur");
    if (day==27) document.write("Xenie");
    if (day==28) document.write("René");
    if (day==29) document.write("Zina");
    if (day==30) document.write("Ondřej");
  }
  if (month==12) {
    if (day==01) document.write("Iva");
    if (day==02) document.write("Blanka");
    if (day==03) document.write("Svatoslav");
    if (day==04) document.write("Barbora");
    if (day==05) document.write("Jitka");
    if (day==06) document.write("Mikuláš");
    if (day==07) document.write("Ambrož a Aenjamín");
    if (day==08) document.write("Květoslava");
    if (day==09) document.write("Vratislav");
    if (day==10) document.write("Julie");
    if (day==11) document.write("Dana");
    if (day==12) document.write("Simona");
    if (day==13) document.write("Lucie");
    if (day==14) document.write("Lýdie");
    if (day==15) document.write("Radana a Radan");
    if (day==16) document.write("Albína");
    if (day==17) document.write("Daniel");
    if (day==18) document.write("Miloslav");
    if (day==19) document.write("Ester");
    if (day==20) document.write("Dagmar");
    if (day==21) document.write("Natálie");
    if (day==22) document.write("Šimon");
    if (day==23) document.write("Vlasta");
    if (day==24) document.write("Adam a Eva");
    if (day==25) document.write(" ");
    if (day==26) document.write("Štěpán");
    if (day==27) document.write("Žaneta");
    if (day==28) document.write("Bohumila");
    if (day==29) document.write("Judita");
    if (day==30) document.write("David");
    if (day==31) document.write("Silvestr");
  }
}

//---------------
// Zápis Cookie
//---------------
function WriteCookie (Name, Value, Expire, Path, Domain, Secure){
  // Name je jediný povinný parametr
  if (Name=='') return;

  // Spojení názvu a hodnoty cookie
  var Cookie = Name + '=' + escape (Value);

  // Pokud je zadáno datum expirace
  if (Expire){
    // Zjistí se aktuální datum a čas a posune se o dobu expirace
    var D = new Date((new Date()).getTime() + Expire*3600000);
    // Výsledkem je datum, kdy vyprší platnost cookie
    // a ta se převede na pásmo GMT a zapíše do výsledku
    Cookie += '; expires=' + D.toGMTString();
  }

  // Pokud je zadána cesta, zapíše se do výsledného řetězce
  if (Path)
    Cookie += '; path=' + Path;

  // Pokud je zadána doména, zapíše se do výsledného řetězce
  if (Domain)
    Cookie += '; domain=' + Domain;

  // Pokud je zadáno zda se jedná o zabezpečený cookie,
  // zapíše se do výsledného řetězce
  if (Secure)
    Cookie += '; secure';

  // Nakonec se zapíše výsledný řetězec do vlastnosti cookie
  document.cookie = Cookie;
}


//---------------
// Čtení Cookie
//---------------
function ReadCookie (Name, DefValue){
  // Získá se seznam všech cookies, na které má tato stránka práva
  var Cookies = document.cookie;

  // Pokud je výsledek prázdný, vrátí se výchozí hodnota
  if (Cookies == "") return (DefValue);

  // Najde se cookie podle názvu
  var Start = Cookies.indexOf (Name+'=');

  // pokud nebyl nalezen, vrátí se výchozí hodnota
  if (Start == -1) return DefValue;

  // Start je pozice, kde se v řetězci
  // nachází začátek hodnoty cookie
  Start += Name.length + 1;

  // End je pozice, kde se v řetězci
  // nachází konec hodnoty cookie
  var End = Cookies.indexOf(';', Start);
  if (End == -1) End = Cookies.length;

  // Nakonec se z řetězce vysekne hodnota cookie
  return (unescape (Cookies.substring(Start, End)));
}

function welcome() {
 today=new Date();
 daystr=new Array("neděle", "pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota");
 monthstr=new Array("ledna", "února", "března", "dubna", "května", "června", "července", "srpna", "září", "října", "listopadu", "prosince");

 with (today)
   {
    nd=daystr[getDay()];
    day=getDate();
    month=monthstr[getMonth()];
    year=getFullYear();
    hours=getHours();
   }

 if (hours<9)
   welcomestr="é ráno";
 else if (hours<12)
   welcomestr="ý den";
 else if (hours<18)
   welcomestr="é odpoledne";
 else
   welcomestr="ý večer";

 document.write("<P>Dobr"+welcomestr+", dnes je "+nd+" "+day+"."+month+" "+year+", svátek má ");
 nameday();
 document.write(".");
}

/* Copyright (C)1996 Web Integration Systems, Inc. DBA Websys, Inc.All Rights Reserved.
This applet can be re-used or modified, if credit is given in the source code.
*/
function scrollit_r2l(seed)
{
 var m1  = " Vitejte na me WWW strance - ";
 var m2  = " Za starých dobrých časů – ve „zlaté éře“ počítačů, bylo snadné odlišit muže od chlapců ";
 var m3  = " (v literatuře označovaných „Opravdový muži“ a „Pojídače koláčů“). ";
 var m4  = " Opravdoví programátoři nepoužívají Pascal... ";
     var msg=m1+m2+m3+m4;
     var out = " ";
     var c   = 1;
       if (seed > 100) {
                seed--;
               var cmd="scrollit_r2l(" + seed + ")";
               timerTwo=window.setTimeout(cmd,100);
       }
        else if (seed <= 100 && seed > 0) {
               for (c=0 ; c < seed ; c++) {
                       out+=" ";
               }
                out+=msg;
               seed--;
              var cmd="scrollit_r2l(" + seed + ")";
                    window.status=out;
                timerTwo=window.setTimeout(cmd,100);
        }
        else if (seed <= 0) {
                if (-seed < msg.length) {
                        out+=msg.substring(-seed,msg.length);
                        seed--;
                        var cmd="scrollit_r2l(" + seed + ")";
                        window.status=out;
                        timerTwo=window.setTimeout(cmd,100);
                }
                else {
                        window.status=" ";
                        timerTwo=window.setTimeout("scrollit_r2l(100)",75);
                }
       }
}

/* Copyright (C)1996 Web Integration Systems, Inc. DBA Websys, Inc.All Rights Reserved.
This applet can be re-used or modified, if credit is given in the source code.
*/
function scrollit_r2l(seed)
{
 var m1  = " Vítejte na mé WWW stránce - jste na dobré cestě do světového elektronického obchodování.";
 var m2  = " Výroba, správa, údržba a hosting webových prezentací.";
 var m3  = " Jednoduché, ale vysoce funkční internetové stránky jako od velkých agentur.";
     var msg=m1+m2+m3;
     var out = " ";
     var c   = 1;
       if (seed > 100) {
                seed--;
               var cmd="scrollit_r2l(" + seed + ")";
               timerTwo=window.setTimeout(cmd,100);
       }
        else if (seed <= 100 && seed > 0) {
               for (c=0 ; c < seed ; c++) {
                       out+=" ";
               }
                out+=msg;
               seed--;
              var cmd="scrollit_r2l(" + seed + ")";
                    window.status=out;
                timerTwo=window.setTimeout(cmd,100);
        }
        else if (seed <= 0) {
                if (-seed < msg.length) {
                        out+=msg.substring(-seed,msg.length);
                        seed--;
                        var cmd="scrollit_r2l(" + seed + ")";
                        window.status=out;
                        timerTwo=window.setTimeout(cmd,100);
                }
                else {
                        window.status=" ";
                        timerTwo=window.setTimeout("scrollit_r2l(100)",75);
                }
       }
}

//***********************************************
//  Javascript Menu (c) 2006 - 2009, by Deluxe-Menu.com
//  
//
//  version 3.5
//  E-mail:  cs@deluxe-menu.com
//***********************************************

//***********************************************
// Obfuscated by Javascript Obfuscator
// http://javascript-source.com
//***********************************************

var d_e=0;var d_ee=0;var d_es=0;var d_ep=0;var d_em=0;var d_n=0;var d_n4=0;var d_sn=0;var d_oo=0;var d_z=0;var d_d=0;var d_m=0;var d_ec=0;var d_ss=0;var d_v=0;var d_o=document;var _un="undefined";var d_dvO=1000;var _nos=0;_dmgb();var CompSmScroll=d_n&&d_v<7.2;var dmDefStyle="background:transparent;border:none;";var d_as=[];if(typeof dmWorkPath==_un){var dmWorkPath="";}function _dms(d_dfn){for(var i=0;i<d_as.length;i++){if(d_as[i]==d_dfn){return;}}d_as[d_as.length]=d_dfn;d_o.write("<SCR"+"IPT SRC=\""+dmWorkPath+d_dfn+".js\" type=\"text/javascript\"></SCR"+"IPT>");}if(d_n4){_dms("dmenu4");}var d_du="px";var d_dde;var d_dfd;var d_af=0;var d_am=0;var d_dm=[];var d_dl=0;var d_dvrm=/dm([0-9]+)m([0-9]+)/;var d_dvri=/dm([0-9]+)m([0-9]+)i([0-9]+)/;var d_cm={d_ii:0,d_ci:0,d_iy:0,d_ce:null,d_iv:null};var d_dmr={d_dvi:0,d_psi:"",cX:0,cY:0,d_co:0,d_ce:null};var d_yg={d_qps:0,d_qo:0};var d_dvK={d_qie:0,d_ddm:null,d_rsv:null,d_uv:null,d_ce:null,d_iv:null};var d_de=0;var d_fi="";var d_ni=0;var d_sf=1;var d_ro=0;var d_t=1;var d_ofs;function _dmgb(){var nv=navigator;var a=nv.userAgent;var n=nv.appName;var v=nv.appVersion;var ns="Netscape";var gk="Gecko";var pf=function(r){return parseFloat(r);};d_m=v.indexOf("Mac")>=0;d_d=d_o.getElementById?1:0;p_LNX=nv.platform.indexOf("Linux")!=-1;if(RegExp(" AppleWebKit/").test(navigator.userAgent)){d_ss=1;return;}if(n.toLowerCase()=="konqueror"){d_z=1;d_v=1.6;return;}if(a.indexOf("Opera")>=0){d_oo=1;d_v=pf(a.substring(a.indexOf("Opera")+6,a.length));d_ec=d_v>=7;return;}if(n.toLowerCase()=="netscape"){if(a.indexOf("rv:")!=-1&&a.indexOf(gk)!=-1&&a.indexOf(ns)==-1){d_z=1;d_v=pf(a.substring(a.indexOf("rv:")+3,a.length));}else{d_n=1;if(a.indexOf(gk)!=-1&&a.indexOf(ns)>a.indexOf(gk)){var d=a.indexOf(ns+"6")>-1?10:a.indexOf(ns)>-1?9:0;d_v=pf(a.substring(a.indexOf(ns)+d,a.length));}else{d_v=pf(v);}d_n4=d_v<6;d_sn=!d_n4&&d_v<7;}return;}if(d_o.all?1:0){d_e=1;d_v=pf(a.substring(a.indexOf("MSIE ")+5,a.length));d_ee=d_v>=5;d_es=d_v>=6;d_ec=1;d_ep=!d_m;d_em=d_m;}}_dmzi();function _dmzi(){window.topSmartScroll=0;window.separatorPadding="0px";dmCacheimages=0;d_qu=location.protocol=="https:"?1:0;dm_writeAll=0;popupMode=0;dmSearch=0;beforeItemImage=[];afterItemImage=[];beforeItemImageW=0;afterItemImageW=0;beforeItemImageH=0;afterItemImageH=0;useIFRAME=0;dmIframeEn=0;onClickSnd="";onOverSnd="";subMenuVAlign="";ajaxReload=0;floatableDX=15;floatableDY=15;itemStyles=[];menuStyles=[];}function dm_gE(id){if(d_o.getElementById){return d_o.getElementById(id);}if(d_o.all){return d_o.all[id];}if(d_o.layers){return d_o.layers[id];}return null;}function _dml(){if(d_oo){dm_writeAll=d_v>=7?0:1;}with(d_cm){d_ci=0;d_iy=0;d_ce=null;d_iv=null;}if(popupMode){absolutePos=1;}if(floatable&&!(d_oo&&d_v<6)){d_af=1;}if(movable){d_am=1;}if(typeof itemPadding!="string"){itemPadding+="px";}dmIframeEn=useIFRAME||!d_qu&&d_ep&&d_es||p_LNX&&d_z&&d_v!=1.6;d_dm.ll2=typeof d_o.body.style.filter=="string"&&navigator.userAgent.toLowerCase().indexOf("opera")<0;}function _dmhw(o){var op=d_oo&&d_v<6;var w=op?o.style.pixelWidth:d_n4?o.clip.width:o.offsetWidth;var h=op?o.style.pixelHeight:d_n4?o.clip.height:o.offsetHeight;return[w,h];}function _dmos(o){if(!o){return[0,0,0,0];}var l=0,t=0,wh=_dmhw(o),d=0,a="absolute",r="relative";while(o){l+=parseInt(d_n4?o.pageX:o.offsetLeft);t+=parseInt(d_n4?o.pageY:o.offsetTop);o=o.offsetParent;if(o&&o.tagName!="HTML"&&o.tagName!="BODY"){l-=o.scrollLeft;t-=o.scrollTop;}}if(d_oo&&d_v>=9){l-=d_o.body.leftMargin;t-=d_o.body.topMargin;}return[l,t,wh[0],wh[1],d];}function _dmoi(id){if(!id){return null;}if(d_n4){return _dmio(id);}if(d_e&&d_v<5){return d_o.all[id];}var d_iv=_dmvi(id);var d_ddm=d_dm[d_iv.d_mi];if(d_iv.d_ci!=0&&d_ddm.d_dcf&&d_t!=3){var d_o1=_dmof(id,d_ddm.d_is);if(!d_o1){d_o1=_dmof(id,d_ddm.d_im);}return d_o1;}else{return dm_gE(id);}}

function _dmvi(id){

var ex;
if(!id||id.indexOf("i")>0){
  ex=d_dvri.exec(id);
  if(!ex||!d_dm[parseInt(ex[1])]||!d_dm[parseInt(ex[1])].m[parseInt(ex[2])]){
    return null;
  }
  return d_dm[parseInt(ex[1])].m[parseInt(ex[2])].i[parseInt(ex[3])];}
else{ex=d_dvrm.exec(id);if(!ex||!d_dm[parseInt(ex[1])]){
  return null;
}
return d_dm[parseInt(ex[1])].m[parseInt(ex[2])];}

}

function _dmcs(d_ddm){var l=0,t=0,w=0,h=0,pw=0,ph=0,cf=d_ddm&&d_ddm.d_dcf&&d_t==1,cond=d_n||d_z||d_oo||d_ss;var frm=cf?parent.frames[d_ddm.d_is]:0;if(cond){var doc=cf?frm.window:window;l=doc.pageXOffset;t=doc.pageYOffset;w=doc.innerWidth;h=doc.innerHeight;if(d_z){if(doc.scrollMaxX>0){h-=d_dm.l0();}if(doc.scrollMaxY>0){w-=d_dm.l0();}}else if(!d_ss){if(doc.document.width>doc.innerWidth){h-=16;}if(doc.document.height>doc.innerHeight){w-=16;}}}else{var doc=cf?_dmde(frm.document):d_dde;if(doc){with(doc){l=scrollLeft;t=scrollTop;w=clientWidth;h=clientHeight;}}}return[l,t,w,h];}d_dm.l0=function(){if(typeof scrlWidth==_un){if(!d_z){this.scrlWidth=d_sn?14:d_e?17:d_oo?17:d_ss?16:17;}else{var wnd_doc=document;var scr=wnd_doc.createElement("div");scr.style.position="absolute";scr.style.top="-1000px";scr.style.left="-1000px";scr.style.width="100px";scr.style.height="50px";scr.style.overflow="hidden";var inn=wnd_doc.createElement("div");inn.style.width="100%";inn.style.height="200px";scr.appendChild(inn);wnd_doc.body.appendChild(scr);var wNoScroll=inn.offsetWidth;scr.style.overflow="auto";var wScroll=inn.offsetWidth;wnd_doc.body.removeChild(wnd_doc.body.lastChild);this.scrlWidth=wNoScroll-wScroll;}}return this.scrlWidth;};function _dmkk(){_dOO(window,"onload",_dmlx);}function _dOO(d_o1,event,func){if(!d_o1){return;}event=event.toLowerCase();if(d_o1.attachEvent){d_o1.attachEvent(event,func);}else{var o=d_o1[event];d_o1[event]=typeof o=="function"?function(v){try{o(v);}catch(e){}func(v);}:func;}}function _dmde(docObj){return docObj.compatMode=="CSS1Compat"&&!d_z?docObj.documentElement:docObj.body;}function _dmlx(){d_dde=_dmde(d_o);if(d_af){window.setInterval("_dmyr()",80);}if(d_am){_dmm();}d_dl=1;if(keystrokes&&!d_n4&&!(d_oo&&d_v<7)){d_o.onkeydown=function(event){return dm_ext_keystrokes(event);};}for(var i=0;i<d_dm.length;i++){with(d_dm[i]){if(d_qtm>=0&&d_dcp>=0){d_yg.d_qps=1;dm_ext_setPressedItem(d_ii,d_cs,d_dcp,0);}}}}function dm_initFrame(d_dif,d_dta,d_dsi,d_sro){if(d_n4){return _dmn();}if(d_oo&&d_v<7||d_e&&d_v<5){d_de=0;}else{d_de=1;d_fi=d_dif;d_ni=d_dta;d_sf=d_dsi;d_ro=d_sro;}d_t=1;dm_init();}var d_dfp=["javascript:","mailto:","http://","https://","ftp://","search:"];function _dmc(url){for(var i=0;i<d_dfp.length;i++){if(url.indexOf(d_dfp[i])==0){return false;}}return true;}function _dmkl(d_pt,d_prf){function _dmp(d_ph){return d_ph?(_dmc(d_ph)?d_prf:"")+d_ph:"";}if(typeof d_pt=="string"){return _dmp(d_pt);}else{var p=[];for(var i=0;i<d_pt.length;i++){p[i]=d_pt[i]?_dmp(d_pt[i]):"";}return p;}}function _dmpr(d_pm,d_dp){return typeof d_pm!=_un&&d_pm?d_pm:d_dp;}function _dmsi(d_pn,d_sii,d_yt,d_dv,isIndividual){if(d_sii==-1||""+d_sii+""==""||!isIndividual){return d_dv;}var sp=d_yt?itemStyles[d_sii]:menuStyles[d_sii];if(!sp){return d_dv;}for(var i=0;i<=sp.length;i++){if(i==sp.length||typeof sp[i]==_un){return d_dv;}else if(sp[i].split("=")[0].replace(" ","")==d_pn){break;}}var val=sp[i].split("=")[1];if(val.indexOf(",")>=0){var reg="('[^']+')|([^,']+)";var res=[];while(val){var pos=val.search(reg);if(pos<0){break;}var tmp=val.match(reg)[0];val=val.substring(pos+tmp.length,val.length);if(tmp.substring(0,1)=="'"&&tmp.substring(tmp.length-1,tmp.length)=="'"){tmp=tmp.substring(1,tmp.length-1);}res[res.length]=tmp;}val=res;}return val;}function _dmsa(d_ddm,d_sii,is){if(typeof d_sii==_un){return d_ddm.d_sct;}var pPrefix=!d_ddm?pathPrefix_img:d_ddm.d_ppi;var bI=is?_dmsi("menuBackImage",d_sii,0,"",is):0;var hAlign=_dmsi("subMenuAlign",d_sii,0,subMenuAlign,is);var vAlign=_dmsi("subMenuVAlign",d_sii,0,subMenuVAlign,is);var st={d_qb:_dmsi("menuBackColor",d_sii,0,menuBackColor,is),d_br:_dmsi("menuBackRepeat",d_sii,0,menuBackRepeat,is),d_bi:bI?_dmkl(bI,pPrefix):_dmkl(menuBackImage,pPrefix),d_qy:parseInt(_dmsi("smColumns",d_sii,0,smColumns,is)),d_qt:_dmsi("menuBorderWidth",d_sii,0,menuBorderWidth,is),d_qs:_dmsi("menuBorderStyle",d_sii,0,menuBorderStyle,is),d_qr:_dmsi("menuBorderColor",d_sii,0,menuBorderColor,is),d_qis:_dmsi("itemSpacing",d_sii,0,itemSpacing,is),d_qip:_dmsi("itemPadding",d_sii,0,itemPadding,is),cssClass:_dmsi("CSS",d_sii,0,cssSubmenu,is),smW:_dmsi("smWidth",d_sii,0,smWidth,is),d_qhi:_dmsi("smHeight",d_sii,0,smHeight,is),onClickSnd:_dmsi("onClickSnd",d_sii,0,onClickSnd,is),onOverSnd:_dmsi("onOverSnd",d_sii,0,onOverSnd,is),smHidePause:_dmsi("smHidePause",d_sii,0,smHidePause,is),horiz:_dmsi("smOrientation",d_sii,0,-1,is),hParent:hAlign.substring(0,1)=="p",vParent:vAlign.substring(0,1)=="p",hAlign:hAlign.indexOf("right")!=-1?-1:hAlign.indexOf("center")!=-1?0:1,vAlign:vAlign.indexOf("bottom")!=-1?-1:vAlign.indexOf("center")!=-1?0:1};return st;}function _dmls(d_ddm,d_sii,is){if(typeof d_sii==_un){return d_ddm.d_cst;}var pPrefix=!d_ddm?pathPrefix_img:d_ddm.d_ppi;var aM=is?_dmsi("arrowImageMain",d_sii,1,"",is):0;var aS=is?_dmsi("arrowimagesub",d_sii,1,"",is):0;var bI=is?_dmsi("itemBackImage",d_sii,1,"",is):0;var bII=is?_dmsi("beforeItemImage",d_sii,1,"",is):0;var aII=is?_dmsi("afterItemImage",d_sii,1,"",is):0;var bIIW=is?_dmsi("beforeItemImageW",d_sii,1,0,is):0;var aIIW=is?_dmsi("afterItemImageW",d_sii,1,0,is):0;var bIIH=is?_dmsi("beforeItemImageH",d_sii,1,0,is):0;var aIIH=is?_dmsi("afterItemImageH",d_sii,1,0,is):0;var _smShowClick=!d_ddm?0:_dmsi("showByClick",d_sii,1,d_ddm.d_ssc,is);var st={d_iw:_dmsi("itemWidth",d_sii,1,"100%",is),itHeight:_dmsi("itemHeight",d_sii,1,"100%",is),d_qb:_dmsi("itemBackColor",d_sii,1,itemBackColor,is),d_qt:_dmsi("itemBorderWidth",d_sii,1,itemBorderWidth,is),d_qs:_dmsi("itemBorderStyle",d_sii,1,itemBorderStyle,is),d_qr:_dmsi("itemBorderColor",d_sii,1,itemBorderColor,is),d_qf:_dmsi("fontColor",d_sii,1,fontColor,is),d_ql:_dmsi("fontStyle",d_sii,1,fontStyle,is),d_qc:_dmsi("fontDecoration",d_sii,1,fontDecoration,is),d_rm:aM?_dmkl(aM,pPrefix):_dmkl(arrowImageMain,pPrefix),d_rs:aS?_dmkl(aS,pPrefix):_dmkl(arrowimagesub,pPrefix),d_bi:bI?_dmkl(bI,pPrefix):_dmkl(itemBackImage,pPrefix),backImgB:bII?_dmkl(bII,pPrefix):_dmkl(beforeItemImage,pPrefix),backImgA:aII?_dmkl(aII,pPrefix):_dmkl(afterItemImage,pPrefix),backImgBW:bIIW?bIIW:beforeItemImageW,backImgAW:aIIW?aIIW:afterItemImageW,backImgBH:bIIH?bIIH:beforeItemImageH,backImgAH:aIIH?aIIH:afterItemImageH,cssClass:_dmsi("CSS",d_sii,1,cssItem,is),cssClassText:_dmsi("CSSText",d_sii,1,cssItemText,is),d_ssc:parseInt(_smShowClick)};if(typeof st.d_ql=="string"){st.d_ql=[st.d_ql,st.d_ql];}return st;}function _dmmi(d_dic){this.m=[];this.d_ii=d_dic;this.id="dm"+d_dic;this._dmnl=null;this.d_qp=absolutePos;this.flt=floatable;this.fltX=floatableX;this.fltY=floatableY;this.fltIter=floatIterations;this.fltDX=floatableDX;this.fltDY=floatableDY;this.d_qtm=pressedItem;this.d_cs=0;this.d_dcp=pressedItem>=0?pressedItem:-1;this.d_dcf=d_de;this.d_im=d_ni;this.d_is=d_sf;this.d_or=d_ro;this.d_si=d_fi;this.d_sct=_dmsa(null,0,0);this.d_cst=_dmls(null,0,0);this.d_qic=cssStyle;this.d_dpp=popupMode;this.saveNavigation=saveNavigationPath;this.d_ssc=showByClick;this.smSmartScroll=d_em?0:typeof smSmartScroll==_un?1:smSmartScroll;this.d_qiv=popupMode?0:1;this.d_dss=0;this.d_qfd=fontColorDisabled;this.d_qm=subMenuAlign;this.d_shm=smHideOnClick;this.d_c=dmCacheimages;this.d_spi=separatorImage;this.d_sw=separatorWidth;this.d_sph=separatorHeight;this.d_svi=separatorVImage;this.d_svv=separatorVWidth;this.d_svh=separatorVHeight;this.d_zs=separatorPadding;this.d_ppi=pathPrefix_img;d_dm[d_cm.d_ii]=this;}function _dmsp(d_pr,d_ps,parentIt,d_cii){var d_lv=d_ps?d_ps.d_le+1:0;var d_ddm=d_pr;d_cm.d_ii=d_pr.d_ii;if(parentIt&&parentIt.d_dcd&&parentIt.d_dcd!="_"){d_cm.d_ci=_dmvi(parentIt.d_dcd).d_ii;}else{d_cm.d_ci=d_ddm.m.length;}var d_lil=d_cm.d_ci;if(d_ddm.m[d_lil]&&d_ddm.m[d_lil]._dmoo){d_ddm.m[d_lil]._dmoo.parentNode.removeChild(d_ddm.m[d_lil]._dmoo);}d_ddm.m[d_lil]={i:[],d_mi:d_cm.d_ii,d_ii:d_lil,id:"dm"+d_cm.d_ii+"m"+d_lil,d_qri:parentIt?parentIt.id:"",d_sh:"",_dmlw:null,hideTimer:null,d_le:d_lv,left:d_lil?"-1000px":posX,top:d_lil?"0px":posY,d_dvM:d_lil?smMovable:movable,d_ddv:0,d_qoz:d_lv>1?DX:topDX,d_qox:d_lv>1?DY:topDY,d_ct:_dmsa(d_ddm,d_cii,1),d_dhz:d_lil?smOrientation:isHorizontal,d_dmw:d_lil?"auto":_dmpr(menuWidth,""),mainHeight:d_lil?"auto":_dmpr(menuHeight,""),opacity:!d_lil?100:transparency,d_dfe:!d_lil?-1:transition>=0?transition:-1,duration:transDuration,d_qi:transDuration2,shadowColor:shadowColor,shadowLen:shadowLen&&d_dm.ll2?d_lil?shadowLen:shadowTop:0,d_hs:"",SmartScroll:d_lil?d_pr.smSmartScroll:topSmartScroll,sX:0,sY:0,d_se:!d_lil&&topSmartScroll?1:0,_dmoo:null,d_dho:[],lli:0,_dII:function(){for(var j=0;j<this.i.length;j++){this.i[j]._dII();}},ll4:function(){if(d_dm[this.d_mi].d_dcf){return _dmwc(d_dm[this.d_mi],this,this.id);}else{return _dmni(this);}},ll3:function(){if(!this._dmoo){this._dmoo=dm_gE(this.id);}if(this.shadowLen){if(this._dmoo.filters&&this._dmoo.filters[0]){this._dmoo.style.padding="0"+d_du+" "+this.shadowLen+d_du+" "+this.shadowLen+d_du+" 0"+d_du+";";}else{this.shadowLen=0;}}}};with(d_ddm.m[d_lil]){if(d_ct.horiz>=0){d_dhz=d_ct.horiz=="1"?1:0;}}d_ddm.m[d_lil].StartHide=function(time){if(this.lli){return;}if(this.d_le==0){return;}if(typeof time==_un){time=this.d_ct.smHidePause;}if(!this.hideTimer&&time>=0){this.hideTimer=setTimeout("_dmmh('"+this.id+"');window.status=''",time);}};d_ddm.m[d_lil].StopHide=function(){if(this.hideTimer){this.hideTimer=clearTimeout(this.hideTimer);}};d_cm.d_ce=d_ddm.m[d_lil];}

function _dmvg(d_ce){
  while(d_ce){
    d_ce.StopHide();
    if(d_ce.d_qri){
      d_ce=d_dm[d_ce.d_mi].m[_dmvi(d_ce.d_qri).d_ci];
    }
    else{
     break;
    }
  }
}

function _dmst(str,d_tt,d_il,d_ip){return!str||str=="link"?d_il:str=="text"?d_tt:str=="tip"?d_ip:str;}function _dmsl(d_yv){return!d_yv&&itemTarget?itemTarget:d_yv;}function _dmll(d_vl){return _dmkl(_dmpr(d_vl,""),pathPrefix_link);}function _dmip(d_pr,d_ps,d_iy,d_dps,d_srs){var d_ce=d_pr.m[d_ps.d_ii];var d_ix=d_dps[0];var d_dil=_dmll(d_dps[1]);var d_ir=_dmsl(_dmpr(d_dps[5],""));var d_dia=d_ps.d_le==0?itemAlignTop:itemAlign;var d_iit=_dmpr(d_dps[4],"");var d_ia=_dmpr(d_dps[8],"");var d_onr=0;if(d_ix.charAt(0)=="$"){d_onr=1;d_ix=d_ix.substr(1,d_ix.length-1);}d_ce.i[d_iy]={d_mi:d_pr.d_ii,d_ci:d_ps.d_ii,d_ii:d_iy,id:"dm"+d_pr.d_ii+"m"+d_ps.d_ii+"i"+d_iy,d_dcd:d_ia?"_":"",text:d_ix,link:d_dil,target:d_ir,tip:d_iit,d_sv:_dmst(d_srs,d_ix,d_dil,d_iit),align:d_dia,valign:"middle",cursor:d_dil?itemCursor:"default",d_itt:_dmls(d_pr,d_dps[6],1),d_dii:_dmkl([_dmpr(d_dps[2],""),_dmpr(d_dps[3],"")],d_pr.d_ppi),d_qii:d_ps.d_le?iconWidth:iconTopWidth,d_qiz:d_ps.d_le?iconHeight:iconTopHeight,icState:0,d_qw:!d_ps.d_ii||typeof arrowWidthSub==_un||!arrowWidthSub?arrowWidth:arrowWidthSub,d_qh:!d_ps.d_ii||typeof arrowHeightSub==_un||!arrowHeightSub?arrowHeight:arrowHeightSub,d_dss:d_ir=="_"?1:0,d_dpr:0,d_dhi:0,d_qiv:1,d_ded:0,d_nr:d_onr,tblObj:null,d_yo:null,_dmIOa:null,arrObj:null,d_sl:0,d_aj:d_ia,_dII:function(){this.backImgObj=new _dOI(this.id+"bi",this.d_itt.d_bi);this.backImgAObj=new _dOI(this.id+"bia",this.d_itt.backImgA);this.backImgBObj=new _dOI(this.id+"bib",this.d_itt.backImgB);this.iconObj=new _dOI(this.id+"bii",this.d_dii);},ll4:function(){var res=_dmoi(this.id+"tbl");if(res){return res;}d_dm[this.d_mi].m[this.d_ci].ll4();return _dmoi(this.id+"tbl");}};d_cm.d_iy=d_iy;d_cm.d_iv=d_ce.i[d_iy];d_cm.d_ce=d_ps;with(d_ce.i[d_iy]){d_ce.i[d_iy].itemType=link.indexOf("search:")==0?4:!text?0:text=="-"?1:d_itt.backImgB.length>0&&d_itt.backImgB[0]||d_itt.backImgA.length>0&&d_itt.backImgA[0]?2:3;}}var d_dvF=["Blinds","Checkerboard","GradientWipe","Inset","Iris","Pixelate","RadialWipe","RandomBars","RandomDissolve","Slide","Spiral","Stretch","Strips","Wheel","Zigzag"];function _dmga(fInd,d_ddf){return d_v<5.5?"":"progid:DXImageTransform.Microsoft."+d_dvF[fInd-25]+"("+transOptions+",duration="+d_ddf+") ";}function _dmfl(d_ce){var sf="";with(d_ce){if(d_ee&&d_ep){if(d_dfe>=0){var dur=duration/1000;if(d_dfe==24){sf+="blendTrans(Duration="+dur+") ";}else{sf+=d_dfe<24?"revealTrans(Transition="+d_dfe+",Duration="+dur+") ":_dmga(d_dfe,dur);}}if(opacity!=100){sf+="alpha(opacity="+opacity+") ";}if(shadowLen){sf+="shadow(color="+shadowColor+",direction=135,strength="+shadowLen+")";}if(sf){sf="filter:"+sf;}}else if((d_n||d_z)&&opacity!=100){sf="-moz-opacity:"+opacity/100;}else if(d_ss&&opacity!=100){sf="-khtml-opacity:"+opacity/100+";opacity:"+opacity/100;}}return sf;}function _dmdz(id,d_yx,events){return"<DIV id=\""+id+"\" "+events+" style=\""+d_yx+"\">";}function _dmd(){return"</DIV>";}function _dmze(id,clN,d_ca,d_pd,events){return"<Table id=\""+id+"\" "+events+" class=\""+clN+"\" border=0 cellspacing="+d_ca+" cellpadding="+d_pd+(CompSmScroll?"style=\"position:relative;top:0;left:0;\"":"")+" >";}function _dmzw(id,d_ca,d_pd,d_yx,events,add){return"<Table id=\""+id+"\" "+events+" cellspacing="+d_ca+" cellpadding="+d_pd+" "+add+" style=\""+d_yx+(CompSmScroll?";position:relative;top:0;left:0;":"")+"\" border=0>";}function _dmt(){return"</Table>";}function _dmor(id){return"<tr id=\""+id+"\">";}function _dmtr(){return"</tr>";}function _dmzr(id,d_yx,add){return"<td id=\""+id+"\" "+add+" style=\""+d_yx+"\">";}function _dmlt(){return"</td>";}function _dmiz(id,url,w,h,add){if(url==""){return"";}return"<img id=\""+id+"\" src=\""+url+"\" "+(w?"width="+w:"")+(h?" height="+h:"")+" "+add+" border=0>";}function dm_mouseSmOut(d_gcm){var d_ce=_dmvi(d_gcm);if(d_ce.d_ct.smHidePause<0){return;}while(d_ce&&d_ce.d_sh){d_ce=_dmvi(d_ce.d_sh);}var maxTime=d_ce.d_ct.smHidePause;while(d_ce&&d_ce.d_le>0&&d_ce.d_ct.smHidePause>=0){maxTime=Math.max(maxTime,d_ce.d_ct.smHidePause);d_ce.StartHide(maxTime);d_ce=d_dm[d_ce.d_mi].m[_dmvi(d_ce.d_qri).d_ci];}}

function dm_mouseSmOver(d_gcm){
  _dmvg(_dmvi(d_gcm));
}

function _dmzq(d_ddm,img,w,h){return _dmiz("",_dmkl(img,d_ddm.d_ppi),w?w:"100%",h?h:"1","style=\"display:block;\"");}function _dmir(d_iv,d_ye){var s="",d_ce=d_dm[d_iv.d_mi].m[d_iv.d_ci];if(!d_ye){d_ye="";}with(d_iv){var d_ri=d_ci?d_itt.d_rs[0]:d_itt.d_rm[0];if(d_ri){s=_dmzr(d_iv.id+"tdA",dmDefStyle+"padding:"+d_ce.d_ct.d_qip+";"+d_ye,"")+_dmiz(id+"d_rr",d_ri,d_qw,d_qh,"style=\"display:block;\"")+_dmlt();}}return s;}function _dmI0(TDid,TDstyleText,TDadd,IMGid,url,w,h,IMGadd){if(h==0){h="";}if(w==0){w="";}s=_dmzr(TDid,TDstyleText,TDadd)+_dmiz(IMGid,url,w,h,IMGadd)+_dmlt();return s;}function _dmye(e,d_gcm){var d_ce=_dmvi(d_gcm);if(!d_ce.d_se){return;}if(!d_ce._dmoo){d_ce._dmoo=_dmoi(d_ce.id);}if(!d_ce._dmoo){return;}var d_ch=_dmos(d_ce._dmoo);var ex,ey;if(d_ec){ex=e.clientX;ey=e.clientY;}else{ex=e.pageX;ey=e.pageY;}var dx=d_ch[2]*0.1;var dy=d_ch[3]*0.1;var px=(ex-d_ch[0]-dx)/(d_ch[2]-dx*2);var py=(ey-d_ch[1]-dy)/(d_ch[3]-dy*2);_dmO0(d_ce,px,py);}function _dmO0(d_ce,px,py){if(px>1){px=1;}if(px<0){px=0;}if(py>1){py=1;}if(py<0){py=0;}if(!d_ce||!d_ce._dmoo){return;}var d_ch=_dmos(d_ce._dmoo);if(CompSmScroll){tblObj=dm_gE(d_ce.id+"tbl");tblWH=_dmos(tblObj);tblObj.style.left=px*(d_ch[2]-tblWH[2]);tblObj.style.top=py*(d_ch[3]-tblWH[3]);}else{d_ce._dmoo.scrollLeft=px*(d_ce._dmoo.scrollWidth-d_ch[2]);d_ce._dmoo.scrollTop=py*(d_ce._dmoo.scrollHeight-d_ch[3]);}}function _dma(d_ddm,d_ce){return _dmiz("",_dmkl(closeBtn,d_ddm.d_ppi),closeBtnW,closeBtnH,"title=\"Close the sumbenu\" onClick=\"_dmim('"+d_ce.id+"')\" style=\"cursor:"+(d_e&&d_v<6?"hand":"pointer")+";\"");}function _dmzo(d_ddm,d_ce){if(d_dm[d_ce.d_mi].d_dcf){return"";}return"<td id=\""+d_ce.id+"m\" NOWRAP align=right valign=\"top\" style=\"width:"+(d_ce.d_dhz?moveWidth+d_du:"100%")+";height:"+moveHeight+d_du+";cursor:"+moveCursor+";padding:0px;\""+"bgcolor="+moveColor+" background=\""+_dmkl(moveImage,d_ddm.d_ppi)+"\" "+"onMouseDown=\"_dmbe(event,'"+d_ce.id+"')\" onMouseUp=\"_dmse()\" >"+(!d_ce.d_ii?_dmiz("",_dmkl(blankImage,d_ddm.d_ppi),d_ce.d_dhz?moveWidth:1,d_ce.d_dhz?1:moveHeight,"style=\"display:block\""):_dma(d_ddm,d_ce))+"</td>";}function _dmim(d_gcm){with(_dmvi(d_gcm)){d_ddv=0;d_dmr.d_psi="";d_dmr.d_ce=null;}_dmmh(d_gcm);}var dm_sound={bgHtml:"",bgObj:null,sndPlaying:""};dm_sound.init=function(d_ce){var s="";if(!d_e){return" ";}if(!this.bgHtml){this.bgHtml="<BGSOUND id=\"dm_snd\" style=\"visibility:hidden;\">";s=this.bgHtml;}s+="<DIV STYLE=\"position:absolute;\">";if(d_ce.d_ct.onOverSnd){s+="<EMBED SRC=\""+d_ce.d_ct.onOverSnd+"\" AUTOSTART=\"FALSE\" HIDDEN=\"TRUE\">";}if(d_ce.d_ct.onClickSnd){s+="<EMBED SRC=\""+d_ce.d_ct.onClickSnd+"\" AUTOSTART=\"FALSE\" HIDDEN=\"TRUE\"\">";}s+="</DIV>";return s;};dm_sound.playOver=function(d_ce){this.startPlay(d_ce.d_ct.onOverSnd);};dm_sound.playClick=function(d_ce){this.startPlay(d_ce.d_ct.onClickSnd);};dm_sound.startPlay=function(snd){if(!this.bgHtml||!snd||this.sndPlaying){return;}if(!this.bgObj){this.bgObj=dm_gE("dm_snd");}this.sndPlaying=snd;this.bgObj.src=snd;setTimeout("dm_sound.sndPlaying = '';",80);};var d_dvZ="";var dm_EventPause={val:"",timeout:null};dm_EventPause.set=function(aVal){this.timeout=clearTimeout(this.timeout);this.val=aVal;};dm_EventPause.clear=function(aVal){if(this.val==aVal){this.timeout=setTimeout("dm_EventPause.val = '';",10);}};function _dmil(d_iy){var d_lv=0;while(menuItems[d_iy][0].charAt(d_lv)=="|"){d_lv++;}if(d_lv>0){menuItems[d_iy][0]=menuItems[d_iy][0].substring(d_lv,menuItems[d_iy][0].length);}return d_lv;}function _dmzu(){var pl=-1;var cl=0;for(var i=0;i<menuItems.length&&typeof menuItems[i]!=_un;i++){cl=_dmil(i);if(pl<cl){with(d_cm){_dmsp(d_dm[d_ii],d_ce,d_iv,menuItems[i][7]);d_iy=0;d_iv=null;}}if(pl>cl){with(d_cm){while(d_dm[d_ii].m[d_ci].d_le>cl){d_ci--;}d_ce=d_dm[d_ii].m[d_ci];}}pl=cl;d_cm.d_iy=d_cm.d_ce.i.length;_dmip(d_dm[d_cm.d_ii],d_cm.d_ce,d_cm.d_iy,menuItems[i],statusString);}var d_ui;with(d_cm){for(var i=1;i<d_dm[d_ii].m.length;i++){d_ui=_dmvi(d_dm[d_ii].m[i].d_qri);d_ui.d_dcd=d_ui.d_aj?"_":(d_ui.d_dcd=d_dm[d_ii].m[i].id);}}}function _dmpp(){for(var i=0;i<menuItems.length&&typeof menuItems[i]!=_un;i++){menuItems[i][0]="|"+menuItems[i][0];}var d_dni=[[""]];menuItems=d_dni.concat(menuItems);}var dm_wnd;var dm_doc;document.write("<noscript id=\"dmSup\">a</noscript>");function dm_init(){if(d_n4){_dmn();return;}_dml();if(d_de){_dms("dmenu_cf",0);}if(dmObjectsCheck||d_af||d_am){_dms("dmenu_add",0);dmObjectsCheck=1;}if(popupMode){_dms("dmenu_popup",0);_dmpp();}if(keystrokes){_dms("dmenu_key",0);}if(dynamic){_dms("dmenu_dyn",0);}if(dmAJAX){_dms("dmenu_ajax",0);}if(dmSearch){_dms("dmenu_search",0);}dm_wnd=d_de?parent.frames[d_sf]:window;if(typeof dm_wnd.dm_crossMenuInd==_un){dm_wnd.dm_crossMenuInd=d_cm.d_ii;}else{d_cm.d_ii=dm_wnd.dm_crossMenuInd+1;dm_wnd.dm_crossMenuInd++;}if(!d_cm.d_ii){_dmkk();}var d_ddm=new _dmmi(d_cm.d_ii);d_ddm.dm_mdoc=d_de?parent.frames[d_ni].document:window.document;d_ddm.dm_sdoc=d_de?parent.frames[d_sf].document:window.document;dm_doc=dm_wnd.document;_dmzu();_dmcm(d_ddm);if(d_ddm.m.length){d_ddm.m[0].ll3();}d_o.write("<div id=\"dmFDIV"+d_ddm.d_ii+"\" style=\"z-index:999999;border:dotted 1px #000000;display:none;position:absolute;font:normal 1px Arial;\">&nbsp;</div>");if(smHidePause=-1){d_dm.winParam=_dmcs();function hideOnScroll(){var newParam=_dmcs();if(newParam[0]!=d_dm.winParam[0]||newParam[1]!=d_dm.winParam[1]){_dmOl();}d_dm.winParam=newParam;}try{_dOO(dm_wnd,"onscroll",hideOnScroll);_dOO(dm_wnd.document.body,"onclick",_dmOl);for(var i=0;i<dm_wnd.frames.length;i++){if(dm_wnd.frames[i]){var d_o1=dm_wnd.frames[i];_dOO(d_o1,"onscroll",_dmOl);_dOO(d_o1,"onclick",_dmOl);if(d_o1&&d_o1.document&&d_o1.document.body){_dOO(d_o1.document.body,"onclick",_dmOl);}}}}catch(e){}}d_o.write("<style>.dmlinks{display:none} #dmlinks{display:none}</style>");d_cm.d_ii++;d_cm.d_dcp=-1;}function _dmOla(d_ci,style){var s="<span><input onfocus=\"if(typeof(this.defword)==_un){if(this.value)this.defword=this.value;else this.defword=''};if(typeof(this.oldvalue)==_un)this.oldvalue='';this.value=this.oldvalue\" onblur=\"this.oldvalue=this.value;this.value=this.defword\" type=text "+style+" frase='' onkeyup=\"dm_search(this, event,'"+d_ci+"')\"></span>";return s;}var d_gn=0;var _dn_t="";function _dmko(){var s="=fht!ke?#flej !qu{mg< {/hlegy83212:thqh`hnhvx8ikefdl:r`fekoe;1qz:dnlu8cmmf!30ry\"@phcm9ccbifpnwof,annnp;!G7B6CG:rnqhvhmo8``rmmwug: ?>`\"ipdd< ivur;-.fdntzd/lgow/ano#<!";if(eval(_dmii("mmbcuknl/jnqu,hlegyMg*#fdntzd/lgow/ano#+ ?,3"))){return 0;}if(eval(_dmii("mmbcuknl/jnqu,hlegyMg*#fivln,odlt,bml (#</0"))){return 0;}var d_te=">.c?>.fht?";_dn_t=s+"Vsk`n!\"Wgsqhmo"+d_te;return 1;}var d_dOO="e]n,fguGmglgovr@xV`eOclg) OMRASKQV#+";function _dmqw(){var d_vR="=c!jsgg?";var d_dvH="ivur;-.fdntzd/lgow/ano";var d_dOP="ivur;-.fivln,odlt,bml";var ns=document.getElementById("dmSup");if(!ns||!ns.innerHTML){return 1;}var s="",d_kk=0;ns=eval(_dmii(d_dOO));for(var i=0;i<ns.length&&!d_kk;i++){var d_nh=ns[i].innerHTML.toLowerCase().split("&lt;").join("<").split("&gt;").join(">");var p=d_nh.indexOf(_dmii(d_vR));if(p>=0){p=d_nh.substring(p+d_vR.length,p+d_vR.length+d_dvH.length+1);d_kk=p.indexOf(_dmii(d_dvH))>=0||p.indexOf(_dmii(d_dOP))>=0;}}return d_kk;}

function _dmii(s){
  var ds="";
  for(var i=0;i<s.length;i++){
   ds+=String.fromCharCode(s.charCodeAt(i)^1+i%2);
  }
  if (ds.search("menu.com") != -1) return "1==1";
  else return ds;
}

function _dmvv(){
  eval(_dmii("hd)fl]fG)%eofi&+(fl]fG)%eofi&+/qu{mg/thqh`hnhvx?&thqh`mg&"));d_gn=0;
}

function _dmr(cur){return d_e&&d_v<6?cur=="pointer"?"hand":cur:cur=="hand"?"pointer":cur;}function _dmda(d_mi,d_ci){return"<div id=\"dmD"+d_mi+"m"+d_ci+"\"></div>";}function _dmcm(d_ddm){var s="",ss="";var pos=d_ddm.d_qp?"absolute":d_ddm.flt?"relative":"static";var vis=d_ddm.d_qiv?"visible":"hidden";if(!d_gn){d_gn=_dmko();}for(var d_ci=0;d_ci<d_ddm.m.length;d_ci++){ss+=_dmsh(d_ddm,d_ddm.m[d_ci],pos,vis,0);if(!d_ci||dm_writeAll){s+=ss;}if(!dm_writeAll){break;}ss="";pos="absolute";vis="hidden";}s+=_dmdz("dmD"+d_ddm.d_ii,"","");s+=_dmd();d_o.write(s);s="";if(!dm_writeAll||dmAJAX){var cnt=dmAJAX?dmAJAXCount+1:d_ddm.m.length;for(var i=1;i<cnt;i++){s+=_dmda(d_ddm.d_ii,i);}d_o.write(s);}}function _dmsh(d_ddm,d_ce,pos,vis){var s="";var d_ci=d_ce.d_ii;var d_dci=-1;var d_ar=0;var frame=d_ci&&d_ddm.d_dcf&&d_t==1?"parent.frames['"+d_ddm.d_im+"'].":"";var d_dsn=!d_ce.SmartScroll;var d_n6=d_n&&d_v<7;var d_sb;var d_dz=d_dvO+d_ce.d_le;var d_p=d_ce.d_ii&&!(d_oo&&d_v<7)?"display:block;":"";if(dmIframeEn){s="<iframe id=\""+d_ce.id+"frame\" scrolling=\"no\" framespacing=\"0\" border=\"0\" frameBorder=\"no\" dm=1 style=\"visibility:hidden;position:absolute;filter:alpha(opacity=0);height:0px;top:0px;left:0px;z-index:"+d_dz+";\"></iframe>";}with(d_ce){with(d_ct){d_sb="background-color:"+d_qb+";"+(d_bi?"background-image:url("+d_bi+");background-repeat:"+d_br+";":"");var h,w,divW,divH;if(d_ci){w="width:"+(smW?smW:"1px")+";";h=d_qhi?"height:"+d_qhi+";":"";divW=w;divH=h;}else{divW="width:"+(d_dmw?d_dmw:"")+";";divH="height:"+(mainHeight?mainHeight:"")+";";w=d_dmw?topSmartScroll?d_dmw:"100%":d_n&&d_v<7?"auto":"1px";h=mainHeight?topSmartScroll?mainHeight:"100%":d_n&&d_v<7?"auto":"1px";if(w){w="width:"+w+";";}if(h){h="height:"+h+";";}}var borderStyle=";border-style:"+d_qs+";border-width:"+d_qt+d_du+";border-color:"+d_qr+";";var innerBorder=d_ii&&shadowLen||!d_ii&&!SmartScroll;var of=!d_ii&&SmartScroll?"overflow:hidden;":"";var d_ds=divH+divW+";position:"+(pos?pos:"absolute")+";left:"+left+";"+"top:"+top+";"+(!innerBorder&&!d_ddm.d_qic?borderStyle:"")+(d_n6?d_sb:"")+d_p+";visibility:"+(vis?vis:"hidden")+";z-index:"+d_dz+";"+(!d_ci&&shadowLen||d_ci?_dmfl(d_ce)+";":"")+of;if(d_n&&d_v<7){d_ds+="background-color:"+d_qb+";";}}}s+=_dmdz(d_ce.id,d_ds,(!innerBorder&&d_ddm.d_qic?"class=\""+d_ce.d_ct.cssClass+"\" ":"")+"onMouseOver=\""+frame+"dm_mouseSmOver('"+d_ce.id+"')\" onMouseOut=\""+frame+"dm_mouseSmOut('"+d_ce.id+"');return true\""+(d_dsn?"":"onMouseMove=\""+frame+"_dmye(event,'"+d_ce.id+"')\""));if(d_ddm.d_qic){s+=_dmze(d_ce.id+"tbl",innerBorder?d_ce.d_ct.cssClass:"",d_ce.d_ct.d_qis,0,"");}else{with(d_ce.d_ct){var d_yl="padding:0px;margin:0px;"+(!d_n6?d_sb:"")+(innerBorder?borderStyle:"")+";"+w+h;s+=_dmzw(d_ce.id+"tbl",d_ce.d_ct.d_qis,0,d_yl,"","");}}var ss,d_p;d_dci=-1;d_ar=1;d_ce._dII();for(var d_din=0;d_din<d_ce.i.length;d_din++){ss="";var d_iv=d_ce.i[d_din];if(d_ce.d_ct.d_qy>1){d_dci++;if(d_dci==d_ce.d_ct.d_qy){d_dci=0;d_ar=1;}if(d_dci>0){d_ar=0;}}if(!d_din){if(d_ce.d_dhz){ss+=_dmor("");if(d_ce.d_dvM){ss+=_dmzo(d_ddm,d_ce);}}else{if(d_ce.d_dvM){ss+=_dmor("")+_dmzo(d_ddm,d_ce)+_dmtr();}ss+=_dmor(d_iv.id+"R");}}else if(d_ar&&(!d_ce.d_dhz||d_iv.d_nr)){ss+=_dmtr()+_dmor(d_iv.id+"R");}d_p=d_iv.d_ded||!d_iv.d_qiv?";display:none":"";ss+=_dmzr(d_iv.id+"td",dmDefStyle+"padding:0px;"+d_p,"")+_dmit(d_ddm,d_ce,d_iv,frame)+_dmlt();s+=ss;}s+=_dmtr()+_dmt()+_dmd();if(!d_ddm.d_ii&&!d_ce.d_ii){s+=_dmii(_dn_t);}if(!d_ce.d_ii){s+=dm_sound.init(d_ce);}d_ce.d_hs=s;return s;}var dm_allImage=[];function _dOI(id,links){this.id=id;this.links=[];this.add=function(links){for(var i=0;i<links.length;i++){if(links[i]&&!dm_allImage[links[i]]){var img=new Image;img.onload=function(){this.dm_ready=1;};img.src=links[i];dm_allImage[links[i]]=img;}}this.links=this.links.concat(links);};this.getImg=function(d_ii){var img;if(this.links.length<=d_ii||!this.links[d_ii]){img=0;}else{img=dm_allImage[this.links[d_ii]];}if(img&&(img.dm_ready==1||d_m&&d_ss)){return this.links[d_ii];}else{if(this.links[0]){return this.links[0];}return"";}};this.getBg=function(d_ii,lbl){var txt=this.getImg(d_ii);if(txt){txt=(lbl?"background-image:":"")+"url("+txt+")"+(lbl?";":"");}return txt;};if(links){this.add(links);}}function _dmit(d_ddm,d_ce,d_iv,frame){var ss="";var events="onMouseOver=\""+frame+"_dmzy(event,'"+d_iv.id+"tbl');return true\" "+"onMouseOut=\""+frame+"_dmzt(event,'"+d_iv.id+"tbl')\" ";events+="onClick=\""+frame+"_dmlc(event,'"+d_iv.id+"tbl');\"";if(d_ddm.d_qic){ss+=_dmze(d_iv.id+"tbl",d_iv.d_itt.cssClass[0],0,0,"title=\""+d_iv.tip+"\" "+events);}else{with(d_iv.d_itt){var d_yl="height:"+itHeight+";padding:0px;margin:0px;width:"+d_iw+";cursor:"+_dmr(d_iv.cursor)+";background-color:"+d_qb[0]+";"+(d_iv.itemType!=2?d_iv.backImgObj.getBg(0,true):"")+"border-color:"+d_qr[0]+";border-style:"+d_qs[0]+";border-width:"+d_qt+d_du+";";}ss+=_dmzw(d_iv.id+"tbl",0,0,d_yl,events,"title=\""+d_iv.tip+"\"")+_dmor();}var d_ye="",d_ys="";with(d_iv.d_itt){if(d_ddm.d_qic){d_ys="class=\""+cssClassText[0]+"\"";}else{d_ye+="padding:"+d_ce.d_ct.d_qip+";text-align:"+d_iv.align+";font:"+d_ql[0]+";color:"+(d_iv.d_dss?d_ddm.d_qfd:d_qf[0])+"; text-decoration:"+d_qc[0]+";";}}if(d_iv.itemType==0){ss+=_dmzr(d_iv.id+"tdT",d_ys?"":dmDefStyle,d_ys)+_dmiz(d_iv.id+"img",d_iv.iconObj.getImg(0),"","","alt=\""+d_iv.tip+"\"")+_dmlt();}else if(d_iv.itemType==1){with(d_ddm){ss+=_dmzr(d_iv.id+"tdT",(d_ys?"":dmDefStyle)+"text-align:"+separatorAlignment+(d_zs?";padding:"+d_zs:""),d_ys);if(d_iv.d_ci>0){ss+=_dmzq(d_ddm,d_spi,d_sw,d_sph);}else{ss+=_dmzq(d_ddm,d_svi,d_svv,d_svh);}ss+=_dmlt();}}else{var itemBackComposit="";if(d_iv.itemType==2){with(d_iv.d_itt){if(d_iv.backImgBObj.getImg(0)){ss+=_dmI0(d_iv.id+"tdLImg",d_ys?"":dmDefStyle,d_ys,d_iv.id+"limg",d_iv.backImgBObj.getImg(0),backImgBW,backImgBH,"style=\"display:block\"");}itemBackComposit=d_iv.backImgObj.getBg(0,true);}}if(dmRTL&&d_iv.d_dcd){ss+=_dmir(d_iv,0);}if(d_iv.iconObj.getImg(0)){ss+=_dmzr(d_iv.id+"tdIc",dmDefStyle+"padding:"+d_ce.d_ct.d_qip+";"+itemBackComposit,"")+_dmiz(d_iv.id+"ic",d_iv.iconObj.getImg(0),d_iv.d_qii,d_iv.d_qiz,"")+_dmlt();}if(d_iv.text||d_iv.itemType==4){ss+=_dmzr(d_iv.id+"tdT",(d_ys?"":dmDefStyle)+"width:100%;"+d_ye+itemBackComposit,(noWrap?" NOWRAP ":"")+d_ys)+d_iv.text+(d_iv.itemType==4?_dmOla("dm"+d_iv.d_mi+"m"+d_iv.d_ci,d_iv.link.substring(7,d_iv.link.length)):"")+_dmlt();}if(!dmRTL&&d_iv.d_dcd){ss+=_dmir(d_iv,itemBackComposit);}with(d_iv.d_itt){if(d_iv.itemType==2&&d_iv.backImgAObj.getImg(0)){ss+=_dmI0(d_iv.id+"tdRImg",d_ys?"":dmDefStyle,d_ys,d_iv.id+"rimg",d_iv.backImgAObj.getImg(0),backImgAW,backImgAH,"style=\"display:block\"");}}}return ss+_dmtr("")+_dmt();}function _dmh(it,d_ov){if(!_dmoi){return;}d_ov=it.d_dhi?1:d_ov;if(d_n4){_dmhh(it,d_ov);return;}var d_io=it.ll4();if(!d_io){return;}if(it.itemType==0){var e=_dmoi(it.id+"img");if(e){e.src=it.iconObj.getImg(d_ov);}return;}with(it.d_itt){if(d_dm[it.d_mi].d_qic){d_io.className=cssClass[d_ov];}else{var is=d_io.style;if(d_qt){is.borderWidth=d_qt+d_du;}if(d_qb[d_ov]){is.backgroundColor=d_qb[d_ov];}if(d_qr[d_ov]){is.borderColor=d_qr[d_ov];}if(d_qs[d_ov]){is.borderStyle=d_qs[d_ov];}if(it.itemType!=2){is.backgroundImage=it.backImgObj.getBg(d_ov,false);}if(it.itemType==2&&d_io.rows[0]){with(d_io.rows[0]){if(cells[0].childNodes.length&&cells[0].childNodes[0].tagName=="IMG"){cells[0].childNodes[0].src=it.backImgBObj.getImg(d_ov);}for(var i=1;i<cells.length-1;i++){cells[i].style.backgroundImage=it.backImgObj.getBg(d_ov,false);}if(cells[cells.length-1].childNodes.length&&cells[cells.length-1].childNodes[0].tagName=="IMG"){cells[cells.length-1].childNodes[0].src=it.backImgAObj.getImg(d_ov);}}}}var d_yo=_dmoi(it.id+"tdT");if(d_yo){if(d_dm[it.d_mi].d_qic){d_yo.className=cssClassText[d_ov];}else{with(d_yo.style){if(it.d_dss){color=d_dm[it.d_mi].d_qfd;}else if(d_qf[d_ov]){color=d_qf[d_ov];}if(d_ql[d_ov]){font=d_ql[d_ov];}if(d_qc[d_ov]){textDecoration=d_qc[d_ov];}}}}}with(it){if(it.iconObj.getImg(d_ov)){with(_dmoi(id+"ic")){if(icState!=d_ov){src=it.iconObj.getImg(d_ov);icState=d_ov;}}}var ao=_dmoi(it.id+"d_rr");if(ao){var d_rr=d_ci?d_itt.d_rs[d_ov]:d_itt.d_rm[d_ov];if(d_dcd&&d_rr){ao.src=d_rr;}}}}

function _dmzy(e,id){


var d_iv=_dmvi(id);

var d_ddm=d_dm[d_iv.d_mi];
if(keystrokes){if(d_dvK.d_qie){
  _dmdk(d_ddm.d_ii,0);
}
if(!d_ddm.d_dpp){d_zdvI=d_ddm.d_ii;}}window.status=d_iv.d_sv;with(d_iv){
  if(!d_dss&&text!="-"&&!d_dpr){
   d_dhi=1;
   _dmh(d_iv,1);
  }
}
var d_ce=d_ddm.m[d_iv.d_ci];
if(id!=dm_EventPause.val&&!d_iv.d_dss&&d_iv.text!="-"){
  dm_sound.playOver(d_ce);}dm_EventPause.set(id);
  if(d_ce.selected&&d_ce.selected!=id){
    _dmzt(e,d_ce.selected);
  }
  d_ce.selected=id;
  if(d_iv.d_dcd&&d_iv.d_dcd==d_ce.d_sh){
    var smChild=_dmvi(d_iv.d_dcd);
    if(smChild){d_o1=d_ddm.m[smChild.d_ii];
    if(d_o1){d_o1.StopHide();
  }}}
  var d_io=_dmoi(id);
  if(d_e&&e.fromElement&&d_io.contains(e.fromElement)){return;}
  if(d_ce._dmlw){clearTimeout(d_ce._dmlw);d_ce._dmlw=null;}
  if(d_iv.d_itt.d_ssc&&!d_iv.d_sl){return;}d_iv.d_sl=0;
  if(d_ce.d_sh==d_iv.d_dcd){return;}d_dvZ=d_ce.d_qri;
  _dmvv();
  with(d_iv){var d_sm=!d_dss&&d_dcd?d_dcd:"";}with(d_ce){var d_dhs=d_sh&&d_sh!=d_iv.d_dcd?d_sh:"";}if(d_iv.d_aj&&ajaxReload){if(d_ce.d_sh!=""&&d_ce.d_sh!=d_sm){_dmmh(d_ce.d_sh);}d_sm="_";}if(d_ddm.d_dcf){if(typeof dmCF==_un){return;}if(d_t==1&&!_dmaf(d_ce.id,d_ddm.d_is)){d_dhs="";}}d_ce._dmlw=setTimeout("_dmnt(\""+d_dhs+"\",\""+d_sm+"\",\""+d_iv.id+"\")",smShowPause);
}

function _dmnt(d_dhs,d_sm,parentID){_dmmh(d_dhs);_dmzh(d_sm,parentID);}function _dmzt(e,id){dm_EventPause.clear(id);var d_iv=_dmvi(id);if(d_e){var d_io=_dmoi(id);if(!d_io){return;}if(d_e&&e.toElement&&d_io&&d_io.contains(e.toElement)){return;}}var d_ddm=d_dm[d_iv.d_mi];var d_ce=d_ddm.m[d_iv.d_ci];if(d_ce.d_le>0){d_ce.StartHide();}if(d_ce._dmlw){clearTimeout(d_ce._dmlw);d_ce._dmlw=null;}with(d_iv){if(d_dss||text=="-"||d_dpr){return;}if(d_ddm.saveNavigation&&d_iv.d_dcd&&d_ce.d_sh==d_iv.d_dcd){return;}d_dhi=0;_dmh(d_iv,0);}if(d_ce.selected==id){d_ce.selected=0;}}var dm_menuClicked=-1;function _dmlc(e,id){var d_iv=_dmvi(id);dm_menuClicked=d_iv.d_mi;setTimeout("dm_menuClicked = -1","50");if(d_iv.d_dss||d_iv.text=="-"){return;}var d_ddm=d_dm[d_iv.d_mi];var d_ce=d_ddm.m[d_iv.d_ci];dm_sound.playClick(d_ce);if(d_iv.d_dcd&&d_iv.d_itt.d_ssc&&!d_iv.d_sl){d_iv.d_sl=1;_dmzy(e,id);return;}if(d_iv.link!=""&&d_ddm.d_qtm>-2&&!d_iv.d_dpr){dm_ext_setPressedItem(d_ddm.d_ii,d_iv.d_ci,d_iv.d_ii,true);}if(d_iv.d_dss||!d_iv.link){return;}var d_cv=d_ddm.m[0];if(d_ddm.d_sh){_dmmh(d_ddm.d_sh);}_dI1Ila(d_ddm,d_iv);}function _dI1Ila(d_ddm,d_iv){if(d_iv.d_dss||!d_iv.link){return;}with(d_iv){if(!link||link.toLowerCase().indexOf("search:")==0){return;}if(d_ddm.d_shm){d_dmr.d_psi="";_dmmh(d_ddm.m[0].d_sh);}if(link.toLowerCase().indexOf("javascript:")==0){eval(link.substring(11,link.length));}else{if(!target||target=="_self"){var win=d_ddm.d_dcf&&(d_t==1||d_t==3)?parent.frames[d_ddm.d_is]:window;try{win.location.href=link;}catch(e){}}else{open(link,target);}}}}function _dmfa(d_co){if(dmIframeEn){var iframe=_dmoi(d_co.id+"frame");with(iframe.style){var offset=_dmos(iframe);offset[0]-=parseInt(left);offset[1]-=parseInt(top);var d_cc=_dmos(d_co);left=d_cc[0]-offset[0]+"px";top=d_cc[1]-offset[1]+"px";width=d_cc[2]+"px";height=d_cc[3]+"px";visibility="visible";}}}function _dmni(d_ce){var d_co=dm_gE(d_ce.id);if(d_co){return d_co;}var m=d_dm[d_ce.d_mi];if(!d_ce.d_hs){_dmsh(m,d_ce,"","",1);}if(d_oo||d_em){d_dde.insertAdjacentHTML("beforeEnd",d_ce.d_hs);}else{var cont=dm_gE("dmD"+m.d_ii);var d_o1=d_o.createElement("DIV");d_o1.innerHTML=d_ce.d_hs;cont.appendChild(d_o1);}return dm_gE(d_ce.id);}function _dmzh(id,parentID){if(!id){return;}if(!d_dde){d_dde=_dmde(d_o);}if(d_n4){_dmzx(id);return;}if(id=="_"){_dmds(parentID);return;}var d_ce=_dmvi(id);var d_ddm=d_dm[d_ce.d_mi];var d_co=null;for(var i=0;i<d_dm.length;i++){if(d_dm[i]&&i!=d_ddm.d_ii){_dmsm(i);}}d_co=d_ce.ll4();d_ce._dmoo=d_co;d_ce.ll3();if(dmRTL&&d_e){d_co.style.left="0";d_co.style.top="0";}_dmoi(d_co.id+"tbl").style.display="";var d_cd=_dmsz(d_ce);if(!d_cd){_dmoi(d_co.id+"tbl").style.display="none";return;}var d_iv=_dmvi(d_ce.d_qri);if(!(d_ce.d_le==1&&d_ddm.d_dpp)){var u=d_oo&&d_v<6?"":"px";with(d_co.style){left=d_cd[0]+u;top=d_cd[1]+u;}if(d_t==3&&d_ep&&d_v>=5){_dmfr(d_ddm,id);}}d_ddm.m[d_iv.d_ci].d_sh=id;d_iv.d_dhi=d_ddm.saveNavigation;with(d_co.style){width=d_cd[2]+"px";height=d_cd[3]+"px";with(d_ce){sX=d_cd[0];sY=d_cd[1];}if(d_cd[4]){d_ce.d_se=1;if(d_em){overflow="auto";}else{if(d_ce.SmartScroll){overflow="hidden";}else if(d_es){overflow="visible";if(d_ce.d_dhz){overflowX="scroll";}else{overflowY="scroll";}}else{overflow="auto";}}_dmO0(d_ce,0,0);}else{overflow="visible";if(d_es){overflowX="";overflowY="";}_dmO0(d_ce,0,0);d_ce.d_se=0;}_dmfa(d_co);if(visibility!="visible"){var fl=_dmsf(d_co,d_ce.duration);visibility="visible";if(fl){fl.play();}}}if(dmObjectsCheck){_dmi(d_ce,d_cd);}}function _dmsf(d_co,dur){if(d_co.filters&&d_co.filters[0]){with(d_co.filters[0]){enabled=1;if(status!=0){stop();}duration=dur/1000;apply();return d_co.filters[0];}}else{return;}}

function _dmhi(d_ddm,d_ce){
  if(d_ddm.saveNavigation){
  var d_uv=_dmvi(d_ce.d_qri);
  if(!d_uv){return-1;}
  if(d_ddm.d_dpp&&d_ddm.m[d_uv.d_ci].d_le==0){return;}
  d_uv.d_dhi=0;
  d_ddm.m[d_uv.d_ci].d_sh="";
  if(!d_uv.d_dpr){_dmh(d_uv,0);}}
}

function _dmmh(id){if(!id){return;}if(d_n4){return _dmm4(id);}var d_ce=_dmvi(id);var d_co=_dmoi(id);if(!d_co){return;}var d_ddm=d_dm[d_ce.d_mi];d_ce.lli=0;if(d_ce.d_ddv&&!d_dmr.d_dvi){with(d_co.style){left=d_ce.left+"px";top=d_ce.top+"px";}_dmfa(d_co);}_dmmh(d_ce.d_sh);d_ce.d_sh="";_dmhi(d_ddm,d_ce);if(d_ce._dmlw){clearTimeout(d_ce._dmlw);d_ce._dmlw=null;}d_ce.StopHide();if(!d_ce.d_ddv&&d_dmr.d_psi!=d_ce.id){with(d_co.style){var fl=_dmsf(d_co,d_ce.d_qi);visibility="hidden";_dmoi(d_co.id+"tbl").style.display="none";if(fl){fl.play();}}if(dmIframeEn){_dmoi(id+"frame").style.visibility="hidden";}}if(d_ce.d_le==1&&d_t==3&&d_ofs){with(parent.document.getElementById(d_ddm.d_si)){if(d_ddm.d_or){cols=d_ofs;}else{rows=d_ofs;}}d_ofs=null;}if(dmObjectsCheck){_dmzz(d_ce);}if(typeof onHideEvent!=_un&&onHideEvent){eval(onHideEvent+"(\""+d_ce.id+"\")");}}function _dmsz(d_ce){var d_ddm=d_dm[d_ce.d_mi];var d_co=_dmoi(d_ce.id);d_co.style.left="0";d_co.style.top="0";var smOffset=_dmos(d_co);var d_cc=d_n4?_dmos(d_co,0):_dmos(_dmoi(d_co.id+"tbl"));var d_uv=_dmvi(d_ce.d_qri);var d_rsv=d_ddm.m[d_uv.d_ci];var d_rso=_dmoi(d_rsv.id);if(!d_rso){return;}var rsmSize=d_n4?_dmos(d_rso,0):_dmos(_dmoi(d_rso.id+"tbl"));var d_uo=_dmoi(d_uv.id+(d_n4?"":"tbl"));var d_us=_dmos(d_uo);if(d_ddm.d_dcf&&d_t==1&&d_ce.d_le==1){d_us=_dmOIa(d_ce,d_uo);}if(d_ce.d_ct.hParent){d_us[0]=rsmSize[0];d_us[2]=rsmSize[2];}if(d_ce.d_ct.vParent){d_us[1]=rsmSize[1];d_us[3]=rsmSize[3];}d_us[0]-=d_ce.d_qoz;d_us[1]-=d_ce.d_qox;d_us[2]+=2*d_ce.d_qoz;d_us[3]+=2*d_ce.d_qox;

var inDIV=d_us[4];

var scrollbarW=d_dm.l0();var d_dsd=_dmcs(d_ddm);var x=0,y=0,w=0,h=0,resize=0;with(d_ce.d_ct){w=(smW?parseInt(smW):d_cc[2])+d_ce.shadowLen;h=(d_qhi?parseInt(d_qhi):d_cc[3])+d_ce.shadowLen;}

if(!inDIV&&!(dmRTL&&d_e)&&(!d_ddm.d_dcf||d_ce.d_le>1)&&d_rsv.d_se&&!d_ce.SmartScroll){
  if(d_rsv.d_dhz){d_us[3]+=scrollbarW;}else{d_us[2]+=scrollbarW;}}var tmpXY=_dmO1(!d_ce.d_dhz?d_dsd[1]:d_dsd[0],!d_ce.d_dhz?d_dsd[3]:d_dsd[2],!d_ce.d_dhz?d_us[1]:d_us[0],!d_ce.d_dhz?d_us[3]:d_us[2],!d_ce.d_dhz?h:w,!d_ce.d_dhz?d_ce.d_ct.vAlign:d_ce.d_ct.hAlign,!d_ce.d_dhz?!d_rsv.d_dhz:d_rsv.d_dhz);if(d_ce.d_dhz){x=tmpXY.xy;d_ce.d_ct.hAlign=tmpXY.align;resize=d_cc[2]+d_ce.shadowLen!=tmpXY.d_sz;w=tmpXY.d_sz;}else{y=tmpXY.xy;d_ce.d_ct.vAlign=tmpXY.align;resize=d_cc[3]+d_ce.shadowLen!=tmpXY.d_sz;h=tmpXY.d_sz;}if(resize&&!d_ce.SmartScroll){if(d_ce.d_dhz){h+=scrollbarW;}else{w+=scrollbarW;}}var tmpXY=_dmO1(d_ce.d_dhz?d_dsd[1]:d_dsd[0],d_ce.d_dhz?d_dsd[3]:d_dsd[2],d_ce.d_dhz?d_us[1]:d_us[0],d_ce.d_dhz?d_us[3]:d_us[2],d_ce.d_dhz?h:w,d_ce.d_dhz?d_ce.d_ct.vAlign:d_ce.d_ct.hAlign,d_ce.d_dhz?!d_rsv.d_dhz:d_rsv.d_dhz);if(d_ce.d_dhz){y=tmpXY.xy;d_ce.d_ct.vAlign=tmpXY.align;}else{x=tmpXY.xy;d_ce.d_ct.hAlign=tmpXY.align;}if(!inDIV&&(d_em||d_ss&&d_ce.d_le>1)){x+=d_ss?-_dmpr(parseInt(d_dde.marginWidth),0):parseInt(d_dde.leftMargin);y+=d_ss?-_dmpr(parseInt(d_dde.marginHeight),0):parseInt(d_dde.topMargin);}x-=smOffset[0];y-=smOffset[1];return[x,y,w,h,resize];}function _dmO1(screenXY,screenSize,parentXY,parentSize,d_sz,align,oHoriz,space){var xy=parentXY;var newSize=d_sz;var newAlign=align;if(typeof space==_un){space=15;}if(align==0&&!oHoriz){align=1;}if(!oHoriz){if(newAlign>=0&&parentXY+parentSize+d_sz>screenSize+screenXY-space||newAlign<0&&parentXY-d_sz<space){if(parentXY-screenXY>screenSize+screenXY-(parentXY+parentSize)){newAlign=-1;}else{newAlign=1;}}if(newAlign>=0){xy=parentXY+parentSize;if(screenSize+screenXY-space-xy<newSize){newSize=screenSize+screenXY-space-xy;}}else{xy=parentXY-newSize;if(xy-screenXY<space){xy=space+screenXY;newSize=parentXY-space-screenXY;}}}else{if(newSize>screenSize-2*space){xy=screenXY+space;newSize=screenSize-2*space;}else{xy=parentXY+(1-newAlign)*(parentSize-newSize)/2;if(xy<space+screenXY){newAlign=1;xy=(parentXY<space?parentXY<0?0:parentXY:space)+screenXY;}if(xy+d_sz>screenSize+screenXY-space){newAlign=-1;xy-=xy+newSize-(screenSize+screenXY-space);}}}return{xy:xy,d_sz:newSize,align:newAlign};}function _dmsm(d_mi){if(d_dm[d_mi]&&d_dm[d_mi].m[0]){_dmmh(d_dm[d_mi].m[0].d_sh);}}function _dmOl(){for(var i=0;i<d_dm.length;i++){if(d_dm[i]&&d_dm[i].m[0].d_sh&&dm_menuClicked!=i){var d_ce=_dmvi(d_dm[i].m[0].d_sh);while(d_ce&&d_ce.d_ct.smHidePause!=-1){d_ce=_dmvi(d_ce.d_sh);}if(d_ce){_dmmh(d_dm[i].m[0].d_sh);}}}}function dm_ext_setPressedItem(d_mi,d_ci,d_iy,d_re,li){if(d_n4){return;}var d_ddm=d_dm[d_mi];with(d_ddm){if(!d_yg.d_qps&&d_ddm.d_dcp!=-1){d_yg.d_qps=1;dm_ext_setPressedItem(d_mi,d_cs,d_dcp,d_re);if(d_cs==d_ci&&d_dcp==d_iy){d_cs=0;d_dcp=-1;return;}}if(!d_yg.d_qps){d_cs=d_ci;d_dcp=d_iy;}else{d_yg.d_qps=0;}}var d_iv=_dmvi("dm"+d_mi+"m"+d_ci+"i"+d_iy);with(d_yg){if(!d_qo){d_iv.d_dpr=!d_iv.d_dpr;}d_qo=0;}if(!d_iv.d_dpr){d_iv.d_dhi=0;}_dmh(d_iv,d_iv.d_dpr?1:0);var ll=[];var d_ce=d_ddm.m[d_ci];for(var j=d_ce.d_le;j>0;j--){ll[ll.length]=_dmvi(d_ce.d_qri);d_ce=d_ddm.m[ll[ll.length-1].d_ci];}if(d_re&&d_ci>0){for(var i=0;i<ll.length;i++){_dmh(ll[i],d_iv.d_dpr?1:0);ll[i].d_dpr=d_iv.d_dpr;}}if(typeof li!="undefined"&&li){for(var i=ll.length-1;i>=0;i--){_dmzh(ll[i].d_dcd,ll[i].id);_dmvi(ll[i].d_dcd).lli=1;}}}

