// iframe capture var debugStr = ''; function displayParentContents() { var success = false; debugStr + window.location + ' : ' + window.top.location + '\n'; if (window.location != window.top.location) { var contentFrame = window.top.frames['Content'] ; ; success = (contentFrame && contentFrame.location.href.indexOf("/index?") != -1) ; } debugStr + 'success : ' + success + '\n'; if (window.top.location.search.indexOf('debug') != -1) { alert(debugStr); } if (!success) { var hostname=window.location.hostname; var strURL = ''; //If URL is not null or not empty or if we are not on the same domaine (for direct tests) if (strURL == null || strURL == "" || strURL.indexOf(hostname)==-1) {} // ignore - redirection else { pageStatFaq(strURL + ((location.search != null) ? location.search : '') + '&redirect=true'); } } } var ua = navigator.userAgent; if (ua.indexOf("Googlebot")==-1) {displayParentContents();}