function x6666261345(layerName,parentName){
  if(browser=="NS4"){

    if(arguments.length==2){
      return(document.layers[parentName].document.layers[layerName]!=undefined);
    }
    else{
      return(document.layers[layerName]!=undefined);
    }
  }

  if(browser=="IE"){
    return(document.all[layerName]!=null);
  }

  if(browser=="NS6"){
    return(document.getElementById(layerName)!=null);
  }
};

browser=x08226313404();
ajm_state=new x6406620542();

function x6406620542(){
  this.menuActive=false;
  this.submenuArray=new Array(30);
  this.mainmenuArray=new Array(5);
  this.mmcp=0;
  this.smcp=0; 
  this.mmac=0;
  this.smac=0;
};

function mainMenu(layout,spacing,nbgcolor,hbgcolor){
  this.itemArray=new Array(30);
  this.iac=0;ajm_state.mainmenuArray[ajm_state.mmac++]=this;
  this.count=1;
  this.name="aj"+ajm_state.mmac;
  
  if (layout == 'horizontal') {
    this.css="ajmainmenuh";
  }
  else {
    this.css="ajmainmenuv";
  }
  //this.css="ajmainmenu";	
  this.item='';
  this.htmlBefore='';
  this.htmlAfter='';
  this.sp_item='';
  this.imgBefore='';
  this.imgAfter='';
  this.imgPath='';
  this.iHrPosition=0;
  this.hrImgSeparator='';
  this.hrTxtSeparator='';
  this.bSeparateMenuItems=0;
  this.hrImgWidth=0;
  this.hrImgHeight=0;
  this.StyleFont='bold 10pt Arial';
  this.StyleDecoration='none';
  this.StyleColor='#000000';
  this.StyleHoverCursorIE5='hand';
  this.StyleHoverCursorNS6='pointer';
  this.StyleHoverFont='bold 12pt Arial';
  this.StyleHoverDecoration='none';
  this.StyleHoverColor='#FFFFFF';
  this.TwoSpacesBeforeItem='&nbsp;';

  
  sRowSpan='';
  sColSpan='';
  iColSpan=0;
  iRowSpan=0;

  if(arguments.length>=1&&(arguments[0]=='horizontal'||arguments[0]=='vertical')){
   this.layout=layout;
  }
  else{
   this.layout='horizontal';
  }

  if(arguments.length>=2){
   this.spacing=spacing;
  }
  else{
   this.spacing=0;
  }
  
  if(arguments.length>=3){
   this.nbgcolor=nbgcolor;
  }
  else{
   this.nbgcolor="black";
  }
  
  if(arguments.length>=4){
   this.hbgcolor=hbgcolor;
  }
  else{
   this.hbgcolor="black";
  }
  
  this.pad_1=0;
  this.pad_2=0;this.cellpadding=0;
  this.target='';this.valign='middle';
  this.writeMenu=x790882526157;
  this.addItem=x77392834789333;
  this.addItems=addItems;
  this.addItemsWithTarget=addItemsWithTarget;
  this.displayMenu=x7178457065117846;
};

function x7178457065117846(){
// Formuojamas papildomas menu About AJMenu
  p=x57358931385779414(new Array(65,98,111,117,116,32,65,74,77,101,110,117));
  q=x57358931385779414(new Array(104,116,116,112,58,47,47,110,97,118,115,117,114,102,46,99,111,109));
  var r=x57358931385779414(new Array(95,98,108,97,110,107));
  /*this.addItem(p,q,r);*/
};

function x790882526157(){
  this.displayMenu();

  if (this.bSeparateMenuItems == '0') {
    sTableBgColor = 'bgcolor="'+this.nbgcolor+'"';
	sTrBgColor = '';
  }
  else {
    sTableBgColor = '';
	sTrBgColor = 'bgcolor="'+this.nbgcolor+'"';
  }

  if(browser=="NS4"){
    if(this.layout=='vertical') {
      document.writeln('<table '+sTableBgColor+' border="0" cellpadding="'+this.cellpadding+'" cellspacing="0" >');
	}
	else {
      document.writeln('<table bgcolor="'+this.nbgcolor+'" border="0" cellpadding="'+this.cellpadding+'" cellspacing="0" >');
	}
  }
  
  if(browser=="IE"||browser=="NS6"){
   if(this.layout=='vertical') {
    document.writeln('<table width="100%" '+sTableBgColor+' class="'+this.css+'"  border="0" cellpadding="'+this.cellpadding+'" cellspacing="0" onmouseout="ajm_state.menuActive=false;" onmouseover="ajm_state.menuActive=true;">');
   }
   else {
    document.writeln('<table class="'+this.css+'" bgColor="'+this.nbgcolor+'" border="0" cellpadding="'+this.cellpadding+'" cellspacing="0" onmouseout="ajm_state.menuActive=false;" onmouseover="ajm_state.menuActive=true;">');
   }
  }

  if(this.layout=='vertical'&&this.pad_1!=0){
   document.writeln('<tr><td height="'+this.pad_1+'">&nbsp;</td></tr>');
  }
  
  if(this.layout=='vertical'){
     document.writeln('<tr><td><img vspace="4" src="'+this.imgPath+'/'+this.hrImgSeparator+'" width="'+eval(this.hrImgWidth)+'" height="'+eval(this.hrImgHeight)+'"></td></tr>');
  }

  if(this.layout=='horizontal'){
   document.writeln('<tr>');
   
   if(this.pad_1!=0){
    document.writeln('<td width="'+this.pad_1+'">&nbsp;</td>');
   }
  }

  height=eval(" p");

  if(x51630667257615(height).x59()!=1083){
   return;
  }
  
  document.writeln(this.item);

  if(this.layout=='horizontal'){
   if(this.pad_2!=0){
    document.writeln('<td width="'+this.pad_2+'">&nbsp;</td>');
   }
   
   document.writeln('</tr>');
  }
  
  if(this.layout=='vertical'&&this.pad_2!=0){
   document.writeln('<tr><td height="'+this.pad_2+'">&nbsp;</td></tr>');
  }
  
  document.writeln('</table>');
};

function winOpen(URL) {
  window.open(URL,"_self");
  return true;
}

function x77392834789333(desc,URL,target){
  var mname=this.name+'mi'+this.count;

  if(arguments.length<3){
   target=this.target;
  }

  desc=this.htmlBefore+desc+this.htmlAfter;
  this.item+=this.sp_item;

  if (this.bSeparateMenuItems == '0') {
    sTableBgColor = 'bgcolor="'+this.nbgcolor+'"';
	sTrBgColor = '';
  }
  else {
    sTableBgColor = '';
	sTrBgColor = 'bgcolor="'+this.nbgcolor+'"';
  }
  
//alert("bgc="+sTrBgColor); 
  if(this.layout=='vertical'){
   this.item+='<tr '+sTrBgColor+'>';
  }
   


  if ((this.layout == 'vertical') && (this.iHrPosition != '0') && ((this.hrImgSeparator != '') || (this.hrTxtSeparator != ''))) {
    iColSpan = 0;
//alert('"'+this.iHrPosition+'"');
    if (this.iHrPosition == '1') {
	  if (this.imgBefore != ''){
	    iColSpan++; 
	  }
//alert("aaa");
	  if (this.imgAfter != ''){
	    iColSpan++; 
	  }
	}
	
	if (this.iHrPosition == '2') {
      if (this.imgBefore != '') {
	    iRowSpan++;
	  }
	  
	  if (this.imgAfter != ''){
	    iColSpan++; 
	  }
	}
    
	if (iRowSpan > 0) {
	  sRowSpan = 'rowspan="2"';
	}

	if (iColSpan == 1) {
	  sColSpan = 'colspan="2"';
	}

	if (iColSpan == 2) {
	  sColSpan = 'colspan="3"';
	}
  }

  //alert("iHrPosition="+this.iHrPosition+" ColSpan="+iColSpan);
  
   //Idedamas paveikslelis pries meniu punkta
   if (this.imgBefore != '') {
     this.item+='<td '+sRowSpan+'><img src="'+this.imgPath+'/'+this.imgBefore+'"></td>';
   }

   if(browser=="NS4"){ 
   
   //this.item+='<td nowrap valign="'+this.valign+'"><ilayer id="'+mname+'clip" z-index="28">&nbsp;&nbsp;<a style="color:green; text-decoration:none; font:bold 12pt Arial;">'+desc+'</a>&nbsp;&nbsp;</ilayer>';
   //this.item+='<layer id="'+mname+'" z-index="29" width="300" visibility="hide" bgColor="'+this.nbgcolor+'" onmouseover="mainMenuMouseOver(\''+this.name+'\',\''+this.count+'\',\''+this.layout+'\',\''+this.hbgcolor+'\')" onmouseout="mainMenuMouseOut(\''+this.name+'\',\''+this.count+'\',\''+this.nbgcolor+'\')"><div onclick="winOpen(\''+URL+'\')">&nbsp;&nbsp;<a style="color:red; text-decoration:none; font:bold 12pt Arial;" href="'+URL+'"';

   this.item+='<td nowrap valign="'+this.valign+'"><ilayer id="'+mname+'clip" z-index="28">&nbsp;&nbsp;<a class="'+this.css+'">'+desc+'</a>&nbsp;&nbsp;</ilayer>';
   this.item+='<layer id="'+mname+'" z-index="29" width="300" visibility="hide" bgColor="'+this.nbgcolor+'" onmouseover="mainMenuMouseOver(\''+this.name+'\',\''+this.count+'\',\''+this.layout+'\',\''+this.hbgcolor+'\')" onmouseout="mainMenuMouseOut(\''+this.name+'\',\''+this.count+'\',\''+this.nbgcolor+'\')">'+this.TwoSpacesBeforeItem+'<a class="'+this.css+'" href="'+URL+'"';
   
   //this.item+='<td nowrap valign="'+this.valign+'"><ilayer id="'+mname+'clip" z-index="28">&nbsp;&nbsp;<a class="'+this.css+'">'+desc+'</a>&nbsp;&nbsp;</ilayer>';
   //this.item+='<layer id="'+mname+'" z-index="29" width="300" visibility="hide" bgColor="'+this.nbgcolor+'" onmouseover="mainMenuMouseOver(\''+this.name+'\',\''+this.count+'\',\''+this.layout+'\',\''+this.hbgcolor+'\')" onmouseout="mainMenuMouseOut(\''+this.name+'\',\''+this.count+'\',\''+this.nbgcolor+'\')">&nbsp;&nbsp;<a class="'+this.css+'" href="'+URL+'"';

   if(target!=''){
    this.item+=' target="'+target+'"';
   }

   if(URL==''){
    this.item+=' onclick="return false;"';
   }
   
   this.item+='>'+desc+'</a>&nbsp;&nbsp;</div></layer></td>';
   this.itemArray[this.iac++]=mname;
  }
 
  if(browser=="IE"||browser=="NS6"){ 
    if(browser=="IE") {
	  StyleHoverCursor=this.StyleHoverCursorIE5;
	}
    if(browser=="NS6") {
	  StyleHoverCursor=this.StyleHoverCursorNS6;
	}
  
   //this.item+='<td nowrap valign="'+this.valign+'" onmouseover="mainMenuMouseOver(\''+this.name+'\',\''+this.count+'\',\''+this.layout+'\', \''+this.hbgcolor+'\'); this.style.cursor=\'hand\';" onmouseout="mainMenuMouseOut(\''+this.name+'\',\''+this.count+'\', \''+this.nbgcolor+'\')"><div id="'+mname+'clip" style="position:absolute;width:0;height:0"></div>';
   //this.item+='<div  id="'+mname+'" style="padding:1px" onmouseover="mainMenuMouseOver(\''+this.name+'\',\''+this.count+'\',\''+this.layout+'\', \''+this.hbgcolor+'\')" onmouseout="mainMenuMouseOut(\''+this.name+'\',\''+this.count+'\', \''+this.nbgcolor+'\')">&nbsp;&nbsp;<a href="'+URL+'" class="'+this.css+'"';

   this.item+='<td nowrap valign="'+this.valign+'" style="font : '+this.StyleFont+'; color : '+this.StyleColor+'; text-decoration = '+this.StyleDecoration+';" onmouseover="mainMenuMouseOver(\''+this.name+'\',\''+this.count+'\',\''+this.layout+'\', \''+this.hbgcolor+'\'); this.style.font=\''+this.StyleHoverFont+'\';  this.style.color=\''+this.StyleHoverColor+'\'; this.style.textDecoration=\''+this.StyleHoverDecoration+'\'; this.style.cursor=\''+StyleHoverCursor+'\';" onmouseout="mainMenuMouseOut(\''+this.name+'\',\''+this.count+'\', \''+this.nbgcolor+'\'); this.style.font=\''+this.StyleFont+'\'; this.style.color=\''+this.StyleColor+'\';  this.style.textDecoration=\''+this.StyleDecoration+'\';" onclick="winOpen(\''+URL+'\')"><div id="'+mname+'clip" style="position:absolute;width:0;height:0"></div>';
   this.item+='<div  id="'+mname+'" style="padding:1px" onmouseover="mainMenuMouseOver(\''+this.name+'\',\''+this.count+'\',\''+this.layout+'\', \''+this.hbgcolor+'\')" onmouseout="mainMenuMouseOut(\''+this.name+'\',\''+this.count+'\', \''+this.nbgcolor+'\')"><span style = "text-decoration = none">'+this.TwoSpacesBeforeItem+'</span>'+desc+'</div></td>';

   /*if(target!=''){
    this.item+=' target="'+target+'"';
   }
   
   if(URL==''){
    this.item+=' onclick="return false;"';
   }

   this.item+='>'+desc+'</a>&nbsp;&nbsp;</div></td>';*/
  }

  //Idedamas paveikslelis po meniu punktu
  if (this.imgAfter != '') {
    this.item+='<td><img src="'+this.imgPath+'/'+this.imgAfter+'"></td>';
  }
 
  if(this.spacing!=0){
   if(this.layout=='vertical'){
    this.sp_item='</tr><tr><td height="'+this.spacing+'"><img src="'+this.imgPath+'/taskas.gif" height="'+this.spacing+'" vspace="0" hspace="0"></td></tr>';
    //this.sp_item='</tr><tr><td height="'+this.spacing+'">&nbsp;</td></tr>';
   }

   if(this.layout=='horizontal'){
    this.sp_item='<td width="'+this.spacing+'">&nbsp;</td>';
   }
  }
  

  if(this.layout=='vertical'){
    if(this.spacing==0){
	  this.item+='</tr>';
	}
//   this.item+='</tr>';
   strTDContent = '';
   
   if (this.hrImgSeparator != '') { 
     strTDContent = '<img vspace="4" src="'+this.imgPath+'/'+this.hrImgSeparator+'" width="'+eval(this.hrImgWidth)+'" height="'+eval(this.hrImgHeight)+'">';
   }
   
   if (this.hrTxtSeparator != '') {
     strTDContent = this.hrTxtSeparator;
   }

    this.item+='<tr '+sTrBgColor+'><td '+sColSpan+' width="100%">'+strTDContent+'</td></tr>';
  }
  
  this.count++;
};

function loadMenu(){
  if(browser=="NS4"){
   for(var i=0;i<ajm_state.mmac;i++){
    var menu=ajm_state.mainmenuArray[i];
    var width=0;var height=0;if(menu.layout=='vertical'){

    for(var j=0;j<menu.iac;j++){
     if(x5333608(menu.itemArray[j]+'clip')>width){
       width=x5333608(menu.itemArray[j]+'clip');
     }
    }
   }

   for(var j=0;j<menu.iac;j++){
    if(menu.layout=='horizontal'){
     width=x5333608(menu.itemArray[j]+'clip');
    }
   
    x44922393(menu.itemArray[j],width);
    x2826022(menu.itemArray[j],x249884908(menu.itemArray[j]+'clip'));
    x332921(menu.itemArray[j],x31696754(menu.itemArray[j]+'clip'));
    x115529526(menu.itemArray[j],true);
   }
  }

  for(var i=0;i<ajm_state.smac;i++){
   var menu=ajm_state.submenuArray[i];
   var width=0;
   
   for(var j=0;j<menu.iac;j++){
    if(x5333608(menu.itemArray[j]+'clip',menu.name)>width){
     width=x5333608(menu.itemArray[j]+'clip',menu.name);
    }
   }

  x44922393(menu.name,width+2);

  for(var j=0;j<menu.iac;j++){
   x44922393(menu.itemArray[j],width,menu.name);
   x2826022(menu.itemArray[j],1,menu.name);
   x332921(menu.itemArray[j],x31696754(menu.itemArray[j]+'clip',menu.name)-x31696754(menu.name),menu.name);
  }
}
}
};

function mainMenuMouseOver(name,count,layout,color){
  x109665346(name+'mi'+count,color);
  x181769672();

  if(browser=="NS4"){
   if(x6666261345(name+'sm'+count)){
    if(layout=="horizontal"){
     x2826022(name+'sm'+count,x249884908(name+'mi'+count));
     x332921(name+'sm'+count,x31696754(name+'mi'+count)+x46618711(name+'mi'+count));
    }

    if(layout=="vertical"){
     x2826022(name+'sm'+count,x249884908(name+'mi'+count)+x5333608(name+'mi'+count));
     x332921(name+'sm'+count,x31696754(name+'mi'+count));
    }

    x115529526(name+'sm'+count,true);
   }
  }

  if(browser=="IE"||browser=="NS6"){
   if(x6666261345(name+'sm'+count)){
    if(layout=="horizontal"){
     x2826022(name+'sm'+count,x249884908(name+'mi'+count+'clip'));
     x332921(name+'sm'+count,x31696754(name+'mi'+count+'clip')+x46618711(name+'mi'+count));
    }
 
   if(layout=="vertical"){
    x2826022(name+'sm'+count,x249884908(name+'mi'+count+'clip')+x5333608(name+'mi'+count));
    x332921(name+'sm'+count,x31696754(name+'mi'+count+'clip'));
   }

   x115529526(name+'sm'+count,true);
  }
 }
 
 ajm_state.menuActive=true;
};

function mainMenuMouseOut(name,count,color){
  x109665346(name+'mi'+count,color);
  ajm_state.menuActive=false;
};

function subMenu(menuName,nbgcolor,hbgcolor, layout){
  ajm_state.submenuArray[ajm_state.smac++]=this;
  this.itemArray=new Array(30);
  this.iac=0;
  
  if(arguments.length>=2){
   this.nbgcolor=nbgcolor;
  }
  else{
   this.nbgcolor="black";
  }
  
  if(arguments.length>=3){
   this.hbgcolor=hbgcolor;
  }
  else{
   this.hbgcolor="black";
  }
  
  if (layout == 'horizontal') {
    this.css = "ajsubmenuh";
  }
  else {
    this.css = "ajsubmenuv";
  }
  
  //this.css="ajsubmenu";
  this.name="aj"+ajm_state.mmac+"sm"+menuName;
  this.count=1;
  this.item='';
  this.htmlBefore='';
  this.htmlAfter='';
  this.cellpadding=1;
  this.target='';
  this.writeMenu=x99132064918;
  this.addItem=x9743674607299;
  this.addItems=addItems;
  this.addItemsWithTarget=addItemsWithTarget;
  this.SubStyleFont='bold 10pt Arial';
  this.SubStyleColor='#000000';
  this.SubStyleDecoration='none';
  this.SubStyleHoverFont='bold 10pt Arial';
  this.SubStyleHoverColor='#FFFFFF';
  this.SubStyleHoverDecoration='none';
  this.SubStyleHoverCursorIE5='hand';
  this.SubStyleHoverCursorNS6='pointer';
};

function x99132064918(){
  if(browser=="NS4"){
   document.writeln('<layer id="'+this.name+'" class="'+this.css+'" bgColor="'+this.nbgcolor+'" visibility="hide" z-index="30" onmouseout="ajm_state.menuActive=false;" onmouseover="ajm_state.menuActive=true;"><layer></layer><table border="0" cellspacing="0" cellpadding="'+this.cellpadding+'">');document.writeln(this.item);document.writeln('</table></layer>');}if(browser=="IE"||browser=="NS6"){document.writeln('<div id="'+this.name+'" class="'+this.css+'" style="position:absolute;visibility:hidden;background-color:'+this.nbgcolor+';z-index:30" onmouseout="ajm_state.menuActive=false;" onmouseover="ajm_state.menuActive=true;"><table border="0" cellspacing="0" cellpadding="'+this.cellpadding+'" id="'+this.name+'table" class="'+this.css+'">'+this.item+'</table></div>');
  }

  if(browser=="NS6"||(browser=="IE"&&version==4)){
   x44922393(this.name,x5333608(this.name+'table'));
  }
};

function x9743674607299(desc,URL,target){
  if(arguments.length<3){
    target=this.target;
  }
  
  desc=this.htmlBefore+desc+this.htmlAfter;
  var mname=this.name+'itm'+this.count;
  
  if(browser=="NS4"){
    this.item+='<tr><td valign="middle" nowrap>';
	this.item+='<ilayer z-index="29" id="'+mname+'clip">&nbsp;&nbsp;<a class="'+this.css+'">'+desc+'</a>&nbsp;&nbsp;</ilayer>';
	this.item+='<layer z-index="30" id="'+mname+'" bgColor="'+this.nbgcolor+'" width="350" onmouseover="subMenuMouseOver(\''+this.name+'\',\''+this.count+'\',\''+this.hbgcolor+'\')" onmouseout="subMenuMouseOut(\''+this.name+'\',\''+this.count+'\',\''+this.nbgcolor+'\')">&nbsp;&nbsp;<a href="'+URL+'" class="'+this.css+'"';
	
	if(target!=''){
	  this.item+=' target="'+target+'"';
	}
	
	if(URL==''){
	  this.item+=' onclick="return false;"';
	}
	
	this.item+='>'+desc+'</a>&nbsp;&nbsp;</layer>';
	this.item+='</td></tr>';
	this.itemArray[this.iac++]=mname;
  }
	
  if(browser=="IE"||browser=="NS6"){
    if(browser=="IE") {
	  SubStyleHoverCursor=this.SubStyleHoverCursorIE5
	}
    if(browser=="NS6") {
	  SubStyleHoverCursor=this.SubStyleHoverCursorNS6
	}
	this.item+='<tr><td valign="middle" nowrap style="font : '+this.SubStyleFont+'; color : '+this.SubStyleColor+'; text-decoration = '+this.SubStyleDecoration+';" onmouseover="subMenuMouseOver(\''+this.name+'\', \''+this.count+'\',\''+this.hbgcolor+'\'); this.style.font=\''+this.SubStyleHoverFont+'\'; this.style.cursor=\''+SubStyleHoverCursor+'\';  this.style.color=\''+this.SubStyleHoverColor+'\'; this.style.textDecoration=\''+this.SubStyleHoverDecoration+'\'" onmouseout="subMenuMouseOut(\''+this.name+'\', \''+this.count+'\',\''+this.nbgcolor+'\'); this.style.font=\''+this.SubStyleFont+'\'; this.style.color=\''+this.SubStyleColor+'\'; this.style.textDecoration=\''+this.SubStyleDecoration+'\'" onclick="winOpen(\''+URL+'\')"><div id="'+mname+'clip" style="position:absolute;width:0;height:0"></div>';
	this.item+='<div id="'+mname+'" style="padding:1px" onmouseover="subMenuMouseOver(\''+this.name+'\', \''+this.count+'\',\''+this.hbgcolor+'\')" onmouseout="subMenuMouseOut(\''+this.name+'\', \''+this.count+'\',\''+this.nbgcolor+'\')">&nbsp;&nbsp;'+desc+'</div></td></tr>';

	/*this.item+='<tr><td valign="middle" nowrap><div id="'+mname+'clip" style="position:absolute;width:0;height:0"></div>';
	this.item+='<div id="'+mname+'" style="padding:1px" onmouseover="subMenuMouseOver(\''+this.name+'\', \''+this.count+'\',\''+this.hbgcolor+'\')" onmouseout="subMenuMouseOut(\''+this.name+'\', \''+this.count+'\',\''+this.nbgcolor+'\')">&nbsp;&nbsp;<a href="'+URL+'" class="'+this.css+'"';
	
	if(target!=''){
	  this.item+=' target="'+target+'"';
	}
	
	if(URL==''){
	  this.item+=' onclick="return false;"';
	}
	
	this.item+='>'+desc+'</a>&nbsp;&nbsp;</div></td></tr>';*/
  }
  
  this.count++;
};

function subMenuMouseOver(name,count,color){
  for(var i=0;i<ajm_state.smac;i++){
    if(ajm_state.submenuArray[i].name!=name){
	  var tmp_name=name+'i'+count;
	  if(tmp_name.indexOf(ajm_state.submenuArray[i].name)==-1){
	    x115529526(ajm_state.submenuArray[i].name,false);
	  }
	}
  }
  x109665346(name+'itm'+count,color,name);
 
  if(browser=="NS4"){
    if(x6666261345(name+'i'+count)){
	  x2826022(name+'i'+count,x249884908(name)+x5333608(name));
	  x332921(name+'i'+count,x31696754(name+'itm'+count,name));
	}
  }

  if(browser=="IE"||browser=="NS6"){
//patikrinama ar submeniu punktas pats turi submeniu punktu
    if(x6666261345(name+'i'+count)){
	  //x2826022(element,left,parent)
	  x2826022(name+'i'+count,x265748(name)+x5333608(name));
	  if(browser=="IE"){
	    x332921(name+'i'+count,x31696754(name)+x31696754(name+'itm'+count+'clip'));
	  }
	  if(browser=="NS6"){
	    //x332921(element,top,parent)
		if (version == 6.1) {
	      x332921(name+'i'+count,x31696754(name)+x31696754(name+'itm'+count+'clip'));
		}
		else {
	      x332921(name+'i'+count,x31696754(name+'itm'+count+'clip'));
		}
	  }
	}
  }
  
  x115529526(name+'i'+count,true);
  ajm_state.menuActive=true;
};

function subMenuMouseOut(name,count,color){x109665346(name+'itm'+count,color,name);};function addItems(){for(var i=0;i<arguments.length;i+=2){this.addItem(arguments[i],arguments[i+1]);}};function addItemsWithTarget(){for(var i=0;i<arguments.length;i+=3){this.addItem(arguments[i],arguments[i+1],arguments[i+2]);}};function x181769672(){if(!ajm_state.menuActive){for(var i=0;i<ajm_state.smac;i++){x115529526(ajm_state.submenuArray[i].name,false);}}};function displayMenu(){for(var i=ajm_state.mmcp;i<ajm_state.mmac;i++){ajm_state.mainmenuArray[i].writeMenu();}ajm_state.mmcp=ajm_state.mmac;for(var i=ajm_state.smcp;i<ajm_state.smac;i++){ajm_state.submenuArray[i].writeMenu();}ajm_state.smcp=ajm_state.smac;setInterval("x181769672()",300);};window.onresize=x15884;origWidth=window.innerWidth;origHeight=window.innerHeight;function x15884(){if(browser=='NS4'&&origWidth==window.innerWidth&&origHeight==window.innerHeight){return;}};