$(document).ready(function(){


//judul_listtumbh
$('.pagetitle').flash(
        { 
            src: '/assets/jqsifr/fonts/berlin.swf', 
wmode: 'transparent',
            flashvars: { 
                css: [
                    '* { color: #40565e; text-align:left; position:absolute; }',
                    'a { color: #40565e; text-decoration: none; text-align:left; position:absolute; }',
                    'a:hover { color: #40565e;  text-align:left; position:absolute; }'
                ].join(' ')
            }
        },
        { version: 7 },
        function(htmlOptions) {
            htmlOptions.flashvars.txt = this.innerHTML;
            //this.innerHTML = '<div>'+this.innerHTML+'</div>';
			 this.innerHTML = '<div>'+this.innerHTML+'</div>';
            var $alt = $(this.firstChild);
            htmlOptions.height = $alt.height();
            htmlOptions.width = $alt.width();
            $alt.addClass('alt');
            $(this)
                .addClass('flash-replaced')
                .prepend($.fn.flash.transform(htmlOptions));						
        }
    );  


//projecttitle
$('.projecttitle').flash(
        { 
            src: '/assets/jqsifr/fonts/berlin.swf', 
wmode: 'transparent',
            flashvars: { 
                css: [
                    '* { color: #40565e; text-align:left; position:absolute; }',
                    'a { color: #40565e; text-decoration: none; text-align:left; position:absolute; }',
                    'a:hover { color: #40565e;  text-align:left; position:absolute; }'
                ].join(' ')
            }
        },
        { version: 7 },
        function(htmlOptions) {
            htmlOptions.flashvars.txt = this.innerHTML;
            //this.innerHTML = '<div>'+this.innerHTML+'</div>';
			 this.innerHTML = '<div>'+this.innerHTML+'</div>';
            var $alt = $(this.firstChild);
            htmlOptions.height = $alt.height();
            htmlOptions.width = $alt.width();
            $alt.addClass('alt');
            $(this)
                .addClass('flash-replaced')
                .prepend($.fn.flash.transform(htmlOptions));						
        }
    );  


//Headmenu
$('.menu ul li').flash(
        { 
            src: '/assets/jqsifr/fonts/berlin.swf', 
wmode: 'transparent',
            flashvars: { 
                css: [
                    '* { color: #40565e; text-align:left; position:absolute; }',
                    'a { color: #40565e; text-decoration: none; text-align:left; position:absolute; }',
                    'a:hover { color: #000000;  text-align:left; position:absolute; }'
                ].join(' ')
            }
        },
        { version: 7 },
        function(htmlOptions) {
            htmlOptions.flashvars.txt = this.innerHTML;
            //this.innerHTML = '<div>'+this.innerHTML+'</div>';
			 this.innerHTML = '<div>'+this.innerHTML+'</div>';
            var $alt = $(this.firstChild);
            htmlOptions.height = $alt.height();
            htmlOptions.width = $alt.width();
            $alt.addClass('alt');
            $(this)
                .addClass('flash-replaced')
                .prepend($.fn.flash.transform(htmlOptions));						
        }
    );  


});

