// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com

var currentdate = 0
var core = 0

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

image = new StringArray(4)
image[0] = 'design/header-turbovakuum.jpg'
image[1] = 'design/header-axialturbo.jpg'
image[2] = 'design/header-roots.jpg'
image[3] = 'design/header-Manometer.jpg'


//var ran = Math.round(Math.random()*3);


function ranimage() {

var ran_unrounded=Math.random()*3;
var ran=Math.round(ran_unrounded); 

    return(image[ran])
}




<!-- Original: Eric King (eric_andrew_king@hotmail.com) -->
<!-- Web Site: http://redrival.com/eak/ --> 
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com --> 
<!-- Begin
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}



var win=null;
function MyWindow(mypage,myname,w,h,scroll,pos){
var rndURL = (1000*Math.random());
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
win=window.open(mypage+'&rndURL='+rndURL,myname,settings);
if(win.focus){win.focus();}}

function DoSearch(){
var mbool = "AND";
var mcase = "Insensitive";
if(!document.cssearch.terms.value){
 alert("Error. Please enter something to search for");
 return false;
 }
else{
  var URL = "http://www.pneurop.eu/cgi-bin/scripts/csSearchPro/csSearchPro.cgi?command=query&terms="+escape(document.cssearch.terms.value)+"&mbool="+mbool+"&mcase="+mcase;
  if(""){
        window.location=URL;
        }
      else{
        MyWindow(URL,'query',600,400,'yes','center');
      }
  return false;
  }
}
