function leeg(ele) { ele.txt == ""; } function getValue(ele){ if(ele.length){ for(var i=0;i' + user + '@' + domain + '.' + suffix + ''); } else { document.write('' + content + ''); } return true; } function flashChangePageTitle(newTitle) { document.title = newTitle; } // Called from page header // checks if url contains # and redirects to new url function flashCheckUrlRedirect() { var urlParts = window.location.href.split("#/"); if (urlParts[1]) { window.location = '/'+urlParts[1]; } } function flashFindPageDimensions() { var winWidth, winHeight, d=document; if (typeof window.innerWidth!='undefined') { winWidth = window.innerWidth; winHeight = window.innerHeight; } else if ( d.documentElement && typeof d.documentElement.clientWidth!='undefined' && d.documentElement.clientWidth!=0 ) { winWidth = d.documentElement.clientWidth; winHeight = d.documentElement.clientHeight; } else if ( d.body && typeof d.body.clientWidth!='undefined') { winWidth = d.body.clientWidth; winHeight = d.body.clientHeight; } var returnArray = new Array(winWidth, winHeight); return returnArray; } var resizeTimeout; var lastGivenHeight; function flashSetObjHeight(objHeight) { lastGivenHeight = objHeight; var obj = document.getElementById('swfBase'); var pageDimensions = flashFindPageDimensions(); if (objHeight