// JavaScript Document
$(document).ready(function(){
				
				
				
				$('#mm li').flash(
									{ 
										src: 'sifr/strada.swf', 
										height:16,
										wmode: 'transparent', 
										flashvars: { 
											css: [
											'* {color:#0082D6;}',										
											'a:link, a:visited { color: #002B71; text-decoration: none; }',
											'a:hover, a:active {color: #0082D6; text-decoration: none; }'
											].join(' ')
										}
									},
									{ version: 8 },
									function(htmlOptions) {
										htmlOptions.flashvars.txt = this.innerHTML;
										this.innerHTML = '<span>'+this.innerHTML+'</span>';
										var $alt = $(this.firstChild);
										
										htmlOptions.width = $alt.width();
										$alt.addClass('alt');
										$(this)
											.addClass('flash-replaced')
											.prepend($.fn.flash.transform(htmlOptions));						
									}
								);
				
				$('#xsm p').flash(
									{ 
										src: 'sifr/strada.swf', 
										width:135,
										height:87,
										flashvars: { 
											css: [
											'* {color:#002B71;font-size:12px;}',											
											'a:link, a:visited { color: #002B71; text-decoration: underline; font-size:12px; }',
											'a:hover, a:active {color: #0082D6; text-decoration: none; }'
											].join(' ')
										}
									},
									{ version: 8 },
									function(htmlOptions) {
										htmlOptions.flashvars.txt = this.innerHTML;
										this.innerHTML = '<span>'+this.innerHTML+'</span>';
										var $alt = $(this.firstChild);
										
										htmlOptions.width = $alt.width();
										$alt.addClass('alt');
										$(this)
											.addClass('flash-replaced')
											.prepend($.fn.flash.transform(htmlOptions));						
									}
								);
								
				$('#tm').flash(
									{ 
										src: 'sifr/strada.swf', 
										height:27,
										flashvars: { 
											css: [
											'* {color:#0082D6;font-size:20px; }',											
											'a:link, a:visited { color: #002B71; text-decoration: underline; font-size:12px; }',
											'a:hover, a:active {color: #0082D6; text-decoration: none; }'
											].join(' ')
										}
									},
									{ version: 8 },
									function(htmlOptions) {
										htmlOptions.flashvars.txt = this.innerHTML;
										this.innerHTML = '<span>'+this.innerHTML+'</span>';
										var $alt = $(this.firstChild);
										
										htmlOptions.width = $alt.width();
										$alt.addClass('alt');
										$(this)
											.addClass('flash-replaced')
											.prepend($.fn.flash.transform(htmlOptions));						
									}
								);
								
				$('#partners_list h2').flash(
									{ 
										src: 'sifr/stradaSemiBold.swf', 
										height:27,
										flashvars: { 
											css: [
											'* {color:#0082D6;font-size:20px;}',											
											'a:link, a:visited { color: #002B71; text-decoration: underline; font-size:12px; }',
											'a:hover, a:active {color: #0082D6; text-decoration: none; }'
											].join(' ')
										}
									},
									{ version: 8 },
									function(htmlOptions) {
										htmlOptions.flashvars.txt = this.innerHTML;
										this.innerHTML = '<span>'+this.innerHTML+'</span>';
										var $alt = $(this.firstChild);
										
										htmlOptions.width = $alt.width();
										$alt.addClass('alt');
										$(this)
											.addClass('flash-replaced')
											.prepend($.fn.flash.transform(htmlOptions));						
									}
								);
								
				$('.piece').flash(
									{ 
										src: 'sifr/stradaSemiBold.swf', 
										height:27,
										flashvars: { 
											css: [
											'* {color:#0082D6;font-size:20px;}',											
											'a:link, a:visited { color: #002B71; text-decoration: underline; font-size:12px; }',
											'a:hover, a:active {color: #0082D6; text-decoration: none; }'
											].join(' ')
										}
									},
									{ version: 8 },
									function(htmlOptions) {
										htmlOptions.flashvars.txt = this.innerHTML;
										this.innerHTML = '<span>'+this.innerHTML+'</span>';
										var $alt = $(this.firstChild);
										
										htmlOptions.width = $alt.width();
										$alt.addClass('alt');
										$(this)
											.addClass('flash-replaced')
											.prepend($.fn.flash.transform(htmlOptions));						
									}
								);
								
				$('#rm').flash(
									{ 
										src: 'sifr/strada.swf', 
										flashvars: { 
											css: [
											'* {font-size:16px;line-height:70px;color: #002B71;}',																			
											'a:link, a:visited { color: #002B71; text-decoration: underline;font-size:16px;line-height:70px; }',
											'a:hover, a:active {color: #0082D6; text-decoration: none;font-size:16px;line-height:70px; }'
											].join(' ')
										}
									},
									{ version: 8 },
									function(htmlOptions) {
										htmlOptions.flashvars.txt = this.innerHTML;
										this.innerHTML = '<span>'+this.innerHTML+'</span>';
										var $alt = $(this.firstChild);
										
										htmlOptions.width = $alt.width();
										$alt.addClass('alt');
										$(this)
											.addClass('flash-replaced')
											.prepend($.fn.flash.transform(htmlOptions));						
									}
								);
								
				$('.sb h2').flash(
									{ 
										src: 'sifr/stradaSemiBold.swf', 
										width:180,
										height:21,
										wmode: 'transparent', 
										flashvars: { 
											css: [
											'* {color:#0082D6;font-size:14px;}',											
											'a:link, a:visited { color: #002B71; text-decoration: underline; font-size:12px; }',
											'a:hover, a:active {color: #0082D6; text-decoration: none; }'
											].join(' ')
										}
									},
									{ version: 8 },
									function(htmlOptions) {
										htmlOptions.flashvars.txt = this.innerHTML;
										this.innerHTML = '<span>'+this.innerHTML+'</span>';
										var $alt = $(this.firstChild);
										
										htmlOptions.width = $alt.width();
										$alt.addClass('alt');
										$(this)
											.addClass('flash-replaced')
											.prepend($.fn.flash.transform(htmlOptions));						
									}
								);

			});
