<!--
// Show picture with autoresize function (by the web-browser window size)
function showpic(src, w, h, alt, aln, pw, ph, bw, bh) 
{
	if(src == null) return;
	var iw, ih, sss; // Set inner width and height
	if(window.innerWidth == null) 
	{
 	   iw = document.body.clientWidth;
	   ih=document.body.clientHeight; 
	}
	else 
	{
	   iw = window.innerWidth;
	   ih = window.innerHeight;
	}
	if(w == null) w = iw;
	if(h == null) h = ih;
	if(alt == null) alt = "";
	if(aln == null) aln = "left";
	if(pw == null) pw = 100;
	if(ph == null) ph = 100;
	if(bw == null) bw = 24;
	if(bh == null) bh = 24;
	var sw = Math.round((iw - bw) * pw / 100*0.95);
	var sh = Math.round((ih - bh) * ph / 100*0.95);
	if ((w * sh) / (h * sw) < 1) sw = Math.round(w * sh / h);
	else sh = Math.round(h * sw / w);
	document.write('<img border=0 src="'+src+'" width="'+sw+'" height="'+sh+'" align="'+aln+'">');
};

function liqSearchForm(w, url, ss) 
{
	if(url == null) url='search_results.html';
	var iw, ih, sss; // Set inner width and height
	if(window.innerWidth == null) 
 	   iw = document.body.clientWidth;
	else 
 	   iw = window.innerWidth;
	if(w == null) w = 30;
	var rt = iw/800;
	var fl = Math.round(w * rt);
	document.write('<form method="post" action="'+url+'"><input type="text" name="ss" value="'+ss+'" size="'+fl+'">&nbsp;<input type="submit" value="Найти!"></form>');
}

// -->

