//
// this code copyright Musicman
// license: GPL
// to read the gory details, visit www.fsf.org/copyleft
//
// copy this code as is
var t;
function myunescape(inp)
{  var n, c;
   var out = '';
   for(n = 0 ; n < inp.length ; )
   {  c = inp.charAt(n);
      if(c == '_')
      {  out += unescape('%'+inp.substr(n+1, 2));
         n += 3;
      }
      else
      {  out += c;
         n++;
      }
   }
   return out;
}

function sendit(mail, lista)
{  document.forms.sendit.email.value = myunescape(mail);
   document.forms.sendit.lista.value = myunescape(lista);
   document.forms.sendit.submit();
   return false;
}

function check(){
alert(window.frames[0].document.body.innerHTML);
t=setTimeout("check()",1000);
}
function sendAndLoad(mail){
window.frames[0].document.forms[0].email.value=mail;
window.frames[0].document.forms[0].submit();
check();
}
function kiskep()
{
window.open("http://maps.google.com/maps?f=d&hl=en&saddr=Ferihegy+2+Airport+v%C3%A1.+station,+Hungary&daddr=1095+budapest,+soroksari+ut+94-96&sll=37.0625,-95.677068&sspn=24.675021,58.447266&ie=UTF8&cd=2&ll=47.434822,19.165649&spn=0.160241,0.4216&z=11&om=1","_blank","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=800, height=600")
}

function changecolorg(){
document.body.style.backgroundColor="#4D4D4D";
document.getElementById("flashcontent").style.backgroundColor="#4d4d4d";
}

function changecolorw(){
document.body.style.backgroundColor="#FFFFFF";
document.getElementById("flashcontent").style.backgroundColor="#FFFFFF";
}

