slideShowURL='SlideShow_assets/SlideShow.html';slideShowNS4URL='SlideShow_assets/SlideShowNS4.html';slides=new Array();slides[0]=new Slide('../gabriel rocca_files/gabriel rocca_cancun_31.jpg', '600', '800', 'gabriel rocca 01');slides[1]=new Slide('../gabriel rocca_files/gabriel rocca_rocca_73.jpg', '600', '800', 'gabriel rocca 02');slides[2]=new Slide('../gabriel rocca_files/gabriel rocca_cancun_04.jpg', '600', '800', 'gabriel rocca 03');slides[3]=new Slide('../gabriel rocca_files/gabriel rocca_zingara_40.jpg', '579', '800', 'gabriel rocca 04');slides[4]=new Slide('../gabriel rocca_files/gabriel rocca_vitamina_69.jpg', '600', '800', 'gabriel rocca 05');slides[5]=new Slide('../gabriel rocca_files/gabriel rocca_rochas_85.jpg', '600', '800', 'gabriel rocca 06');slides[6]=new Slide('../gabriel rocca_files/rocca update 38.jpg', '800', '613', 'gabriel rocca 07');slides[7]=new Slide('../gabriel rocca_files/rocca update 29.jpg', '600', '800', 'gabriel rocca 08');slides[8]=new Slide('../gabriel rocca_files/rocca update 36.jpg', '800', '600', 'gabriel rocca 09');slides[9]=new Slide('../gabriel rocca_files/gabriel rocca_etiquetanegra.jpg', '600', '800', 'gabriel rocca 10');slides[10]=new Slide('../gabriel rocca_files/rocca update 05.jpg', '601', '800', 'gabriel rocca 11');slides[11]=new Slide('../gabriel rocca_files/rocca update 34.jpg', '601', '800', 'gabriel rocca 12');slides[12]=new Slide('../gabriel rocca_files/gabriel rocca_zingara_47.jpg', '600', '800', 'gabriel rocca 13');slides[13]=new Slide('../gabriel rocca_files/gabriel rocca_paula_06.jpg', '600', '800', 'gabriel rocca 14');slides[14]=new Slide('../gabriel rocca_files/gabriel rocca_kosiuko_41.jpg', '600', '800', 'gabriel rocca 15');slides[15]=new Slide('../gabriel rocca_files/02.jpg', '400', '600', 'gabriel rocca 16');slides[16]=new Slide('../gabriel rocca_files/15.jpg', '400', '600', 'gabriel rocca 17');slides[17]=new Slide('../gabriel rocca_files/02_1.jpg', '649', '801', 'gabriel rocca 18');slides[18]=new Slide('../gabriel rocca_files/gabriel rocca_etiqnegra_28.jpg', '600', '800', 'gabriel rocca 19');slides[19]=new Slide('../gabriel rocca_files/gabriel rocca_etiqnegra_36.jpg', '600', '800', 'gabriel rocca 20');slides[20]=new Slide('../gabriel rocca_files/gabriel rocca_etiqnegra_82.jpg', '600', '800', 'gabriel rocca 21');slides[21]=new Slide('../gabriel rocca_files/gabriel rocca_etiqnegra_16.jpg', '800', '600', 'gabriel rocca 22');slides[22]=new Slide('../gabriel rocca_files/gabriel rocca_etiqnegra_69.jpg', '800', '600', 'gabriel rocca 23');slides[23]=new Slide('../gabriel rocca_files/gabriel rocca_etiquetanegra46120.jpg', '600', '800', 'gabriel rocca 24');slides[24]=new Slide('../gabriel rocca_files/gabriel rocca_rochas59.jpg', '600', '800', 'gabriel rocca 25');slides[25]=new Slide('../gabriel rocca_files/gabriel rocca_rochas75.jpg', '800', '600', 'gabriel rocca 26');slides[26]=new Slide('../gabriel rocca_files/gabriel rocca_rochas53.jpg', '800', '600', 'gabriel rocca 27');slides[27]=new Slide('../gabriel rocca_files/gabriel rocca_cancun_13.jpg', '800', '600', 'gabriel rocca 28');slides[28]=new Slide('../gabriel rocca_files/gabriel rocca_cancun_85.jpg', '800', '600', 'gabriel rocca 29');slides[29]=new Slide('../gabriel rocca_files/gabriel rocca_CF045.jpg', '600', '800', 'gabriel rocca 30');slides[30]=new Slide('../gabriel rocca_files/gabriel rocca_cancun_01.jpg', '600', '800', 'gabriel rocca 31');slides[31]=new Slide('../gabriel rocca_files/gabriel rocca_cancun_90.jpg', '600', '800', 'gabriel rocca 32');slides[32]=new Slide('../gabriel rocca_files/gabriel rocca_paula_21.jpg', '600', '800', 'gabriel rocca 33');slides[33]=new Slide('../gabriel rocca_files/rocca update 31.jpg', '800', '601', 'gabriel rocca 34');slides[34]=new Slide('../gabriel rocca_files/gabriel rocca_laguna02.jpg', '601', '800', 'gabriel rocca 35');slides[35]=new Slide('../gabriel rocca_files/gabriel rocca_laguna37999.jpg', '601', '800', 'gabriel rocca 36');slides[36]=new Slide('../gabriel rocca_files/rocca update 01.jpg', '601', '800', 'gabriel rocca 37');slides[37]=new Slide('../gabriel rocca_files/rocca update 13.jpg', '601', '800', 'gabriel rocca 38');slides[38]=new Slide('../gabriel rocca_files/CF015426.jpg', '800', '602', 'gabriel rocca 39');slides[39]=new Slide('../gabriel rocca_files/gabriel rocca_CF060.jpg', '600', '800', 'gabriel rocca 40');slides[40]=new Slide('../gabriel rocca_files/CF018582.jpg', '602', '800', 'gabriel rocca 41');slides[41]=new Slide('../gabriel rocca_files/CF017051.jpg', '602', '800', 'gabriel rocca 42');slides[42]=new Slide('../gabriel rocca_files/gabriel rocca_CF017237.jpg', '800', '600', 'gabriel rocca 43');slides[43]=new Slide('../gabriel rocca_files/gabriel rocca_CF017078.jpg', '800', '600', 'gabriel rocca 44');slides[44]=new Slide('../gabriel rocca_files/gabriel rocca_CF017032.jpg', '800', '600', 'gabriel rocca 45');slides[45]=new Slide('../gabriel rocca_files/gabriel rocca_CF015193.jpg', '800', '600', 'gabriel rocca 46');slides[46]=new Slide('../gabriel rocca_files/gabriel rocca_CF0190.jpg', '800', '601', 'gabriel rocca 47');slides[47]=new Slide('../gabriel rocca_files/gabriel rocca_CF015697.jpg', '600', '800', 'gabriel rocca 48');slides[48]=new Slide('../gabriel rocca_files/05.jpg', '400', '600', 'gabriel rocca 49');slides[49]=new Slide('../gabriel rocca_files/09.jpg', '400', '600', 'gabriel rocca 50');slides[50]=new Slide('../gabriel rocca_files/CA357D4B-7303-4804-B01B-A201E5FA5434.jpg', '400', '600', 'gabriel rocca 51');slides[51]=new Slide('../gabriel rocca_files/ClassLife_DoloresTrull.jpg', '586', '800', 'gabriel rocca 52');slides[52]=new Slide('../gabriel rocca_files/ramirez_escarabajo.jpg', '800', '642', 'gabriel rocca 53');slides[53]=new Slide('../gabriel rocca_files/rocca update 44.jpg', '800', '552', 'gabriel rocca 54');slides[54]=new Slide('../gabriel rocca_files/tapa kate.jpg', '801', '664', 'gabriel rocca 55');slides[55]=new Slide('../gabriel rocca_files/09_1.jpg', '400', '600', 'gabriel rocca 56');slides[56]=new Slide('../gabriel rocca_files/02_2.jpg', '400', '600', 'gabriel rocca 57');slides[57]=new Slide('../gabriel rocca_files/581187B4-1910-404B-A368-F19CCC5EFB90.jpg', '639', '478', 'gabriel rocca 58');slides[58]=new Slide('../gabriel rocca_files/kate_bn.jpg', '617', '800', 'gabriel rocca 59');slides[59]=new Slide('../gabriel rocca_files/01.jpg', '400', '600', 'gabriel rocca 60');slides[60]=new Slide('../gabriel rocca_files/RoseN23.jpg', '801', '647', 'gabriel rocca 61');slides[61]=new Slide('../gabriel rocca_files/RoseN26.jpg', '801', '650', 'gabriel rocca 62');slides[62]=new Slide('../gabriel rocca_files/RoseN28.jpg', '801', '650', 'gabriel rocca 63');slides[63]=new Slide('../gabriel rocca_files/59.jpg', '801', '649', 'gabriel rocca 64');slides[64]=new Slide('../gabriel rocca_files/65.jpg', '801', '650', 'gabriel rocca 65');slides[65]=new Slide('../gabriel rocca_files/30.jpg', '801', '647', 'gabriel rocca 66');isPureISOLatin1=true;contentEncodingConstant=4;feedbackURL="TODO";showFeedbackButton=false;feedbackEnabled=true;var inImgPropertyChanged=false;function imgPropertyChanged(){if ((window.event.propertyName=="src")&& (! inImgPropertyChanged)){inImgPropertyChanged=true;var el=window.event.srcElement;if (el.src !=smallTransparentGif){el.filters.item(0).src=el.src;el.src=smallTransparentGif;}
inImgPropertyChanged=false;}}
var smallTransparentGif="";function fixupIEPNG(strImageID, transparentGif){smallTransparentGif=transparentGif;if (windowsInternetExplorer && (browserVersion < 7)){var img=document.getElementById(strImageID);if (img){var src=img.src;img.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+src+"', sizingMethod='scale')";img.src=transparentGif;img.attachEvent("onpropertychange", imgPropertyChanged);}}}
function getChildOfType(oParent, sNodeName, requestedIndex){var childrenOfType=oParent.getElementsByTagName(sNodeName);return (requestedIndex < childrenOfType.length)?
childrenOfType.item(requestedIndex): null;}
function onPageLoad(){detectBrowser();adjustLineHeightIfTooBig("id69");adjustFontSizeIfTooBig("id69");adjustLineHeightIfTooBig("id70");adjustFontSizeIfTooBig("id70");adjustLineHeightIfTooBig("id72");adjustFontSizeIfTooBig("id72");fixupAllIEPNGBGs();fixupIEPNG("id1", "gabriel rocca_files/transparent.gif");fixupIEPNG("id2", "gabriel rocca_files/transparent.gif");fixupIEPNG("id3", "gabriel rocca_files/transparent.gif");fixupIEPNG("id4", "gabriel rocca_files/transparent.gif");fixupIEPNG("id5", "gabriel rocca_files/transparent.gif");fixupIEPNG("id6", "gabriel rocca_files/transparent.gif");fixupIEPNG("id7", "gabriel rocca_files/transparent.gif");fixupIEPNG("id8", "gabriel rocca_files/transparent.gif");fixupIEPNG("id9", "gabriel rocca_files/transparent.gif");fixupIEPNG("id10", "gabriel rocca_files/transparent.gif");fixupIEPNG("id11", "gabriel rocca_files/transparent.gif");fixupIEPNG("id12", "gabriel rocca_files/transparent.gif");fixupIEPNG("id13", "gabriel rocca_files/transparent.gif");fixupIEPNG("id14", "gabriel rocca_files/transparent.gif");fixupIEPNG("id15", "gabriel rocca_files/transparent.gif");fixupIEPNG("id16", "gabriel rocca_files/transparent.gif");fixupIEPNG("id17", "gabriel rocca_files/transparent.gif");fixupIEPNG("id18", "gabriel rocca_files/transparent.gif");fixupIEPNG("id19", "gabriel rocca_files/transparent.gif");fixupIEPNG("id20", "gabriel rocca_files/transparent.gif");fixupIEPNG("id21", "gabriel rocca_files/transparent.gif");fixupIEPNG("id22", "gabriel rocca_files/transparent.gif");fixupIEPNG("id23", "gabriel rocca_files/transparent.gif");fixupIEPNG("id24", "gabriel rocca_files/transparent.gif");fixupIEPNG("id25", "gabriel rocca_files/transparent.gif");fixupIEPNG("id26", "gabriel rocca_files/transparent.gif");fixupIEPNG("id27", "gabriel rocca_files/transparent.gif");fixupIEPNG("id28", "gabriel rocca_files/transparent.gif");fixupIEPNG("id29", "gabriel rocca_files/transparent.gif");fixupIEPNG("id30", "gabriel rocca_files/transparent.gif");fixupIEPNG("id31", "gabriel rocca_files/transparent.gif");fixupIEPNG("id32", "gabriel rocca_files/transparent.gif");fixupIEPNG("id33", "gabriel rocca_files/transparent.gif");fixupIEPNG("id34", "gabriel rocca_files/transparent.gif");fixupIEPNG("id35", "gabriel rocca_files/transparent.gif");fixupIEPNG("id36", "gabriel rocca_files/transparent.gif");fixupIEPNG("id37", "gabriel rocca_files/transparent.gif");fixupIEPNG("id38", "gabriel rocca_files/transparent.gif");fixupIEPNG("id39", "gabriel rocca_files/transparent.gif");fixupIEPNG("id40", "gabriel rocca_files/transparent.gif");fixupIEPNG("id41", "gabriel rocca_files/transparent.gif");fixupIEPNG("id42", "gabriel rocca_files/transparent.gif");fixupIEPNG("id43", "gabriel rocca_files/transparent.gif");fixupIEPNG("id44", "gabriel rocca_files/transparent.gif");fixupIEPNG("id45", "gabriel rocca_files/transparent.gif");fixupIEPNG("id46", "gabriel rocca_files/transparent.gif");fixupIEPNG("id47", "gabriel rocca_files/transparent.gif");fixupIEPNG("id48", "gabriel rocca_files/transparent.gif");fixupIEPNG("id49", "gabriel rocca_files/transparent.gif");fixupIEPNG("id50", "gabriel rocca_files/transparent.gif");fixupIEPNG("id51", "gabriel rocca_files/transparent.gif");fixupIEPNG("id52", "gabriel rocca_files/transparent.gif");fixupIEPNG("id53", "gabriel rocca_files/transparent.gif");fixupIEPNG("id54", "gabriel rocca_files/transparent.gif");fixupIEPNG("id55", "gabriel rocca_files/transparent.gif");fixupIEPNG("id56", "gabriel rocca_files/transparent.gif");fixupIEPNG("id57", "gabriel rocca_files/transparent.gif");fixupIEPNG("id58", "gabriel rocca_files/transparent.gif");fixupIEPNG("id59", "gabriel rocca_files/transparent.gif");fixupIEPNG("id60", "gabriel rocca_files/transparent.gif");fixupIEPNG("id61", "gabriel rocca_files/transparent.gif");fixupIEPNG("id62", "gabriel rocca_files/transparent.gif");fixupIEPNG("id63", "gabriel rocca_files/transparent.gif");fixupIEPNG("id64", "gabriel rocca_files/transparent.gif");fixupIEPNG("id65", "gabriel rocca_files/transparent.gif");fixupIEPNG("id66", "gabriel rocca_files/transparent.gif");fixupIEPNG("id67", "gabriel rocca_files/transparent.gif");fixupIEPNG("id68", "gabriel rocca_files/transparent.gif");fixupIEPNG("id71", "gabriel rocca_files/transparent.gif");fixupIEPNG("id73", "gabriel rocca_files/transparent.gif");fixupIEPNG("id74", "gabriel rocca_files/transparent.gif");return true;}
function fixupIEPNGBG(oBlock){if (oBlock){var currentBGImage=oBlock.currentStyle.backgroundImage;var currentBGRepeat=oBlock.currentStyle.backgroundRepeat;var urlStart=currentBGImage.indexOf('url(');var urlEnd=currentBGImage.indexOf(')', urlStart);var imageURL=currentBGImage.substring(urlStart+4, urlEnd);if (imageURL.charAt(0)=='"'){imageURL=imageURL.substring(1);}
if (imageURL.charAt(imageURL.length - 1)=='"'){imageURL=imageURL.substring(0, imageURL.length - 1);}
var overrideRepeat=false;var filterStyle=
"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+
imageURL+
"', sizingMethod='crop');";if (RegExp("/C[0-9A-F]{8}.png$").exec(imageURL)!=null){filterStyle=
"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+
imageURL+
"', sizingMethod='scale');";overrideRepeat=true;}
var backgroundImage=new Image();backgroundImage.src=imageURL;var tileWidth=backgroundImage.width;var tileHeight=backgroundImage.height;var blockWidth=0;var blockHeight=0;if (oBlock.style.width){blockWidth=parseInt(oBlock.style.width);}
else{blockWidth=oBlock.offsetWidth;}
if (oBlock.style.height){blockHeight=parseInt(oBlock.style.height);}
else{blockHeight=oBlock.offsetHeight;}
if ((blockWidth==0)|| (blockHeight==0)){return;}
var wholeRows=1;var wholeCols=1;var extraHeight=0;var extraWidth=0;if ((currentBGRepeat.indexOf("no-repeat")!=-1)||
((tileWidth==0)&& (tileHeight==0))||
overrideRepeat){tileWidth=blockWidth;tileHeight=blockHeight;}
else if ((currentBGRepeat.indexOf("repeat-x")!=-1)||
(tileHeight==0)){wholeCols=Math.floor(blockWidth / tileWidth);extraWidth=blockWidth - (tileWidth * wholeCols);tileHeight=blockHeight;}
else if (currentBGRepeat.indexOf("repeat-y")!=-1){wholeRows=Math.floor(blockHeight / tileHeight);extraHeight=blockHeight - (tileHeight * wholeRows);tileWidth=blockWidth;}
else{wholeCols=Math.floor(blockWidth / tileWidth);wholeRows=Math.floor(blockHeight / tileHeight);extraWidth=blockWidth - (tileWidth * wholeCols);extraHeight=blockHeight - (tileHeight * wholeRows);}
var wrappedContent=document.createElement("div");wrappedContent.style.position="relative";wrappedContent.style.zIndex="1";wrappedContent.style.left="0px";wrappedContent.style.top="0px";if (!isNaN(parseInt(oBlock.style.width))){wrappedContent.style.width=""+blockWidth+"px";}
if (!isNaN(parseInt(oBlock.style.height))){wrappedContent.style.height=""+blockHeight+"px";}
var pngBGFixIsWrappedContentEmpty=true;while (oBlock.hasChildNodes()){if (oBlock.firstChild.nodeType==3){if (RegExp("^ *$").exec(oBlock.firstChild.data)==null){pngBGFixIsWrappedContentEmpty=false;}}
else{pngBGFixIsWrappedContentEmpty=false;}
wrappedContent.appendChild(oBlock.firstChild);}
if (pngBGFixIsWrappedContentEmpty){wrappedContent.style.lineHeight="0px";}
var newMarkup="";for (var currentRow=0;currentRow < wholeRows;currentRow++){for (currentCol=0;currentCol < wholeCols;currentCol++){newMarkup+="<div style="+
"\"position: absolute;line-height: 0px;"+
"width: "+tileWidth+"px;"+
"height: "+tileHeight+"px;"+
"left:"+currentCol *  tileWidth+"px;"+
"top:"+currentRow *  tileHeight+"px;"+
"filter:"+filterStyle+
"\" > </div>";}
if (extraWidth !=0){newMarkup+="<div style="+
"\"position: absolute;line-height: 0px;"+
"width: "+extraWidth+"px;"+
"height: "+tileHeight+"px;"+
"left:"+currentCol *  tileWidth+"px;"+
"top:"+currentRow *  tileHeight+"px;"+
"filter:"+filterStyle+
"\" > </div>";}}
if (extraHeight !=0){for (currentCol=0;currentCol < wholeCols;currentCol++){newMarkup+="<div style="+
"\"position: absolute;line-height: 0px;"+
"width: "+tileWidth+"px;"+
"height: "+extraHeight+"px;"+
"left:"+currentCol *  tileWidth+"px;"+
"top:"+currentRow *  tileHeight+"px;"+
"filter:"+filterStyle+
"\" > </div>";}
if (extraWidth !=0){newMarkup+="<div style="+
"\"position: absolute;line-height: 0px;"+
"width: "+extraWidth+"px;"+
"height: "+extraHeight+"px;"+
"left:"+currentCol *  tileWidth+"px;"+
"top:"+currentRow *  tileHeight+"px;"+
"filter:"+filterStyle+
"\" > </div>";}}
oBlock.innerHTML=newMarkup;oBlock.appendChild(wrappedContent);oBlock.style.background="";}}
function fixupAllIEPNGBGs(){if (windowsInternetExplorer && (browserVersion < 7)){try{var oDivNodes=document.getElementsByTagName('DIV');for (var iIndex=0;iIndex<oDivNodes.length;iIndex++){var oNode=oDivNodes.item(iIndex);if (oNode.currentStyle &&
oNode.currentStyle.backgroundImage &&
(oNode.currentStyle.backgroundImage.indexOf('url(')!=-1)&&
(oNode.currentStyle.backgroundImage.indexOf('.png")')!=-1)){fixupIEPNGBG(oNode);}}}
catch (e){}}}
function NBmouseover(index){var normal=document.getElementById("navbar_"+index+"_normal");var rollover=document.getElementById("navbar_"+index+"_rollover");if (normal && rollover){normal.style.visibility="hidden";rollover.style.visibility="visible";}
return true;}
var windowsInternetExplorer=false;var browserVersion=0;function detectBrowser(){windowsInternetExplorer=false;var appVersion=navigator.appVersion;if ((appVersion.indexOf("MSIE")!=-1)&&
(appVersion.indexOf("Macintosh")==-1)){var temp=appVersion.split("MSIE");browserVersion=parseFloat(temp[1]);windowsInternetExplorer=true;}}
function elementLineHeight(element){var lineHeight=MINIMUM_FONT;if (document.defaultView){var computedStyle=document.defaultView.getComputedStyle(element, null);if (computedStyle){lineHeight=computedStyle.getPropertyValue("line-height");}}
else if (element.currentStyle){lineHeight=element.currentStyle.lineHeight;}
if ((UNITS.length==0)&& (lineHeight !=MINIMUM_FONT)){UNITS=lineHeight.substring(lineHeight.length - 2, lineHeight.length)
}
return parseFloat(lineHeight);}
function adjustLineHeightIfTooBig(idOfElement){var oTextBoxOuterDiv;var oTextBoxMiddleDiv;var oTextBoxInnerDiv;var oTextBoxOuterDiv=document.getElementById(idOfElement);if (oTextBoxOuterDiv){oTextBoxMiddleDiv=getChildOfType(oTextBoxOuterDiv, "DIV", 0);if (oTextBoxMiddleDiv){oTextBoxInnerDiv=getChildOfType(oTextBoxMiddleDiv, "DIV", 0);if (oTextBoxInnerDiv){var offsetHeight=oTextBoxInnerDiv.offsetHeight;var specifiedHeight=offsetHeight;if (oTextBoxMiddleDiv.style.height !=""){specifiedHeight=parseFloat(oTextBoxMiddleDiv.style.height);}
else if (oTextBoxOuterDiv.style.height !=""){specifiedHeight=parseFloat(oTextBoxOuterDiv.style.height);}
if (offsetHeight > specifiedHeight){var adjusted=true;var count=0;while ((adjusted)&& (offsetHeight > specifiedHeight)&& (count < 10)){adjusted=false;++count;var aParaChildren=getParaDescendants(oTextBoxInnerDiv);for (i=0;i < aParaChildren.length;i++){var oParagraphDiv=aParaChildren[i];if (oParagraphDiv.nodeName=="DIV"){var fontSize=elementFontSize(oParagraphDiv);var lineHeight=elementLineHeight(oParagraphDiv)* 0.95;if (lineHeight >=(fontSize * 1.1)){oParagraphDiv.style.lineHeight=lineHeight+UNITS;adjusted=true;}
for (j=0;j < oParagraphDiv.childNodes.length;j++){var oSpan=oParagraphDiv.childNodes[j];if ((oSpan.nodeName=="SPAN")|| (oSpan.nodeName=="A")){var fontSize=elementFontSize(oSpan);var lineHeight=elementLineHeight(oSpan)* 0.95;if (lineHeight >=(fontSize * 1.1)){oSpan.style.lineHeight=lineHeight+UNITS;var adjusted=true;}}}}}
offsetHeight=oTextBoxInnerDiv.offsetHeight;}}}}}}
function getParaDescendants(oAncestor){var oParaDescendants=new Array();var oPotentialParagraphs=oAncestor.getElementsByTagName('DIV');for (var iIndex=0;iIndex<oPotentialParagraphs.length;iIndex++){var oNode=oPotentialParagraphs.item(iIndex);if (oNode.className.lastIndexOf('paragraph')!=-1){oParaDescendants.push(oNode);}}
return oParaDescendants;}
var MINIMUM_FONT="10";var UNITS="";function elementFontSize(element){var fontSize=MINIMUM_FONT;if (document.defaultView){var computedStyle=document.defaultView.getComputedStyle(element, null);if (computedStyle){fontSize=computedStyle.getPropertyValue("font-size");}}
else if (element.currentStyle){fontSize=element.currentStyle.fontSize;}
if ((UNITS.length==0)&& (fontSize !=MINIMUM_FONT)){UNITS=fontSize.substring(fontSize.length - 2, fontSize.length)
}
return parseFloat(fontSize);}
function adjustFontSizeIfTooBig(idOfElement){var oTextBoxOuterDiv;var oTextBoxMiddleDiv;var oTextBoxInnerDiv;var oTextBoxOuterDiv=document.getElementById(idOfElement);if (oTextBoxOuterDiv){oTextBoxMiddleDiv=getChildOfType(oTextBoxOuterDiv, "DIV", 0);if (oTextBoxMiddleDiv){oTextBoxInnerDiv=getChildOfType(oTextBoxMiddleDiv, "DIV", 0);if (oTextBoxInnerDiv){var offsetHeight=oTextBoxInnerDiv.offsetHeight;var specifiedHeight=offsetHeight;if (oTextBoxMiddleDiv.style.height !=""){specifiedHeight=parseFloat(oTextBoxMiddleDiv.style.height);}
else if (oTextBoxOuterDiv.style.height !=""){specifiedHeight=parseFloat(oTextBoxOuterDiv.style.height);}
if (offsetHeight > specifiedHeight){var smallestFontSize=200;var aParaChildren=getParaDescendants(oTextBoxInnerDiv);var oneLine=false;for (i=0;i < aParaChildren.length;i++){var oParagraphDiv=aParaChildren[i];var lineHeight=elementLineHeight(oParagraphDiv);oneLine=oneLine||(lineHeight * 1.5 >=specifiedHeight);if (oParagraphDiv.nodeName=="DIV"){var fontSize=elementFontSize(oParagraphDiv);smallestFontSize=Math.min( smallestFontSize, fontSize );for (j=0;j < oParagraphDiv.childNodes.length;j++){var oSpan=oParagraphDiv.childNodes[j];if ((oSpan.nodeName=="SPAN")|| (oSpan.nodeName=="A")){fontSize=elementFontSize(oSpan);smallestFontSize=Math.min( smallestFontSize, fontSize );}}}}
var minimum=parseFloat(MINIMUM_FONT);var count=0
while ((smallestFontSize > minimum)&& (offsetHeight > specifiedHeight)&& (count < 10)){++count;if (oneLine){var oldWidth=parseInt(oTextBoxOuterDiv.style.width);oTextBoxInnerDiv.style.width=
""+oldWidth * Math.pow(1.05, count)+"px";}
else{var scale=Math.max(0.95, minimum / smallestFontSize);for (i=0;i < aParaChildren.length;i++){var oParagraphDiv=aParaChildren[i];if (oParagraphDiv.nodeName=="DIV"){var paraFontSize=elementFontSize(oParagraphDiv)* scale;var paraLineHeight=elementLineHeight(oParagraphDiv)* scale;for (j=0;j < oParagraphDiv.childNodes.length;j++){var oSpan=oParagraphDiv.childNodes[j];if ((oSpan.nodeName=="SPAN")|| (oSpan.nodeName=="A")){var spanFontSize=elementFontSize(oSpan)* scale;var spanLineHeight=elementLineHeight(oSpan)* scale;oSpan.style.fontSize=spanFontSize+UNITS;oSpan.style.lineHeight=spanLineHeight+UNITS;smallestFontSize=Math.min( smallestFontSize, spanFontSize );}}
oParagraphDiv.style.fontSize=paraFontSize+UNITS;oParagraphDiv.style.lineHeight=paraLineHeight+UNITS;smallestFontSize=Math.min( smallestFontSize, paraFontSize );}}}
offsetHeight=oTextBoxInnerDiv.offsetHeight;}}}}}}
function NBmouseout(index){var normal=document.getElementById("navbar_"+index+"_normal");var rollover=document.getElementById("navbar_"+index+"_rollover");if (normal && rollover){normal.style.visibility="visible";rollover.style.visibility="hidden";}
return true;}
