var addr_sito =  'http://www.gruppoattacchivda.it/';
var root =  'index.htm';

function Pagina_Isolata() {

        return((top.location.pathname == this.location.pathname) ||
            ((top.location.hostname != "") && (top.location.href != addr_sito) && (this.location.hash != "") ) ||
            ((top.location.hostname == "") && (top.location.pathname == this.location.pathname) &&  (this.location.hash != ""))
           )

}

function Display_Url() {

        if (Pagina_Isolata())
          {
           document.write('<A href="' + addr_sito + '" target="_blank"> ' + addr_sito + '</A>')
          }
          else
          {
           document.write(addr_sito)
          }
}

function Display_Home() {


        if (Pagina_Isolata())
                       {
           document.write('<P align="left"><A href="' + addr_sito + '" target="_blank"><IMG border="2" bordercolor="#800040" src="../images/Home11.gif" alt="Homepage" title="Homepage" width="67" height="28"></A></P>')
          }

}

function Disp_Url_Tab(perc_tab) {

           document.write('<TABLE border="1" align="center" width="' + perc_tab + '">  ')
           document.write('<TR bordercolorlight="#800040" bordercolordark="#800040" bgcolor="#FCFFF0" > ')
           document.write('<TD width="100%" align="center" > ')
           document.write('<p align="center"><font size="1" face="Verdana" color="#800040">  ')
           document.write('Benvenuti nel sito Web &nbsp;   ')
           Display_Url();
           document.write('</font></P></TD> </TR> </TABLE> ')



}


