// JavaScript Document
<!--
mtvideoactive = new Image (); 
mtvideoactive.src = '/bitrix/templates/drawtutorials_ru/images/mt_video_act.gif';
mtpdfactive = new Image (); 
mtpdfactive.src = '/bitrix/templates/drawtutorials_ru/images/mt_pdf_act.gif';
mtfreeactive = new Image (); 
mtfreeactive.src = '/bitrix/templates/drawtutorials_ru/images/mt_free_act.gif';
mtnewsactive = new Image (); 
mtnewsactive.src = '/bitrix/templates/drawtutorials_ru/images/mt_news_act.gif';
mtfaqactive = new Image (); 
mtfaqactive.src = '/bitrix/templates/drawtutorials_ru/images/mt_faq_act.gif';

mtvideoinactive= new Image (); 
mtvideoinactive.src = '/bitrix/templates/drawtutorials_ru/images/mt_video_inact.gif';
mtpdfinactive= new Image (); 
mtpdfinactive.src = '/bitrix/templates/drawtutorials_ru/images/mt_pdf_inact.gif';
mtfreeinactive= new Image (); 
mtfreeinactive.src = '/bitrix/templates/drawtutorials_ru/images/mt_free_inact.gif';
mtnewsinactive= new Image (); 
mtnewsinactive.src = '/bitrix/templates/drawtutorials_ru/images/mt_news_inact.gif';
mtfaqinactive= new Image (); 
mtfaqinactive.src = '/bitrix/templates/drawtutorials_ru/images/mt_faq_inact.gif';

function imgAct (imgName)
{
 imgOn = eval (imgName+'active.src');
 document [imgName].src = imgOn;
}

function imgInAct (imgName)
{
 imgOff = eval (imgName+'inactive.src');
 document [imgName].src = imgOff;
}
// -->