//START Font Change Functions
function FontNormal() {
document.getElementById('stylesheet').href = '/site/css/styles_cn.css';
}

function FontLarge() {
document.getElementById('stylesheet').href = '/site/css/styles_cl.css';
}

function FontLarger() {
document.getElementById('stylesheet').href = '/site/css/styles_cx.css';
}
//END Font Change Functions


//START Font Change Functions
function PrintPage() {
document.getElementById('PrintArea').href = '/site/css/styles_print.css';
}

function PrintOverlay() 
{
    if (myLightWindow != null) 
    {
        document.getElementById('PrintArea').href = '/site/css/print_overlay.css';
    }
}
//END Font Change Functions


//START Popshow mItems Layer
function ShowItAd(items) {
    setTimeout("CloseItAd()", 10000);
    document.getElementById("spanProductItems").innerHTML = items;
    document.getElementById("mItemsPop").style.display = "block";
}
function CloseItAd()
{
	document.getElementById("mItemsPop").style.display="none";
}
//END Popshow mItems Layer


//START alertHeight
function themax() {
    var a=document.getElementById("fbox").offsetHeight;
    var b=document.getElementById("mbox").offsetHeight;
    var c=document.getElementById("sbox").offsetHeight;
    var d=document.getElementById("xbox").offsetHeight;
    var themax=Math.max(Math.max(a,b,c,d))
    document.getElementById("fbox").style.height=themax+"px";
    document.getElementById("mbox").style.height=themax+"px";
    document.getElementById("sbox").style.height=themax+"px";
    document.getElementById("xbox").style.height=themax+"px";
}
//window.onload=themax;
//END alertHeight

