//position: absolute; top: 0px; left: 0px; z-index: 98; background-color: #c0c0c0; opacity: .7; -moz-opacity: .7;
function popContact(b) {//b=boolean value (false=closed; true=open)
    if(b) {
        var ww=document.getElementById('supportRequestDiv').parentNode.clientWidth;//(((screen.width)*1)/2)-190;
            ww=((ww*1)/2)-190;
        var hh=document.getElementById('supportRequestDiv').parentNode.clientWidth;
            hh=((hh*1)/4)+(document.body.scrollTop);
        //FIRST LET'S CREATE A FADER DIV ON THE FLY
        var isBody=document.getElementById('primaryFieldset');
        var isCover=document.createElement('div');
        isCover.setAttribute('id','coverDiv');
        with(isCover.style) {
            width="100%";
            height="100%";
            position="absolute";
            top="0px";
            left="0px";
            zIndex="98";
            backgroundColor="#c0c0c0";
            opacity="0.7";
            filter="alpha(opacity='70')";

        }
        //isCover.appendChild(document.createTextNode("Hleeelo"));
        isBody.appendChild(isCover);
        if(document.getElementById('flashAdDiv')) {
            document.getElementById('flashAdDiv').style.display="none";
        }
        document.getElementById('supportRequestDiv').style.left=ww+"px";
        document.getElementById('supportRequestDiv').style.top=hh+"px";
        document.getElementById('supportRequestDiv').style.display="block";
    }else{
        if(document.getElementById('flashAdDiv')) {
            document.getElementById('flashAdDiv').style.display="block";
        }
        document.getElementById('supportRequestDiv').style.left="0px";
        document.getElementById('supportRequestDiv').style.top="0px";
        document.getElementById('supportRequestDiv').style.display="none";
        try{
            var isCover=document.getElementById('coverDiv');
            document.getElementById('primaryFieldset').removeChild(isCover);
        }catch(er) {
            //
        }
    }
}
//
function popLogin(t) {
    if(t) {
        //FIRST LET'S CREATE A FADER DIV ON THE FLY
        var isBody=document.getElementById('primaryFieldset');
        var isCover=document.createElement('div');
        isCover.setAttribute('id','coverDiv');
        with(isCover.style) {
            width="100%";
            height="100%";
            position="absolute";
            top="0px";
            left="0px";
            zIndex="98";
            backgroundColor="#c0c0c0";
            opacity="0.7";
            filter="alpha(opacity='70')";

        }
        isBody.appendChild(isCover);
        //
        if(document.getElementById('flashAdDiv')) {
            document.getElementById('flashAdDiv').style.display="none";
        }
        document.getElementById('loginDiv').style.right="4px";
        document.getElementById('loginDiv').style.top="210px";
        document.getElementById('loginDiv').style.display="block";
    }else{
        if(document.getElementById('flashAdDiv')) {
            document.getElementById('flashAdDiv').style.display="block";
        }
        document.getElementById('loginDiv').style.right="0px";
        document.getElementById('loginDiv').style.top="0px";
        document.getElementById('loginDiv').style.display="none";
        try{
            var isCover=document.getElementById('coverDiv');
            document.getElementById('primaryFieldset').removeChild(isCover);
        }catch(er) {
            //
        }
    }
}