function winName(file)
{
	f = file.replace(/\//g,"_");
	f = f.replace(/\./g,"_");
	f = f.replace(/\-/g,"_");
	return f;
}

function openStatusWindow(file, width, height, screenx, screeny)
{
	unique = winName(file);
	Win = open(file, 'win' + unique, 'toolbar=1,location=0,directories=0,status=0,menubar=0,resizable=0,width=' + width + ',height=' + height + ',screenx=' + screenx +  ',screeny=' + screeny + ',scrollbars=0');
	Win.focus();
}


