<!--
//rollovers...

if(document.images) {
     
		main = new Image();
		main.src = "images/main.gif";
		mainover = new Image();
		mainover.src = "images/mainover.gif";
		
		
		foto = new Image();
		foto.src = "images/foto.gif";
		fotoover = new Image();
	  fotoover.src = "images/fotoover.gif";
		
		
		buy = new Image();
		buy.src = "images/buy.gif";
		buyover = new Image();
		buyover.src = "images/buyover.gif";
		
    advice = new Image();
		advice.src = "images/advice.gif";
		adviceover = new Image();
		adviceover.src = "images/adviceover.gif";
		  		
    contact = new Image();
		contact.src = "images/contact.gif";
		contactover = new Image();
		contactover.src = "images/contactover.gif";
}

function onoff(imgName,state) {
  if(document.images) {
    document.images[imgName].src = eval(imgName + state + ".src");
  }
}

var iwnc = 0;
function openWindow(title, target, w, h) {
		iwnc++;
		if (w > 0) {
			w += 20;
			h += 25;
			var nw = window.open(title, 'bw' + iwnc.toString() , 'width=' + w + ', height=' + h + ',alwaysRaised=yes,directories=false,toolbar=false,location=false,menubar=no,resizable=no,scrollbars=no,titlebar=yes');
		}
		else {
			var nw = window.open(title, 'bw' + iwnc.toString() , 'width=800, height=600, alwaysRaised=yes,directories=false,toolbar=false,location=false,menubar=no,resizable=no,scrollbars=no,titlebar=yes');
		}	
		nw.location.href = target;
		return false;
	}

function postform() {
	document.title += ' обработка вопроса...';
	document.forms['askform'].submit();
	return true;
}

function  reloadparent(target, ismail) {
	if (ismail == 1) {
		alert('Ваш вопрос задан, в ближайшее время будет ответ');
	}
	else {	
		alert('Ваш вопрос задан, в ближайшее время будет ответ, Вам придет уведомление на eMail');
	}	
	self.location = target;
	return ;
}

//-->
