// tests to see if the page was loaded without a parent document (not as part of frames)
// and pulls page into the frameset

if(top==self) 
{ 

	// the container is your main page that has the frameset defined
	// you must include the filename of the target.  
	var sContainer = "http://www.parallelcomputersolutions.com/" 			// - this is INVALID
	var sContainer = "/index.cfm" 				// - ok
	var sContainer = "http://www.parallelcomputersolutions.com/" 	// - ok
	var sContainer = "index.cfm"	 				// - ok

	// grab the current URL that the user is trying to view
	var sThisURL = (unescape(window.location.pathname).substring(1));
	
	// append the url to the container
	var sGotoURL = sContainer + "?cont=" + sThisURL; 
	
	// determine browser info
	var oAppVer = navigator.appVersion;
	
	var bIsNetscape = (navigator.appName == 'Netscape') && ((oAppVer.indexOf('3') != -1) || (oAppVer.indexOf('4') != -1));
	
	var bIsMicrosoftIE = (oAppVer.indexOf('MSIE 4') != -1);
	
	// determine how to redirect based on browser type and version
	if (bIsNetscape || bIsMicrosoftIE)
	{
		location.replace(sGotoURL);
	}
	else
	{
		cont.location.href = sGotoURL;
	}

}