function checkBrowser() {}

function loadScript()
{

if (document.all) {changetextDiv();}
else if (document.getElementById && !document.all) {changetextId();}
}

function changetextId() {
var windowHeight = window.innerHeight;
var contentHeight = document.getElementsByTagName('body')[0].offsetHeight;

if (windowHeight >= contentHeight) {
var makeUp = parseInt(windowHeight - contentHeight);
document.getElementById("textdiv").style.paddingBottom= makeUp;
} 
}


function changetextDiv() {
var windowHeight = document.body.clientHeight;
var contentHeight = document.body.scrollHeight;

if (windowHeight >= contentHeight) {

var makeUp = parseInt((windowHeight - contentHeight)+14);
document.all.textdiv.style.paddingBottom=makeUp;

if (navigator.appVersion.indexOf('Win')  != -1) { document.body.scroll='no'; }

} 
}


function frontUP () {}

function setPage () {}

function copyWindow(url) {

var windowWidth = screen.width;
var windowHeight = screen.height;

copy = window.open(url,"copy",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=' + ((windowWidth / 2) - (windowWidth * 0.08)) + ',height=' + (windowHeight - (windowHeight * 0.2)) + ',left=' + (windowWidth / 2) + ',top=' + (windowWidth * 0.08) + ''); copy.window.focus();
}

