<!DOCTYPE HTML>
<html>
	<head>  
		<!-- prevent caching -->
		<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
		<meta http-equiv="Pragma" content="no-cache" />
		<meta http-equiv="Expires" content="0" />
	
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<script type="text/javascript" src="./offline/scripts/IllustratorJS/CSInterface.js"></script>  
		<script type="text/javascript" src="./offline/scripts/IllustratorJS/illustrator.js"></script>
		
		<script>
		function redirectToAppropriateHelloPage()
		{
			
			var location = "./offline/index.html";//Initializing to offline case
			
			if(window.navigator.onLine == true)
			{
				location = "https://helpx.adobe.com/illustrator/hello/v1_6/";
				//PIP Logging for case of online
				logPIPEvent("ProjectHello", "Interaction", "DisplayRemoteHello");
			}
			else
				logPIPEvent("ProjectHello", "Interaction", "DisplayOfflineHello");
			
			window.location = location;
		}
		</script>
	
	</head>
	<body onload = "redirectToAppropriateHelloPage()">
	</body>
	
	
</html>
