function getText() {
	return document.body.innerHTML;
}

function switchVis(id) {
	var el = document.getElementById(id);
	el.style.display = (el.style.display=='block')?'none':'block';
}

/*регистрация*/
required = new Array("forename", "surname", "email", "adress", "telephone", "job_title");

        function val()
        {
        
                goAhead = true;
                formObj = document.getElementById('formContent');
                missing = new Array();
        
                for(j=0; j<required.length; j++) {
                        if (document.getElementById(required[j]).value == "" ) {
                                missing[missing.length] = required[j];
                                goAhead = false;
                        }
                }
        
                
                if (goAhead == false) {
                        alert("The following fields were left blank:\n\n- "+missing.join("\n- "));
                        return false;
                } else {
                        return true;
                }
                
                
        }
	
	function disclaimer_eng()
	{
		var x = "Disclaimer: \n \n Please be aware that any Prospectus published on this Website is addressed solely to the persons and countries specified therein and may be restricted by local law within the jurisdiction and failure to comply with such regulations may constitute a violation of the laws of those jurisdictions.\n \n The Prospectuses contained on this Website do not constitute any form of offer to sell, solicitation or an invitation to subscribe for or to buy securities in any jurisdiction (including in the United States). Nothing contained in the Prospectuses constitutes investment, legal, business, tax or other advice. In particular the information does not take into account your investment objectives, financial solution or particular needs.";
		if (!confirm(x)) return false;
	}
	
	function disclaimer_rus()
	{
		var x = "Заявление об ограничении ответственности: \n \n Проспекты эмиссии, представленные на настоящем Веб-сайте, предназначены исключительно для пользования лицами и странами, которым они адресованы, и могут быть ограничены законом в некоторых юрисдикциях. Несоблюдение настоящих норм может быть признано нарушением законов в данных юрисдикциях. Проспекты эмиссии, содержащиеся на настоящем Веб-сайте, не являются предложением, запросом или приглашением в отношении покупки или продажи ценных бумаг ни в одной из юрисдикций (включая Соединенные Штаты Америки). Информация, содержащаяся в Проспектах эмиссии, не может рассматриваться в качестве консультаций по вопросам инвестиций, права, предпринимательской деятельности, по налоговым и иным вопросам. В частности, настоящая информация не является основанием для ведения инвестиционной деятельности, принятия финансовых решения или реализации иных целей.";
		if (!confirm(x)) return false;
	}
/*просмотр видео с конференций*/

function SeeVideo(id,count_video)
{
    var i;
    for( i = 0;i < count_video; i++ )
    {
	if ( i == id)
	{
	    document.getElementById('video_big_'+i).style.display='';
	}
	else
	{
	    document.getElementById('video_big_'+i).style.display='none';
	}
    }
}