function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i 0) { if(newHeight < 390) newHeight = 390; navigation.style.height = newHeight + 'px'; // - 120 + 'px'; explorer.style.height = newHeight + 'px'; // - 120 + 'px'; } } function getElementHeight(elem) { if(elem.clientHeight != null) return elem.clientHeight else if(elem.scrollHeight != null) return elem.srcollHeight else return elem.document.height; } function getElementWidth(elem) { if(elem.scrollWidth != null) return elem.scrollWidth else if(elem.clientWidth != null) return elem.clientWidth else return elem.document.width; } function getPageSize(){ var xScroll, yScroll; if (window.innerHeight && window.scrollMaxY) { xScroll = document.body.scrollWidth; yScroll = window.innerHeight + window.scrollMaxY; } else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac //xScroll = document.body.scrollWidth; yScroll = document.body.scrollHeight; } else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari xScroll = document.body.offsetWidth; yScroll = document.body.offsetHeight; } var windowWidth, windowHeight; if (self.innerHeight) { // all except Explorer windowWidth = self.innerWidth; windowHeight = self.innerHeight; } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode windowWidth = document.documentElement.clientWidth; windowHeight = document.documentElement.clientHeight; } else if (document.body) { // other Explorers windowWidth = document.body.clientWidth; windowHeight = document.body.clientHeight; } // for small pages with total height less then height of the viewport if (yScroll < windowHeight){ pageHeight = windowHeight; } else { pageHeight = yScroll; } // for small pages with total width less then width of the viewport if (xScroll < windowWidth) { pageWidth = windowWidth; } else { pageWidth = xScroll; } arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight) ; return arrayPageSize; } var lt; function switchTab(e) { t = document.getElementById(e); if(!t) { e = e.target || e.srcElement } else { e = t } if(!e) return; if (lt) lt.className = lt.className.replace('mi selected','mi'); lt = e; if (e.className.indexOf('mi') != -1 && e.className.indexOf('selected') == -1) { e.className = e.className.replace('mi','mi selected'); } else { e.className= e.className.replace('mi selected','mi'); } } function initTabs() { hrefs = document.getElementsByTagName('a'); for (i=0;i