﻿function Load1(){
text = document.getElementById('map1_print').innerHTML;
info = document.getElementById('info').innerHTML;
dop = document.getElementById('dop_desc1').innerHTML;
printwin = open('', 'printwin', 'width=674,height=654');
printwin.document.open();
printwin.document.writeln('<html><head><title></title></head><body onload=print();close()>');
printwin.document.writeln(text);
printwin.document.writeln(info);
printwin.document.writeln(dop);
printwin.document.writeln('</body></html>');
printwin.document.close();
}

function Load2(){
text = document.getElementById('map2_print').innerHTML;
info = document.getElementById('info').innerHTML;
dop = document.getElementById('dop_desc2').innerHTML;
printwin = open('', 'printwin', 'width=674,height=544');
printwin.document.open();
printwin.document.writeln('<html><head><title></title></head><body onload=print();close()>');
printwin.document.writeln(text);
printwin.document.writeln(info);
printwin.document.writeln(dop);
printwin.document.writeln('</body></html>');
printwin.document.close();
}// JavaScript Document




function notcopy(){
 alert("При копировании информации с нашего сайта, пожалуйста, указывайте источник.")
 return true


}

var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}

 
	





function show(id){

document.getElementById(id).style.display=document.getElementById(id).style.display=='none'?'block':'none';
}

$(document).ready(function(){
						   
						       $(".paccat_on").click(function () {
	  $("#pop_container_on").slideToggle("fast"); 
return false;
    });
	
 $("#layout").click(function () {
	  $("#pop_container_on").slideUp("fast"); 

	   });
	   $("#pop_container_on").click(function () {
	  $("#pop_container_on").show("fast"); 

    });
    
    $(".paccat").click(function () {
	  $("#pop_container").slideToggle("fast"); 
return false;
    });
	
 $("#layout").click(function () {
	  $("#pop_container").slideUp("fast"); 

	   });
	   $("#pop_container").click(function () {
	  $("#pop_container").show("fast"); 

    });
    });





$(document).ready(function(){

	$("#1").click(function () {
   $("#round_active").animate({ 
    marginLeft: "8px"
  }, 300 );
    $("#imager").attr({
	src: "/i/colored/white.jpg"
	}); 
    return false;
              });

	$("#2").click(function () {
   $("#round_active").animate({ 
    marginLeft: "38px"
  }, 300 );
    $("#imager").attr({
	src: "/i/colored/grey.jpg"
	}); 
return false;
              });
	
	$("#3").click(function () {
   $("#round_active").animate({ 
    marginLeft: "68px"
  }, 300 );
   $("#imager").attr({
	src: "/i/colored/black.jpg"
	}); 
    return false;
              });
	
	$("#4").click(function () {
   $("#round_active").animate({ 
    marginLeft: "98px"
  }, 300 );
   $("#imager").attr({
	src: "/i/colored/blue.jpg"
	}); 
    return false;
              });
	
	$("#5").click(function () {
   $("#round_active").animate({ 
    marginLeft: "128px"
  }, 300 );
   $("#imager").attr({
	src: "/i/colored/red.jpg"
	}); 
    return false;
              });
	
	$("#6").click(function () {
   $("#round_active").animate({ 
    marginLeft: "158px"
  }, 300 );
   $("#imager").attr({
	src: "/i/colored/orange.jpg"
	}); 
    return false;
              });
	
	$("#7").click(function () {
   $("#round_active").animate({ 
    marginLeft: "188px"
  }, 300 );
   $("#imager").attr({
	src: "/i/colored/yellow.jpg"
	}); 
    return false;
              });
	
	$("#8").click(function () {
   $("#round_active").animate({ 
    marginLeft: "218px"
  }, 300 );
   $("#imager").attr({
	src: "/i/colored/green.jpg"
	}); 
    return false;
              });

});



$(document).ready(function(){

	$("#maper1, #maper1_img").click(function () {
   $('#map1').hide() 
   $('#map2').show()
    return false;
              });

	
	$("#maper2, #maper2_img").click(function () {
     $('#map1').show() 
   $('#map2').hide()
    return false;
              });
	 });



$(document).ready(function(){

	$("#f1").click(function () {
   $('#more_files').show() 
   $('#f1').hide() 
   $('#f2').show() 

    return false;
              });

$("#f2").click(function () {
   $('#more_files').hide() 
   $('#f1').show() 
   $('#f2').hide()
    return false;
              });
	 });


$(document).ready(function(){

	$(".and_more").click(function () {
   $('#more_descript').slideDown(800) 
   $('#and_more_container').slideUp(500) 

    return false;
              });

$(".and_more.close").click(function () {
   $('#more_descript').slideUp(500) 
   $('#and_more_container').slideDown(800) 

    return false;
              });
	 });