/* Various Popup windows - all called with sysPop() */

function sysPopup(MyURL, MyTitle, MyType)  {  

	var features;
	
	switch (MyType) {
	
		case 'activation':
			features = 'height=450, width=500 alwaysRaised=yes, dependent=yes, scrollbars=no';
		break;

		case 'proddetails':
			features = 'height=660, width=790, alwaysRaised=yes, dependent=yes, scrollbars=yes';
		break;

		case 'fullwin':
			features = 'height=620, width=820, alwaysRaised=yes, dependent=yes, scrollbars=yes, resizable=yes';
		break;

		case 'maildetails':
			features = 'height=625, width=620, alwaysRaised=yes, dependent=yes, scrollbars=no';
		break;

		case 'currencies':
			features = 'height=520, width=620, alwaysRaised=yes, dependent=yes, scrollbars=yes';
		break;

		case 'help':
			features = 'height=450, width=450, alwaysRaised=yes, dependent=yes, scrollbars=yes';
		break;

		case 'helpsmall':
			features = 'height=400, width=475, alwaysRaised=yes, dependent=yes, scrollbars=yes';
		break;

		case 'txtsmall':
			features = 'height=600, width=690, alwaysRaised=yes, dependent=yes, scrollbars=yes';
		break;

		case 'txtexplain':
			features = 'height=375, width=450, alwaysRaised=yes, dependent=yes, scrollbars=yes';
		break;

		case 'uploads':
			features = 'height=470, width=525, alwaysRaised=yes, dependent=yes, scrollbars=no';
		break;

		case 'news':
			features = 'height=350, width=350, alwaysRaised=yes, dependent=yes, scrollbars=no';
		break;

		default:
			features = 'height=480, width=665, alwaysRaised=yes, dependent=yes, scrollbars=yes';

	}

	window.open(MyURL, MyTitle, features);
		
}
