setTimeout ("loadIndex()", 4000);

var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-9536199-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

function loadIndex() {
if (self.parent.frames.length == 0){
url = "http://www.hkcoc.com/observatoryhome.php?url=" + document.location;
top.location = url;
} else {
// var string = "<iframe src=\"http:\/\/www.hkcoc.com\/sitestat\/sitestat.php?ref=" + document.referrer + "\" width=\"1\" height=\"1\"frameborder=\"1\"></iframe>";
// document.write (string);
}
}