// global function for expo brussels 1910

function getlastupdate()
{
var isnMonths=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
	last = new Date(document.lastModified) ;
        
	return "This document was last modified on: " + last.getDate() +" " +isnMonths[last.getMonth()] +" " + last.getYear();
}

function gettarget()
{
if (parent != null)
	target = unescape(parent.location.search.substring(1));
else
	target ="";
return target;
}

function showpic(picname)
{
sel = parent.frames.selectpic;
if (sel != null)
	sel.displaythispicinnewwindow(picname);
else
	displaythispicinnewwindow(picname);
}

function checksite(piccategory)
{
thestring = location.href;
where = thestring.search("skynet");
if (where > 0)
	{
	location.href = "http://users.skynet.be/funcard/index.html"
	return;
	}
if (parent.frames.selectpic != null)
	{
	if (piccategory == -1)
//fixed picture	
		parent.frames.selectpic.showbanner();
	else
//generated picture
		parent.frames.selectpic.generatebannerandpic(document, 0,1,piccategory);
	}
else
	{
	thetarget = window.location;
	thestring = location.href;
	where = thestring.search("htm/");
	name = thestring.substring(where);
    	location.href = "../expofirst.html" + '?' + escape(name);
	}
}

