$(function () {

	var ph = $('#placeholder'),
		src = ph.text()
	
	preloadImage(src);
	
	function preloadImage (src) {
	
		var img = new Image();
		
		$(img).load(function () {
		
			$(this).hide();
			
			ph.replaceWith(this);
			
			$(this).fadeIn(10);
		
		}).attr({
			src: src,
			id: 'bg'
		});
		
	}

});

WebFontConfig = {
    google: { families: [ 'Arvo:regular,italic,bold,bolditalic' ] }
  };
  (function() {
    var wf = document.createElement('script');
    wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
        '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
    wf.type = 'text/javascript';
    wf.async = 'true';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(wf, s);
  })();
  
filee=window.location.href
base=filee.split("/");
act=base[base.length-1].split(".");
document.getElementById(act[0]).style.background="#FF0000"
document.getElementById(act[0]).style.color="#FFFFFF"
