function print_shcala(num,width1,width2,name,nameb,namee,color,design,lang,reportnum)
{
    //alert(lang);
    document.write('<tr>');    
    document.write('<td rowspan="3" valign="middle" class="sch_t" align="left" width="25%">'+nameb+' </td>');
    document.write('<td height="30px">');
    document.write('<table cellspacing="0" cellpadding="0" border="0">');    
    document.write('<tr>');    
    document.write('<td id="ubegin'+reportnum+'-'+num+'"></td>');
    document.write('<td id="umiddle'+reportnum+'-'+num+'"><img id="arrowd'+reportnum+'-'+num+'" src=""></td>');
    document.write('<td id="uend'+reportnum+'-'+num+'"></td>');
    document.write('</tr>');        
    document.write('</table>');        
    document.write('</td>');        
    document.write('<td rowspan="3" valign="middle" class="sch_t" align="right" width="25%"> '+namee+'</td>');    
    document.write('</tr>');
    document.write('<tr>');
//    document.write('<td class="sch_t" align="right">'+nameb+' - </td>');    
    document.write('<td valign="middle" width="338px" height="10px" align="center">');    
    document.write('<table cellspacing="0" cellpadding="0" width="320px" align="center" border=0>');
    document.write('<tr height="10px">');    
    document.write('<td width="40px" class="'+color+'_sc1"></td>');
    document.write('<td width="40px" class="'+color+'_sc2"></td>');
    document.write('<td width="160px" class="'+color+'_sc3"></td>');
    document.write('<td width="40px" class="'+color+'_sc2"></td>');    
    document.write('<td width="40px" class="'+color+'_sc1"></td>');    
    document.write('</tr>');   
    document.write('</table>');     
    document.write('</td>');    
//    document.write('<td class="sch_t"> - '+namee+'</td>');        
    document.write('</tr>');
    if(width2)
    {
	document.write('<tr>');
//	document.write('<td>&nbsp;</td>');        
	document.write('<td>');
	document.write('<table cellspacing="0" cellpadding="0" border="0">');    
	document.write('<tr>');    	
	if( width2 == 1000000 )
	{	
	    document.write('<td><img src="'+design+'/ky4a.gif" width="320px"></td>');
	}
	else	
	{
	    document.write('<td id="dbegin'+reportnum+'-'+num+'"></td>');
	    document.write('<td id="dmiddle'+reportnum+'-'+num+'"><img id="arrowu'+reportnum+'-'+num+'" src=""></td>');
	    document.write('<td id="dend'+reportnum+'-'+num+'"></td>');
	}    
	document.write('</tr>');        
	document.write('</table>');        
	document.write('</td>');        	
//	document.write('<td>&nbsp;</td>');        
	document.write('</tr>');
    }	
    theObj = eval("document.getElementById(\'ubegin"+reportnum+"-"+num+"\')");
    theImg = eval("document.getElementById(\'arrowd"+reportnum+"-"+num+"\')");    
//    theObj.style.width = width1+"px";
    postfix = '';
    if( lang == 'russian' )postfix='_ru';
    if( lang == 'german' )postfix='_de';
    if( lang == 'italian' )postfix='_it';
    if(width1<160)
    {
	theImg.src = "/static/images" + "/lu"+postfix+".gif";    
//	theObj.style.width = (width1-9)+"px";	
	theObj.style.width = (width1)+"px";	
    }	
    else	
    {
	theImg.src = "static/images" + "/ru"+postfix+".gif";        
	theObj.style.width = (width1-63)+"px";	
    }	
    if(width2 && (width2<1000000))
    {
	theObj1 = eval("document.getElementById(\'dbegin"+reportnum+"-"+num+"\')");
//	theObj1.style.width = width2+"px";    
	theImg1 = eval("document.getElementById(\'arrowu"+reportnum+"-"+num+"\')");
//	alert(width2);
	if(width2<160)
	{    
	    theImg1.src = "static/images" + "/ld"+postfix+".gif"; 
//	    theObj1.style.width = (width2-9)+"px";    	           
	    theObj1.style.width = (width2)+"px";    	           
	}    
	else
	{
	    theImg1.src = "static/images" + "/rd"+postfix+".gif";	
	    theObj1.style.width = (width2-63)+"px";    	    
	}    
    }	    
}