function main_refresh()
{
	if (mainrefresher[0][5]==mod_qstyle_datafeed)
	{
		mod_qstyle_getResults('refresh');
	}
	else if (mainrefresher[0][5]==mod_app_datafeed)
	{
		mod_app_getResults('refresh');
	}
}



/* Load the questionnaire styles creator */
function common_qstyles()
{

system_window = new Window(
							'system_window', 
							{
								url:'http://www.ic360.edcomp.co.uk/xdev/dd/dd3.3.php',
								className: "mac_os_x", 
								title: "Edit Questionnaire",
								top:100, 
								left:100, 
								width:740, 
								height:600, 
								zIndex:150, 
								opacity:1, 
								resizable: true
							}
							);

	system_window.setDestroyOnClose();
	//true for modal
	system_window.showCenter(true);

}

function loadhelp()
{
	var help_window = new Window(
							'help_window', 
							{
								url:'http://www.ic360.edcomp.co.uk/helpcenter.php',
								className: "mac_os_x", 
								title: "Help Center",
								top:100, 
								left:100, 
								width:740, 
								height:600, 
								zIndex:150, 
								opacity:1, 
								questionable:false,
								resizable: true
							}
							);

	help_window.setDestroyOnClose();
	//true for modal
	help_window.showCenter(true);

}



