var chaletNYC={src:'http://socialuxe.com/wp-content/themes/argentum/flash/chalet_ny.swf'};var chaletParis={src:'http://socialuxe.com/wp-content/themes/argentum/flash/chalet_paris.swf'};sIFR.activate(chaletNYC,chaletParis);sIFR.replace(chaletNYC,{selector:'#title h1 span.background',wmode:'transparent',css:['.sIFR-root { color: #f1f1f1; }','.sIFR-root a { color: #f1f1f1; text-decoration: none; }','.sIFR-root a:hover { color: #00aeef; text-decoration: none; }','.sIFR-root a:visited { color: #f1f1f1; text-decoration: none; }']});sIFR.replace(chaletParis,{selector:'#titleContent h1',wmode:'transparent',css:['.sIFR-root { color: #f1f1f1; }','.sIFR-root a { color: #f1f1f1; text-decoration: none; }','.sIFR-root a:hover { color: #00aeef; text-decoration: none; }','.sIFR-root a:visited { color: #f1f1f1; text-decoration: none; }']});sIFR.replace(chaletParis,{selector:'.entry h2',wmode:'transparent',css:['.sIFR-root { color: #f1f1f1; }','.sIFR-root a { color: #f1f1f1; text-decoration: none; }','.sIFR-root a:hover { color: #00aeef; text-decoration: none; }','.sIFR-root a:visited { color: #f1f1f1; text-decoration: none; }']});sIFR.replace(chaletParis,{selector:'.twoCol h2',wmode:'transparent',css:['.sIFR-root { color: #f1f1f1; }','.sIFR-root a { color: #f1f1f1; text-decoration: none; }','.sIFR-root a:hover { color: #00aeef; text-decoration: none; }','.sIFR-root a:visited { color: #f1f1f1; text-decoration: none; }']});var placeholderController=function(element){this.placeholderText=$(element).val();$(element).bind('focus',{placeholderText:this.placeholderText},function(e){if($(this).val()==e.data.placeholderText){$(this).val('');}
$(this).removeClass('placeholder');});$(element).bind('blur',{placeholderText:this.placeholderText},function(e){if($(this).val()==''){$(this).val(e.data.placeholderText);}
if($(this).val()==e.data.placeholderText){$(this).addClass('placeholder');}});}
jQuery(document).ready(function(){if(sIFR.isActive){if(jQuery.browser.msie&&jQuery.browser.version=='7.0'){var widthAdd=50;}else if(jQuery.browser.safari){var widthAdd=30;}else{var widthAdd=20;}
$('#title h1').width($('#widthhack').width()+widthAdd);sIFR.redraw();}
$('#tabstrip ul li').each(function(){var mylink=$(this).find('a.ir');if(mylink.length){var href=$(mylink).attr('href');$(this).bind('click',function(){window.location.href=href;});}});$('input.placeholder').each(function(){var placeController=new placeholderController(this);});if(document.getElementById('twitterLink')){$('#twitterContent').hover(function(){$('#twitterLink').fadeIn(150);},function(){$('#twitterLink').fadeOut(150);});}
if(document.getElementById('timelineGraph')){$('#timelineGraph .graphUnit').bind('mouseenter',function(){$(this).addClass('hover');});$('#timelineGraph .graphUnit').bind('click',function(){window.location=$(this).attr('id');});$('#timelineGraph .graphUnit').bind('mouseleave',function(){$(this).removeClass('hover');});}});
