function pop(page){
    window_handle = window.open(page, "CtrlWindow", "top=10,left=10,toolbar=1,menubar=1,location=1,scrollbars=1,resize=1,width=600,height=400");
    window_handle.focus();
    
}

function popPrint(page){
    window_handle = window.open(page, "CtrlWindow", "top=10,left=10,toolbar=1,menubar=1,location=1,scrollbars=1,resize=1,width=780,height=600");
    window_handle.focus();
    
}
/*
ok = (document.styleSheets) ? 1 : 0;
IE = ((ind1 = navigator.appVersion.indexOf("MSIE")) > -1) ? 1 : 0;

IE4 = (IE && document.all) ? 1:0;

NN = (navigator.appName.indexOf("Netscape")>-1) ? 1 : 0;

NN4 = (NN && document.layers) ? 1 : 0;

NN6 = (NN && document.getElementById) ? 1:0;

if(ok) {

if(IE4) stile = document.styleSheets[0].rules

if(NN6) stile = document.styleSheets[0].cssRules
}

function aumenta() {
if(ok) {
var size = stile[0].style.fontSize.substring(0,3)
alert(size);
var dimFont = parseInt(size,10.0)
dimFont += 1;
alert(dimFont);
{
if (dimFont > 20) dimFont = 20;
}
stile[0].style.fontSize = dimFont + 'em';
}
else
alert("l'oggetto styleSheets\nNON\nč supportato")
} 

function aumentaCarattere() {
if(ok) {
var size = stile[0].style.fontSize.substring(0,3)
alert(size);
var dimFont = parseInt(size,10.0)
dimFont += 1;
alert(dimFont);
{
if (dimFont > 20) dimFont = 20;
}
stile[0].style.fontSize = dimFont + 'em';
}
else
alert("l'oggetto styleSheets\nNON\nč supportato")
} 

*/
