<!--
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// funzione caricamento CSS esterno
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function caricaCSS()
{
    if (!document.getElementById) {
        return
    }
    for (i=0; i<arguments.length; i++) {
        var file = arguments[i]
        var fileref = ""
            if (file.indexOf(".css") != -1) {
                fileref = document.createElement("link")
                fileref.setAttribute("rel", "stylesheet");
                fileref.setAttribute("type", "text/css");
                fileref.setAttribute("href", file);
            }
        if (fileref != "") {
            document.getElementsByTagName("head").item(0).appendChild(fileref)
        }
    }
}
caricaCSS('include/canile.css')
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// funzione apertura popup
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function popimage(name, width, height)
{
    if (typeof(imagepop) != 'undefined') {
	 	imagepop.close();
    }
	imagepop = window.open('popimage.php?image='+name+'&width='+width+'&height='+height,'imagepop','status=no,menubars=no,width='+width+',height='+height+',resize=no,scrollbars=no,top=70,left=70')
	imagepop.focus();
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//-->

