 <!--


function getScrollXY1(ramec) {
var scrOfX = 0, scrOfY = 0;
  if( typeof( window.pageYOffset ) == 'number' ) {
   // Netscape compliant
     
	scrOfY = window.pageYOffset;
    scrOfX = window.pageXOffset;
  } else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
 //   DOM compliant
    scrOfY = document.body.scrollTop;
    scrOfX = document.body.scrollLeft;
  } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
    //IE6 standards compliant mode
     scrOfY = document.documentElement.scrollTop;
    scrOfX = document.documentElement.scrollLeft;
  }
 if(document.all){
        curX = event.clientX;
        curY = event.clientY;
    }
    //netscape 4
    if(document.layers){
        curX = event.pageX;
        curY = event.pageY;
    }
    //mozilla
    if(document.getElementById){
        curX = event.clientX;
        curY = event.clientY;
    }

//alert(scrOfY);
 scrOfY1=0;
 if (scrOfY == 0){
 document.getElementById(ramec).style.top="90";}else{document.getElementById(ramec).style.top=scrOfY1;}
  //return [ scrOfX, scrOfY ];

document.getElementById('edit_detaild').style.display="none";
window.print();
document.getElementById('edit_detaild').style.display="block";
 if (scrOfY == 0){document.getElementById(ramec).style.top="90";}else{document.getElementById(ramec).style.top=scrOfY;}
}


function getScrollXYdetail(ramec) {
var scrOfX = 0, scrOfY = 0;
  if( typeof( window.pageYOffset ) == 'number' ) {
   // Netscape compliant
     
	scrOfY = window.pageYOffset;
    scrOfX = window.pageXOffset;
  } else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
 //   DOM compliant
    scrOfY = document.body.scrollTop;
    scrOfX = document.body.scrollLeft;
  } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
    //IE6 standards compliant mode
     scrOfY = document.documentElement.scrollTop;
    scrOfX = document.documentElement.scrollLeft;
  }
 if(document.all){
        curX = event.clientX;
        curY = event.clientY;
    }
    //netscape 4
    if(document.layers){
        curX = event.pageX;
        curY = event.pageY;
    }
    //mozilla
    if(document.getElementById){
        curX = event.clientX;
        curY = event.clientY;
    }

//alert(scrOfY);
 scrOfY1=0;
 if (scrOfY == 0){
 document.getElementById(ramec).style.top="90";}else{document.getElementById(ramec).style.top=scrOfY1;}
  //return [ scrOfX, scrOfY ];


window.print();

 if (scrOfY == 0){document.getElementById(ramec).style.top="90";}else{document.getElementById(ramec).style.top=scrOfY;}
}



function getScrollXY(ramec) {
var scrOfX = 0, scrOfY = 0;
  if( typeof( window.pageYOffset ) == 'number' ) {
   // Netscape compliant
     
	scrOfY = window.pageYOffset;
    scrOfX = window.pageXOffset;
  } else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
 //   DOM compliant
    scrOfY = document.body.scrollTop;
    scrOfX = document.body.scrollLeft;
  } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
    //IE6 standards compliant mode
    scrOfY = document.documentElement.scrollTop;
    scrOfX = document.documentElement.scrollLeft;
  }
 if(document.all){
        curX = event.clientX;
        curY = event.clientY;
    }
    //netscape 4
    if(document.layers){
        curX = event.pageX;
        curY = event.pageY;
    }
    //mozilla
    if(document.getElementById){
        curX = event.clientX;
        curY = event.clientY;
    }

//alert(scrOfY);
 if (scrOfY == 0){
 document.getElementById(ramec).style.top="90";}else{document.getElementById(ramec).style.top=scrOfY;}
  //return [ scrOfX, scrOfY ];
}

function alertSize(ramec) {
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
  
  window.alert( 'Width = ' + myWidth );
  window.alert( 'Height = ' + myHeight );
}


function velikost() {
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
  
  //window.alert( 'Width = ' + myWidth );
  //window.alert( 'Height = ' + myHeight );
	//alert(myHeight);
	if(myHeight > 0){myHeight = (myHeight /2) - 160;}
	else {myHeight = 0;}

	myHeight = myHeight + "px";
	document.getElementById('stranka').style.marginTop=myHeight;
}



// -->