<!-- hide me from antiquated technology

// Function "no right click".

	oncontextmenu = document.oncontextmenu = function () {return false;};

// Function "/index.html". if (parent.frames.length==0){window.location.replace("/")};

// Function "no copying and pasting web content".

onselectstart = new Function ("return false")

	//if NS6
	if (window.sidebar){
       	document.onmousedown=disableselect
		document.onclick=reEnable
	}

var debug = true;
function right(e) {
		if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false;
			else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
			alert('Copyright © 2005 PowerCom d.o.o.\n           All rights reserved.');
			return false;
		}
	return true;
	}

	document.onmousedown = right;
	if (document.layers) window.captureEvents(Event.MOUSEDOWN);
	window.onmousedown = right;

// Function to "preload" images.

function preloadImages() {
	document.preload = new Array();
	if (document.images) {
		for (var i = 0; i < preloadImages.arguments.length; i++) {
			document.preload[i] = new Image();
			document.preload[i].src = preloadImages.arguments[i];
		}
	}
}


function changeImg(imgName, imgSrc) {
  imgName.src=imgSrc.src;
}

// Function "show-hide" window status.

function winStatus(txt) {
    window.status=txt;
    return true;
}

function popup(url,name,wwidth,wheight) {
  window.open(url,name,'width='+wwidth+',height='+wheight+',scrollbars=yes,status=no,resize=no, toolbar=no');
}

function toggleBox(szDivID, iState) { // 1 visible, 0 hidden
  if(parent.document.layers)	   //NN4+
  {
     parent.document.layers[szDivID].visibility = iState ? "show" : "hide";
  }
  else 
  if(parent.document.getElementById)	  //gecko(NN6) + IE 5+
  {
      var obj = parent.document.getElementById(szDivID);
      obj.style.visibility = iState ? "visible" : "hidden";
  }
  else 
  if(parent.document.all)	// IE 4
  {
      parent.document.all[szDivID].style.visibility = iState ? "visible" : "hidden";
  }
}

function checkPhone(phone) {
  var objRegExp = /^\+\d{2,3}\.\d{5}(\d{1,2})?(\d{1,2})?(\d{1,2})?$/;
  return objRegExp.test(phone);
}

function isValidEmail2(str) {
  // copy to @
  // copy from @
   return (str.indexOf(".") > 2) && (str.indexOf("@") > 0);
}

function isValidEmail(str) {
  var at="@"
  var dot="."
  var lat=str.indexOf(at)
  var lstr=str.length
  var ldot=str.indexOf(dot)
  if (str.indexOf(at)==-1){
    return false
  }

  if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
    return false
  }

  if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
    return false
  }

  if (str.indexOf(at,(lat+1))!=-1){
    return false
  }

  if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
    return false
  }

  if (str.indexOf(dot,(lat+2))==-1){
    return false
  }
		
  if (str.indexOf(" ")!=-1){
    return false
  }

  return true					
}
// stop hiding me -->