$(document).ready(function() {

	if($.browser.msie){
		$('.thm-work li a').hover(
			function(){
				$(this).children().css({'position':'absolute', 'top' : '-122px', 'left' : '0'});	
			},
			function(){
				$(this).children().css({'position':'absolute', 'top' : '0', 'left' : '0'});	
			}
		)
		
		$('.client-list li a').hover(
			function(){
				$(this).children().css({'position':'absolute', 'top' : '-83px', 'left' : '-10px'});				
			},
			function(){
				$(this).children().css({'position':'absolute', 'top' : '0', 'left' : '-10px'});				
			}
		)
	}

});

/* sIFR configuration
----------------------------------------------------------------------------------------------------------------------------------- */

var gotham = { src: '/_ui/flash/gotham.swf' };
var gothamb = { src: '/_ui/flash/gothamb.swf' };

sIFR.activate(gotham, gothamb);

//sIFR.replace(gotham, {
//      selector: '#footer p'
//      ,css: {
//        '.sIFR-root': { 'color': '#999999', 'font-size': '11px', 'text-align': 'center'}
//      }
//	  ,tuneHeight: '-5'
//      ,wmode: 'transparent'
//    });

sIFR.replace(gotham, {
      selector: '.banner-overview h2'
      ,css: {
        '.sIFR-root': { 'color': '#ffffff', 'font-size': '22px', 'text-align': 'right'}
      }
	  ,tuneHeight: '10'
      ,wmode: 'transparent'
    });

//sIFR.replace(gotham, {
//      selector: 'p.readmore'
//	  ,css: [
//	      '.sIFR-root { font-size:11px; text-transform:uppercase }'
//	      ,'a { text-decoration: none}'
//	      ,'a:link { color: #555555 }'
//	      ,'a:hover { color: #555555; text-decoration: underline }'
//	  ]
//	  ,tuneHeight: '-5'
//      ,wmode: 'transparent'
//    });

//sIFR.replace(gothamb, {
//      selector: '.breadcrumb'
//	  ,css: [
//	      '.sIFR-root { font-size:11px; text-transform:uppercase }'
//	      ,'a { text-decoration: none; color: #555555}'
//	      ,'a:link { color: #555555 }'
//	      ,'a:hover { color: #555555; text-decoration: underline }'
//	  ]
//	  ,tuneHeight: '-4'
//      ,wmode: 'transparent'
//    });

sIFR.replace(gothamb, {
      selector: '.banner-overview p '
	  ,css: [
	      '.sIFR-root { font-size:17px; color: #ffffff; text-align: right }'
	      ,'a { text-decoration: none }'
	      ,'a:link { color: #e9852c }'
	      ,'a:hover { color: #e9852c; text-decoration: underline }'
	  ]
      ,wmode: 'transparent'
    });


   