<?if(Mage::getStoreConfig('blog/blog/userte')):?>
<script src="<?php echo $this->getSkinUrl('') ?>aw_blog/js/tiny_mce/tiny_mce.js"></script>
<script src="<?php echo $this->getSkinUrl('') ?>aw_blog/js/init_rte.js"></script>

<script>
	// Init rte
	AW_BlogIntId = setInterval(
		function(){
			if(typeof tinyMCE != 'undefined' && $('anchor-content')){
				initRTE();
				clearInterval(AW_BlogIntId);
			}
		}
	,500)
</script>
<?endif;?>
