function img_over(txt_id, img_id) {
	
	txt_id = eval(txt_id);
	img_id = eval(img_id);

	txt_id.style.color = '#FF8D0A';
	img_id.style.filter = 'alpha(Opacity=80)';		
	}
	
function img_out(txt_id, img_id) {
	
	txt_id = eval(txt_id);
	img_id = eval(img_id);

	txt_id.style.color = 'black';
	img_id.style.filter = 'alpha(Opacity=100)';
	}
	
	
function openmap() {

  var win;
  win = window.open("","_blank", "width=300,height=300");
  win.document.write("<html><head><title>Схема проезда</title></head><body>");
  win.document.write('<div style="position:absolute;width:300px;height:300px;left:0px;top:0px">');
  win.document.write('<img src="images/map.gif"></div></body></html>');
}


var clickFlag = false;

function checkForm() {

	if(clickFlag == true) return false;
	
	var txt = '';
	
	if(document.order.order_name.value == '')
		txt = txt + ' * ФИО\n';

	if(document.order.order_phone.value == '')
		txt = txt + ' * Контактный телефон\n';

	if(document.order.order_mail.value == '')
		txt = txt + ' * E-mail\n';

	if(txt != '') {
		
		txt = "Укажите, пожалуйста, следующую информацию:\n\n" + txt;
		window.alert(txt);	
		return false;
		}
		
	clickFlag = true;
	
	return true;	
	}


