var ireko_width, ireko_height, browser_mode;

if (window.innerWidth) {
	ireko_width=window.innerWidth;
} else {
	if (document.documentElement && document.documentElement.clientWidth) {
 		ireko_width=document.documentElement.clientWidth;
	} else {
		if (document.body) {
			ireko_width=document.body.clientWidth;
		}
	}
}


if (window.innerHeight) {
	ireko_height=window.innerHeight;
} else {
	if (document.documentElement && document.documentElement.clientHeight) {
		ireko_height=document.documentElement.clientHeight;
	} else {
		if (document.body) {
			ireko_height=document.body.clientHeight;
		}
	}
}

// Set the image size based on the browser width
// Normal mode is 1024x768 fullscreen (or anything smaller)
// Enhanced mode is anything larger than that; you get a slightly larger default image.

if ( ireko_width < 1024 || ireko_height < 768 ) {
	imagesize = "400";
	imagefullsize = "700";
	browser_mode = "standard";
} else { 
	imagesize = "600";
	imagefullsize = "800";
	browser_mode = "enhanced";
}

//if (ireko_height > 550) {
//	document.write('<img src="images/spacer.gif" width=1 height=' + (ireko_height-550)/6 + '><br>');
//}

document.writeln('<img src="images/spacer.gif" height=5 width=1><BR><table width=100% border=0>');
document.writeln('<tr><td align=center>');
document.writeln('<a href="index.html"><img src="images/logo.gif"></a>');
document.writeln('</td></tr></table>');



