Warning: file_get_contents(OWA_PATH/public/js/owa.js) [function.file-get-contents]: failed to open stream: No such file or directory in /home/icpl/domains/blog.imama.pl/public_html/wp-content/plugins/owa/owa_view.php on line 417
Warning: file_get_contents(OWA_PATH/public/js/includes/url_encode.js) [function.file-get-contents]: failed to open stream: No such file or directory in /home/icpl/domains/blog.imama.pl/public_html/wp-content/plugins/owa/owa_view.php on line 417
Warning: file_get_contents(OWA_PATH/public/js/owa.logger.js) [function.file-get-contents]: failed to open stream: No such file or directory in /home/icpl/domains/blog.imama.pl/public_html/wp-content/plugins/owa/owa_view.php on line 417
//
// Open Web Analytics - An Open Source Web Analytics Framework
//
// Copyright 2006 Peter Adams. All rights reserved.
//
// Licensed under GPL v2.0 http://www.gnu.org/copyleft/gpl.html
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// $Id$
//
// config values
// OWA CONFIG SETTINGS
OWA.config.main_url = "../wp-admin/index.php?page=owa";
OWA.config.public_url = "http://www.blog.imama.pl/wp-content/plugins/owa/public/";
OWA.config.js_url = "http://www.blog.imama.pl/wp-content/plugins/owa/public/js/";
OWA.config.action_url = "http://www.blog.imama.pl/index.php?owa_specialAction";
OWA.config.images_url = "http://www.blog.imama.pl/wp-content/plugins/owa/public/i/";
OWA.config.log_url = "http://www.blog.imama.pl/index.php?owa_logAction=1";
OWA.config.ns = "owa_";
OWA.config.link_template = "%s&%s";
// Create page view logger and log page view
// Takes owa_param object which is defined by the logging tag.
var owa_pv = new OWA.pageView(owa_params);
owa_pv.log();
// Create click logger and bind it to click events
var owa_click = new OWA.click(owa_params);
// Registers the handler for the on.click event so that click properties can be set
document.onclick = owa_setClick;
// Registers the handler for the beforenavigate event so that the click can be logged
if(window.addEventListener) {
window.addEventListener('beforeunload', owa_logClick, false);
} else if(window.attachEvent) {
window.attachEvent('beforeunload', owa_logClick);
}