// JavaScript Document
function check_home() {
	var a = document.location.toString().split("/")
	var b = a[a.length-1]
	if (b.toLowerCase() == "index.html" || b.toLowerCase() == "") {
		document.getElementById("index").style.fontWeight="bold"
		document.getElementById("index").style.letterSpacing="-1px"
	}else if (b.localeCompare("vafh_ksilo.html")==0){
		document.getElementById("vafh_ksilo").style.fontWeight="bold"
		document.getElementById("vafh_ksilo").style.letterSpacing="-1px"
	}else if (b.localeCompare("elektrostatikh.html")==0){
		document.getElementById("elektrostatikh").style.fontWeight="bold"
		document.getElementById("elektrostatikh").style.letterSpacing="-1px"
	}else if (b.localeCompare("technogate.html")==0 || b.localeCompare("tec_lineafree.html")==0 || b.localeCompare("tec_lineaclassic.html")==0 || b.localeCompare("tec_lineapriv.html")==0 || b.localeCompare("tec_auto.html")==0){
		document.getElementById("technogate").style.fontWeight="bold"
		document.getElementById("technogate").style.letterSpacing="-1px"
	}else if (b.localeCompare("domal.html")==0 || b.localeCompare("error.html")==0){
		document.getElementById("domal").style.fontWeight="bold"
		document.getElementById("domal").style.letterSpacing="-1px"
	}else if (b.localeCompare("contact.html")==0){
		document.getElementById("contact").style.fontWeight="bold"
		document.getElementById("contact").style.letterSpacing="-1px"
	}
}

function PopupPic(sPicURL) { 
  window.open( "popup.html?"+sPicURL, "",  
  "resizable=0,HEIGHT=200,WIDTH=200"); 
} 

