var weight="bold";
function changeLoc(address,newWindow){
	if(!newWindow) parent.main.location = address;
	else window.open(address,"forum");
}
function onOver(td) {
	if(document.getElementById||(document.all && !(document.getElementById))){
		if(td.style.fontWeight!=weight) {
			td.style.backgroundColor="#2555C5";
			td.style.borderColor="#2555C5";
			td.style.color="#000";
		}
	}
}
function onOut(td){
	if(document.getElementById||(document.all && !(document.getElementById))){
		if(td.style.fontWeight!=weight) {
			td.style.backgroundColor="#0535A5";
			td.style.borderColor="#0535A5";
			td.style.color="#000";
		}
	}
}
function onUnload(which) {
	var obj=parent.top.document.getElementById(which);
	if(!obj) obj=parent.frames.item('top').document.getElementById(which);
	if(obj) {
		obj.style.backgroundColor="#0535A5";
		obj.style.borderColor="#0535A5";
		obj.style.color="#000";
		obj.style.fontWeight="normal";
	}
}
function onLoad(which) {
	var obj;
	//if(parent.top.document.getElementById) obj=window.parent.frames["top"].document.getElementById(which);
	if(parent.top.document.getElementById) obj=parent.top.document.getElementById(which);
	if(!obj) obj=parent.frames.item('top').document.getElementById(which);
	if(obj) {
		obj.style.backgroundColor="#2255BB";
		obj.style.fontWeight=weight;
		obj.style.borderColor="#3366FF";
	}
}
if (top == self) location.replace("../assets/include/make-context.php?ref="+encodeURIComponent(document.referrer)+"&page="+encodeURIComponent(document.URL)+"&screenwidth="+screen.width+"&screenheight="+screen.height);