Index: /FCKeditor/trunk/_testcases/001.html
===================================================================
--- /FCKeditor/trunk/_testcases/001.html	(revision 1596)
+++ /FCKeditor/trunk/_testcases/001.html	(revision 1597)
@@ -61,5 +61,5 @@
 // This is usefull only for these samples. A real application should use something like this:
 // oFCKeditor.BasePath = '/fckeditor/' ;	// '/fckeditor/' is the default value.
-var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ;
+var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ;
 
 var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
Index: /FCKeditor/trunk/_testcases/002.html
===================================================================
--- /FCKeditor/trunk/_testcases/002.html	(revision 1596)
+++ /FCKeditor/trunk/_testcases/002.html	(revision 1597)
@@ -61,5 +61,5 @@
 // This is usefull only for these samples. A real application should use something like this:
 // oFCKeditor.BasePath = '/fckeditor/' ;	// '/fckeditor/' is the default value.
-var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ;
+var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ;
 
 var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
Index: /FCKeditor/trunk/_testcases/003.html
===================================================================
--- /FCKeditor/trunk/_testcases/003.html	(revision 1596)
+++ /FCKeditor/trunk/_testcases/003.html	(revision 1597)
@@ -61,5 +61,5 @@
 // This is usefull only for these samples. A real application should use something like this:
 // oFCKeditor.BasePath = '/fckeditor/' ;	// '/fckeditor/' is the default value.
-var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ;
+var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ;
 
 var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
Index: /FCKeditor/trunk/_testcases/004.html
===================================================================
--- /FCKeditor/trunk/_testcases/004.html	(revision 1596)
+++ /FCKeditor/trunk/_testcases/004.html	(revision 1597)
@@ -85,5 +85,5 @@
 // This is usefull only for these samples. A real application should use something like this:
 // oFCKeditor.BasePath = '/fckeditor/' ;	// '/fckeditor/' is the default value.
-var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ;
+var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ;
 
 var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
Index: /FCKeditor/trunk/_testcases/005.html
===================================================================
--- /FCKeditor/trunk/_testcases/005.html	(revision 1596)
+++ /FCKeditor/trunk/_testcases/005.html	(revision 1597)
@@ -57,5 +57,5 @@
 // This is usefull only for these samples. A real application should use something like this:
 // oFCKeditor.BasePath = '/fckeditor/' ;	// '/fckeditor/' is the default value.
-var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ;
+var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ;
 
 var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
Index: /FCKeditor/trunk/_testcases/006.html
===================================================================
--- /FCKeditor/trunk/_testcases/006.html	(revision 1596)
+++ /FCKeditor/trunk/_testcases/006.html	(revision 1597)
@@ -63,5 +63,5 @@
 // This is usefull only for these samples. A real application should use something like this:
 // oFCKeditor.BasePath = '/fckeditor/' ;	// '/fckeditor/' is the default value.
-var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ;
+var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ;
 
 var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
Index: /FCKeditor/trunk/_testcases/007.html
===================================================================
--- /FCKeditor/trunk/_testcases/007.html	(revision 1596)
+++ /FCKeditor/trunk/_testcases/007.html	(revision 1597)
@@ -54,5 +54,5 @@
 // This is usefull only for these samples. A real application should use something like this:
 // oFCKeditor.BasePath = '/fckeditor/' ;	// '/fckeditor/' is the default value.
-var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ;
+var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ;
 
 var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
Index: /FCKeditor/trunk/_testcases/008.html
===================================================================
--- /FCKeditor/trunk/_testcases/008.html	(revision 1596)
+++ /FCKeditor/trunk/_testcases/008.html	(revision 1597)
@@ -74,5 +74,5 @@
 // This is usefull only for these samples. A real application should use something like this:
 // oFCKeditor.BasePath = '/fckeditor/' ;	// '/fckeditor/' is the default value.
-var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ;
+var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ;
 
 var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
Index: /FCKeditor/trunk/_testcases/009.html
===================================================================
--- /FCKeditor/trunk/_testcases/009.html	(revision 1596)
+++ /FCKeditor/trunk/_testcases/009.html	(revision 1597)
@@ -94,5 +94,5 @@
 // This is usefull only for these samples. A real application should use something like this:
 // oFCKeditor.BasePath = '/fckeditor/' ;	// '/fckeditor/' is the default value.
-var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ;
+var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ;
 
 var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
Index: /FCKeditor/trunk/_testcases/010.html
===================================================================
--- /FCKeditor/trunk/_testcases/010.html	(revision 1596)
+++ /FCKeditor/trunk/_testcases/010.html	(revision 1597)
@@ -79,5 +79,5 @@
 // This is usefull only for these samples. A real application should use something like this:
 // oFCKeditor.BasePath = '/fckeditor/' ;	// '/fckeditor/' is the default value.
-var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ;
+var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ;
 
 var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
