<!--

/* Схема проезда */
function switchPath(p) {
    var obj = document.getElementById('path');
    obj.src = obj.src.indexOf('gulden_map_'+p+'.png') == -1 ? '/images/map/gulden_map_'+p+'.png' : '/images/map/gulden_map_blank.png';
}

// Обманываем IE, флэш без рамочек
function showMenu() {
	document.write ('<object type="application/x-shockwave-flash" data="images/printco-menu1.swf" width="500" height="70" name="printko_menu1" id="printko_menu1"><param name="movie" value="images/printco-menu1.swf" /><param name="wmode" value="transparent" /></object>');
}

function showGallery() {
	var args = showGallery.arguments;
	document.write ('<object type="application/x-shockwave-flash" data="images/gallery.swf?m1=' + args[0] + '&m2=' + args[1] + '&m3=' + args[2] + '" width="300" height="160" name="printko_gallery" id="printko_gallery"><param name="movie" value="images/gallery.swf?m1=' + args[0] + '&m2=' + args[1] + '&m3=' + args[2] + '" /></object>');
}

// Открываем кртинку в новом окне
function viewImage(src)
{
	prevImg = new Image();
	prevImg.src = src;
	w = prevImg.width+10;
	h = prevImg.height+30;
	viewer = window.open(src, "PREV", "width=" + w +  ",height=" + h + "toolbar=no,status=no,scrollbars=no,menubar=no,resizable=no"); 
	viewer.document.body.style.padding = 0;
	viewer.document.body.style.margin = 0;
	viewer.document.body.style.textAlign = "center";
	viewer.resizeTo(w,h);
	viewer.focus();
	return false;
}

function showBanner() {
        var args = showBanner.arguments;
	        document.write ('<object type="application/x-shockwave-flash" data="images/banners/' + args[0] + '" width="200" height="70" name="printko_banner" id="printko_banner"> <param name="movie" value="images/banners/' + args[0] + '" /></object>');
    }
				

function openWin() 
{  
    var args=openWin.arguments;
	window.open('includes/image.php?img=../'+args[0], '_blank', 'toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=no,width=820,height=610');
	}
//-->
