			var spustit=null;
			var IE = document.all?true:false;
if (!IE) document.captureEvents(Event.MOUSEMOVE)
document.onmousemove = getMouseXY;
var tempX = 0;
var tempY = 0;
var mysX = 0;
var mysY = 0;
var maxX;
var maxY;
var odecetX;
var odecetY;
var rozdilX;
var rozdilY;

function getMouseXY(e) {
if (IE) { // grab the x-y pos.s if browser is IE
tempX = event.clientX + document.body.scrollLeft;
tempY = event.clientY + document.body.scrollTop;
}
else {  // grab the x-y pos.s if browser is NS
tempX = e.pageX;
tempY = e.pageY;
}  
if (tempX < 0){tempX = 0;}
if (tempY < 0){tempY = 0;}
maxX=document.body.clientWidth;
maxY=document.body.clientHeight;
maxX=eval(maxX-125);
maxY=eval(maxY+30);
odecetX=125;
odecetY=30;
if (tempX > maxX){rozdilX=tempX - maxX;odecetX = odecetX+rozdilX;}
if (tempY > maxY){odecetY=0;}
mysX = tempX-odecetX;
mysY = tempY+odecetY;
return true;
}
			
			function rolover_on(objectID) {
				var object = document.getElementById(objectID);
				object.className="tab_linka_bottom_over";
			}
			
			function rolover_out(objectID) {
				var object = document.getElementById(objectID);
				object.className="tab_linka_bottom";
			}
												
			function setVisibility(objectID,state) {
				var object = document.getElementById(objectID);			
				object.style.visibility=state;
			}			
			
			function toggleVisibility(objectID) {
				var object = document.getElementById(objectID);			
				state=object.style.visibility;
				if (state == 'hidden')
					object.style.visibility = 'visible';
				  else {
				if (state == 'visible')		
					
					object.style.visibility = 'hidden';
				else object.style.visibility = 'visible';
				  }
			}			
			
			
	function gProhlizec() {
		var vrx = document.getElementById("vr");
		gx_or_width = 150;
		gx_or_position = 10;
		gr_width = document.body.clientWidth;
		if (gr_width > 660) { gx_left = (gr_width / 2) - gx_or_width; }
		vrx.style.left = gx_left;
		//alert(gr_width);
	}
	
	function vypzap(objectID,zustan) {
		var object = document.getElementById(objectID);			
    state=object.style.visibility;
		if (state != 'visible') { state = 'hidden' };
		 if (state == 'hidden')
			{  object.style.visibility = 'visible'; }
	 	 else  
		  { 
		  if (zustan != 'x') { spustit = setTimeout("vr.style.visibility = 'hidden';",1500); } else { clearTimeout(spustit); }
		  }
		}					
function zap(index) {
	var vyrobek;
	var tv;
	var textik;
	var odkazik;
	var pole = new Array("alcm","ALCM - Finned Square Amenostat","Amenostats with square front panel suitable for air distribution in rooms from 2.6 approximately to 4 m high. Inlet air flow conditioning to one, two, three or four directions possible according to the front panel design.","ALCM","alkm","ALKM - ALKM - Finned Circular Amenostat","ALKM - Amenostats with circular front panel suitable for air distribution in rooms from 2,6 approximately to 4m m high. Circular front panel design enables equal air flow to all directions.","ALKM","ddm","DDM - Far Range Jet Tube","DDM - Far Range jet tubes suitable for air distribution within a big distance. When using the constant jet tube, the air flow direction is preset. Manual jet tubes or jet tubes with a servo may be used if a change of heating/cooling air flow directions is necessary.","DDM","dpm","DPM - Perforated Tile","DPM - Perforated tile suitable for air distribution through integrated ceilings to rooms, halls, department stores of height above 3 m.","DPM","kmm","KMM - Covering Grid","KMM - KMM - Covering grids (square, circular) suitable for covering of piping lead tails, piping side vents and wall vents. Grids prevent entering of larger objects. Delivery including a frame for mounting into walls possible.","KMM","rkm","RKM - Register","Square/rectangle registers designed for air flow control in air system pipeline by choking the compartment.","RKM","rktm","RKTM - Sealing Register","Sealing square/rectangle registers designed for sealing of air system pipeline, eventually air flow control by choking the compartment.","RKTM","rkkm","RKKM - Circular Register","Circular registers designed for air flow control in air system pipeline by choking the compartment.","RKKM","rkktm","RKKTM - Sealing Circular Register","Sealing circular registers designed for sealing of air system pipeline, eventually air flow control by choking the compartment.","RKKTM","rpm","RPM - Air flow Controller","RPM -  Air flow controllers with circular profile are designed for regulation systems with variable as well as constant air flow. Systems including air flow controllers enable better saving operation of ventilation devices as well as individual comfort of environment.","RPM","smm","SMM - Wall Grids","- Wall grid serves for covering of ventilation holes in air-conditioned, ventilated/heated premises. Delivered with fixed fins of 12,5 or 20mm span.","SMM","smpm","SMPM - Wall Grid Band","- Wall grid band serves for covering of vents in air-conditioned, ventilated/heated premises. They are composed side-by-side in bands of any length. Delivered with fixed fins of 12,5 or 20mm span.","SMPM","svm","SVM - Wall Outlet","Wall outlet serves for air inlet/outlet in air-conditioned, ventilated/heated premises. Delivered with fixed /adjustable fins. Extension by R1 control possible.","SVM","tvm","TVM - Damping Pad","TVM&nbsp;- Damping pad suitable for air system pipelines to prevent vibration transfers and dilatation of piping.","TVM","tvpm","TVPM, TVOM - Inlet/Outlet Plate Valve","TVPM, TVOM - Plate valves suitable for air inlet/outlet from rooms. Fluent control enables to set air amount required. Suitable for lesser flow volumes.","TVOM","vapm","VAPM &ndash; Turbulent Air Outflow Anemostat (fixed fins)","VAPM – Turbulent air outflow amenostat with fixed fins suitable for air distribution in rooms from 2,6 approximately to 4 m high. Outlets delivered with/without diffuser.","VAPM","vasm","VASM &ndash; Turbulent Air Outflow Anemostat (adjustable fins)","VASM &ndash; Turbulent air outflow amenostat with adjustable fins suitable for distribution of large amount of air with high temperature variance in rooms above 3 m high. Outlet air angle setting in outlets possible (horizontal to vertical).","VASM","vnkm","VNKM - Circular Adjustable Outlet","VNKM comprise outlets designed for circular/spiro piping. They have one or two rows of swivel fins and may be supplied with R1/R2/R3 controls regulating inlet/outlet air amount.","VNKM","vnm","VNM - Adjustable Outlet","VNM outlets comprise terminal ventilation elements for air distribution in air-conditioned, ventilated/heated premises. Delivered with adjustable fins of 20mm one or two row spans, mounting of or R1/R2 controls possible.","VNM","vpvm","VPVM - Large Area Outlet","VPVM &ndash; Large area outlets suitable for outside adjusted air inlet directly to staying (work) area. The air is supplied at low speed near the floor.","VPVM","vsv","VSV - Slit Outflow Outlet","VSV - Slit outflow outlets suitable for air distribution by narrow flat air flows. The outlets may be composed to bands.","VSV","vvm","VVM - Turbulent Air Outflow Outlet (adjustable fins)","VVM - Turbulent air outflow outlets with adjustable fins suitable for air distribution up to 30 air volumes exchange in rooms 2.6 (app.) to 4 m high. The turbulent outlet guarantees a forced mixing of air in the room. Required inlet air flow conditioning is possible by fin adjustment.","VVM","vvpm","VVPM - Turbulent Air Outflow Outlets (fixed fins)","VVPM - Turbulent air outflow outlets with fixed fins are suitable for air distribution up to 30 air volumes exchange in rooms 2,6 (app.) to 4 m high. The turbulent outlet guarantees a forced mixing of air in the room.","VVPM","box","EKOBOX - Terminal Box","EKOBOX - terminal box to VVM, VVPM and ALCM front panels. Suitable especially for air inlet to ventilated room. Possible to use for air outlet as well but it is necessary to take into account a higher loss of pressure than in standard outlet terminal boxes.","EKOBOX","pktm","PKTM - Fire Damper","PKTM - Fire dampers are fire-fighting technology devices preventing spread of fire and combustion products via air system pipelines and/or vents in walls from one fire compartment to another in mounting places. They may be installed into solid wall and ceiling structures, plasterboards and may be installed in front of the wall structure and subsequently isolated. Fire dampers may be handled manually or by solenoids/servos eventually. According to a shape, they may be supplied in square/circular shapes.","PKTM","psum","PSUM - Fire Wall Stopping","PSUM - Fire wall stopping are closing devices of air system vents in fire walls preventing spread of fire and combustion products via air system pipelines and/or vents in walls from one fire compartment to another in mounting places. They may be installed into solid wall and plasterboard structures. Fire dampers may be handled manually or by servos eventually. They are produced in square shape only.","PSUM","pvm","PVM - Fire Valve","PVM - Fire valves are fire technology devices preventing spread of fire and combustion products via air system pipelines and/or vents in walls from one fire compartment to another in mounting places. They may be installed into solid wall/ceiling and plasterboard structures. They are delivered in four sizes only (100, 125, 160, 200).","PSUM");
	getMouseXY
	vyrobek="<b>"+pole[index+0]+"</b>";
	tv="<img class='tab_linka_bottom_over' src='all/obr/products/" + pole[index-1] + ".jpg" + "' alt='' height='142' width='240' border='0'>";
	textik=pole[index+1];
	odkazik="<a href='tpm/tpm.php?nazev="+pole[index+2]+"'>more</a>";
	
	document.getElementById("vr").style.left = mysX;
	document.getElementById("vr").style.top = mysY;
	document.all.item("vyrobek").innerHTML = vyrobek;
	document.all.item("tv").innerHTML = tv;
	document.all.item("textik").innerHTML = textik;
	document.all.item("odkazik").innerHTML = odkazik;
	vr.style.visibility = 'visible';
	clearTimeout(spustit);
		}
function vyp() {
			spustit = setTimeout("zrus();",1500);
			
		}		
		function zrus() {
			vr.style.visibility = 'hidden';
			document.all.item("vyrobek").innerHTML = "&nbsp;";
	document.all.item("tv").innerHTML = "&nbsp;";
	document.all.item("textik").innerHTML = "&nbsp;";
	document.all.item("odkazik").innerHTML = "&nbsp;";
			clearTimeout(spustit);
		}
function poloha()
{
	getMouseXY
	document.getElementById("vr").style.left = mysX;
	document.getElementById("vr").style.top = mysY;
}
		
