// JavaScript Document

//---------------------------------------------------------
//	PAGE STYLE 01: DISPLAY IN CENTER OF SCREEN
//---------------------------------------------------------
var pwidth=460;		//page width
var pheight=520;	//page height
var wleft=(screen.width - pwidth)/2;
var wtop=(screen.height - pheight)/2;	
function openpopwin(url,offsetLeft,offsetTop)
{
	var ol=offsetLeft;
	var ot=offsetTop;
	if (ol==""|| ol==null) ol =parseInt(ol);
	if (ot==""|| ot==null) ot =parseInt(ot);
	var winfeature="toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=0, width="+pwidth+", height="+pheight+", left = "+(wleft+ol)+", top = "+(wtop+ot)+"";
	var popw=window.open(url, '',winfeature);
	popw.focus();
}

//--------------------------------------------------------------------
//	PAGE STYLE 02: DISPLAY IN CENTER OF SCREEN WITH WIDTH AND HEIGHT
//--------------------------------------------------------------------
function openLearnMore(url,pWidth,pHeight)
{
	var pwidth02;
	var pheight02;
	pwidth02=pWidth;
	pheight02=pHeight;
	var wleft02=(screen.width - pwidth02)/2;
	var wtop02=(screen.height - pheight02)/2;
	var winfeature="toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width="+pwidth02+", height="+pheight02+", left="+wleft02+", top="+wtop02+"";
	var popw02=window.open(url, '',winfeature);
	popw02.focus();
}

//--------------------------------------------------------------------------------
//	PAGE STYLE 03: DISPLAY IN CENTER OF SCREEN WITH WIDTH, HEIGHT AND SCROLLBARS
//--------------------------------------------------------------------------------
function openLearnMoreBar(url,pWidth,pHeight)
{
	var pwidth03;
	var pheight03;
	pwidth03=pWidth;
	pheight03=pHeight;
	var wleft03=(screen.width - pwidth03)/2;
	var wtop03=(screen.height - pheight03)/2;
	var winfeature="toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=0, width="+pwidth03+", height="+pheight03+", left="+wleft03+", top="+wtop03+"";
	var popw03=window.open(url, '',winfeature);
	popw03.focus();
}



