/*

11 июня 2006 г.

Функция, которую надо ставить на событие onclick якоря.
У якоря необходимо задать атрибуты href и target

Zimin Mikhail
mishundic@mail.ru

В Opere будет открываться в новом табе, но не в новом окне. Для того, чтобы открывалось в новом окне необходимо 
указать ширину и высоту нового окна, но тогда в Opere не будет показан menubar, а его наличие в этом конкретном
случае (sreklama.ru) обязательно.

*/

/*
function showBigImage(image)
{

	var width = 900;
	var height = 650;
	
	alert(href)
	
	href = 'images/' + image + '.html'
	target = image
	
	var wnd = window.open(href, target, 'location=no,status=yes,toolbar=no,menubar=yes,scrollbars=yes,resizable=yes,width='+width+',height='+height);
	wnd.focus();
}
*/

function showCertificate(htmlPage)
{
	width = 900;
	height = 650;
	
	h = htmlPage + '.html'
	t = htmlPage

	wnd = window.open(h, t, 'location=no,status=yes,toolbar=no,menubar=yes,scrollbars=yes,resizable=yes,width='+width+',height='+height);
	wnd.focus();
}




function showBigMap(map)
{

	width = 900;
	height = 650;
	
	h = map + '.html'
	t = map
	
	wnd = window.open(h, t, 'location=no,status=yes,toolbar=no,menubar=yes,scrollbars=yes,resizable=yes,width='+width+',height='+height);
	wnd.focus();
}



function showBigFurnitureImage(image)
{
	var width = 700;
	var height = 510;
	
	h = 'popup_image.php?image=' + image
	t = image

	wnd = window.open(h, t, 'location=no,status=yes,toolbar=no,menubar=yes,scrollbars=no,resizable=no,width='+width+',height='+height);
	wnd.focus();
}

