ciao

ho del codice javascript per il yetii menu tabs nell'head che contiene il codice qua sotto riportato

function Yetii(obj,active){

this.active = (active) ? active : 7,
this.timeout = null,
this.tabclass = 'tab',
this.activeclass = 'active',

this.getTabs = function(){

var retnode = [];
var elem = document.getElementById(obj).childNodes; //modified for IE 5.x support
for (var i = 0; i < elem.length; i++) {
if (elem[i].className==this.tabclass) retnode[retnode.length]=elem[i];
}

return retnode;

},

this.links = document.getElementById(obj+'-nav').getElementsByTagName('a'),
this.tabs = this.getTabs();

this.show = function(number){

for (var i = 0; i < this.tabs.length; i++) {
this.tabs[i].style.display = ((i+1)==number) ? 'block' : 'none';
this.links[i].className = ((i+1)==number) ? this.activeclass : '';
}

},

this.rotate = function(interval){

this.show(this.active);
this.active++;

if(this.active > this.tabs.length) this.active = 1;

var self = this;
this.timeout = setTimeout(function(){self.rotate(interval);}, interval*1000);

},

this.init = function(interval){

this.show(this.active);

var self = this;
for (var i = 0; i < this.links.length; i++) {
this.links[i].customindex = i+1;
this.links[i].onclick = function(){ if (self.timeout) clearTimeout(self.timeout); self.show(this.customindex); return false; };
}

if (interval) this.rotate(interval);

};

};

e nel body

<script type="text/javascript">
var tabber=new Yetii('tabcont1');
tabber.init();
</script>
solo che quando apro la pagina con explorer 6 questo mi da unterminated string constant

ho provato anche con diversi debuger javascript su firefox ma non mi danno nessun errore

come faccio a eliminarlo

grazie e ciao

Pietro