NS4=(navigator.appName=="Netscape"&&parseInt(navigator.appVersion)==4)?true:false;

function pl(source)
{
	tmpImg=new Image();
	tmpImg.src=source;
}

function ch(imgname,source,div)
{
	if (NS4&&div) {document.layers[div].document.images[imgname].src=source;}
	else {document.images[imgname].src=source;}
}

function ch2(source,div)
{
	var img = "map";
	var div1 = "fake";
	if (NS4&&div) {document.layers[div1].document.images[img].src="img/map/area"+source+".gif";}
	else {document.images[img].src="img/map/area"+source+".gif";}
}

function ch3(div)
{
	if (NS4&&div) {document.layers["fake"].document.images["map"].src="img/map/transbig.gif";}
	else {document.images["map"].src="img/map/transbig.gif";}
}

function ch4(div)
{
	if (NS4&&div) {document.layers["fake"].document.images["map"].src="img/map/translondon.gif";}
	else {document.images["map"].src="img/map/transbig.gif";}
}

function open_window() {	
	window.open("contact.html","popup","toolbar=0,location=0,resizable=0,menubar=0,scrollbars=0,directories=0,top=150,left=50,height=447,width=425");
    if (!window.opener) window.opener = self;
}

function open_window6() {	
	window.open("note.html","popup","toolbar=0,location=0,resizable=0,menubar=0,scrollbars=0,directories=0,top=150,left=50,height=200,width=200");
    if (!window.opener) window.opener = self;
}

function SetFrame(s) {
	s = "area"+s+".htm";
	opener.location.href = s;
}

