function setFontSize(newSize) {
	if(e = document.getElementsByTagName("body")[0]) {
		e.style.fontSize=newSize;
	}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function popup(URL,width,height) {
	if (!width) {
		width = 500;
	}
	if (!height) {
		height = 500;
	}
	MM_openBrWindow(URL,'','scrollbars=yes,toolbar=no,location=no,status=no,menubar=no,resizable=no,left='+((screen.width-width) / 2)+',top='+((screen.height-height) / 2)+',width=' + width + ',height=' + height);
	return false;
}

/* Callback box popup function */
var status = false;
function callback() {
	if( (obj = document.getElementById("callbackWindow"))) {
		//alert("Object");
		if(status==false) {
			obj.style.display='block';
			f = document.getElementById("callbackForm");
			if(f) {
				f.callbackName.focus();
			}
			status=true;
		} else  {
			obj.style.display='none';
			status=false;
		}
	}
}

function changeState(elementId) {
	if(document.getElementById(elementId).style.display == 'block') {
		document.getElementById(elementId).style.display = 'none';
	} else {
		document.getElementById(elementId).style.display = 'block';
	}
}
