// (c) 2006-2007, Dan Craft, all rights reserved

function x00376(x00377) {
if (document.images) {
x00378 = new Image();
x00378.src = x00377;
return x00378;
}
}

function x00379(x00380) {

var x00381 = document; var x00382;
for (var x00383=0; x00383<x00380.length; x00383+=2) {
x00382 = null; var x00384 = x00380[x00383];
if (x00381.images) {x00382 = x00381.images[x00384];}
if (!x00382 && x00381.getElementById) {x00382 = x00381.getElementById(x00384);}
if (x00382) {x00382.src = x00380[x00383+1];}

}

}

function x00368() {
x00379(x00368.arguments);
}


function x00373(x00385) {
if (x00385 === undefined) throw new Error("required object undefined");


return x00385;
}

function x00386(x00387, x00388) {

return (x00389(x00387) + x00387.offsetHeight) > x00389(x00388);
}

function x00389(x00390) {
var x00391 = x00390.offsetTop;
if (! x00390.offsetParent) return x00391;
return x00391 + x00389(x00390.offsetParent);
}

function x00392(x00390, x00393, x00394 ) {

var x00395 = x00390.cloneNode(true);
x00395.style.display = "inline";


x00395.style.padding = "0";
x00395.style.margin = "0";  

var x00396 = document.createElement('div');
x00396.style.width = x00393+"px";
if (! x00394) x00396.style.visibility = "hidden";
x00396.appendChild(x00395);
document.body.appendChild(x00396);

var x00397 = x00395.offsetWidth ;
if (! x00394) document.body.removeChild(x00396);
return x00397;
}


function x00398(x00390, x00399) {

if (x00390.currentStyle) 
var x00400 = x00390.currentStyle[x00399];
else if (window.getComputedStyle) 
var x00400 = document.defaultView.getComputedStyle(x00390,null).getPropertyValue(x00399);
return x00400; 
}

function x00401(x00402) {
var x00403 = x00404 = 0;
if (x00402.offsetParent) {
x00403 = x00402.offsetLeft
x00404 = x00402.offsetTop
while (x00402 = x00402.offsetParent) {
x00403 += x00402.offsetLeft
x00404 += x00402.offsetTop
}
}
return [x00403,x00404];
}
