function eyefi_checkBrowser(){
	this.ver=navigator.appVersion; this.dom=document.getElementById?1:0;
	this.mac=(this.ver.indexOf("PPC")!= -1)?1:0;	this.win=(this.ver.indexOf("Win")!= -1)?1:0;
	this.ie5up=(this.ver.indexOf("MSIE")>-1 && this.dom && parseInt(this.ver) >= 4) ?1:0;
	this.ie4=(document.all && !this.dom)?1:0; this.ie=(this.ie5up || this.ie4);
	this.ns5up=(this.ver.indexOf("MOZILLA") && this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0; this.ns=(this.ns4 || this.ns5up);
	this.saf=(this.ver.indexOf("Safari")>-1 && this.mac) ?1:0;	
	this.eyefi=(this.ie || this.ns || this.saf);
	return this;
}
eyefi=new eyefi_checkBrowser();
if (eyefi.saf) { eyefi.ie=false; }

document.write('<style>');
if (eyefi.ns4) {
	document.write('.box {	font-family: verdana, arial;color: #333333; font-size: 10px;width:140px;}');
	document.write('.box2 {	font-family: verdana, arial;color: #333333; font-size: 10px;width:218px;}');
} else {
	document.write('.box { font:normal normal 10px Verdana, Arial; color: #333333; border:1px solid #333333; width:140px; background-color:#ffffff; }');
	document.write('.box2 { font:normal normal 10px Verdana, Arial; color: #333333; border:1px solid #333333; width:218px; background-color:#ffffff; }');
}
document.write('</style>');

function popdis() {
	window.open('disclaimer.php','disclaimer','toolbar=no,location=no,directories=no,status=no,menubar=no,scrolling=1,scrollbars=1,resizable=no,width=397,height=320');			
}
function popreply(pagename) {
	window.open(pagename,'forum_reply','toolbar=no,location=no,directories=no,status=no,menubar=no,scrolling=0,scrollbars=0,resizable=no,width=380,height=320');			
}
var date = new Date();
function showYear() {
	document.write(date.getFullYear());
}