﻿// JavaScript Document
<!--
var lastScript;


function isempty (str)
{
 return ((trim(str).length == 0)||(str == null));
}

function getparastr(strname)
{
  var hrefstr,pos,parastr,para,tempstr; 
  hrefstr = window.location.href; 
  pos = hrefstr.indexOf("?") 
  parastr = hrefstr.substring(pos+1); 
  para = parastr.split("&"); 
  tempstr=""; 
  for(i=0;i<para.length;i++) 
  { 
     tempstr = para[i]; 
     pos = tempstr.indexOf("=");
     if(tempstr.substring(0,pos) == strname) 
     { 
        return tempstr.substring(pos+1); 
     }
   } 
   return null; 
}



function AutoChooseBrowser()
{
   var browserName = navigator.appName;
   var b_version = navigator.appVersion;  
   var version = b_version.split(";");  
   var trim_version = version[1].replace(/[ ]/g,""); 
   
	if (browserName=="Microsoft Internet Explorer" )
	{
		//alert("ie");
		window.location.href = "/html/Dir/2008/07/03/ie_navigation.html";
	}
	else if  (navigator.userAgent.indexOf("Firefox")>0)
	{
		//alert("firefox");
		window.location.href = "/html/Dir/2008/07/03/firefox_navigation.html";
	} 

}


//-->
