var args = new Array();
args['js'] = 1;
args['url'] = escape(document.location);
args['title'] = escape(document.title);

/****************************************************************************/

var windowHeight, windowWidth;
if(typeof(window.innerWidth) == 'number') {
    windowHeight = window.innerHeight;
    windowWidth = window.innerWidth;
}
else if(document.documentElement
        && (document.documentElement.clientWidth
        || document.documentElement.clientHeight)) {
    windowHeight = document.documentElement.clientHeight;
    windowWidth = document.documentElement.clientWidth;
}
else if(document.body &&
        (document.body.clientWidth || document.body.clientHeight)) {
    windowHeight = document.body.clientWidth;
    windowWidth = document.body.clientHeight;
}

args['wh'] = windowHeight;
args['ww'] = windowWidth;
args['sh'] = screen.height;
args['sw'] = screen.width;

/****************************************************************************/

arg_pairs = new Array();
for(key in args) {
    arg_pairs.push("" + key + "=" + args[key]);
}
arg_str = arg_pairs.join("&");


var recorder = document.createElement('script');
recorder.src = 'http://wistechnology.com/count/record/?' + arg_str
document.body.appendChild(recorder);

