<!-- Hide Script

var newwindow='';
var scrn='s';
var fs='sm';

function toggle(wv) {

        if(wv == 'w' && scrn != 'w'){
                scrn = 'w';
                parent.document.getElementById("msg").cols="10%,90%";
                return;
        }

        if(wv == 'w' && scrn == 'w'){
                scrn = 's';
                parent.document.getElementById("msg").cols="45%,55%";
                return;
        }

        if(wv == 'f' && scrn != 'f'){
                scrn = 'f';
                parent.document.getElementById("msg").cols="0,100%"; 
                return;
        }

        if(wv == 'f' && scrn == 'f'){
                scrn = 's';
                parent.document.getElementById("msg").cols="45%,55%";
                return;
        }


        if(wv == 's'){
                scrn = 's';
                parent.document.getElementById("msg").cols="45%,55%";
                return;
        }
}

function popitup(url)
{
	if (!newwindow.closed && newwindow.location)
	{
		newwindow.location.href = url;
	}
	else
        {       
                
                var w=400;
                var h=600;
                LeftPosition=10;
                TopPosition=(screen.height)?(screen.height-h)/2:100;

                settings='width='+w+',\
                height='+h+',\
                top='+TopPosition+',\
                left='+LeftPosition+',\
                scrollbars=yes,\
                location=no,\
                directories=no,\
                status=no,\
                menubar=no,\
                toolbar=no,\
                resizable=yes';

                newwindow=window.open(url,'spage',settings);
                if (!newwindow.opener) newwindow.opener = self;
        }       
        if (window.focus) {newwindow.focus()}
        return false;

}

//-->

