function DoPopup(jsTarget, jsWidth, jsHeight)
{
	myPopup = window.open(jsTarget,"","width=" + jsWidth + ",height=" + jsHeight + ",toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no");
	myPopup.focus();
}

function DoPopupSB(jsTarget, jsWidth, jsHeight)
{
	myPopup = window.open(jsTarget,"","width=" + jsWidth + ",height=" + jsHeight + ",toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no");
	myPopup.focus();
}


function confirm_delete()
{
	return confirm("Do you really want to delete?");
}
 
function toggleChecked(name,setchecked)
{
	theform = document.getElementById(name);
	count = theform.elements.length;
    for (i=0; i < count; i++) 
	{
		if(setchecked==true)
	    	theform.elements[i].checked = 1; 
    	else
    	    theform.elements[i].checked = 0; 
    }

}

var defaultFontSize =100;
var currentFontSize = defaultFontSize;

function revertStyles(){

        currentFontSize = defaultFontSize;
        changeFontSize(0);

}


function changeFontSize(sizeDifference){
        currentFontSize = parseInt(currentFontSize) + parseInt(sizeDifference * 5);

        if(currentFontSize > 220){
                currentFontSize = 220;
        }else if(currentFontSize < 60){
                currentFontSize = 60;
        }

        setFontSize(currentFontSize);
};

function setFontSize(fontSize){
        var stObj = (document.getElementById) ? document.getElementById('content_area') : document.all('content_area');
        document.body.style.fontSize = fontSize + '%';

        //alert (document.body.style.fontSize);
};

	




