var BV=parseInt(navigator.appVersion.indexOf("MSIE")>0?navigator.appVersion.split(";")[1].substr(6):navigator.appVersion);
var BN=navigator.appName;
var IsWin=(navigator.userAgent.indexOf('Win')!=-1);
var IsMac=(navigator.userAgent.indexOf('Mac')!=-1);
var OP=(navigator.userAgent.indexOf('Opera')!=-1&&BV>=4)?true:false;
var NS=(BN.indexOf('Netscape')!=-1&&(BV==4)&&!OP)?true:false;
var SM=(BN.indexOf('Netscape')!=-1&&(BV>=5)||OP)?true:false;
var IE=(BN.indexOf('Explorer')!=-1&&(BV>=4)||SM)?true:false;
	if(IE)
		with(document) {
			open();
			write("<div id=\"l_olio\" style=\"position: absolute; left:0; top:0; width: 240; height: 119; filter: dropShadow(offX=5,offY=5,color=#333333);; z-index: 100; visibility: hidden\"><div id=\"l_oliofrmt\" style=\"width: 235; height: 114; background-color: #83A269; border-left: #0F0F0F 0px solid ; border-right: #0F0F0F 0px solid ; border-top: #0F0F0F 0px solid ; border-bottom: #0F0F0F 0px solid ;\"><div  style=\"position: absolute; border: 1px solid #DCDCD4; left: 0; top: 0; width: 235; height: 22; font-family: Verdana; font-size: 10px; font-weight: none; font-style: none; text-decoration: none; color: #000000; cursor: hand; background-color: #DCDCD4;\" id=0 OnMouseOver=\"cFrame.HoverSel(0,\'L_olio_di_olivaLImg\',\'_\',this);window.status=\'L\\'olio di oliva\';\" OnClick=\"cFrame.execURL(\'/olio.html\', \'frames[top].frames[middle]\');\"><span style=\"position:absolute; left: 0; top: 0; width: 235; height: 20;\"><span style=\"position:absolute; top:0; left:0;\"><img name=L_olio_di_olivaLImg src=\"/ico.jpg\" width=24 height=20></span><span style=\"position:absolute; top:4; left:28;\">L\'olio di oliva</span></span></div><div  style=\"position: absolute; border: 1px solid #DCDCD4; left: 0; top: 23; width: 235; height: 22; font-family: Verdana; font-size: 10px; font-weight: none; font-style: none; text-decoration: none; color: #000000; cursor: hand; background-color: #DCDCD4;\" id=1 OnMouseOver=\"cFrame.HoverSel(0,\'Classificazione_degli_oliLImg\',\'_\',this);window.status=\'Classificazione degli oli\';\" OnClick=\"cFrame.execURL(\'/classificazione.html\', \'frames[top].frames[middle]\');\"><span style=\"position:absolute; left: 0; top: 0; width: 235; height: 20;\"><span style=\"position:absolute; top:0; left:0;\"><img name=Classificazione_degli_oliLImg src=\"/ico.jpg\" width=24 height=20></span><span style=\"position:absolute; top:4; left:28;\">Classificazione degli oli di oliva</span></span></div><div  style=\"position: absolute; border: 1px solid #DCDCD4; left: 0; top: 46; width: 235; height: 22; font-family: Verdana; font-size: 10px; font-weight: none; font-style: none; text-decoration: none; color: #000000; cursor: hand; background-color: #DCDCD4;\" id=2 OnMouseOver=\"cFrame.HoverSel(0,\'I_vantaggi_nutrizionaliLImg\',\'_\',this);window.status=\'Vantaggi nutrizionali dell\\'olio di oliva\';\" OnClick=\"cFrame.execURL(\'/vantaggi.html\', \'frames[top].frames[middle]\');\"><span style=\"position:absolute; left: 0; top: 0; width: 235; height: 20;\"><span style=\"position:absolute; top:0; left:0;\"><img name=I_vantaggi_nutrizionaliLImg src=\"/ico.jpg\" width=24 height=20></span><span style=\"position:absolute; top:4; left:28;\">I vantaggi nutrizionali</span></span></div><div  style=\"position: absolute; border: 1px solid #DCDCD4; left: 0; top: 69; width: 235; height: 22; font-family: Verdana; font-size: 10px; font-weight: none; font-style: none; text-decoration: none; color: #000000; cursor: hand; background-color: #DCDCD4;\" id=3 OnMouseOver=\"cFrame.HoverSel(0,\'Il_nostro_olioLImg\',\'_\',this);window.status=\'Il nostro olio\';\" OnClick=\"cFrame.execURL(\'/nostro_olio.html\', \'frames[top].frames[middle]\');\"><span style=\"position:absolute; left: 0; top: 0; width: 235; height: 20;\"><span style=\"position:absolute; top:0; left:0;\"><img name=Il_nostro_olioLImg src=\"/ico.jpg\" width=24 height=20></span><span style=\"position:absolute; top:4; left:28;\">Il nostro olio</span></span></div><div  style=\"position: absolute; border: 1px solid #DCDCD4; left: 0; top: 92; width: 235; height: 22; font-family: Verdana; font-size: 10px; font-weight: none; font-style: none; text-decoration: none; color: #000000; cursor: hand; background-color: #DCDCD4;\" id=4 OnMouseOver=\"cFrame.HoverSel(0,\'Caratteristiche_del_prodottoLImg\',\'_\',this);window.status=\'Caratteristiche del prodotto\';\" OnClick=\"cFrame.execURL(\'/caratteristiche.html\', \'frames[top].frames[middle]\');\"><span style=\"position:absolute; left: 0; top: 0; width: 235; height: 20;\"><span style=\"position:absolute; top:0; left:0;\"><img name=Caratteristiche_del_prodottoLImg src=\"/ico.jpg\" width=24 height=20></span><span style=\"position:absolute; top:4; left:28;\">Caratteristiche del prodotto</span></span></div></div></div><div id=\"Acquisti_on_line\" style=\"position: absolute; left:0; top:0; width: 171; height: 50; filter: dropShadow(offX=5,offY=5,color=#333333);; z-index: 100; visibility: hidden\"><div id=\"Acquisti_on_linefrmt\" style=\"width: 166; height: 45; background-color: #0F0F0F; border-left: #0F0F0F 0px solid ; border-right: #0F0F0F 0px solid ; border-top: #0F0F0F 0px solid ; border-bottom: #0F0F0F 0px solid ;\"><div  style=\"position: absolute; border: 1px solid #DCDCD4; left: 0; top: 0; width: 166; height: 22; font-family: Verdana; font-size: 10px; font-weight: none; font-style: none; text-decoration: none; color: #0F0F0F; cursor: hand; background-color: #DCDCD4;\" id=5 OnMouseOver=\"cFrame.HoverSel(0,\'Condizioni_di_venditaLImg\',\'_\',this);window.status=\'Condizioni di vendita\';\" OnClick=\"cFrame.execURL(\'/vendita.html\', \'frames[top].frames[middle]\');\"><span style=\"position:absolute; left: 0; top: 0; width: 166; height: 20;\"><span style=\"position:absolute; top:0; left:0;\"><img name=Condizioni_di_venditaLImg src=\"/ico.jpg\" width=24 height=20></span><span style=\"position:absolute; top:4; left:28;\">Condizioni di vendita</span></span></div><div  style=\"position: absolute; border: 1px solid #DCDCD4; left: 0; top: 23; width: 166; height: 22; font-family: Verdana; font-size: 10px; font-weight: none; font-style: none; text-decoration: none; color: #0F0F0F; cursor: hand; background-color: #DCDCD4;\" id=6 OnMouseOver=\"cFrame.HoverSel(0,\'Modulo_d_ordineLImg\',\'_\',this);window.status=\'Modulo d\\'ordine\';\" OnClick=\"cFrame.execURL(\'/modulo.html\', \'frames[top].frames[middle]\');\"><span style=\"position:absolute; left: 0; top: 0; width: 166; height: 20;\"><span style=\"position:absolute; top:0; left:0;\"><img name=Modulo_d_ordineLImg src=\"/ico.jpg\" width=24 height=20></span><span style=\"position:absolute; top:4; left:28;\">Modulo d\'ordine</span></span></div></div></div>");
			close();
		}
	if(NS)
		with(document) {
			open();
			write("<layer name=l_olio top=0 left=0 width=235 height=114 z-index=100 bgColor=#0F0F0F visibility=hidden><layer bgColor=#83A269 left=0 top=0 width=235 height=114 z-index=101><layer name=MC1EH1 left=0 top=0 width=235 height=22 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#0000FF\');window.status=\'L\\'olio di oliva\';\"></layer><layer name=MC1 left=0 top=0 width=235 height=22 z-index=102 bgColor=#DCDCD4></layer><layer name=MC2EH2 left=0 top=23 width=235 height=22 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#0000FF\');window.status=\'Classificazione degli oli\';\"></layer><layer name=MC2 left=0 top=23 width=235 height=22 z-index=102 bgColor=#DCDCD4></layer><layer name=MC3EH3 left=0 top=46 width=235 height=22 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#0000FF\');window.status=\'Vantaggi nutrizionali dell\\'olio di oliva\';\"></layer><layer name=MC3 left=0 top=46 width=235 height=22 z-index=102 bgColor=#DCDCD4></layer><layer name=MC4EH4 left=0 top=69 width=235 height=22 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#0000FF\');window.status=\'Il nostro olio\';\"></layer><layer name=MC4 left=0 top=69 width=235 height=22 z-index=102 bgColor=#DCDCD4></layer><layer name=MC5EH5 left=0 top=92 width=235 height=22 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#0000FF\');window.status=\'Caratteristiche del prodotto\';\"></layer><layer name=MC5 left=0 top=92 width=235 height=22 z-index=102 bgColor=#DCDCD4></layer></layer></layer><layer name=Acquisti_on_line top=0 left=0 width=166 height=45 z-index=100 bgColor=#0F0F0F visibility=hidden><layer bgColor=#0F0F0F left=0 top=0 width=166 height=45 z-index=101><layer name=MC6EH6 left=0 top=0 width=166 height=22 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#0000FF\');window.status=\'Condizioni di vendita\';\"></layer><layer name=MC6 left=0 top=0 width=166 height=22 z-index=102 bgColor=#DCDCD4></layer><layer name=MC7EH7 left=0 top=23 width=166 height=22 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#0000FF\');window.status=\'Modulo d\\'ordine\';\"></layer><layer name=MC7 left=0 top=23 width=166 height=22 z-index=102 bgColor=#DCDCD4></layer></layer></layer>");
			close();
		}
function GetFramePath() {
	var f = self;
	var fp = '';
	while(f!=top) {
		fp = "frames['" + f.name + "']." + fp;
		f = f.parent;
	}
	fp = "frames['top']." + fp.substr(0, fp.length - 1);
	return eval(fp);
}

function SetUpEvents() {
	if(!eval(frames['self'])) {
		frames.self = window;
		frames.top = top;
	}
	if(typeof(frames['top'].frames['sopra'].SetUpEvents)=='undefined')
		window.setTimeout('SetUpEvents()',10);
	else {
		mFrame = GetFramePath();
		frames['top'].frames['sopra'].mFrame = mFrame;
		frames['top'].frames['sopra'].SetUpEvents();
		cFrame = frames['top'].frames['sopra']
	}
}
SetUpEvents();

