 <!--

function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}

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(koga){

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 = 0;
adjHeight = 0;
}
if(detectVersion() < 4) {
self.location.href = koga;
} else {
var winWidth = screen.availWidth - adjWidth;
var winHeight = screen.availHeight + adjHeight;
var winSize = 'width=' + winWidth + ',height=' + winHeight;
var thewindow = window.open(koga, 'ekran', winSize);
thewindow.moveTo(0,0);
}
}

function MakeItSo(koga){
if((detectOS() == 'Windows') && (detectBrowser() == 'IE')) {
window.open(koga,'ekran','fullscreen=yes');
} else {
onload=FullScreen(koga);
}
}



// open and center window

function winBRopen(theURL, Name, popW, popH, scroll) { // V 1.0
var winleft = (screen.width - popW) / 2;
var winUp = (screen.height - popH) / 2;
winProp = 'width='+popW+',height='+popH+',left='+winleft+',top='+winUp+',scrollbars='+scroll+',resizable=no'
Win = window.open(theURL, Name, winProp)
if (parseInt(navigator.appVersion) >= 4) { Win.window.focus(); }
if (navigator.appVersion.indexOf("Mac")!=-1) {
	window.open(theURL,Name,winProp).focus();}
}


function openDiv(htmlDiv) { 
if (htmlDiv.style.display == 'none' || (htmlDiv.className=='none' && !htmlDiv.style.display)) 
{ 
htmlDiv.style.display = 'block'; 
htmlDiv.style.visibility = 'visible'; 
} 
else 
{ 
htmlDiv.style.visibility = 'hidden'; 
htmlDiv.style.display = 'none' ; 
} 
} 
function jumpPage(sel) 
{
  var i = sel.selectedIndex;
  self.location.href = sel.options[i].value;
}



//-->
