//ARIESTELA Internet and Systems Consultancy www.ariestela.com
//standard js

<!--
//****************
//gohome
//****************
var dataOK=false;
    function gohome() 
 {
  if (confirm("Are you sure you would like to close this window and return to the previous page."))
   {
	parent.window.close();
	parent.opener.focus();
   }
  return true;
}

//-->

//****************
//Layerswitching
//****************

        if (navigator.appName == "Netscape") {
	        if ((parseInt(navigator.appVersion) < 5)) {
				layerStyleRef="layers.";
				layerRef="document.layers['";
				styleSwitch="']";

	        }else{

				layerStyleRef="layer.";
				layerRef="document.getElementById('";
				styleSwitch="').style";
		}
        }else{
				layerStyleRef="layer.style.";
				layerRef="document.all['";
				styleSwitch="'].style";
		}


	function showLayer(layerName){
		eval(layerRef+layerName+styleSwitch+'.visibility="visible"');
	}
	
	function hideLayer(layerName){
		eval(layerRef+layerName+styleSwitch+'.visibility="hidden"');
	}
	

//****************
//open new window
//****************
    function openItemNW( url ) {
      newWindow = window.open(url,
        "newWin",
        "width=450,height=350,left=50,top=50,resizable=no,menubar=no,directories=no,toolbar=no,scrollbars=no"
      );
    }
//****************
//mouse right click
//****************
var message="Sorry, using the right button has been disabled at this site!.";
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;

//****************
//open language normal
//****************
function lang(Lt)
	{
	if (Lt=='UK')
	{
	lang01.submit();
	}

	if (Lt=='PT')
	{
	lang02.submit();
	}

	if (Lt=='NL')
	{
	lang03.submit();
	}
	}
//****************
//open language flash
//****************
function languk()
	{
	lang01.submit();
	}
function langpt()
	{
	lang02.submit();
	}
function langes()
	{
	lang03.submit();
	}




//****************
//open logon page
//****************
    function seclog() {
parent.cmain.location.href = "pvbindex.asp"
}
    function secout() {
parent.cmain.location.href = "pvbindex.asp?out=out"
}
//****************
//open main page
//****************
    function omp(pn) {
parent.cmain.location.href = "cmain.asp?cat=" + (pn)
}
//****************
//open main page
//****************
    function ompin(pin) {
parent.cmain.location.href = (pin)
}
//****************
//open subpage page
//****************
    function ompsub(psub) {
parent.cmain.location.href = (psub)
}
//****************
//open foto page
//****************
    function opfot(fot) {
parent.botf.location.href = "foto.asp?fot=" + (fot)
}
//****************
//****************
//HOME
//****************
    function home() {
parent.parent.iframe01.location.href = ("indmain.asp")
}
//****************
//open mail window
//****************
    function openmailNW() {
      newWindow = window.open("../xfam/mailpage.asp",
        "newWin",
        "width=600,height=400,left=50,top=50,resizable=no,menubar=no,directories=no,toolbar=no,scrollbars=no"
      );
    }



//****************
//Dummyjava
//****************

    function netdummy(xtx) {
parent.cmain.location.href = "cmain.asp?cat=" + (xtx)
}

