function popUp(URL,width,height) { day = new Date(); id = day.getTime(); var winLeft = (screen.width - width) / 2; var winUp = (screen.height - height) / 2; eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width='+width+',height='+height+',left='+winLeft+',top='+winUp);"); } function contact_by_mail(user, domain, suffix, content) { if (!content) { document.write('' + user + '@' + domain + '.' + suffix + ''); } else { document.write('' + content + ''); } return true; } // Called from flash function changePageTitle(newTitle) { document.title = newTitle; } // Called from page header // checks if url contains # and redirects to new url function checkFlashUrlRedirect() { var urlParts =window.location.href.split("#/"); if (urlParts[1]) { window.location = '/'+urlParts[1]; } } PositionX = 100; PositionY = 100; defaultWidth = 5; defaultHeight = 5; var AutoClose = false; if (parseInt(navigator.appVersion.charAt(0))>=4){ var isNN=(navigator.appName=="Netscape")?1:0; var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;} var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY; var optIE='scrollbars=no,width=150,height=100,left='+PositionX+',top='+PositionY; function popImage(imageURL,imageTitle) { if (isNN) { imgWin=window.open('about:blank','',optNN); } if (isIE) { imgWin=window.open('about:blank','',optIE); } with (imgWin.document) { writeln('Loading...');writeln(''); writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){'); writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}'); writeln('function reSizeToImage(){');writeln('if (isIE){');writeln('window.resizeTo(300,300);'); writeln('width=300-(document.body.clientWidth-document.images[0].width);'); writeln('height=300-(document.body.clientHeight-document.images[0].height);'); writeln('window.resizeTo(width,height);}');writeln('if (isNN){'); writeln('window.innerWidth=document.images["theImage"].width;');writeln('window.innerHeight=document.images["theImage"].height;}}'); writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln(''); if (!AutoClose) { writeln('') } else { writeln(''); } writeln(''); close(); } }