<!-- begin hide here for non-Javascript-enabled browsers

//	alert('topmenu: this is the link #'+myIndex);
	topLink = new Array(63);
	topLink[0]  = '';
	topLink[1]  = 'group_chupaChupsAtAGlance.asp';
	topLink[2]  = 'group_history.asp';
	topLink[3]  = 'group_valuesAndPrinciples.asp';
	topLink[4]  = 'group_locations.asp';
	topLink[5]  = 'group_socialResponsability.asp';
	topLink[6]  = 'faqs.asp';
	topLink[7]  = 'prodChupa_historyOfLollipop.asp';
	topLink[8]  = 'prodChupa_aLollipopIsMadeOf.asp';
	topLink[9]  = 'prodChupa_chupaChupsProducts.asp';
	topLink[10] = 'prodChupa_technicalCard.asp?intIdProd=20';
	//Cuore di Frutta
//	topLink[11] = 'prodChupa_technicalCard.asp?intIdProd=';
	//XXL
	topLink[12] = 'prodChupa_technicalCard.asp?intIdProd=3';
	//CRAZY DIPS
	topLink[13] = 'prodChupa_technicalCard.asp?intIdProd=2';
	//MELODY POPS
	topLink[14] = 'prodChupa_technicalCard.asp?intIdProd=4';
	//the best of...
	topLink[15] = 'prodChupa_technicalCard.asp?intIdProd=5';
	//Freshness & Fruit
	topLink[16] = 'prodChupa_technicalCard.asp?intIdProd=7';
	//Refreshing Cola
	topLink[17] = 'prodChupa_technicalCard.asp?intIdProd=6';
	//Smooth & Creamy
	topLink[18] = 'prodChupa_technicalCard.asp?intIdProd=1';
	//CremosabyChupaChups
//	topLink[19] = 'prodChupa_technicalCard.asp?intIdProd=';
//	topLink[20] = 'prodChupa_technicalCard.asp?intIdProd=';
	topLink[21] = 'faqs.asp#B0';
	topLink[22] = 'prodSmint_historyOfSmint.asp';
	topLink[23] = 'prodSmint_smintProducts.asp';
	topLink[24] = 'prodSmint_technicalCard.asp?intIdProd=14';
	topLink[25] = 'prodSmint_technicalCard.asp?intIdProd=15';
	topLink[26] = 'prodSmint_technicalCard.asp?intIdProd=16';
	topLink[27] = 'prodSmint_technicalCard.asp?intIdProd=17';
	topLink[28] = 'prodSmint_technicalCard.asp?intIdProd=18';
	topLink[29] = 'prodSmint_technicalCard.asp?intIdProd=19';
	topLink[30] = 'faqs.asp#C0';
	topLink[31] = 'nutrInfoChupa_benefitsOfSucking.asp';
	topLink[32] = 'nutrInfoChupa_productsBenefits.asp';
	topLink[33] = 'nutrInfoChupa_nutricionalFacts.asp';
	topLink[34] = 'nutrInfoChupa_ourIngredients.asp';
	topLink[35] = 'nutrInfoChupa_endorsement.asp';
	topLink[36] = 'faqs.asp#B0';
	topLink[37] = 'nutrInfoSmint_tipsForDental.asp';
	topLink[38] = 'nutrInfoSmint_productsBenefits.asp';
	topLink[39] = 'nutrInfoSmint_nutricionalFacts.asp';
	topLink[40] = 'nutrInfoSmint_ourIngredients.asp';
	topLink[41] = 'nutrInfoSmint_endorsement.asp';
	topLink[42] = 'faqs.asp#C0';
	topLink[43] = 'careers_applyForAJob.asp';
	topLink[44] = 'careers_positionsAvailable.asp';
	topLink[45] = 'careers_graduatePrograms.asp';
	topLink[46] = 'faqs.asp';
	topLink[47] = 'biz_partners.asp';
	topLink[48] = 'biz_contact.asp';
	topLink[49] = 'Javascript:alert("Coming soon!");//press_corporateDossier.asp';
	topLink[50] = 'press_pressNotes.asp';
	topLink[51] = '';
	topLink[52] = 'prodChupa_technicalCard.asp?intIdProd=22';
	topLink[53] = 'prodChupa_technicalCard.asp?intIdProd=41';
	topLink[54] = 'prodChupa_technicalCard.asp?intIdProd=42';
	topLink[55] = 'prodChupa_technicalCard.asp?intIdProd=43';
	topLink[56] = 'prodChupa_technicalCard.asp?intIdProd=45';
	topLink[57] = 'prodChupa_technicalCard.asp?intIdProd=25';
	topLink[58] = 'prodChupa_technicalCard.asp?intIdProd=FishPop';
	topLink[59] = 'prodChupa_technicalCard.asp?intIdProd=GameMobile';
	topLink[60] = 'prodChupa_technicalCard.asp?intIdProd=SportPop';
	topLink[61] = 'prodChupa_technicalCard.asp?intIdProd=SpyPop';
	topLink[62] = 'press_library.asp';
	topLink[63] = 'press_libraryLogos.asp';
	topLink[64] = 'press_libraryFactories.asp';
	topLink[65] = 'nutrInfoChupa_alternativeToTobacco.asp';
	topLink[66] = 'prodChupa_technicalCard.asp?intIdProd=27';
	topLink[67] = 'prodChupa_technicalCard.asp?intIdProd=28';
	topLink[68] = 'prodChupa_technicalCard.asp?intIdProd=29';
	topLink[69] = 'prodChupa_technicalCard.asp?intIdProd=47';
	topLink[70] = 'prodChupa_technicalCard.asp?intIdProd=44';
	topLink[71] = 'prodChupa_technicalCard.asp?intIdProd=48';
	topLink[72] = 'prodChupa_technicalCard.asp?intIdProd=49';
	topLink[73] = 'prodChupa_technicalCard.asp?intIdProd=50';
	topLink[74] = 'prodChupa_technicalCard.asp?intIdProd=35';
	topLink[75] = 'prodChupa_technicalCard.asp?intIdProd=36';
	topLink[76] = 'prodChupa_technicalCard.asp?intIdProd=37';
	topLink[77] = 'prodChupa_technicalCard.asp?intIdProd=38';
	topLink[78] = 'prodChupa_technicalCard.asp?intIdProd=39';
	topLink[79] = 'prodChupa_technicalCard.asp?intIdProd=40';

function topmenu(myIndex) {
	self.location.href = topLink[myIndex];
}

function funmenu(myIndex) {
	switch(myIndex) {
	case 1:
		//VIL_genericPop('http://www.chupachups.com','labWin','641','419');
		window.open("http://www.chupachups.com");
		break;
	case 2:
//		VIL_genericPop('http://www.chupachups.com/chatclassic/sitecontent/games_classic/blockhead_eng.asp','gameWin','655','450');
		VIL_genericPop('popups/games.asp','gameWin','541','369');
		break;
	case 3:
		//VIL_genericPop('http://www.chupachups.com','chatWin','700','450');
		window.open("http://www.chupachups.com");
		break;
	case 4:
//		VIL_genericPop('http://www.chupachups.com/gifts/cards/home_cards_eng.asp','goodiesWin','800','400');
		//VIL_genericPop('http://www.chupachups.com','fbWin','641','419');
		window.open("http://www.chupachups.com");
		break;
	case 5:
//		VIL_genericPop('http://www.chupachups.com/gifts/wallpaper/home_wallpapers_eng.asp','dwnldWin','800','400');
		VIL_genericPop('popups/downloads.asp','downloadWin','541','388');
		break;
/*
	case 4:
		VIL_genericPop('gifts/cards/home_cards_eng.asp','goodiesWin','800','400');
		break;
	case 5:
		VIL_genericPop('gifts/wallpaper/home_wallpapers_eng.asp','dwnldWin','800','400');
		break;
*/
	}
}

function popup(myURL) {
	var myWindow = window.open(myURL,'myWindow','');
	return false;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function P7_setScroller(a,b,x,y) { //v2.9 by PVII
 var g,d,dd,w,ww,pa="";
 if((parseInt(navigator.appVersion)>4 || navigator.userAgent.indexOf("MSIE")>-1)&& navigator.userAgent.indexOf("Opera")==-1){pa="px";}
 if((g=MM_findObj(a))!=null && (d=MM_findObj(b))!=null){
  if(g.p7Scroll){if((w=MM_findObj(g.p7Scroll))!=null){
   ww=(document.layers)?w:w.style;ww.visibility="hidden";}}
 g.p7Scroll=b;dd=(document.layers)?d:d.style;dd.left=parseInt(x)+pa;
 dd.top=parseInt(y)+pa;dd.visibility="visible";g.p7sCycle=0;
 if(document.layers){g.p7sTop=g.clip.top;g.p7sBot=g.clip.bottom;
  g.p7sRight=g.clip.right;g.p7sLeft=g.clip.left;g.p7sStartTop=parseInt(y);g.p7sStartLeft=parseInt(x);
 }else if(g.style.clip){var tc=g.style.clip;var j=tc.indexOf("(");
  tc=tc.substring(j+1,tc.length-1);var tr=tc.split(" ");
  if(tc.length < 1){tr[0]=0;tr[3]=0;tr[2]=g.style.pixelHeight;tr[1]=g.style.pixelWidth;}
  g.p7sTop=parseInt(tr[0]);g.p7sRight=parseInt(tr[1]);g.p7sBot=parseInt(tr[2]);
  g.p7sLeft=parseInt(tr[3]);g.p7sStartTop=parseInt(y);g.p7sStartLeft=parseInt(x);
 }else{g.p7sTop=0;g.p7sRight=g.offsetWidth;g.p7sBot=g.offsetHeight;
  g.p7sLeft=0;g.p7sStartTop=parseInt(y);g.p7sStartLeft=parseInt(x);}}
  g.toMove=true;
}

function P7_moveScroll(co,md,op,dy,cy) { //v2.9 by PVII
 var g,d,dd,x,y,h,w,tt,ff,m=false,pa="";
 op=parseInt(op);cy=parseInt(cy);dy=parseInt(dy);
 if((parseInt(navigator.appVersion)>4 || navigator.userAgent.indexOf("MSIE")>-1)&& navigator.userAgent.indexOf("Opera")==-1){pa="px";}
 if((g=MM_findObj(co))==null){return;}
 if((d=MM_findObj(g.p7Scroll))==null){return;}
 var sp=parseInt(sp=g.P7Ssp),fr=parseInt(g.P7Sfr),ff=fr;
 if(op==2){g.p7sCycle=0;g.p7sCycDy=(dy>0)?dy:g.p7sCycDy;dy=0;op=3;}
 if(op==3){g.p7sCycle+=sp;ff=fr;if(parseInt(g.p7sCycle)>cy){
  op=2;g.p7sCycle=0;ff=g.p7sCycDy;}}g.P7Sop=op;if(dy>0){ff=dy;}
 var ti="g.p7Magic=setTimeout(\"P7_moveScroll('"+co+"','"+md+"',"+op+",0,"+cy+")\","+ff+")";
 if(op==2 || dy>0){clearTimeout(g.p7Magic);eval(ti);return;}
 dd=(document.layers)?d:d.style;x=parseInt(dd.left);y=parseInt(dd.top);
 if(document.all || document.getElementById){
  h=parseInt(d.offsetHeight);w=parseInt(d.offsetWidth);
  if(!h){h=parseInt(d.style.pixelHeight);w=parseInt(d.style.pixelWidth);}
 }else if(document.layers){h=parseInt(d.clip.height);w=parseInt(d.clip.width);}
 var st=0,rStart=parseInt(g.p7sStartLeft),tStart=parseInt(g.p7sStartTop);g.p7sH=h;g.p7sW=w;
 if(md=="Down"){tt=y-sp;st=parseInt(g.p7sBot)-h-tStart;
  if(tStart<0 && tt<tStart){dd.top=tStart+pa;
  }else if(tStart>=0 && tt<st){dd.top=st+pa;}else{dd.top=tt+pa;m=true;}}
 if(md=="Up"){tt=sp+y;var rEnd=tStart+h;if(tStart<0 && tt>rEnd){dd.top=rEnd+pa;
  }else if(tStart>=0 && tt>tStart){dd.top=tStart+pa;}else{dd.top=tt+pa;m=true;}}
 if(md=="Right"){tt=x-sp;st=parseInt(g.p7sRight)-w-rStart;
  if(rStart<0 && tt<rStart){dd.left=rStart+pa;
  }else if (rStart>=0 && tt<st){dd.left=st+pa;}else{dd.left=tt+pa;m=true;}}
 if(md=="Left"){tt=x+sp;var rEnd=rStart+w;if(rStart<0 && tt>rEnd){dd.left=rEnd+pa;
  }else if (rStart>=0 && tt>rStart){dd.left=rStart+pa;}else{dd.left=tt+pa;m=true;}}
 if(m && g.toMove){eval(ti);}else{if(g.P7Sflip==1){clearTimeout(g.p7Magic);var tj=0;
  eval("g.p7Magic=setTimeout(\"P7_runScroller('"+co+"','Reverse','Medium',0,0,0,1)\","+tj+")");
 }else{if(op>0 && g.toMove){
  g.p7sCycle=0;dd.top=g.p7sStartTop+pa;dd.left=g.p7sStartLeft+pa;eval(ti);}}}
}

function P7_runScroller(co,md,spd,op,dy,cy,flp) { //v2.9 by PVII
 var g,d,dd,rl=0;rt=0;pa='',sp=2,fr=10,slw=true,kl=true;
 if((parseInt(navigator.appVersion)>4 || navigator.userAgent.indexOf("MSIE")>-1)&& navigator.userAgent.indexOf("Opera")==-1){pa="px";}
 if(navigator.userAgent.indexOf("NT")>-1 || navigator.userAgent.indexOf("Windows 2000")>-1 ){slw=false;}
 if((g=MM_findObj(co))!=null){if(g.p7Scroll){
 if((d=MM_findObj(g.p7Scroll))!=null){dd=(document.layers)?d:d.style;
 if(md=="Resume" && g.P7Sspd){spd=g.P7Sspd;md=g.P7Smd;op=g.P7Sop;dy=0;cy=g.P7Scy;flp=g.P7Sflip;kl=false;}
 if(md=="Reverse" && g.P7Sspd){spd=g.P7Sspd;md=g.P7Smd;op=g.P7Sop;flp=g.P7Sflip;dy=0;cy=g.P7Scy;kl=false;g.p7sCycle=0;
  if(g.P7Smd == "Down"){md="Up";if(g.P7Sop>0){g.p7sStartTop=g.p7sStartTop-g.p7sH;}}
  if(g.P7Smd == "Up"){md="Down";if(g.P7Sop>0){g.p7sStartTop=g.p7sStartTop+g.p7sH;}}
  if(g.P7Smd == "Left"){md="Right";if(g.P7Sop>0){g.p7sStartLeft=g.p7sStartLeft+g.p7sW;}}
  if(g.P7Smd == "Right"){md="Left";if(g.P7Sop>0){g.p7sStartLeft=g.p7sStartLeft-g.p7sW;}}}
 if(spd=="Slow"){sp=(slw)?2:1;fr=(slw)?40:30;
 }else if(spd=="Medium"){sp=(slw)?4:1;fr=(slw)?40:10;
 }else{sp=(slw)?8:4;fr=(slw)?40:10;}
 if(md=="Stop"){g.toMove=false;clearTimeout(g.p7Magic);}else if(md=="Reset"){
  g.toMove=false;dd.top=g.p7sStartTop+pa;dd.left=g.p7sStartLeft+pa;
 }else{if(kl){g.P7Ssp=sp;g.P7Sfr=fr;}if(md=="Speed"){return;}
  g.toMove=true;clearTimeout(g.p7Magic);
  g.P7Smd=md;g.P7Sspd=spd;g.P7Sop=op;g.P7Sdy=dy;g.P7Scy=cy;g.P7Sflip=flp;
  eval("P7_moveScroll('"+co+"','"+md+"',"+op+","+dy+","+cy+")");}}}}
}

function P7_Snap() { //v2.62 by PVII
  var x,y,ox,bx,oy,p,tx,a,b,k,d,da,e,el,args=P7_Snap.arguments;a=parseInt(a);
  for (k=0; k<(args.length-3); k+=4)
   if ((g=MM_findObj(args[k]))!=null) {
    el=eval(MM_findObj(args[k+1]));
    a=parseInt(args[k+2]);b=parseInt(args[k+3]);
    x=0;y=0;ox=0;oy=0;p="";tx=1;da="document.all['"+args[k]+"']";
    if(document.getElementById) {
     d="document.getElementsByName('"+args[k]+"')[0]";
     if(!eval(d)) {d="document.getElementById('"+args[k]+"')";if(!eval(d)) {d=da;}}
    }else if(document.all) {d=da;} 
    if (document.all || document.getElementById) {
     while (tx==1) {p+=".offsetParent";
      if(eval(d+p)) {x+=parseInt(eval(d+p+".offsetLeft"));y+=parseInt(eval(d+p+".offsetTop"));
      }else{tx=0;}}
     ox=parseInt(g.offsetLeft);oy=parseInt(g.offsetTop);var tw=x+ox+y+oy;
     if(tw==0 || (navigator.appVersion.indexOf("MSIE 4")>-1 && navigator.appVersion.indexOf("Mac")>-1)) {
      ox=0;oy=0;if(g.style.left){x=parseInt(g.style.left);y=parseInt(g.style.top);
      }else{var w1=parseInt(el.style.width);bx=(a<0)?-5-w1:-10;
      a=(Math.abs(a)<1000)?0:a;b=(Math.abs(b)<1000)?0:b;
      x=document.body.scrollLeft + event.clientX + bx;
      y=document.body.scrollTop + event.clientY;}}
   }else if (document.layers) {x=g.x;y=g.y;var q0=document.layers,dd="";
    for(var s=0;s<q0.length;s++) {dd='document.'+q0[s].name;
     if(eval(dd+'.document.'+args[k])) {x+=eval(dd+'.left');y+=eval(dd+'.top');break;}}}
   if(el) {e=(document.layers)?el:el.style;
   var xx=parseInt(x+ox+a),yy=parseInt(y+oy+b);
   if(navigator.appName=="Netscape" && parseInt(navigator.appVersion)>4){xx+="px";yy+="px";}
   if(navigator.appVersion.indexOf("MSIE 5")>-1 && navigator.appVersion.indexOf("Mac")>-1){
    xx+=parseInt(document.body.leftMargin);yy+=parseInt(document.body.topMargin);
    xx+="px";yy+="px";}e.left=xx;e.top=yy;}}
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function UB_showHideObject() { //v6.0
  var i,p,v,obj,args=UB_showHideObject.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='off')?'none':(v=='on')?'block':v; }
    obj.display=v; }
}

function VIL_genericPop(myUrl,myWinName,myWidth,myHeight,myPars) {
	var winl = (screen.width - myWidth) / 2;
	var wint = (screen.height - myHeight) / 2;
	parameters = myPars + '';
	if (parameters == '') parameters = ',toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no';
	gwin=window.open(myUrl,myWinName,'width='+myWidth+',height='+myHeight+',left='+winl+',top='+wint+parameters);
	if (gwin) gwin.focus();
}

function VIL_changeVersion(oldVer,newVer){
  myOldUrl = self.location.href;
  myNewUrl = myOldUrl.replace("/"+oldVer+"/", "/"+newVer+"/")
  self.location.href = myNewUrl;
}

function showHideDiv(name,sh){
	myObj=MM_findObj(name);
	if(sh=="hide" || sh=="h")
		myObj.style.display="none";
	else
		if(sh=="show" || sh=="s")
			myObj.style.display="block";
}

var activeObj ="tabdiv1";
function EF_active(myObj2) {
	if (myObj2==activeObj) {
		return;
	} else {
		showHideDiv(activeObj,'h');
		showHideDiv(myObj2,'s');
		activeObj=myObj2;	
	}
}
// end hide -->
