ns6=(navigator.userAgent.indexOf("Gecko")!=-1)?true:false
mac=(navigator.appVersion.indexOf("Mac")!=-1)?true:false
mac45=(navigator.appVersion.indexOf("MSIE 4.5")!=-1)?true:false

//document.write('<style type="text/css" media="all">\n');
//if (ns6) {
//document.write('.content 	{ width: 505px; padding-left: 19px; padding-right: 20px; line-height: 15px; }\n');
//} else {
//document.write('.content 	{ width: 544px; padding-left: 19px; padding-right: 20px; line-height: 15px; }\n');
//}
//document.write('</style>\n');

function checkImage() {
	if (document.getElementById('image1')) {
		image1width = document.getElementById('image1').width;
		document.getElementById('image1div').style.width = image1width;
	}

	if (document.getElementById('image2')) {
		image2width = document.getElementById('image2').width;
		document.getElementById('image2div').style.width = image2width;
	}
}

function openCharts(file) {
    msgWindow=open(file,'chartWin','resizable=yes,scrollbars=yes,width=760,height=500,toolbars=no,menubar=yes,statusbar=no');
    if (msgWindow.opener == null) msgWindow.opener = self;
}

function loadOpener(file) {
    top.opener.window.location.href = file;
}
