$(document).ready(function(){
	
	$(".map_point.p1, .tc1").hover(function(){
		$(".line.p1").stop();
		$(".line.p1").animate({width: "715", height: "256"}, 700);
	},function() {
		//$(".line.p1").stop();
		$(".line.p1").animate({width: "0", height: "0"}, 700);
	});
	$(".map_point.p2, .tc2").hover(function(){
		$(".line.p2").stop();
		$(".line.p2").animate({width: "715", height: "256"}, 700);
	},function() {
		//$(".line.p2").stop();
		$(".line.p2").animate({width: "0", height: "0"}, 700);
	});
	$(".map_point.p3, .tc3").hover(function(){
		$(".line.p3").stop();
		$(".line.p3").animate({width : "715", height : "300"}, 700);
	},function() {
		//$(".line.p3").stop();
		$(".line.p3").animate({width: "0", height: "0"}, 700);
	});
	
	$(".map_point.p4, .tc4").hover(function(){
		$(".line.p4").stop();
		$(".line.p4").animate({width : "715", height : "300"}, 700);
	},function() {
		//$(".line.p4").stop();
		$(".line.p4").animate({width: "0", height: "0"}, 700);
	});

	$(".map_point.p5, .tc5").hover(function(){
		$(".line.p5").stop();
		$(".line.p5").animate({width : "170", height : "300"}, 700);
	},function() {
		$(".line.p5").animate({width: "0", height: "0"}, 700);
	});
	
	$(".map_point.p6, .tc6").hover(function(){
		$(".line.p6").stop();
		$(".line.p6").animate({width : "715", height : "380"}, 700);
	},function() {
		$(".line.p6").animate({width: "0", height: "0"}, 700);
	});
	
	$(".map_point.p7, .tc7").hover(function(){
		$(".line.p7").stop();
		$(".line.p7").animate({width : "715", height : "380"}, 700);
	},function() {
		$(".line.p7").animate({width: "0", height: "0"}, 700);
	});
	
	$(".map_point.p8, .tc8").hover(function(){
		$(".line.p8").stop();
		$(".line.p8").animate({width : "715", height : "380"}, 700);
	},function() {
		$(".line.p8").animate({width: "0", height: "0"}, 700);
	});
	
	$(".map_point.p9, .tc9").hover(function(){
		$(".line.p9").stop();
		$(".line.p9").animate({width : "715", height : "385"}, 700);
	},function() {
		$(".line.p9").animate({width: "0", height: "0"}, 700);
	});
	
	$(".map_point.p10, .tc10").hover(function(){
		$(".line.p10").stop();
		$(".line.p10").animate({width : "300", height : "450"}, 700);
	},function() {
		$(".line.p10").animate({width: "0", height: "0"}, 700);
	});	
	
	$(".map_point.p11, .tc11").hover(function(){
		$(".line.p11").stop();
		$(".line.p11").animate({width : "715", height : "550"}, 700);
	},function() {
		$(".line.p11").animate({width: "0", height: "0"}, 700);
	});	
	
	$(".map_point.p12, .tc12").hover(function(){
		$(".line.p12").stop();
		$(".line.p12").animate({width : "715", height : "550"}, 700);
	},function() {
		$(".line.p12").animate({width: "0", height: "0"}, 700);
	});	
	
	$(".map_point.p13, .tc13").hover(function(){
		$(".line.p13").stop();
		$(".line.p13").animate({width : "715", height : "550"}, 700);
	},function() {
		$(".line.p13").animate({width: "0", height: "0"}, 700);
	});	
	
	$(".map_point.p14, .tc14").hover(function(){
		$(".line.p14").stop();
		$(".line.p14").animate({width : "715", height : "550"}, 700);
	},function() {
		$(".line.p14").animate({width: "0", height: "0"}, 700);
	});	
	
	$(".map_point.p15, .tc15").hover(function(){
		$(".line.p15").stop();
		$(".line.p15").animate({width : "170", height : "550"}, 700);
	},function() {
		$(".line.p15").animate({width: "0", height: "0"}, 700);
	});	
	
});

function v_st(stanciya) {
	document.write(stanciya);
	}
	
var domains = 'http://www.lexus.su/';

var st_1 = "м. Пражская<br/>т. 8 (925) 504-71-32<br/>т. 8 (925) 500-85-32";
function open_1() { open (domains+"maps/ujnaya.htm", "displayWindow");}

var st_2 = "м. Тульская<br/>т. 8 (985) 644-93-58<br/>т. 8 (925) 508-66-53";
function open_2() { open (domains+"maps/tulskaya.htm", "displayWindow");}

var st_3 = "м. Тушинская<br/>т. 8 (985) 967-57-91<br/>т. 8  (910) 452-33-43";
function open_3() { open (domains+"maps/tushinskaya.htm", "displayWindow");}

var st_4 = "м. Молодежная<br/>т. 8 (985) 227-54-63<br/> <br/>";
function open_4() { open (domains+"maps/molodezhnaya.htm", "displayWindow");}

var st_5 = "м. Войковская<br/>т. 8 (925) 518-77-65<br/>т. 8 (925) 772-18-99";
function open_5() { open (domains+"maps/voikovskaya.htm", "displayWindow");}

var st_6 = "м. Новые черемушки<br/>т. 8 (985) 644-51-80<br/> <br/>";
function open_6() { open (domains+"maps/new_cheremushki.htm", "displayWindow");}

var st_7 = "м. Домодедовская<br/>т. 8 (985) 967-57-86<br/>т. 8 (985) 967-57-82";
function open_7() { open (domains+"maps/domodedovskaya.htm", "displayWindow");}

var st_8 = "Авторынок Жулебино<br/>т. 8 (925) 772-43-51<br/>т. 8 (985) 784-81-98";
function open_8() { open (domains+"maps/zhulebino.htm", "displayWindow");}

var st_9 = "м. Авиамоторная<br/>т. 8 (985) 774-79-60<br/> <br/>";
function open_9() { open (domains+"maps/aviamotornaya.htm", "displayWindow");}

var st_10 = "г. Балашиха<br/>т. 8 (985) 774-41-26<br/> <br/>";
function open_10() { open (domains+"maps/balashiha.htm", "displayWindow");}

var st_11 = "м. Щелковская<br/>т. 8 (985) 643 53 70<br/> <br/>";
function open_11() { open (domains+"maps/shelkovskaya.html", "displayWindow");}

var st_12 = "м. Отрадное<br/>т. 8 (985) 774 40 73<br/> <br/>";
function open_12() { open (domains+"maps/otradnoe.htm", "displayWindow");}

var st_13 = "м. Медведково<br/>т. 8 (925) 748-88-71<br/>т. 8 (925) 508-66-53";
function open_13() { open (domains+"maps/medvedkovo.htm", "displayWindow");}

var st_14 = "м. П.Разумовская<br/>т. 8 (925) 506-65-43<br/> <br/>";
function open_14() { open (domains+"maps/p_razumovskaya.htm", "displayWindow");}

var st_15 = "м. Алексеевская<br/>т. 8 (985) 920-35-84<br/>т. 8 (925) 500-87-59";
function open_15() { open (domains+"maps/alekseevskaya.htm", "displayWindow");}

