// JavaScript Document
function mmLoadMenus() {
  if (window.mm_menu_1017115308_0) return;
                        window.mm_menu_1017115308_0 = new Menu("root",116,17,"Trebuchet MS, Verdana, Tahoma, sans-serif",11,"#FFFFFF","#FFFFFF","#596878","#D1BD03","left","middle",3,0,300,-5,7,true,true,true,3,true,true);
  mm_menu_1017115308_0.addMenuItem("Posuvné","location='posuvne-charakteristika.php'");
  mm_menu_1017115308_0.addMenuItem("Otočné","location='otocne-charakteristika.php'");
  mm_menu_1017115308_0.addMenuItem("Hliníkové&nbsp;konstrukce","location='hlinikove-charakteristika.php'");
   mm_menu_1017115308_0.hideOnMouseOut=true;
   mm_menu_1017115308_0.bgColor='#FFFFFF';
   mm_menu_1017115308_0.menuBorder=0;
   mm_menu_1017115308_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1017115308_0.menuBorderBgColor='#FFFFFF';
window.mm_menu_1017115310_0 = new Menu("root",116,17,"Trebuchet MS, Verdana, Tahoma, sans-serif",11,"#FFFFFF","#FFFFFF","#596878","#0274B0","left","middle",3,0,300,-5,7,true,true,true,3,true,true);
  mm_menu_1017115310_0.addMenuItem("Tourniket","location='../turniketove-dvere/tourniket-charakteristika.php'");
  mm_menu_1017115310_0.addMenuItem("Duotour","location='../turniketove-dvere/duotour-charakteristika.php'");
  mm_menu_1017115310_0.addMenuItem("Tournex","location='../turniketove-dvere/tournex-charakteristika.php'");
  mm_menu_1017115310_0.addMenuItem("Twintour","location='../turniketove-dvere/twintour-charakteristika.php'");
   mm_menu_1017115310_0.hideOnMouseOut=true;
   mm_menu_1017115310_0.bgColor='#FFFFFF';
   mm_menu_1017115310_0.menuBorder=0;
   mm_menu_1017115310_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1017115310_0.menuBorderBgColor='#FFFFFF';
     window.mm_menu_1017115311_0 = new Menu("root",125,17,"Trebuchet MS, Verdana, Tahoma, sans-serif",11,"#FFFFFF","#FFFFFF","#596878","#EA0000","left","middle",3,0,300,-5,7,true,true,true,3,true,true);
  mm_menu_1017115311_0.addMenuItem("Sekční&nbsp;vrata","location='../prumyslova/sekcni-charakteristika.php'");
  mm_menu_1017115311_0.addMenuItem("Rolovací&nbsp;vrata","location='../prumyslova/rolovaci-charakteristika.php'");
  mm_menu_1017115311_0.addMenuItem("Rychloběžná&nbsp;vrata","location='../prumyslova/rychlobezna-charakteristika.php'");
  mm_menu_1017115311_0.addMenuItem("Požární&nbsp;posuvná&nbsp;vrata","location='../prumyslova/pozarni-posuvna-charakteristika.php'");
  mm_menu_1017115311_0.addMenuItem("Požární&nbsp;rolovací&nbsp;vrata","location='../prumyslova/pozarni-rolovaci-charakteristika.php'");
  mm_menu_1017115311_0.addMenuItem("Ocelová&nbsp;skládací&nbsp;vrata","location='../prumyslova/ocelova-charakteristika.php'");
   mm_menu_1017115311_0.hideOnMouseOut=true;
   mm_menu_1017115311_0.bgColor='#FFFFFF';
   mm_menu_1017115311_0.menuBorder=0;
   mm_menu_1017115311_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1017115311_0.menuBorderBgColor='#FFFFFF';
   window.mm_menu_1017115312_0 = new Menu("root",150,17,"Trebuchet MS, Verdana, Tahoma, sans-serif",11,"#FFFFFF","#FFFFFF","#596878","#336600","left","middle",3,0,300,-5,7,true,true,true,3,true,true);
  mm_menu_1017115312_0.addMenuItem("Sekční&nbsp;garážová&nbsp;vrata","location='../garazove/sekcni-charakteristika.php'");
  mm_menu_1017115312_0.addMenuItem("Pohony&nbsp;pro&nbsp;otočné&nbsp;brány","location='../garazove/otocne-charakteristika.php'");
  mm_menu_1017115312_0.addMenuItem("Pohony&nbsp;pro&nbsp;posuvné&nbsp;brány","location='../garazove/posuvne-charakteristika.php'");
  mm_menu_1017115312_0.addMenuItem("Pohony&nbsp;pro&nbsp;garážová&nbsp;vrata","location='../garazove/comfort-charakteristika.php'");
   mm_menu_1017115312_0.hideOnMouseOut=true;
   mm_menu_1017115312_0.bgColor='#FFFFFF';
   mm_menu_1017115312_0.menuBorder=0;
   mm_menu_1017115312_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1017115312_0.menuBorderBgColor='#FFFFFF';
    window.mm_menu_1017115313_0 = new Menu("root",138,17,"Trebuchet MS, Verdana, Tahoma, sans-serif",11,"#FFFFFF","#FFFFFF","#596878","#709100","left","middle",3,0,300,-5,7,true,true,true,3,true,true);
  mm_menu_1017115313_0.addMenuItem("Pruhové&nbsp;závěsy","location='../clony/zavesy-charakteristika.php'");
  mm_menu_1017115313_0.addMenuItem("Kyvná&nbsp;vrata","location='../clony/kyvna-charakteristika.php'");
  mm_menu_1017115313_0.addMenuItem("Rychlonavíjecí&nbsp;vrata","location='../clony/rychlonavijeci-charakteristika.php'");
   mm_menu_1017115313_0.hideOnMouseOut=true;
   mm_menu_1017115313_0.bgColor='#FFFFFF';
   mm_menu_1017115313_0.menuBorder=0;
   mm_menu_1017115313_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1017115313_0.menuBorderBgColor='#FFFFFF';
    window.mm_menu_1017115314_0 = new Menu("root",170,17,"Trebuchet MS, Verdana, Tahoma, sans-serif",11,"#FFFFFF","#FFFFFF","#596878","#D55A09","left","middle",3,0,300,-5,7,true,true,true,3,true,true);
  mm_menu_1017115314_0.addMenuItem("Vyrovnávací&nbsp;můstek&nbsp;VMSL","location='../mustky/vmsl-charakteristika.php'");
  mm_menu_1017115314_0.addMenuItem("Vyrovnávací&nbsp;můstek&nbsp;VMVL","location='../mustky/vmvl-charakteristika.php'");
  mm_menu_1017115314_0.addMenuItem("Vyrovnávací&nbsp;můstek&nbsp;sklopný","location='../mustky/sklopny-charakteristika.php'");
  mm_menu_1017115314_0.addMenuItem("Vyrovnávací&nbsp;můstek&nbsp;klapkový","location='../mustky/klapkovy-charakteristika.php'");
  mm_menu_1017115314_0.addMenuItem("Nůžkové&nbsp;plošiny","location='../mustky/plosiny-charakteristika.php'");
  mm_menu_1017115314_0.addMenuItem("Vratové&nbsp;těsnění&nbsp;klapkové","location='../mustky/klapkove-charakteristika.php'");
  mm_menu_1017115314_0.addMenuItem("Vratové&nbsp;těsnění&nbsp;nafukovací","location='../mustky/nafukovaci-charakteristika.php'");
  mm_menu_1017115314_0.addMenuItem("Nakládací&nbsp;komory","location='../mustky/nakladaci-charakteristika.php'");
  mm_menu_1017115314_0.addMenuItem("Příslušenství","location='../mustky/prislusenstvi.php'");
   mm_menu_1017115314_0.hideOnMouseOut=true;
   mm_menu_1017115314_0.bgColor='#FFFFFF';
   mm_menu_1017115314_0.menuBorder=0;
   mm_menu_1017115314_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1017115314_0.menuBorderBgColor='#FFFFFF';

mm_menu_1017115310_0.writeMenus();
} // mmLoadMenus()

function JustSoPicWindow(imageName,imageWidth,imageHeight,alt,bgcolor,hugger,hugMargin) {
// by E Michael Brandt of ValleyWebDesigns.com - Please leave these comments intact.
// version 3.0.4  

	if (bgcolor=="") {
		bgcolor="#FFFFFF";
	}
	var adj=10
	var w = screen.width;
	var h = screen.height;
	var byFactor=1;

	if(w<740){
	  var lift=0.90;
	}
	if(w>=740 & w<835){
	  var lift=0.91;
	}
	if(w>=835){
	  var lift=0.93;
	}
	if (imageWidth>w){	
	  byFactor = w / imageWidth;			
	  imageWidth = w;
	  imageHeight = imageHeight * byFactor;
	}
	if (imageHeight>h-adj){
	  byFactor = h / imageHeight;
	  imageWidth = (imageWidth * byFactor);
	  imageHeight = h; 
	}
	   
	var scrWidth = w-adj;
	var scrHeight = (h*lift)-adj;

	if (imageHeight>scrHeight){
  	  imageHeight=imageHeight*lift;
	  imageWidth=imageWidth*lift;
	}

	var posLeft=0;
	var posTop=0;

	if (hugger == "hug image"){
	  if (hugMargin == ""){
	    hugMargin = 0;
	  }
	  var scrHeightTemp = imageHeight - 0 + 2*hugMargin;
	  if (scrHeightTemp < scrHeight) {
		scrHeight = scrHeightTemp;
	  } 
	  var scrWidthTemp = imageWidth - 0 + 2*hugMargin;
	  if (scrWidthTemp < scrWidth) {
		scrWidth = scrWidthTemp;
	  }
	  
	  if (scrHeight<100){scrHeight=100;}
	  if (scrWidth<100){scrWidth=100;}

	  posTop =  ((h-(scrHeight/lift)-adj)/2);
	  posLeft = ((w-(scrWidth)-adj)/2);
 	}

	if (imageHeight > (h*lift)-adj || imageWidth > w-adj){
		imageHeight=imageHeight-adj;
		imageWidth=imageWidth-adj;
	}
	posTop = parseInt(posTop);
	posLeft = parseInt(posLeft);		
	scrWidth = parseInt(scrWidth); 
	scrHeight = parseInt(scrHeight);
	
	var agt=navigator.userAgent.toLowerCase();
	if (agt.indexOf("opera") != -1){
	  var args= new Array();
	  args[0]='parent';
	  args[1]=imageName;
	  var i ; document.MM_returnValue = false;
	  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
	} else {
	newWindow = window.open("vwd_justso.htm","newWindow","width="+scrWidth+",height="+scrHeight+",left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" bgcolor='+bgcolor+' onBlur="self.close()" onClick="self.close()">');  
	newWindow.document.write('<table width='+imageWidth+' border="0" cellspacing="0" cellpadding="0" align="center" height='+scrHeight+' ><tr><td>');
	newWindow.document.write('<img src="'+imageName+'" width='+imageWidth+' height='+imageHeight+' alt="Click screen to close" >'); 
	newWindow.document.write('</td></tr></table></body></html>');
	newWindow.document.close();
	newWindow.focus();
	}
}