	function namesti_footer() {




var viewportwidth;
 var viewportheight;
 
 // the more standards compliant browsers (mozilla/netscape/opera/IE7) use window.innerWidth and window.innerHeight
 
 if (typeof window.innerWidth != 'undefined')
 {
      viewportwidth = window.innerWidth,
      viewportheight = window.innerHeight
 }
 
// IE6 in standards compliant mode (i.e. with a valid doctype as the first line in the document)

 else if (typeof document.documentElement != 'undefined'
     && typeof document.documentElement.clientWidth !=
     'undefined' && document.documentElement.clientWidth != 0)
 {
       viewportwidth = document.documentElement.clientWidth,
       viewportheight = document.documentElement.clientHeight
 }
 
 // older versions of IE
 
 else
 {
       viewportwidth = document.getElementsByTagName('body')[0].clientWidth,
       viewportheight = document.getElementsByTagName('body')[0].clientHeight
 }




if (viewportheight > document.getElementById('wrapper').offsetHeight + document.getElementById('footer').offsetHeight ) { document.getElementById('wrapper').style.height =viewportheight - document.getElementById('footer').offsetHeight  + 'px'; document.getElementById('content').style.height =viewportheight - 451 - document.getElementById('footer').offsetHeight  + 'px';};
 document.getElementById('footer').style.visibility='visible';
 }
//-->

function detectVersion() 
{ 
version = parseInt(navigator.appVersion); 
return version; 
} 
function detectOS() 
{ 
if(navigator.userAgent.indexOf('Win') == -1) { 
OS = 'Macintosh'; 
} else { 
OS = 'Windows'; 
} 
return OS; 
} 
function detectBrowser() 
{ 
if(navigator.appName.indexOf('Netscape') == -1) { 
browser = 'IE'; 
} else { 
browser = 'Netscape'; 
} 
return browser; 
} 
function FullScreen(file){ 
var adjWidth; 
var adjHeight; 

if((detectOS() == 'Macintosh') && (detectBrowser() == 'Netscape')) { 
adjWidth = 20; 
adjHeight = 35; 
} 
if((detectOS() == 'Macintosh') && (detectBrowser() == 'IE')) { 
adjWidth = 20; 
adjHeight = 35; 
winOptions = 'fullscreen=yes'; 
} 
if((detectOS() == 'Windows') && (detectBrowser() == 'Netscape')) { 
adjWidth = 30; 
adjHeight = 30; 
} 
if(detectVersion() < 4) { 
self.location.href = 'oldbrowser.htm'; 
} else { 

var winWidth = screen.availWidth - adjWidth; 
var winHeight = screen.availHeight - adjHeight; 
var winSize = 'width=' + winWidth + ',height=' + winHeight; 
var thewindow = window.open('design/'+file+'.swf', 'test', winSize); 
thewindow.moveTo(0,0); 
} 
} 
function MakeItSo(file){ 

if((detectOS() == 'Windows') && (detectBrowser() == 'IE')) { 
window.open('pages_srb/'+file+'.htm?detectflash=false','test','fullscreen=yes'); 
} else { 
FullScreen(file); 
} 
} 

 