
if(location.href.indexOf("/products/es_index.html") != -1 && getCookie('lang')){}
if(location.href.indexOf("/products/fr_index.html") != -1 && getCookie('lang')){}
if(location.href.indexOf("/products/index.html") != -1 && getCookie('lang')){location="../products/"+getCookie('lang')+"_index.html";}
if(location.href.indexOf("/products/") != -1 && getCookie('lang')){location="../products/"+getCookie('lang')+"_index.html";}

if(location.href.indexOf("/solutions/es_index.html") != -1 && getCookie('lang')){}
if(location.href.indexOf("/solutions/fr_index.html") != -1 && getCookie('lang')){}
if(location.href.indexOf("/solutions/index.html") != -1 && getCookie('lang')){location="../solutions/"+getCookie('lang')+"_index.html";}
if(location.href.indexOf("/solutions/") != -1 && getCookie('lang')){location="../solutions/"+getCookie('lang')+"_index.html";}

if(location.href.indexOf("/partners/es_index.html") != -1 && getCookie('lang')){}
if(location.href.indexOf("/partners/fr_index.html") != -1 && getCookie('lang')){}
if(location.href.indexOf("/partners/index.html") != -1 && getCookie('lang')){location="../partners/"+getCookie('lang')+"_index.html";}
if(location.href.indexOf("/partners/") != -1 && getCookie('lang')){location="../partners/"+getCookie('lang')+"_index.html";}



if(location.href.indexOf("/about/es_index.html") != -1 && getCookie('lang')){}
if(location.href.indexOf("/about/fr_index.html") != -1 && getCookie('lang')){}
if(location.href.indexOf("/about/index.html") != -1 && getCookie('lang')){location="../about/"+getCookie('lang')+"_index.html";}
if(location.href.indexOf("/about/") != -1 && getCookie('lang')){location="../about/"+getCookie('lang')+"_index.html";}

if(location.href=='http://www.vordel.com/fr_index.html' || location.href=='http://www.vordel.com/es_index.html'){}

if(getCookie('lang') == null || getCookie('lang') == ''){}
else{
if(location.href=='http://www.vordel.com/' || location.href=='http://www.vordel.com' || location.href=='http://www.vordel.com/index.html' && getCookie('lang') != null && getCookie('lang') != ''){location=getCookie('lang')+"_index.html";}
}