﻿/*
 * inject iText links into page; empty <div id='iTextLinks'>
 * in master page
 */
$(function() {
  var $iText = $('#iTextLinks');
  if ($iText.length
      &&  window.location.href.match(/itext/i)
    )
  {
    var hasText = jQuery.trim($iText.text());
    if (hasText == '') {
      $.get('/kyouyuu/iTextLinks.html', function(data) {
        $iText.html(data);
      });
    }
  }
});

