var Prototype = false; function flashPutHref(href) { // location.href = href; } function DiscardAlienFrames() { if (self != top) { if (document.images) top.location.replace(location.href); else top.location.href = location.href; } } function changeContent(id,shtml) { if (document.getElementById || document.all) { var el = document.getElementById? document.getElementById(id): document.all[id]; if (el && typeof el.innerHTML != "undefined") el.innerHTML = shtml; } } // // getPageSize() // Returns array with page width, height and window width, height // Core code from - quirksmode.org // Edit for Firefox by pHaez // 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; } /* function makemenuprio() { document.getElementById("menucontent").style.zIndex = "19"; } function makeflashprio() { document.getElementById("menucontent").style.zIndex = "0"; } */ function UpdateFlashSize() { var arrayPageSize = getPageSize(); var y=arrayPageSize[3]; var x=arrayPageSize[2]; //document.title=y; // document.getElementById("flashcontent").style.height = "100px"; document.getElementById("flashcontent").style.height = (y-145)+"px"; document.getElementById("flashcontent").style.width = (x/*-160*/); document.getElementById('flashcontent').style.visibility = 'visible'; document.getElementById("map").style.height = (y-245)+"px"; } function UpdateFlashSize2() { var arrayPageSize = getPageSize(); var y=arrayPageSize[3]; var x=arrayPageSize[2]; y=400; //document.title=y; // document.getElementById("flashcontent").style.height = "100px"; document.getElementById("flashcontent").style.height = (y)+"px"; document.getElementById("flashcontent").style.width = (x/*-160*/); document.getElementById('flashcontent').style.visibility = 'visible'; // document.getElementById("map").style.height = (y-245)+"px"; } function doit() { } function fadeinsidebar() { var mapOpChange = new Fx.Style('sidebar', 'opacity', {duration:500}); // mapOpChange.start(1); } function fadeoutsidebar() { var mapOpChange = new Fx.Style('sidebar', 'opacity', {duration:500}); // mapOpChange.start(.6); } function slideshowStarted() { document.getElementById('nonadcontent').style.visibility = 'hidden'; // var mapOpChange = new Fx.Style('nonadcontent', 'opacity', {duration:5000}); // mapOpChange.start(0); document.getElementById('flashcontent').style.visibility = 'visible'; } function sspLoadImage(albumid, imgid) { thisMovie("my_ssp").sspLoadImage(albumid,imgid); //window.alert(albumid + " andZZ " + imgid + "."); } function thisMovie(movieName) { if (navigator.appName.indexOf("Microsoft") != -1) { return window[movieName] } else { return document[movieName] } }