<!-- PNG hack fájl átírva IE flashre! -->
function mitie()
{
document.write('<object type="application/x-shockwave-flash" data="http://www.amsz.hu/txt/ismerettar/mit.swf" width="582" height="76" …>\n');
document.write('<param name="movie" value="http://www.amsz.hu/txt/ismerettar/mit.swf" />\n');
document.write('</object>\n');
}
function buek()
{
document.write('<object type="application/x-shockwave-flash" data="http://www.amsz.hu/buek.swf" width="582" height="100" …>\n');
document.write('<param name="movie" value="http://www.amsz.hu/buek.swf" />\n');
document.write('</object>\n');
}
// Kell a correct is..
function correctPNG() {}


///// ajax /////

// XHR
function getXMLHttp() {
  var XMLHttp = null;
  if (window.XMLHttpRequest) {
    try {
      XMLHttp = new XMLHttpRequest();
    } catch (e) { }
  } else if (window.ActiveXObject) {
    try {
      XMLHttp = new ActiveXObject('Msxml2.XMLHTTP');
    } catch (e) {
      try {
        XMLHttp = new ActiveXObject('Microsoft.XMLHTTP');
      } catch (e) { }
    }
  }
  return XMLHttp;
}

// iRhh on homepage
function JSview_iRhh() {
	var XMLHttp = getXMLHttp();
	XMLHttp.open('POST', 'includes/read_irhh.php');
	XMLHttp.onreadystatechange = handlerFunction;
	XMLHttp.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
	XMLHttp.send("read=ok");
		
	function handlerFunction() {
		switch(XMLHttp.readyState) {
			case 4:
				document.getElementById('span_print_irhh').innerHTML = XMLHttp.responseText;
				break;
		}
	}
}

