nameMonth = new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
var lastUpdate = new Date(document.lastModified);
var lastUpdated, lastUpdateDay, lastUpdateMonth, lastUpdateYear;

function lastUpdateOfThisFile()
{
lastUpdated = "&quot;Last Updated on&quot; is undefined in this browser";
if (lastUpdate == "Invalid Date"){lastUpdated = "&quot;Last Updated on&quot; is undefined in Chrome"}
else if (lastUpdate.getFullYear() == "1970") 
	{lastUpdated = "&quot;Last Updated on&quot; is undefined in Safari"}
else if (document.lastModified.substring(2,3) != "/"){operaDate(document.lastModified)}
else { otherDate(document.lastModified)}
return;
}


function lastUpdatedInformation (fontSize){
lastUpdateOfThisFile();
if (fontSize==0) {fontSize=1};
document.write("<font size=" + fontSize + ">" + lastUpdated +"</font><br>");
return;
}

nameMaand = new Array("Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Oct","Nov","Dec");

function lastUpdatedInformationNL (fontSize){
lastUpdated = "&quot;Last Updated on&quot; ongedefinieerd in deze browser";
if (lastUpdate == "Invalid Date"){lastUpdated = "&quot;Last Updated on&quot; is ongedefinieerd in  Chrome"}
else if (lastUpdate.getFullYear() == "1970") 
	{lastUpdated = "&quot;Last Updated on&quot; is ongedefinieerd in Safari"}
else if (document.lastModified.substring(2,3) != "/"){operaDateNL(document.lastModified)}
else { otherDateNL(document.lastModified)}

if (fontSize==0) {fontSize=1};
document.write("<font size=" + fontSize + ">" + lastUpdated +"</font><br>");
return;
}

function operaDate(x)
{
lastUpdateDay = x.substring(5,7);
lastUpdateMonth = x.substring(8,11);
lastUpdateYear = x.substring(12,16);
lastUpdated = "Last Updated on " + lastUpdateMonth + " " + lastUpdateDay + ", " + lastUpdateYear;
}

function otherDate(x)
{
lastUpdateDay = x.substring(3,5);
lastUpdateMonth = x.substring(0,2);
lastUpdateYear = x.substring(6,10);
lastUpdated = "Last Updated on " + nameMonth[lastUpdateMonth-1] + " " + lastUpdateDay + ", " + lastUpdateYear;
}
function operaDateNL(x)
{
lastUpdateDay = x.substring(5,7);
lastUpdateMonth = x.substring(8,11);
lastUpdateYear = x.substring(12,16);
lastUpdated = "Laatst bijgewerkt op " + lastUpdateDay  + " " + lastUpdateMonth + ", " + lastUpdateYear;
}

function otherDateNL(x)
{
lastUpdateDay = x.substring(3,5);
lastUpdateMonth = x.substring(0,2);
lastUpdateYear = x.substring(6,10);
lastUpdated = "Laatst bijgewerkt op " + lastUpdateDay + " " + nameMaand[lastUpdateMonth-1] + ", " + lastUpdateYear;
}

function locationInformation (){
return(location.href.substring(0,4));
}


<!--
// copyright 1999 Idocs, Inc. http://www.idocs.com/tags/
// Distribute this script freely, but please keep this
// notice with the code.

var rollOverArr=new Array();
function setrollover(OverImgSrc,pageImageName)
{
if (! document.images)return;
if (pageImageName == null)
    pageImageName = document.images[document.images.length-1].name;
rollOverArr[pageImageName]=new Object;
rollOverArr[pageImageName].overImg = new Image;
rollOverArr[pageImageName].overImg.src=OverImgSrc;
}

function rollover(pageImageName)
{
if (! document.images)return;
if (! rollOverArr[pageImageName])return;
if (! rollOverArr[pageImageName].outImg)
    {
    rollOverArr[pageImageName].outImg = new Image;
    rollOverArr[pageImageName].outImg.src = document.images[pageImageName].src;
    }
document.images[pageImageName].src=rollOverArr[pageImageName].overImg.src;
}

function rollout(pageImageName)
{
if (! document.images)return;
if (! rollOverArr[pageImageName])return;
document.images[pageImageName].src=rollOverArr[pageImageName].outImg.src;
}
//-->

// Fullscreen Open and Close

// Fullscreen Open and Close
function openUp(pageName,ww,wh){
//pageName = "shaanxi-henan.htm#foto-album"
rule= "toolbar=No,menubar=No,location=No,scrollbars=yes,status=No,left=1,top=1,width="+ ww +",height="+wh;
this.open(pageName,"",rule);
}

function closeDown(){
window.close();
}

//determine screensize
var screenW = 640, screenH = 480;
if (parseInt(navigator.appVersion)>3) {
 screenW = screen.width;
 screenH = screen.height;
}
else if (navigator.appName == "Netscape"
    && parseInt(navigator.appVersion)==3
    && navigator.javaEnabled()
   )
{
 var jToolkit = java.awt.Toolkit.getDefaultToolkit();
 var jScreenSize = jToolkit.getScreenSize();
 screenW = jScreenSize.width;
 screenH = jScreenSize.height;
}

function defineWidth() 
{
	var myWidth = 0;
	if     (window.innerWidth)        { myWidth = window.innerWidth} //non-IE    
	else if(document.body.offsetWidth){ myWidth = document.body.offsetWidth} //IE
	return (myWidth);
}

function defineHeight() 
{
	var myHeight = 0;
	if     (window.innerHeight)        { myHeight = window.innerHeight} //non-IE    
	else if(document.body.offsetHeight){ myHeight = document.body.offsetHeight} //IE
	return (myHeight);
}

//HTML to text
function htmlToText (htmltext)
{		
 while (htmltext.search("<") != -1) {htmltext = htmltext.replace ("<","&lt;")}
 while (htmltext.search(">") != -1) {htmltext = htmltextt.replace (">","&gt;")}
 return htmltext;
}

//Change frames for Dinky Toys website
function changeFrames(menuframe, bodyframe)
{
 parent.menu.location.href = menuframe;
 parent.plaatje.location.href = bodyframe;
}
//Indicates "misuse" of pages intended to be shown in a frame
function checkframed(gourl) //e.g. checkframed("http://www.boland-devries.nl")
{
if (top == self)
   document.write(
      '<DIV STYLE="padding:8pt;' +
      'border-style:solid;border-width:8pt;' +
      'border-color:444444;background-color:888888">' +
      '<STRONG STYLE="font-size:30pt;' +
      'font-weight:900;font-family:sans-serif">' +
      'This page is intended as part of a ' +
      '<A HREF="' + gourl + '">framed document</A>.' +
      '</STRONG></DIV>');
}


//parse information from HTML to HTML
//assumes calling html file has something like: <a href="file.html?key1=value1[#key2=value2[#keyN=valueN]]"></a>
var qsParm = new Array();
var parms= new Array();
function qs(where) {
if (where != "T"){var query = window.location.search.substring(1)}//basically "key1=value1"[",key2=value2"[",keyN=valueN"]]
else             {var query = top.location.search.substring(1)}	
parms = query.split(',');/*split the query string into separate queries, 
								"key1=value1","key2=value2",..,"keyN=valueN"
								parms[0]   = "key1=value1"
								parms[1]   = "key2=value2"
								...
								parms[N-1] = "keyN=valueN"
/*Method object.split splits a string into substrings 
and creates an array containing the resulting substrings.
Syntax: object.split([separator][, limit])*/

for (var i=0; i<parms.length; i++) {
	var pos = parms[i].indexOf('=');//locates the "=" in the query
	if (pos > 0) {
			var key = parms[i].substring(0,pos);//key1 etc.
			var val = parms[i].substring(pos+1);//value1 etc.
			qsParm[key] = val;
					/*Result:
					qsParm["key1"] = "value1";
					qsParm["key2"] = "value2";
					qsParm["keyN"] = "value1N";*/
		}
	}
}

//parse information from HTML topframeHTML to HTML
//assumes calling html file has something like: <a href="file.html?key1=value1[#key2=value2[#keyN=valueN]]"></a>

