Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
PacketTracer / opt / pt / help / default / Scripts / main.js
Size: Mime:
var TUTORIAL_STUB = false;

function openTutorial( file )
{
	if ( TUTORIAL_STUB )
	{
		location.href="tutorials_stub.htm";
	}
	else
	{
		if ( file.match('.swf') )
		{

			// handle the large movies
			if (   file.match('AWIntermediate_') 
				|| file.match('AWAdvanced_') 
				|| file.match('AWNovice_') 
				|| file.match('Multiuser_') 
				|| file.match('ManagingWindowsInPT_') 
				|| file.match('IPC_') 
			   )
			{
				window.open(file,"","toolbar=0,location=0,top=0,directories=0,status=0,menubar=0,scrollbars=0,resizeable=1,width=1024,height=768");
			}
			else if ( file.match('MyFirstPTLab_') )
			{
				window.open(file,"","toolbar=0,location=0,top=0,directories=0,status=0,menubar=0,scrollbars=0,resizeable=1,width=831,height=702");
			}
			else
			{
				window.open(file,"","toolbar=0,location=0,top=0,directories=0,status=0,menubar=0,scrollbars=0,resizeable=1,width=821,height=666");
			}
		}
		else
		{
			location.href=file;
		}

	}
	
}