  function showbig(picname) {
    window.open('/inc/foto.asp?pic='+picname,'_blank','scrollbars=yes,taskbar=no,resizeable=no,status=no,menubar=no,top=30,left=30,width=30,height=30');
  }
  function shownew(filename) {
    window.open(filename,'_blank','scrollbars=yes,taskbar=no,resizeable=no,status=no,menubar=no,top=30,left=30,width=30,height=30');
  }

	function list( idtable)
	{
	table=document.getElementById(idtable);
	                if(table.className=="shw")
	                {
	                        table.className="hdn";
	                }
	                else if(table.className=="hdn")
	                {
	                        table.className="shw";
	                        }
	}


	if (!document.layers&&!document.all)
	        event="test"

	function showtip(current,e,text){
	        if (document.all){
	                thetitle=text.split('&#039<br>&#039')
	        if (thetitle.length>1){
	                thetitles='&#039&#039'
	        for (i=0;i<thetitle.length;i++)
	                thetitles+=thetitle[i]
	        current.title=thetitles
	        }else
	                current.title=text
	        }
	        else if (document.layers){
	                document.tooltip.document.write('&#039<layer bgColor="white" style="border:1px solid black;font-size:12px;">&#039'+text+'&#039</layer>&#039')
	                document.tooltip.document.close()
	                document.tooltip.left=e.pageX+5
	                document.tooltip.top=e.pageY+5
	                document.tooltip.visibility="show"
	        }
	}

	function hidetip(){
	        if (document.layers)
	        document.tooltip.visibility="hidden"
	}

	function itog(num,ye)
	{
	   a=document.all("number"+num).value;
	 //document.write("as----"+document.all("price0").value);
	   k=document.all("num").value * 1;
	   s=0;
	   for(i=0; i<k; i++)
	      s = s + document.all("number"+i).value * document.all("price"+i).value;
	   document.all("res").value=s;
	   document.all("resrus").value=(s+0.0)*ye;
	}