<!--
function getUrl(taalcode,gezien){
		if(gezien == "gezien") website = "divisies.html";
		else website = "divisies.html";
		
		switch (taalcode) {
			 case taal='ar':
			   return ("http://www.tvh.com/newar/pages/" + website);
			 case taal='e':
			   return ("http://www.tvh.com/newen2");
			 case taal='cn':
			   return ("http://www.tvh.com/newcn2");
			 case taal='d':
			   return ("http://www.tvh.com/newd2");
			 case taal='dk':
			   return ("http://www.tvh.com/newdk/pages/" + website);
			 case taal='f':
			   return ("http://www.tvh.com/newf2");
			 case taal='i':
			   return ("http://www.tvh.com/newi2");
			 case taal='p':
			   return ("http://www.tvh.com/newp2");
			 case taal='ru':
			   return ("http://www.tvh.com/newru2");
			 case taal='s':
			   return ("http://www.tvh.com/news2");
			 case taal='nl':
			   return ("http://www.tvh.com/new2");
			 case taal='jp':
			   return ("http://www.tvh.com/newjp/pages/" + website);
			 case taal='pl':
			   return ("http://www.tvh.com/newpl2");
			 case taal='ro':
			   return ("http://www.tvh.com/newro/pages/" + website);
			 case taal='sk':
			   return ("http://www.tvh.com/newsk/pages/" + website);
			 case taal='sv':
			   return ("http://www.tvh.com/newsv/pages/" + website);			   
			 case taal='t':
			   return ("http://www.tvh.com/newt2");
			 case taal='':
			   return ("http://www.tvh.com/new/pages/language.html");			   
			 default:
			   return ("http://www.tvh.com/new/pages/language.html");
	   }
}

function getAccessPromo(taalcode){
		switch (taalcode) {
			 case taal='e':
			   return ("http://www.tvh.com/newen/promoties/fork_access.html");
			 case taal='d':
			   return ("http://www.tvh.com/newd/promoties/fork_access.html");
			 case taal='f':
			   return ("http://www.tvh.com/newf/promoties/fork_access.html");
			 case taal='i':
			   return ("http://www.tvh.com/newi/promoties/fork_access.html");
			 case taal='p':
			   return ("http://www.tvh.com/newp/promoties/fork_access.html");
			 case taal='ru':
			   return ("http://www.tvh.com/newru/promoties/fork_access.html");
			 case taal='s':
			   return ("http://www.tvh.com/news/promoties/fork_access.html");
			 case taal='nl':
			   return ("http://www.tvh.com/new/promoties/fork_access.html");
			 default:
			   return ("http://www.tvh.com/newen/pages/divisies.html");
	   }
}


function getexpirydate(){
var UTCstring;
Today = new Date();
nomilli=Date.parse(Today);
Today.setTime(nomilli+2*365*24*60*60*1000);
UTCstring = Today.toUTCString();
return UTCstring;
}

function getcookie(cookiename) {
 var cookiestring=""+document.cookie;
 var index1=cookiestring.indexOf(cookiename);
 if (index1==-1 || cookiename=="") return "";
 var index2=cookiestring.indexOf(';',index1);
 if (index2==-1) index2=cookiestring.length;
 return unescape(cookiestring.substring(index1+cookiename.length+1,index2));
}

function setcookielanguage(name,value){

cookiestring=name+"="+escape(value)+";PATH=/; EXPIRES="+getexpirydate();
document.cookie=cookiestring;
if(!getcookie(name)){
return false;
}
else{
return true;
}
}

function setcookie(name,value){

cookiestring=name+"="+escape(value)+";PATH=/; EXPIRES="+getexpirydate();
document.cookie=cookiestring;
cookiestring="PATH=/; EXPIRES="+getexpirydate();
document.cookie=cookiestring;
if(!getcookie(name)){
return false;
}
else{
return true;
}
}

//-->




