I have two functions,
import() calls and runs a script in the background, this script takes a while.
updateStatus() gets the session variables set by the first script in order to keep status.

The goal here is to run the script that takes a while and get the session vars at the same time to keep an updated "progress" as the bigscript runs. Both functions work I know that, the problem is that the update script is halted when the the import script is ran.

The update script utilises "getJson" while I have tried using both "getJson" and "load" to run the import script. I have also switched the order in which the functions are called. (importStart is a global script var)

Can any one tell me why? Or have any other suggestions?

Code JavaScript:
		setInterval(function() {
		}, 3000);
		if(importStart != 1){
			importStart = 1;


import(); is not actually named import();