<!-- 
	// menu
	function preload()
		{
		var img=new Array;
		for(var i=0;i<preload.arguments.length;i++)
			{
			img[i]=new Array;
			img[i][0]=new Image();
			img[i][0].src='menu/menu_none/'+preload.arguments[i]+'.gif';
			img[i][1]=new Image();
			img[i][1].src='menu/menu_highlight/'+preload.arguments[i]+'.gif';
			}
		document.Data=img;
		}
		
	function switch_image(id, mode)
		{
		obj = document.getElementById(id);
		if (obj != null && document.images)
			{
			switch(mode)
				{
				case 0: mode='none'; break;
				case 1: mode='highlight'; break;
				}
			obj.src = 'menu/menu_'+mode+'/'+id+'.gif';
			} 
		}
	
	// gallery
	function open_image(id, c, w, h)
		{
		h = h+30;
		window.open('pict_zoom.php?id='+id+'&c='+c+'&gallery=1', 'gallery_zoom', 'height='+h+',width='+w+',toolbar=no,status=yes,scroolbars=no');
		}
	
	
	// colorize row
	function draw_row(obj,over,c1,c2)
		{
		c1 = typeof(c1)=='undefined' ? '#FFC37D' : c1;
		c2 = typeof(c2)=='undefined' ? '#E7E7E3' : c2;
		if(obj != null)
			{
			var color = over ? c1 : c2;
			obj.style.background = color;
			}
		}
// end  -->

