var htmlBalk;
var Taal;

function moveHome(){
htmlBalk.ypos += (350 - htmlBalk.ypos) / 10;
htmlBalk.style.top = htmlBalk.ypos + "px";
the_timeout = setTimeout("moveHome();", 50);
if (Math.abs(htmlBalk.ypos - 350) < 3){
clearTimeout(the_timeout);
document.location="Home.php?language=" + Taal;
}
}
function moveAbout(){
htmlBalk.ypos += (350 - htmlBalk.ypos) / 10;
htmlBalk.style.top = htmlBalk.ypos + "px";
the_timeout = setTimeout("moveAbout();", 50);
if (Math.abs(htmlBalk.ypos - 350) < 3){
clearTimeout(the_timeout);
document.location="About.php?language=" + Taal;
}
}
function moveNews(){
htmlBalk.ypos += (100 - htmlBalk.ypos) / 10;
htmlBalk.style.top = htmlBalk.ypos + "px";
the_timeout = setTimeout("moveNews();", 50);
if (Math.abs(htmlBalk.ypos - 100) < 3){
clearTimeout(the_timeout);
document.location="News.php?language=" + Taal;
}
}
function moveContact(){
htmlBalk.ypos += (340 - htmlBalk.ypos) / 10;
htmlBalk.style.top = htmlBalk.ypos + "px";
the_timeout = setTimeout("moveContact();", 50);
if (Math.abs(htmlBalk.ypos - 340) < 3){
clearTimeout(the_timeout);
document.location="Contact.php?language=" + Taal;
}
}
function moveFaq(){
htmlBalk.ypos += (50 - htmlBalk.ypos) / 10;
htmlBalk.style.top = htmlBalk.ypos + "px";
the_timeout = setTimeout("moveFaq();", 50);
if (Math.abs(htmlBalk.ypos - 50) < 3){
clearTimeout(the_timeout);
document.location="Faq.php?language=" + Taal;
}
}
function moveProducts(){
htmlBalk.ypos += (90 - htmlBalk.ypos) / 10;
htmlBalk.style.top = htmlBalk.ypos + "px";
the_timeout = setTimeout("moveProducts();", 50);
if (Math.abs(htmlBalk.ypos - 90) < 3){
clearTimeout(the_timeout);
document.location="Products.php?language=" + Taal;
}
}
function moveModels(){
htmlBalk.ypos += (25 - htmlBalk.ypos) / 10;
htmlBalk.style.top = htmlBalk.ypos + "px";
the_timeout = setTimeout("moveModels();", 50);
if (Math.abs(htmlBalk.ypos - 25) < 3){
clearTimeout(the_timeout);
document.location="Models.php?language=" + Taal;
}
}
function moveOptions(){
htmlBalk.ypos += (0 - htmlBalk.ypos) / 10;
htmlBalk.style.top = htmlBalk.ypos + "px";
the_timeout = setTimeout("moveOptions();", 50);
if (Math.abs(htmlBalk.ypos - 0) < 3){
clearTimeout(the_timeout);
document.location="Options.php?language=" + Taal;
}
}
function moveGallery(){
htmlBalk.ypos += (0 - htmlBalk.ypos) / 10;
htmlBalk.style.top = htmlBalk.ypos + "px";
the_timeout = setTimeout("moveGallery();", 50);
if (Math.abs(htmlBalk.ypos - 0) < 3){
clearTimeout(the_timeout);
document.location="Gallery.php?language=" + Taal;
}
}
function moveDownload(){
htmlBalk.ypos += (408 - htmlBalk.ypos) / 10;
htmlBalk.style.top = htmlBalk.ypos + "px";
the_timeout = setTimeout("moveDownload();", 50);
if (Math.abs(htmlBalk.ypos - 408) < 3){
clearTimeout(the_timeout);
document.location="Download.php?language=" + Taal;
}
}
function moveSafety(){
htmlBalk.ypos += (115 - htmlBalk.ypos) / 10;
htmlBalk.style.top = htmlBalk.ypos + "px";
the_timeout = setTimeout("moveSafety();", 50);
if (Math.abs(htmlBalk.ypos - 115) < 3){
clearTimeout(the_timeout);
document.location="Safety.php?language=" + Taal;
}
}
function moveTraining(){
htmlBalk.ypos += (65 - htmlBalk.ypos) / 10;
htmlBalk.style.top = htmlBalk.ypos + "px";
the_timeout = setTimeout("moveTraining();", 50);
if (Math.abs(htmlBalk.ypos - 65) < 3){
clearTimeout(the_timeout);
document.location="Press.php?language=" + Taal;
}
}
function moveVacancy(){
htmlBalk.ypos += (100 - htmlBalk.ypos) / 10;
htmlBalk.style.top = htmlBalk.ypos + "px";
the_timeout = setTimeout("moveVacancy();", 50);
if (Math.abs(htmlBalk.ypos - 100) < 3){
clearTimeout(the_timeout);
document.location="Vacancy.php?language=" + Taal;
}
}
function moveDealer(){
htmlBalk.ypos += (350 - htmlBalk.ypos) / 10;
htmlBalk.style.top = htmlBalk.ypos + "px";
the_timeout = setTimeout("moveDealer();", 50);
if (Math.abs(htmlBalk.ypos - 350) < 3){
clearTimeout(the_timeout);
document.location="Dealer.php?language=" + Taal;
}
}
function moveCharter(){
htmlBalk.ypos += (350 - htmlBalk.ypos) / 10;
htmlBalk.style.top = htmlBalk.ypos + "px";
the_timeout = setTimeout("moveCharter();", 50);
if (Math.abs(htmlBalk.ypos - 350) < 3){
clearTimeout(the_timeout);
document.location="Charter.php?language=" + Taal;
}
}
function moveService(){
htmlBalk.ypos += (300 - htmlBalk.ypos) / 10;
htmlBalk.style.top = htmlBalk.ypos + "px";
the_timeout = setTimeout("moveService();", 50);
if (Math.abs(htmlBalk.ypos - 300) < 3){
clearTimeout(the_timeout);
document.location="Service.php?language=" + Taal;
}
}
function moveSupport(){
htmlBalk.ypos += (90 - htmlBalk.ypos) / 10;
htmlBalk.style.top = htmlBalk.ypos + "px";
the_timeout = setTimeout("moveSupport();", 50);
if (Math.abs(htmlBalk.ypos - 90) < 3){
clearTimeout(the_timeout);
document.location="Support.php?language=" + Taal;
}
}
function getObj(name)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
  else if (document.layers)
  {
   	this.obj = document.layers[name];
   	this.style = document.layers[name];
  }
}

function initDocument() {
htmlBalk = new getObj("balk");
htmlBalk.ypos = parseInt(htmlBalk.style.top);
}

function modifyimage(img, breed, hoog, border){
if (document.getElementById){
var imgobj=document.getElementById('Lo')
if (imgobj.filters && window.createPopup){
imgobj.style.filter = 'progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0, wipeStyle=1, motion="forward")'
//imgobj.style.filter = 'progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=10, Duration=2, Enabled=false)'
imgobj.filters [0].Apply()
}
if (img=="") {
imgobj.innerHTML=img
}
else {
imgobj.innerHTML='<img src="' + img + '" alt="" width="' + breed + '" height="'+ hoog +'" border="'+ border +'">'
}
if (imgobj.filters && window.createPopup)
imgobj.filters [0].Play(duration=1);
return false
}
}