// JavaScript Document
// Make an object pointing to the location of the Flash movie on your web server.
// Try using the font name as the variable name, makes it easy to remember which
// object you're using. As an example in this file, we'll use Futura.
var fUnivers = { src: '~/media/Files/J/Juridica/swfs/title-caption.ashx'};
var fUniversbold = { src: '~/media/Files/J/Juridica/swfs/title-caption.ashx'};

// sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(fUnivers, fUniversbold);


sIFR.replace(fUniversbold, {
	wmode: 'transparent',
	selector: 'p.bold',
	css: [
		  '.sIFR-root { color: #199e4f; }',
		 ]
});

sIFR.replace(fUnivers, {
        wmode: 'transparent',
	selector: 'p.normal',
	css: [
		  '.sIFR-root { color: #199e4f; }',
                  '.underline { color: #199e4f; text-decoration:underline; }',
	     ]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'h2.link',
	css:[ 
		 '.sIFR-root { color: #f99d34; }',
		 'a { color:#f99d34; text-decoration:none; position:relative;}',
		 'a:hover { color:#f99d34; text-decoration:none; position:relative;}',
		 ]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'h2.heading',
	css: [
	'.sIFR-root { color: #ffffff; }',
	]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'h2.headingsmall',
	css: [
		  '.sIFR-root { color: #ffffff; }',
		  ]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'h3.box1intro',
	css:[
            '.sIFR-root { color: #666666; }',
             ]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'h3.shareprice',
	css:[
            '.sIFR-root { color: #333333; }',
            '.big { color: #333333; font-size:18px; }',
            'small { color: #333333; font-size:12px; }',
            ]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'span.QuotePreviewLastPriceValue',
	css: [
		  '.sIFR-root { color: #333333; font-size:18px; }',
		  ]        
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'span.QuotePreviewCurrencyLabel',
	css: [
		  '.sIFR-root { color: #333333; font-size:18px; }',
		  ]        
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'span.QuotePreviewChangeValue',
	css:[
            '.sIFR-root { color: #333333; font-size:16px; }',
        ]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'h4.green',
	css: [
		  '.sIFR-root { color: #0d9946; }',
		  ]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'span.QuotePreviewLabel',
	css: [
		  '.sIFR-root { color: #0d9946; }',
		  ]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'div.NewsControlHeaderContainer',
	css: [
		  '.sIFR-root { color: #0d9946; }',
		  ]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'h4.keydate',
	css: [
		  '.sIFR-root { color: #333333; font-size:16px; }',
		  ]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'div.next-key-dateItemDateContainer',
	css: [
		  '.sIFR-root { color: #333333; font-size:16px; }',
		  ]
});


sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'p.inner-nav-titleSHTag',
	css: [
		  '.sIFR-root { color: #ffffff; }',
		  ]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'p.inner-nav-title-wideSHTag',
	css: [
		  '.sIFR-root { color: #ffffff; }',
		  ]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'h1.banner-title',
	css: [
		  '.sIFR-root { color: #ffffff; text-align:right;}',
		  ]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'h1.h1titleSHTag',
	css:[
		 '.sIFR-root { color: #1B3B68;text-align:left; }',
		 ]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'h1.inner-nav-titlePHTag',
	css: [
		  '.sIFR-root { color: #ffffff;text-align:left; }',
		  ]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'h2',
	css: [
		  '.sIFR-root { color: #1B3B68; }',
		  ]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'homeNewsControlHeaderContainer',
	css: [
		  '.sIFR-root { color: #1B3B68;text-align:left; }',
		  ]
});


sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'h1.relatedlinkstitle',
	css: [
		  '.sIFR-root { color: #1B3B68;text-align:left;}',
		  ]
});


sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'h2.alert-boxContainer',
	css: [
		  '.sIFR-root { color: #1B3B68;text-align:left; }',
		  ]
});



sIFR.replace(fUniversbold, {
	wmode: 'transparent',
	selector: 'h1',
	css: [
		  '.sIFR-root { color: #1B3B68;text-align:left; }',
		 ]
});

sIFR.replace(fUnivers, {
	wmode: 'transparent',
	selector: 'h2.inner-page-intro',
	css: [
		  '.sIFR-root { color: #199e4f;text-align:left; }',
		 ]
});