var ContentCurrentFontSize = 15;
var ContentCurrentLineHeight = 145;

function SetFontSize(SizeFlag,obj) {

	if (SizeFlag == 'B') {
		ContentCurrentFontSize = ContentCurrentFontSize + 1;
		
		document.getElementById(obj).style.fontSize = ContentCurrentFontSize + "px";
		document.getElementById(obj).style.lineHeight = ContentCurrentLineHeight + "%";

		
	} else {
		if (ContentCurrentFontSize>0) {
			ContentCurrentFontSize = ContentCurrentFontSize - 1;
		}
		
		document.getElementById(obj).style.fontSize = ContentCurrentFontSize + "px";
		document.getElementById(obj).style.lineHeight = ContentCurrentLineHeight + "%";
	}
}


function modal(pages,mywidth,myheight)
{
//	if (navigator.userAgent.indexOf('MSIE')>0) {
//		window.showModalDialog(pages,"","dialogWidth:"+mywidth+"px;dialogHeight:"+myheight+"px;scroll:no;status:no;help:no");
//	}
//	else{
//		window.open(pages,"","height="+myheight+",width="+mywidth+",top=200,left=200,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no");
//		}
window.open(pages,"","height="+myheight+",width="+mywidth+",top=200,left=200,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no");
}
