<!doctype html>
<head>
<meta charset="utf-8">

<title>Thesaurus Search via Yql - RJM Programming - 2014</title>
<link href='//www.rjmprogramming.com.au/PHP/emboss_h1.css' rel='stylesheet' type='text/css'>
</head>
<body align='center' style=" background-color: cyan;" onclick=" var sis=document.getElementById('selname').value; var lng=document.getElementById('language').value; if (sis != '') { window.open('./yql_thesaurus.php?language=' + lng + '&selname=' + sis, 'mif'); } ">
<br><h1 align='center'>&nbsp;Thesaurus Search</h1>
<div align='center'>
<form id="myform" method="POST" style=" background-color: lightgray;" action="#">
<br>&nbsp;&nbsp;&nbsp;&nbsp;<select onclick="var i=1;" id="language" name="language"><option value="en_US">English</option><option value="es_ES">Spanish</option><option value="de_DE">German</option><option value="fr_FR">French</option><option value="it_IT">Italian</option></select>&nbsp;<i>Thesaurus</i> Search:&nbsp;<input style=" background-color: yellow;" type="text" onclick=" this.value=''; " name="selname" id="selname" onblur=" var xx='./yql_thesaurus.php?language=' + document.getElementById('language').value + '&selname=' + this.value; var omif=document.getElementById('mif'); omif.src = xx; omif.style.display='block'; " /><br><br>
&nbsp;<p name="info" id="info">... Results go below ...</p><br><iframe id="mif" src="javascript:false;" style="display:none; width:100%; height:900px; background-color: lightgreen;"></iframe>
</form>
</div>
<script>
var ua = navigator.userAgent;
var isiPad = /iPad/i.test(ua) || /iPhone OS 3_1_2/i.test(ua) || /iPhone OS 3_2_2/i.test(ua);
if (isiPad) {
document.getElementById('myform').innerHTML = document.getElementById('myform').innerHTML.replace("best to tab or click/touch out", "best to finish with keyboard button, not Go button");
}
</script>
</body>

</html>