function MM_reloadPage(init) {  //Updated by PVII. Reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

MM_reloadPage(true);

function MM_findObj(n, d) { // v4.01  
  var p,i,x;  if(!d) d=document;  
if((p=n.indexOf("?"))>0&&parent.frames.length) {  
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)  
x=d.forms[i][n];  
  for(i=0;!x&&d.layers&&i<d.layers.length;i++)  
x=MM_findObj(n,d.layers[i].document);  
  if(!x && d.getElementById) x=d.getElementById(n); return x;  
}

function flevDivPositionValue(sDiv, sProperty) {  
	this.opera = (window.opera); // Opera 5+
	this.ns4 = (document.layers); // Netscape 4.x
	this.ns6 = (document.getElementById && !document.all && !this.opera); // Netscape 6+
	this.ie = (document.all);  // Internet Explorer 4+
    var sValue = ""; docObj = eval("MM_findObj('" + sDiv + "')"); if (docObj == null) {return 0;}
	if ((sProperty == "left") || (sProperty == "top")) {
		if (!this.ns4) {docObj = docObj.style;} 
		sValue = eval("docObj." + sProperty);
		if ((this.ie) && (sValue == "")) { // IE (on PC) bug with nested layers
			if (sProperty == "top") { sValue = eval(sDiv + ".offsetTop"); } 
			else { sValue = eval(sDiv + ".offsetLeft"); } 
		};
	}
	else {
		if (this.opera) {
			docObj = docObj.style;
			if (sProperty == "height") { sValue = docObj.pixelHeight; } 
			else if (sProperty == "width") { sValue = docObj.pixelWidth; } 
		}
		else if (this.ns4) {sValue = eval("docObj.clip." + sProperty);} 
		else if (this.ns6) {sValue = document.defaultView.getComputedStyle(docObj, "").getPropertyValue(sProperty); } 
	    else if (this.ie) { 
			if (sProperty == "width") { sValue = eval(sDiv + ".offsetWidth"); } 
			else if (sProperty == "height") { sValue = eval(sDiv + ".offsetHeight"); } 
		}
   	}
	sValue = (sValue == "") ? 0 : sValue; 
	if (isNaN(sValue)) { if (sValue.indexOf('px') > 0) { sValue = sValue.substring(0,sValue.indexOf('px')); } } 
	return parseInt(sValue); 
}

function flevPersistentLayer() { // v3.3, Marja Ribbers-de Vroed, FlevOOware
	var sD = arguments[0], oD = eval("MM_findObj('" + sD + "')"), iWW, iWH, iSX, iSY, iT = 10, sS = "";
	if (!document.layers) {oD = oD.style;}
	if (oD.tmpTimeout != null) {clearTimeout(oD.tmpTimeout);}
	var sXL = arguments[1], sXC = arguments[2], sXR = arguments[3], sYT = arguments[4], sYC = arguments[5], sYB = arguments[6];
	var iS = (arguments.length > 7) ? parseInt(arguments[7]) : 0, iPx = (arguments.length > 8) ? parseInt(arguments[8]) : 0;
	if (window.innerWidth) { // NS4, NS6 and Opera
		var oW = window; iWW = oW.innerWidth; iWH = oW.innerHeight; iSX = oW.pageXOffset; iSY = oW.pageYOffset; }
	else if (document.documentElement && document.documentElement.clientWidth) { // IE6 in standards compliant mode
		var oDE = document.documentElement; iWW = oDE.clientWidth; iWH = oDE.clientHeight; iSX = oDE.scrollLeft; iSY = oDE.scrollTop; }
	else if (document.body) { // IE4+
		var oDB = document.body; iWW = oDB.clientWidth; iWH = oDB.clientHeight; iSX = oDB.scrollLeft; iSY = oDB.scrollTop; }
	else {return;}
	var iCX = iNX = flevDivPositionValue(sD, 'left'), iCY = iNY = flevDivPositionValue(sD, 'top');
	if (sXL != "") {iNX = iSX + parseInt(sXL);} 
	else if (sXC != "") {iNX = Math.round(iSX + (iWW/2) - (flevDivPositionValue(sD, 'width')/2));}
	else if (sXR != "") {iNX = iSX + iWW - (flevDivPositionValue(sD, 'width') + parseInt(sXR));}
	if (sYT != "") {iNY = iSY + parseInt(sYT);}
	else if (sYC != "") {iNY = Math.round(iSY + (iWH/2) - (flevDivPositionValue(sD, 'height')/2));}
	else if (sYB != "") {iNY = iSY + (iWH - flevDivPositionValue(sD, 'height') - parseInt(sYB));}
	if ((iCX != iNX) || (iCY != iNY)) {
		if (iS > 0) {
			if (iPx > 0) { iT = iS;
				var iPxX = iPx, iPxY = iPx, iMX = Math.abs(iCX - iNX), iMY = Math.abs(iCY - iNY);
				// take care of diagonal movement
				if (iMX < iMY) {iPxY = (iMX != 0) ? ((iMY/iMX)*iPx) : iPx;}
				else {iPxX = (iMY != 0) ? ((iMX/iMY)*iPx) : iPx;}
				if (iPxX >= iMX) {iPxX = Math.min(Math.ceil(iPxX), iPx);}
				if (iPxY >= iMY) {iPxY = Math.min(Math.ceil(iPxY), iPx);}
				// temporary X/Y coordinates
				if ((iCX < iNX) && (iCX + iPxX < iNX)) {iNX = iCX + iPxX;}
				if ((iCX > iNX) && (iCX - iPxX > iNX)) {iNX = iCX - iPxX;}
				if ((iCY < iNY) && (iCY + iPxY < iNY)) {iNY = iCY + iPxY;}
				if ((iCY > iNY) && (iCY - iPxY > iNY)) {iNY = iCY - iPxY;} }
			else { 
				var iMX = ((iNX - iCX) / iS), iMY = ((iNY - iCY) / iS); 
				iMX = (iMX > 0) ? Math.ceil(iMX) : Math.floor(iMX); iNX = iCX + iMX; 
				iMY = (iMY > 0) ? Math.ceil(iMY) : Math.floor(iMY); iNY = iCY + iMY; } }
		if ((parseInt(navigator.appVersion)>4 || navigator.userAgent.indexOf("MSIE")>-1) && (!window.opera)) {sS="px";}
		if (iMX != 0) {eval("oD.left = '" + iNX + sS + "'");}
		if (iMY != 0) {eval("oD.top = '" + iNY + sS + "'");} }
	var sF = "flevPersistentLayer('" + sD + "','" + sXL + "','" + sXC + "','" + sXR + "','" + sYT + "','" + sYC + "','" + sYB + "'," + iS + "," + iPx + ")";
	oD.tmpTimeout = setTimeout(sF,10);
}

function flevInitPersistentLayer() { // v3.3, Marja Ribbers-de Vroed, FlevOOware
	if (arguments.length < 8) {return;}
	var sD = arguments[0]; if (sD == "") {return;}
	var	oD = eval("MM_findObj('" + sD + "')"); if (!oD) {return;}
	var iCSS = parseInt(arguments[1]);
	var sXL = arguments[2], sXC = arguments[3], sXR = arguments[4], sYT = arguments[5], sYC = arguments[6], sYB = arguments[7];
	var iS = (arguments.length > 8) ? parseInt(arguments[8]) : 0, iPx = (arguments.length > 9) ? parseInt(arguments[9]) : 0;
	if (iCSS != 0) { if (!document.layers) {oD = oD.style;} sXL = parseInt(oD.left), sYT = parseInt(oD.top);}
	var sF = "flevPersistentLayer('" + sD + "','" + sXL + "','" + sXC + "','" + sXR + "','" + sYT + "','" + sYC + "','" + sYB + "'," + iS + "," + iPx + ")";
	eval(sF);
}

function sureBomb(url)
{
if (confirm(' Are you sure?\n (This is NOT recommended)')) {if (confirm(' SO, you are ABSOLUTELY sure?')) {parent.window.location=url} else {return false;}}
}

function usingFrames()
	{

	return (parent.frames.length);
	}


//if (!usingFrames()) {window.location.replace("../home.html")}

function openWin(url, width, height) 
{
        var win = window.open(url, 'Koertcam', 'resizable=no,scrollbars=no,status=YES,directories=no,toolbar=no,status=no,menubar=no,width='+width+',height='+height);
}

function preload_gif()
{
bName=navigator.appName;
bVer=parseInt(navigator.appVersion);
ver="nn";
if (bName=="Netscape" && bVer>=3) ver= "n4";
else if (bName=="Netscape" && bVer==3) ver= "n3";
	else if (bName== "Netscape" && bVer==2) ver= "n2";
		else if (bName=="Microsoft Internet Explorer" && bVer <4) ver="e3";
		else if (bName=="Microsoft Internet Explorer" && bVer <5) ver="e4";
		else if (bName=="Microsoft Internet Explorer" && bVer >=5) ver="e5";		



if (ver=="n3" | ver=="n4" | ver=="e4" | ver=="e5")
{
 var dir="../shared/bitbet";


	popd=new Image(50,50);
	popd.src="../shared/popd.gif";
 
	bt_koert=new Image(50,50);
	bt_koert.src="../shared/bt_koert.gif";

	postd=new Image(50,50);
	postd.src="../shared/postd.gif";
 
	bt_email=new Image(50,50);
	bt_email.src="../shared/bt_email.gif";

	workd=new Image(50,50);
	workd.src="../shared/workd.gif";
 
	bt_work=new Image(50,50);
	bt_work.src="../shared/bt_work.gif";

	camerad=new Image(50,50);
	camerad.src="../shared/camerad.gif";

	bt_camera=new Image(50,50);
	bt_camera.src="../shared/bt_camera.gif";

}
} 


//function imageChange(pic, change,tname, status) 
 // {
 // window.status = status;
 // }


 
function imageChange(pic, change,tname, status) 
  {
  document.images[pic].src = "../shared/" + change + "";
 if (tname!="") {document.images['btext'].src="../shared/"+tname+"";}
 window.status = status;
  }
  
function print_bomb()                                                                                                                       {
        document.write("<div id=\"bomb\" style=\"position:absolute; width: 45;                                                                                               z-index:1; left:0;                                                                                                                             bottom: 0 px; border: 0px solid #000000;  visibility: visible\">"); 











	                      document.write("<a  target=\"_top\"                                                                                                                                                                                                                                                                                                                                                                    onMouseOver=\"window.status='HandResearch.com presents: the Global News & Science about Hands!'; return true;\"  onMouseOut=\"window.status=''; return true;\" onClick=\"vingerafdruk.jpg; return false;\"><img src=\"http://www.handresearch.com/hand/Evolutie/Menu_bestanden/zwartachtergrond.jpg\" width=\"185\" height=\"880\" alt=\"\" border=\"1\"                       vspace=\"0\"                                                                            hspace=\"0\"></a>");                                                                         
document.write("</div>");
                                                                                                                                                                                                                                                                            	flevInitPersistentLayer('bomb',0,'','','','0','','',0);

}                                                                                    

function print_koertindex()                                                                                                                          {
document.write("<div id=\"koertindex\" style=\"position:absolute; width: 0;                                                                                                             z-index:2; left:2;                                                                                                                                      top: 0px; border: 0px solid #000000;  visibility: visible\">");                                                                                                                                                                                                                                  











document.write("             <table width=\"190\" height=100% border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write("            <tr valign=\"bottom\"><td align=center height=\"0\" width=\"150\" ><span class=\"smallnav\">");                                                                                                                          





















document.write("  <img border=0 src=\"http://www.handresearch.com/menu/portrait.jpg\" alt=\"Webmaster - Martijn van Mensvoort\" hspace=\"10\" vspace=\"2\"                          height=\"80\" width=\"160\"><BR>");


document.write("  <img border=0 src=\"http://www.handresearch.com/flag/flag-no.jpg\" alt=\"\" hspace=\"1\" vspace=\"5\"  height=\"12\" width=\"18\"> <a href=\"http://www.handresearch.com/quiromancia.htm\" >   <img border=0 src=\"http://www.handresearch.com/flag/spain-flag.jpg\" alt=\"Mano investigacion -  PÁGINA DE INICIO, en Español!\" hspace=\"1\" vspace=\"5\"                          height=\"12\" width=\"18\"></a>                  <a href=\"http://www.handresearch.com\" >      <img border=0 src=\"http://www.handresearch.com/flag/uk-flag.jpg\" alt=\"Hand Research - HOMEPAGE, in English language!\" hspace=\"1\" vspace=\"5\"      height=\"12\" width=\"18\"></a>  <a href=\"http://www.handresearch.nl\" >                                                                                  <img border=0 src=\"http://www.handresearch.com/flag/netherlands-flag.jpg\" alt=\"Hand onderzoek - HOMEPAGE, in de Nederlands taal!\" hspace=\"0\" vspace=\"5\"                          height=\"12\" width=\"18\"></a><BR>");


document.write("  <a href=\"http://www.handresearch.com/quiromancia.htm\" >                                                                                  <img border=0 src=\"http://www.handresearch.com/menu/home.jpg\" alt=\"PÁGINA DE INICIO - Eche un vistazo a las muchas oportunidades de Leer Mano moderna y clásico Quiromancia ofrecido por: www.handresearch.com\" hspace=\"10\" vspace=\"2\"                          height=\"26\" width=\"160\"></a><BR>");


document.write("  <a href=\"http://www.handresearch.com/espanol/quiromancia-gratis.htm\" >                                                                                  <img border=0 src=\"http://www.handresearch.com/menu/hand-study.jpg\" alt=\"EXPERIENCIA EN LINEA DE LA QUIROMANICA - Descubre el principio básico de la moderna Leer Mano o Quiromancio clásico a través de una experiencia en línea!\" hspace=\"10\" vspace=\"2\"                          height=\"116\" width=\"160\"></a><BR>");


document.write("  <a href=\"http://www.handresearch.com/espanol/10-anos-investigacion-del-quiromancia.htm\" >                                                                                  <img border=0 src=\"http://www.handresearch.com/menu/investigacion-de-la-mano.jpg\" alt=\"15 AÑOS DE MANO DE INVESTIGACIÓN - Palm Varios lectura los proyectos de investigación, entre ellas: la psicología de la lectura de Palm!\" hspace=\"10\" vspace=\"2\"                          height=\"26\" width=\"160\"></a><BR>");




document.write("  <a href=\"http://www.handresearch.com/espanol/las-manos-en-las-noticias.htm\" >                                                                       <img border=0 src=\"http://www.handresearch.com/menu/las-manos-en-las-noticias.jpg\" alt=\"LAS MANOS EN LAS NOTICIAS - Las últimas noticias acerca de Manos y Palm Lectura y y Quirologia Y Quiromancia!\" hspace=\"10\" vspace=\"2\"                          height=\"20\" width=\"160\"></a><BR>");


document.write("  <a href=\"http://www.handresearch.com/course/palm-reading-course.htm\" >                                                                                  <img border=0 src=\"http://www.handresearch.com/menu/leer-mano-curso.jpg\" alt=\"CURSO DE LECTURA PALM - Aprenda a utilizar los descubrimientos científicos en la mano Análisis y Quiromancia!\" hspace=\"10\" vspace=\"2\"                          height=\"20\" width=\"160\"></a><BR>");


document.write("  <a href=\"http://www.handresearch.com/finger-nails/nail-encyclopedia.htm\" >                                                                                  <img border=0 src=\"http://www.handresearch.com/menu/enciclopedia-de-unas.jpg\" alt=\"UÑAS ENCICLOPEDIA - Aprender acerca de cómo sus uñas reflejan el estado de su salud!\" hspace=\"10\" vspace=\"2\"                          height=\"20\" width=\"160\"></a><font size=1><BR></font>");


document.write("  <a href=\"http://www.handresearch.com/quiromancia-directorio.htm\" >                                                                                  <img border=0 src=\"http://www.handresearch.com/menu/quiromancia-red-mundial.jpg\" alt=\"QUIROMANCIA RED MUNDIAL - Incluye analistas de mano y quirománticos de 54 países!\" hspace=\"10\" vspace=\"2\"                          height=\"26\" width=\"160\"></a><BR>");


document.write("  <a href=\"http://www.handresearch.com/top100/palmistry-top-100-south-america.htm\" >                                                                                  <img border=0 src=\"http://www.handresearch.com/menu/web-quiromancia-top-100.jpg\" alt=\"Quiromancia WEB TOP 100 - Una visión general de los sitios web más populares sobre: Quiromancia Y Quirologia Y lectura de mano Palm!\" hspace=\"10\" vspace=\"2\"                          height=\"20\" width=\"160\"></a><BR>");


document.write("  <a href=\"http://www.handresearch.com/espanol/libros-de-quiromancia-top-100.htm\" >                                                                                  <img border=0 src=\"http://www.handresearch.com/menu/libros-quiromancia-top-100.jpg\" alt=\"LIBROS QUIROMANCIA TOP 100 - Una visión general de los bestsellers sobre: Quiromancia, Quirologia & lectura de mano Palm!\" hspace=\"10\" vspace=\"2\"                          height=\"20\" width=\"160\"></a><BR>");


document.write("  <a href=\"http://www.handresearch.com/espanol/quiromancia-gratis.htm\" >                                                                                  <img border=0 src=\"http://www.handresearch.com/menu/quiromancia-en-linea.jpg\" alt=\"QUIROMANCIA EN LINEA - Aprenda más sobre el principio básico de la Quiromancia, Quirologia & Palm Lectura!\" hspace=\"10\" vspace=\"2\"                          height=\"26\" width=\"160\"></a><BR>");


document.write("  <a href=\"http://www.handresearch.com/espanol/manos-de-famosos.htm\" >                                                                                  <img border=0 src=\"http://www.handresearch.com/menu/manos-de-famosos.jpg\" alt=\"MANOS DE FAMOSOS - La mano de las celebridades!\" hspace=\"10\" vspace=\"2\"                          height=\"20\" width=\"162\"></a><BR>");


document.write("  <a href=\"http://www.handresearch.com/espanol/manos-y-la-salud.htm\" >                                                                                  <img border=0 src=\"http://www.handresearch.com/menu/manos-y-atencion-de-la-salud.jpg\" alt=\"MANOS Y ATENCION DE LA SALUD - Una visión general de oportunidades alternativas, incluyendo: reflexologia mano, la terapia de palma, astrología, numerología, tarot, ouija, colon y más!\" hspace=\"10\" vspace=\"2\"                          height=\"20\" width=\"160\"></a><BR>");


document.write("  <a href=\"http://www.handresearch.com/link/partners.htm\" >                                                                                  <img border=0 src=\"http://www.handresearch.com/menu/promover-su-sitio-web.jpg\" alt=\"PROMOVER SU SITIO WEB\" hspace=\"10\" vspace=\"2\"                          height=\"26\" width=\"160\"></a><BR>");


document.write("  <font size=1></font><a href=\"mailto:mensvoor@worldonline.nl\" >                                                                                  <img border=0 src=\"http://www.handresearch.com/menu/e-mail.jpg\" alt=\"E-MAIL - Presentar sus solicitudes a través de este botón de correo electrónico.\" hspace=\"10\" vspace=\"2\"                          height=\"20\" width=\"160\"></a><BR>");


document.write("  <font size=1></font><a href=\"mailto:mensvoor@worldonline.nl\" >                                                                                  <img border=0 src=\"http://www.handresearch.com/hand/Evolutie/Menu_bestanden/mail.jpg\" alt=\"E-MAIL - Presentar sus solicitudes a través de este botón de correo electrónico.\" hspace=\"55\" vspace=\"4\"                          height=\"35\" width=\"63\"></a><BR>");


document.write("  <a href=\"http://www.handresearch.com/martijn-van-mensvoort.htm\" >                                                                             <img border=0 src=\"http://www.handresearch.com/menu/derechos-de-autor.jpg\" alt=\"DERECHOS DE AUTOR: Martijn van Mensvoort, Los Países Bajos.\" hspace=\"10\" vspace=\"2\"                          height=\"20\" width=\"160\"></a><BR>");






document.write("</table></div>  ");








flevInitPersistentLayer('koertindex',0,'','','','0','','',0);
}






