<body>
<script>
function dirname(path) {
    return path.replace(/\/[^\/]*$/, '/');
}

function request() {
  var dirName = dirname(location.href);
  var client = new XMLHttpRequest,
  // create a cross-origin request
    url = dirName.replace('://', '://www.') + 'TAOResponse.py?tao=uppercase';
    client.open("GET", url, false);
    client.send(null);
}

if(window.parent.setup_iframe) {
  window.parent.setup_iframe();
  request();
}
</script>
</body>
