function load_img(i) {var img = new Image(); img.src = i; return img;}

function onoff(name, mode) {if ( mode == 'on' ) apendix = '-a'; else apendix = ''; window.document.images[name].src = '/p/o-'+name+apendix+'.gif';}

function newWin(s)	//голосование
	{	
	var h="oVote";
	var o=550;
	var p=450;
	var l=document.body.offsetWidth-o-48;
	var t=40;
	basketwin=window.open(s,h,"resizable, scrollbars,toolbar=0,location=0,menubar=0,width="+o+",height="+p+",left="+l+",top="+t+"");
	basketwin.focus();
	}

