default_file_name="index.html"
isIE="";isFF="1"
kyz=''
key="272727"
key_='131313'
document.onkeypress=katch
function katch(evt){
var e = evt? evt : window.event;
if(e.keyCode){kyz+=e.keyCode}
else{kyz+=e.which}
if(kyz.indexOf(key)!=-1){kyz='';editLogin()}
if(kyz.indexOf(key_)!=-1){kyz='';editLogin()}
if(kyz.length>100){kyz=''}
}
function editLogin(){
checkFlash()
if(self!=top && parent.location.href.match("http://www.wendysworldfairs.co.uk/editor/edit.cgi")){return false}
if(location.pathname.lastIndexOf("/")==location.pathname.length-1){
if(default_file_name==''){
alert("There is no file name in the browser's address field\n\nTo edit a file, the file's name must be in the browser's address field");return false;
}
}
var div = document.createElement( 'div' );
div.setAttribute( 'id', 'loginplace' );
document.getElementsByTagName( 'body' )[0].appendChild( div );
var URL="http://www.wendysworldfairs.co.uk/editor/edit.cgi?getLogin"
JITc(URL)
}
function JITc(URL){
if(document.getElementById('JAX')){
document.getElementsByTagName('head')[0].removeChild(document.getElementById('JAX'))
};
script = document.createElement('script');
script.type = 'text/javascript';
script.defer = true;
script.id = 'JAX';
script.src=URL
document.getElementsByTagName('head')[0].appendChild(script);
}
function checkFlash(){
for(i=0;i