var cam = {
	src: 'http://www.ruadebaixo.com/wp-content/themes/ruadebaixo/swf/Cam.swf'
		,ratios: [8, 1.63, 11, 1.55, 13, 1.54, 17, 1.53, 24, 1.5, 34, 1.48, 49, 1.47, 73, 1.46, 79, 1.45, 80, 1.46, 1.45]
	};
sIFR.activate(cam);

/*sIFR.replace(cam, {
	selector: 'h1', wmode: 'transparent'
	,css: [
	  '.sIFR-root { margin: 0; margin-bottom: 25px; padding: 0; font-size:36px; font-style:bold; color: #444444; height: 40px;}'
	]
});*/
sIFR.replace(cam, {
	selector: '.destaquesTitle, .buscaBobbyTitle, .comunidadeRDBTitle, .loginTitle, .passatemposTitle', wmode: 'transparent'
	,css: [
	  '.sIFR-root { margin: 0; margin-bottom: 25px; padding: 0; font-size:36px; font-style:bold; color: #444444; height: 40px;}'
	]
});
sIFR.replace(cam, {
	selector: '.homeColumn1Title, .homeColumn2Title, .homeColumn3Title', wmode: 'transparent'
	,css: [
	  '.sIFR-root { margin: 0; margin-bottom: 20px; padding: 0; font-size:30px; font-style:bold; color: #444444; height: 36px;}'
	]
});

// Homepage replacements START
sIFR.replace(cam, {
	selector: '.destaquesTitleBG', wmode: 'transparent', preventWrap: true
	,css: [
	  '.sIFR-root { font-size: 24px; }',
	  'h3 { margin-top: 1px; margin-left: 3px; }',
	  'a { text-decoration: none; color: #000000; }',
	  'a:hover { color: #000000; }'
	]
});
sIFR.replace(cam, {
	selector: '.cultoTitleBG, .visuaisbarulhosTitleBG', wmode: 'transparent', preventWrap: true
	,css: [
	  '.sIFR-root { font-size: 24px; }',
	  'h3 { margin-top: 1px; margin-left: 3px; }',	  
	  'a { text-decoration: none; color: #FFFFFF; }',
	  'a:hover { color: #FFFFFF; }'
	]
});
// Homepage replacements END

sIFR.replace(cam, {
	selector: '.passatemposQuestion', wmode: 'transparent', preventWrap: false
	,css: [
	  '.sIFR-root { font-size: 18px; color: #747474; }'
	]
});

// Single replacements START

sIFR.replace(cam, {
	selector: '.postCategory', wmode: 'transparent', forceSingleLine: true
	,css: [
	  '.sIFR-root { font-size: 20px; color: #444444; }'
	]
});	
sIFR.replace(cam, {
	selector: '.editionInfo', wmode: 'transparent', forceSingleLine: true
	,css: [
	  '.sIFR-root {font-size: 12px; color: #989898;}'
	]
});	

sIFR.replace(cam, {
	selector: '.postDetailsExcerpt', wmode: 'transparent', preventWrap: false
	,css: [
	  '.sIFR-root { font-size: 18px; color: #444444; }'
	]
});

sIFR.replace(cam, {
	selector: '.postDetailsTitle', wmode: 'transparent'
	,css: [
	  '.sIFR-root { margin: 0; margin-bottom: 25px; padding: 0; font-size:36px; font-style:bold; color: #000000; height: 40px;}'
	]
});
// Single replacements END

sIFR.replace(cam, {
	selector: '.archiveTitle', wmode: 'transparent', forceSingleLine: true
	,css: [
	  '.sIFR-root { margin: 0; margin-bottom: 25px; padding: 0; font-size:36px; font-style:bold; color: #444444; height: 40px;}'
	]
});
sIFR.replace(cam, {
	selector: '.archiveDate', wmode: 'transparent', forceSingleLine: true
	,css: [
	  '.sIFR-root { margin: 0; margin-bottom: 25px; padding: 0; font-size:16px; font-style:bold; text-align: right; color: #989898; height: 40px;}'
	]
});
sIFR.replace(cam, {
	selector: '.timeTrip h2', wmode: 'transparent', forceSingleLine: true
	,css: [
	  '.sIFR-root { margin: 0; margin:0; padding: 0; font-size:17px; font-style:bold; color: #7b7b7b; }'
	]
});


// SideBar replacements START
sIFR.replace(cam, {
	selector: '.optionsTitle, .top5BobbyTitle, .top5CommentsTitle, .pubTitle, .externalLinksTitle, .relatedLinksTitle, .latestRegistrationTitle, .gallerySideTitle, .gallerySideTitleTop3', wmode: 'transparent', preventWrap: true
	,css: [
	  '.sIFR-root { font-size: 20px; color: #444444; }'
	]
});	

sIFR.replace(cam, {
	selector: '.optionsContents-2-title', wmode: 'transparent', preventWrap: false
	,css: [
	  '.sIFR-root { font-size: 12px; color: #75757c; }',
	  'a {font-size: 12px; color: #75757c; text-decoration:none; }',
	  'a:hover {font-size: 12px; color: #444444; }'
	]
});	

// SideBar replacements END


sIFR.replace(cam, {
	selector: '.searchTitle, .searchResultsTitle', wmode: 'transparent', preventWrap: true
	,css: [
	  '.sIFR-root { font-size: 20px; color: #444444; }'
	]
});	
sIFR.replace(cam, {
	selector: '.watchOutForTheDog, .requiredField', wmode: 'transparent', preventWrap: true
	,css: [
	  '.sIFR-root { font-size: 20px; color: #444444; }'
	]
});

sIFR.replace(cam, {
	selector: '.labelinput', wmode: 'transparent', preventWrap: true
	,css: [
	  '.sIFR-root { text-align: right; font-size: 12px; color: #444444; }'
	]
});

sIFR.replace(cam, {
	selector: '.registerTitle', wmode: 'transparent', preventWrap: true
	,css: [
	  '.sIFR-root { font-size: 20px; color: #444444; }'
	]
});
sIFR.replace(cam, {
	selector: '.registerLabel', wmode: 'transparent', preventWrap: true
	,css: [
	  '.sIFR-root { text-align: right; font-size: 12px; color: #444444; }'
	]
});
sIFR.replace(cam, {
	selector: '.registerWelcomeMessage, .registerTitle2', wmode: 'transparent', preventWrap: true
	,css: [
	  '.sIFR-root { font-size: 30px; color: #444444; }'
	]
});
sIFR.replace(cam, {
	selector: '.user-display-name', wmode: 'transparent', preventWrap: false
	,css: [
	  '.sIFR-root { font-size: 30px; color: #444444; }'
	]
});
sIFR.replace(cam, {
	selector: '.user-role', wmode: 'transparent', preventWrap: false
	,css: [
	  '.sIFR-root { font-size: 16px; color: #b8b8b8; }'
	]
});
sIFR.replace(cam, {
	selector: '.profileContentsColumn-title', wmode: 'transparent', preventWrap: false
	,css: [
	  '.sIFR-root { font-size: 12px; color: #444444; }'
	]
});
sIFR.replace(cam, {
	selector: '.user-profile-edit, .user-profile-admin, .user-profile-logout', wmode: 'transparent', preventWrap: false
	,css: [
	  '.sIFR-root { font-size: 12px; color: #444444; text-align: center; }',
	  'a { color: #444444; text-decoration:none;}',
	  'a:hover { color: #444444; text-decoration:none;}'
	]
});

sIFR.replace(cam, {
	selector: '.galleryArchiveTitle', wmode: 'transparent', preventWrap: false
	,css: [
	  '.sIFR-root { font-size: 22px; color: #444444; }'
	]
});

// Rdb World START
sIFR.replace(cam, {
	selector: '.rdbWorldStats', wmode: 'transparent', preventWrap: true
	,css: [
	  '.sIFR-root { font-size: 18px; }',
	  'h3 { margin-top: 1px; margin-left: 0px; color: #444444; }',	  
	  'a { text-decoration: none; color: #FFFFFF; }',
	  'a:hover { color: #FFFFFF; }'
	]
});

sIFR.replace(cam, {
	selector: '.rdbWorldStats_StatsLine', wmode: 'transparent', preventWrap: true
	,css: [
	  '.sIFR-root { font-size: 11px; color: #616161; }',
	  '.rdbWorldStats_StatsLineNumber { color: #FF0DA3; }',
	  'h3 { margin-top: 1px; margin-left: 0px; color: #616161; }',	  
	  'a { text-decoration: none; color: #FFFFFF; }',
	  'a:hover { color: #FFFFFF; }'
	]
});
sIFR.replace(cam, {
	selector: '.rdbWorldStats_StatsLineOff', wmode: 'transparent', preventWrap: true
	,css: [
	  '.sIFR-root { font-size: 11px; color: #aaaaaa; }',
	  '.rdbWorldStats_StatsLineNumber { color: #cccccc; }',
	  'h3 { margin-top: 1px; margin-left: 0px; color: #616161; }',
	  'a { text-decoration: none; color: #FFFFFF; }',
	  'a:hover { color: #FFFFFF; }'
	]
});
// Rdb World END

// Footer START
sIFR.replace(cam, {
	selector: '.footerTitle', wmode: 'transparent', preventWrap: true
	,css: [
	  '.sIFR-root { font-size: 16px; }',
	  'h3 { margin-top: 1px; margin-left: 0px; color: #444444; }',	  
	  'a { text-decoration: none; color: #FFFFFF; }',
	  'a:hover { color: #FFFFFF; }'
	]
});
// Footer END

// Random user homepage
sIFR.replace(cam, {
	selector: '.RandomUserName', wmode: 'transparent', preventWrap: true
	,css: [
	  '.sIFR-root { font-size: 14px; }',
	  'h3 { margin-top: 0px; margin-left: 0px; color: #444444; }',
	  'a { text-decoration: none; color: #FFFFFF; }',
	  'a:hover { color: #FFFFFF; }'
	]
});
sIFR.replace(cam, {
	selector: '.RandomUserOccupation', wmode: 'transparent', preventWrap: true
	,css: [
	  '.sIFR-root { font-size: 12px; }',
	  'h3 { margin-top: 0px; margin-left: 0px; color: #a6a6a6; }',
	  'a { text-decoration: none; color: #FFFFFF; }',
	  'a:hover { color: #FFFFFF; }'
	]
});
// Random user homepage

// RDB WORLD
sIFR.replace(cam, {
	selector: '#RdbWorldNav ul li', wmode: 'transparent', preventWrap: false
	,css: [
	  '.item	{ font-size: 13px; color: #444444; }'
	]
});
// RDBWORLD