version = "1.30.023"
bookname = "Trial Virtual Physics Laboratories"
prodID = 11;
installerVersion = "1.30.023"
nativeVersion = "1.30.023"
function writever(){
	document.write(bookname+" version "+version);
}
copyrightString = "&#169; 2000-2007 Kinetic Books Company";
function writeCopyright(){
 document.write(copyrightString);
}

function noRedirAgent()
{
  var ua = navigator.userAgent.toLowerCase();
  if (ua.indexOf("google")>-1) return true;
  if (ua.indexOf("yahoo")>-1) return true;
  if (ua.indexOf("ask")>-1) return true;
  if (ua.indexOf("msn")>-1) return true;
  return false;
}


function setInstallerCookie(){
  document.cookie = "KBInstallerSes=true;path=/";
}


function readInstallerCookie()
{
  var theCookie=''+document.cookie;
  var ind=theCookie.indexOf('KBInstallerSes=');
  if (ind==-1) return '';
  var ind1=theCookie.indexOf(';',ind);
  if (ind1==-1) ind1=theCookie.length;
  return unescape(theCookie.substring(ind+'KBInstallerSes='.length,ind1));
}

var val=readInstallerCookie();
if (val == '' && !noRedirAgent())
{
  document.cookie = "KBReqPage=" + escape(window.location.href) + ";path=/";
  window.location.href='/physics/librarycheck.php?src=triallabs';
}


