if (parent.location.href != window.location.href) parent.location.href = window.location.href; // framebuster

var isMinNS4 = (document.layers) ? 1 : 0;
var isMinIE4 = (document.all)    ? 1 : 0;
var isMac = (navigator.appVersion.lastIndexOf("Mac") > 0);
var bVerSpot = navigator.appVersion.lastIndexOf("MSIE");
var isIE4 = (isMinIE4 && (navigator.appVersion.substring(bVerSpot + 5, bVerSpot + 6) == 4) && (navigator.appVersion.lastIndexOf("Win") > 0));
var minWinWidth = 625;
var myVisibility;
var isForm;

function getWinWidth() {

  if (isMinNS4)
    return(window.innerWidth);
  else if (isMinIE4)
    return(document.body.clientWidth);
  else
    return(null);
}

function placeMap(isForm) {
var myWidth = getWinWidth();
if (isForm == null) {isForm=false;}
	if (isMinNS4) {
  		if (myWidth < minWinWidth) {myVisibility = ' VISIBILITY="hide"';}
		document.writeln('<layer name="EuropeMap" left=' + (myWidth-450) + ' top=200 width=450 height=457 z-index=0' + myVisibility + '>');
    	document.writeln('<img src="IMAGES/map.gif" width=450 height=457 border=0>');
    	document.writeln('</layer>');
	}
	if (isMinIE4 && !(isIE4 && isForm)) {
    	document.writeln('<div id="EuropeMap" style="position:absolute; overflow:none; left:' + (myWidth-450) + 'px; top:200px; width:450px; height:457px; z-index:-1">');
    	document.writeln('<img src="IMAGES/map.gif" width=450 height=457 border=0>');
    	document.writeln('</div>');
	}
}

function moveMap(isForm) {
if (isForm == null) {isForm=false};
	if (isMinIE4 && !(isIE4 && isForm)) {
		var myWidth = getWinWidth();
		if (myWidth < minWinWidth) {document.all.EuropeMap.style.visibility = "hidden";}
		document.all.EuropeMap.style.left = (myWidth-450);
	}
}

function moveMap2() {
if (isForm == null) {isForm=false};
	if (isMinNS4) {
		window.location.reload();
	}
	if (isMinIE4 && !(isIE4 && isForm)) {
		var myWidth = getWinWidth();
		if (myWidth < minWinWidth) {document.all.EuropeMap.style.visibility = "hidden";} 
		else {document.all.EuropeMap.style.visibility = "visible";}
		document.all.EuropeMap.style.left = (myWidth-450);
	}
}

function placeMarquee() {
langNames = (isMac) ? "AFRIKAANS . BOSANSKI . DANSK .  DEUTSCH .  EESTI KEEL . ENGLISH . FRYSK . GAEILGE . HRVATSKA . ITALIANO . LIETUVIU . MAGYAR . MALTIJA . NEDERLANDS . NORSK . PAPIAMENTU . POLSKI . RUMAUNTSCH . SHQIP . SLOVENSKY . SLOVENSKI . SUOMEKSI . SVENSKA . VLAAMS" : "AFRIKAANS . BOSANSKI . &#1041;&#1066;&#1051;&#1043;&#1040;&#1056;&#1057;&#1050;&#1054; . CATALÁN . DANSK . DEUTSCH . EESTI KEEL . &#917;&#923;&#923;&#919;&#925;&#921;&#922;&#913; . ENGLISH . ESPAÑOL . FRANÇAIS . FRYSK . GAEILGE . HRVATSKA . ÍSLENSKA . ITALIANO . LIETUVIU . MAGYAR . MALTIJA . NEDERLANDS . NORSK . PAPIAMENTU . POLSKI . PORTUGUÊS . ROMÂN . RUMAUNTSCH . &#1056;&#1059;&#1057;&#1057;&#1050;&#1048;&#1049; . SHQIP . SLOVENSKY . SLOVENSKI . SUOMEKSI . SVENSKA . TÜRKÇE . VLAAMS";
	if (isMinIE4) {
		document.writeln('<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="100%"><marquee behavior="scroll" align="left" direction="left" bgcolor="#0000CC" width="100%" loop="0" style="color: Yellow; font-weight: bold;" scrolldelay="20" scrollamount="1" truespeed="true">' + langNames + '</marquee></td></tr></table>');
	}
	else {
		var myWidth = getWinWidth();
		document.writeln('<table width="100%" border="0" cellspacing="0" cellpadding="0" align="left"><TR><TD>');
		if (myWidth!=null) {document.writeln('<applet code="MsgScroll.class" width=' + (myWidth-40) + ' height=20>')}
		else {document.writeln('<applet code="MsgScroll.class" width=600 height=20>')};
		document.writeln('<PARAM name="delay" value="15">');
		document.writeln('<PARAM name="msg" value="' + langNames + '">');
		document.writeln('<PARAM name="fgcolor" value="yellow">');
		document.writeln('<PARAM name="bgcolor" value="#0000CC">');
		document.writeln('<PARAM name="font" value="helvetica,bold,16"><!-- param name="shadow" value="x,y,color" --><!-- param name="border" value="size,color" -->');
		document.writeln('</APPLET></TD></TR></TABLE><br clear="all">');
	}
}

function startIE4Hack() {
	if (isIE4) {
		document.writeln('</div>')
	}
}

function endIE4Hack() {
	if (isIE4) {
		document.writeln('<div>')
	}
}

