if(document.images){
	preloadImage = new Image();
	preloadImage.src = "img/nav_aboutusov.gif";
	preloadImage = new Image();
	preloadImage.src = "img/nav_servicesov.gif";
	preloadImage = new Image();
	preloadImage.src = "img/nav_ourprocessov.gif";
	preloadImage = new Image();
	preloadImage.src = "img/nav_workov.gif";
	preloadImage = new Image();
	preloadImage.src = "img/nav_contactov.gif";
	preloadImage = new Image();
}

function openNew(theURL,winName){
  window.open(theURL,winName,'toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=700,height=500');
}

/*******************************************************************
 * soopa-rollovers.js
 * 7/28/2001
 * www.youngpup.net
 *
 * easiest rollovers on earth, baby!
 * see www.youngpup.net for documentation.
 *******************************************************************/

function soopaSetup(){
	var img, sh, sn, thelink
	for(var i = 0; (img = document.images[i]); i++){
		if(img.getAttribute){

			sn=img.getAttribute("src");
			sh=img.getAttribute("id");

			if(sn != "" && sn != null){
				img.n=new Image();
				img.n.src=img.src;
			
				if(sh != "" && sh != null){
					img.h=new Image();
					img.h.src='img/nav_'+sh+'ov.gif';
					img.onmouseover=soopaSwapOn
					img.onmouseout=soopaSwapOff
				}
			}
		}
	}

	for(var i = 0; (thelink=document.links[i]); i++){
		if(thelink.getAttribute){
			thelink.onmouseover=rollover;
			thelink.onfocus=rollover;
			thelink.onmouseout=rolloff;
			thelink.onblur=rolloff;
		}
	}
}

function soopaSwapOn(){
	this.src=this.h.src;
}

function soopaSwapOff(){
	this.src=this.n.src;
}

function rollover(){
	thehref=this.href;
	endhref=thehref.length;
	if(thehref.substr((endhref-1), endhref)=="/"){
		thehref=thehref.substr(0,(endhref-1));
	}
	thehref=thehref.replace("http://","");
	thehref=thehref.replace("https://","");
	theid=this.id;
	window.status="[ "+thehref+" ]     "+this.title;
	return true;
}

function rolloff(){
	window.status=" ";
	return true;
}


function formHandler(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}

function openURL()
{ 
   selInd = document.theForm.aaa.selectedIndex; 
   goURL = document.theForm.aaa.options[selInd].value;
   top.location.href = goURL; 
}
