		//	PG-UTILS.JS
		//	(C) 2010 MATT PAPPAS SOFTWARE, LLC
		//	ALL RIGHTS RESERVED		
		//	REV .8		
		var n_IsIE = 0;
		function ChkBrowser()
		{
			if (n_IsIE != 0) return;
			if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) 
			{
				n_IsIE=1;
				return 1;
			}
			else 		
			{
				n_IsIE=-1;
				return -1;
			}
		}
		function Trim(stringToTrim)
		{ 
			return stringToTrim.replace(/^\s+|\s+$/g,""); 
		}
		function UpdImg(cImgFile,oObject)
		{
			if (cImgFile == null) cImgFile = '';
			if (cImgFile == '') return;
			try
			{
				oObject.src = 'graphics/'+cImgFile;
			}
			catch(noErr)
			{
			}
		}	
		function StartDownload()
		{
			window.navigate('http://www.learnthenplay.net/DLCV/setuplearnthenplay3.exe');
			window.location.href = 'http://www.learnthenplay.net/DLCV/setuplearnthenplay3.exe';
		}
		function GoPortal()
		{
			window.location.href='http://www.learnthenplay.com/ParentPortal.aspx';
		}
		function GoSupport()
		{
			window.location.href='ltpsupport.aspx';
		}
		function GoProducts()
		{
			window.location.href='ltpproducts.aspx';
		}	
		function GoDownload()
		{
			window.location.href='ltpdownload.aspx';
		}	
		function GoHome()
		{
			window.location.href='ltphome.aspx';
		}			

