// Adaptive Image - JScript Standard error handler
window.onerror = HandleError;

function HandleError(msg,url,l) {
var errorText;
	errorText = "Unfortunatley, an error has occurred on this page:\n\n";
	errorText += "  Error: " + msg + "\n";
	errorText += "  Line: " + l + "\n\n";
	errorText += "Some features on this page may not function correctly.\nTry refreshing the page by pressing 'F5' on your keyboard after clicking OK below.\n\nIf this problem persists - please contact us.\n\n";
	alert(errorText);
	return true;
}