function switcherFlashTitle(){
    o=getElementsByClassName(document,'h1','news');
    for(x in o){
        w='800';
        if(o[x].title!=undefined){
            w=o[x].title;
            if(w=='')w='800';
            o[x].title=o[x].innerHTML;
        }
        t=o[x].innerHTML;
        o[x].innerHTML="<div class=\"makeflash\" title=\"'src':'/images/flash/boxtitleh1.swf?t="+t+"','height':'50','width':'"+w+"','version':'7', 'wmode':'transparent', 'scale':'noscale'\" style=\"width:'+w+'px; height:50px;\"></div>";
    }

    o=getElementsByClassName(document,'span','h2');
    for(x in o){
        w='800';
        if(o[x].title!=undefined){
            w=o[x].title;
            if(w=='')w='800';
            o[x].title=o[x].innerHTML;
        }
        t=o[x].innerHTML;
        o[x].innerHTML="<div class=\"makeflash\" title=\"'src':'/images/flash/boxtitleh2.swf?t="+t+"','height':'40','width':'"+w+"','version':'7', 'wmode':'transparent', 'scale':'noscale'\" style=\"width:'+w+'px; height:40px;\"></div>";
    }

    o=getElementsByClassName(document,'span','h3');
    for(x in o){
        w='800';
        if(o[x].title!=undefined){
            w=o[x].title;
            if(w=='')w='800';
            o[x].title=o[x].innerHTML;
        }
        t=o[x].innerHTML;
        o[x].innerHTML="<div class=\"makeflash\" title=\"'src':'/images/flash/boxtitleh3.swf?t="+t+"','height':'40','width':'"+w+"','version':'7', 'wmode':'transparent', 'scale':'noscale'\" style=\"width:'+w+'px; height:40px;\"></div>";
    }

    o=getElementsByClassName(document,'span','h4');
    for(x in o){
        w='800';
        if(o[x].title!=undefined){
            w=o[x].title;
            if(w=='')w='800';
            o[x].title=o[x].innerHTML;
        }
        t=o[x].innerHTML;
        o[x].innerHTML="<div class=\"makeflash\" title=\"'src':'/images/flash/boxtitleh4.swf?t="+t+"','height':'30','width':'"+w+"','version':'7', 'wmode':'transparent', 'scale':'noscale'\" style=\"width:'+w+'px; height:30px;\"></div>";
    }

    makeFlash();
}

//addEvent(window, 'load', switcherFlashTitle); 

