<!--

/*************************************************************************
*
* ADOBE CONFIDENTIAL
* ___________________
*
*  Copyright 2005 Adobe Systems Incorporated
*  All Rights Reserved.
*
* NOTICE:  All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any.  The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and may be covered by U.S. and Foreign Patents,
* patents in process, and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/

00: B   logo_placeholder                    chpALogo
01: B   NavBar_Big_NEW_03                   chpALogo
02:   C logo                                chpALogo
03:   C NavBar_Small_03                     chpALogo
04: B   Search_            [C] [D]  N   R   chpGo
05: B   SearchAdvanced_    [C]  -   N   R   chpASer
06: B   SearchTips_        [C]  -   N   R   chpTip
07: B C Home_              [C]  -   N   R   chpHome
08: B C PhotographersList_ [C]  -   N   R   chpPDir
09: B C ShoppingCart_      [C]  -   N   R   chpBuy
10: B C YourAccount_       [C]  -   N   R   chpAcn
11:     More_               C   D   N   R   chpMore

        status
    B   NavBar_Big_NEW_01
    B   NavBar_Big_NEW_04
      C NavBar_Small_01
      * NavBar_Big_NEW_06
      * NavBar_Big_NEW_08
      * NavBar_Big_NEW_09
      * NavBar_Big_NEW_10

External functions
	. _cbNav_SetKeyword( escape( key ) )
	. _cbNav_ExecES( str )
	. _cbNav_GetKeyword( i_F_or_W );
	. _cbNav_iExecES( "NavIntFnc.ForceChekingXandY();"  )
	. _cbimgDetail_GetImageNo( "Dummy" )
	. _cbimgDetail_GetTimeOutSec( "Dummy" )
	. _cbimgDetail_Preparation( iiStr )
	. _cbimgDetail_TimeOut( iiStr )
	. _cbimgDetail_PrepOK( iiStr )
	. _cbimgDetail_ClosePrep( iiStr )
	. _cbimgDetail_AllDoneFullMode( "Dummy" )
-->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html;charset=utf-8">
  <meta http-equiv="Expires" content="Tue, 00 Dec 2000 00:00:00 GMT">
  <title>%_DIALOGTITLE%_</title>
  <link href="StockPhoto.css" rel="stylesheet" type="text/css" media="all">
  <style type="text/css" media="screen">
   <!--
    .chip { position:absolute; visibility:hidden; background-color:#FFFFA0; border:1px black solid; font-family: %_PRIMARYFONT%_; font-size:%_CHIP_FONTSIZE%_; color:#000000; } //width:%_CHIP_WIDTH%_
    body  { overflow:hidden }
   -->
  </style>
  <script type="text/javascript">
   <!--
	var cDocumentID     ="%_DOCUMENTID%_";
	var cNavHeight      ="%_NAVHEIGHT%_";
	var WEB_OR_FILE     ="%_WEB_OR_FILE%_"; /* 'f' or 'w' */
	var maxChipY        =%_MAXCHIPY%_;      /* temp must presert */
	var glb_iMg=[ /*00*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*01*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*02*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*03*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*04*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*05*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*06*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*07*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*08*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*09*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*10*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*11*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*12*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*13*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*14*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*15*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*16*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*17*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] },
				  /*18*/ { e:[{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false},{p:undefined,s:false}] } ];
	var tTb=[ /*00*/ { chp:"chpHome",  id:"CLg", Nm:"ALogo",   f:"",  				  e:["", "", "", ""],  l:"", xd:5,   yd:0, p:"displayStartPage(" },
	          /*01*/ { chp:"chpALogo", id:"Cb2", Nm:"ALogo2",  f:"NavBar_small_03",  e:["", "", "", ""],  xd:0,   yd:0,   p:"displayStartPage(" },
	          /*02*/ { chp:"",         id:"",    Nm:"",        f:"",                 e:["", "", "", ""],  xd:0,   yd:0,   p:"" },
	          /*03*/ { chp:"",         id:"",    Nm:"",        f:"",                 e:["", "", "", ""],  xd:0,   yd:0,   p:"" },
	          /*04*/ { chp:"chpGo",    id:"Search",Nm:"ASearch",f:"Search",           e:["C","D","R","N"], l:"", xd:10,  yd:-20, p:"internal Go%_WEB_OR_FILE%_" },
	              /*05*/ { chp:"chpASer",  id:"Split", Nm:"ASplit",  f:"Split",             e:["C","D","R","N"], l:"", xd:10,  yd:-20, p:"" },
	              /*06*/ { chp:"chpTip",   id:"CSt", Nm:"ASerTip", f:"SearchTips",        e:["C","R","R","N"], l:"", xd:10,  yd:-20, p:"DL.MiscDlgs.SearchTips(" },
	              /*07*/ { chp:"chpHome",  id:"CHm", Nm:"AHome",   f:"Home",              e:["C","R","R","N"], l:"", xd:-%_CHIP_WIDTH%_-5, yd:-10,  p:"displayStartPage(" },
	              /*08*/ { chp:"chpHelp",  id:"CHp", Nm:"AHp",     f:"Help",              e:["C","R","R","N"], l:"", xd:-%_CHIP_WIDTH%_-5, yd:-10,  p:"" }, // p is to be filled in during help-icon implementation
	              /*09*/ { chp:"chpBuy",   id:"CBy", Nm:"ABuy",    f:"ShoppingCart",      e:["C","R","R","N"], l:"", xd:-%_CHIP_WIDTH%_-5, yd:-10,  p:"DL.ShoppingCart.ShoppingCartX(" },
	              /*10*/ { chp:"chpAcn",   id:"CMy", Nm:"AMy",     f:"YourAccount",       e:["C","R","R","N"], l:"", xd:-%_CHIP_WIDTH%_-5, yd:-10,  p:"DL.MiscDlgs.MyAccount(" },
	              /*11*/ { chp:"chpMor",   id:"CMor",Nm:"AMor",    f:"MoreResults",       e:["C","R","N","N"], l:"", xd:-%_CHIP_WIDTH%_-5, yd:-40,  p:"" } ];
	var glb_initTryCnt      =0;
	var glb_duringInitialize=true;
	var glb_inInitASub1     =false;
	function getImgData( k, j )
	{
		var oNm, e, fNm;
		if( glb_iMg[k].e[j].s )
		{
			return( glb_iMg[k].e[j].p );
		}
		oNm = tTb[k].f;
		e   = tTb[k].e[j];
		if( e == "" )
		{
			fNm = "%_HTMLImageDir2%_/NavBar/"+oNm+".gif";
		}
		else
		{
			fNm = "%_HTMLImageDir2%_/NavBar/"+oNm+"_"+e+".gif";
		};
		glb_iMg[k].e[j].p     = new Image();
		glb_iMg[k].e[j].p.src = fNm;
		glb_iMg[k].e[j].s     = true;
		return( glb_iMg[k].e[j].p );
	}
	function ChangeButton%_WEB_OR_FILE%_(k,j,x,y)
	{
		var chp, aNm, iNm, rImg;
		if( tTb[k].l == "D" )
		{
			return;
		};
		chp = tTb[k].chp;
		aNm = tTb[k].id;
//		fNm = tTb[k].f;
		iNm = tTb[k].Nm;
//		e   = tTb[k].e[j];
//		if( e == "" )
//		{
//			fNm = "%_HTMLImageDir2%_/NavBar/"+fNm+".gif";
//		}
//		else
//		{
//			fNm = "%_HTMLImageDir2%_/NavBar/"+fNm+"_"+e+".gif";
//		};
//		document.images[ iNm ].src = fNm;
		//rImg = getImgData(k,j);
		//bug 1156400, 1163026 relates to opera bug
		//if( ( rImg != null )&&( document.images[ iNm ].src != rImg.src ) )
		//	document.images[ iNm ].src = rImg.src;
		if( x < ( -9998 ) )
		{
			if( chp != "" )
			{
				document.all[ chp ].style.visibility = "hidden";
			};
			if( aNm != "" )
			{
				document.all[ aNm ].style.cursor = "default";
			};
		}
		else
		{
			if( chp != "" )
			{
				var width = 125;
				switch(k)
				{
					case 7:		//Home page
						width = "%_HOMEPAGE_TOOLTIP_WIDTH%_";
						break;
					case 8:		//Help
						width = "%_HELP_TOOLTIP_WIDTH%_";
						break;
					case 9:		//Shopping cart
						width = "%_SHOPPINGCART_TOOLTIP_WIDTH%_";
						break;
					case 10:	//Your account
						width = "%_YOURACCOUNT_TOOLTIP_WIDTH%_";
						break;
				}

				var cObj = document.all[ chp ].style;
				if( k != 0)
				{
					cObj.left = x - width;
				}
				else
				{
					cObj.left = x + 5;
				}
				cObj.visibility = "visible";
			};
			if( aNm != "" )
			{
				document.all[ aNm ].style.cursor = "hand";
			};
		};
		return( true );
	}
	function BoxClickByName%_WEB_OR_FILE%_(p)
	{
		if(  p != "" )
		{
			call( "_cbNav_ExecES", cDocumentID+p );
		};
		return( true );
	}
	function BoxClick%_WEB_OR_FILE%_(k)
	{
		var p = tTb[k].p;
		return( BoxClickByName%_WEB_OR_FILE%_( p ) );
	}
	function ProcClear()
	{
		; // This is called when contentPaneMode becomes BM's filesystem.
		; // Used for cleaning up.
	}
 	function ProcSetKeyword( escaped_Keyword )
	{
		;
	}
	function ProcBottomNav( escaped_string )
	{
	   ; // WriteDebug( "    --> In eCom / Ignored" );
	}
	// Main initilization process. If the communication between ES and HTML is established,
	// We determine that the communication is established if calling _cbNav_HTMScriptBegin()
	// recieves a return from ES, and at this time, the Search field becomes visible
	// and "glb_duringInitialize" becomes false. initForceEnd() is used to restart
	// all intialization process if JS is quitted during the initializatin process.
	// If we repeated the intialization for 5 times, we reload the page and
	// start again.
	function initForceEnd() { glb_inInitASub1 = false; }
	function initASub2()
	{
		var bStart=false;
		glb_initTryCnt++;
		if( glb_initTryCnt > 5 ) {
			window.location.reload( true ); // start over
		};
		// ------------------------------------------- Retry
		if( glb_duringInitialize )
		{
			setTimeout( "initForceEnd();", 750 );
			if( call( "_cbNav_HTMScriptBegin", cDocumentID+"%_i_W_OR_F%_"+cNavHeight ) == "XXX" )
			{
				glb_duringInitialize = false;
				glb_initTryCnt = 0;
				call( "_cbNav_SetHtmLDStatus", cDocumentID+"%_i_W_OR_F%_" );
			};
		};
		glb_inInitASub1 = false;
		return( true );
	}
	// In the "initASub2()", it happened that calling ES failed and no control
	// was returned back. The "initASub1()" allows to retry the initialization
	// until ES returns to return control to HTML and communication
	// between ES and HTML is established.
	function initASub1()
	{
		if( ! glb_inInitASub1 )
		{
			glb_inInitASub1 = true;
			setTimeout( "initASub2();",10 );
		};
		if( glb_duringInitialize )
		{
			setTimeout( "initASub1();", 500 );
		};
	}

	function LaunchHelpFile()
	{
		call ("_cbNav_RunHelpFile", "");
	}

	function initAll( f )
	{
		initASub1();
		return( true );
	}
   // -->
  </script>
 </head>
 <body onLoad="initAll('f');" bgcolor="#ffffff" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0" style="overflow:hidden">
  <div id="chpALogo" class="chip"> %_MAINPAGE%_ </div>
  <div id="chpHome"  class="chip"> %_MAINPAGE%_ </div>
  <div id="chpBuy"   class="chip"> %_SHOPCART%_ </div>
  <div id="chpHelp"  class="chip"> %_HELP%_ </div>
  <div id="chpAcn"   class="chip"> %_YOURACCNT%_ </div>
   <table width="100%" border="0" cellspacing="0" cellpadding="0">
   <!-- Row 1 -->
    <tr width="100%" class="brandBar" style="height:27px;">
     <td style="height:27px;">
     <table border="0" cellspacing="0" cellpadding="0" style="height:27px;width:100%;">
      <tr class="brandBar1">
       <td style="width:6px;" class="brandBar1" nowrap>
       </td>
       <td style="width:165px;min-width:165px;max-width:165px;" class="brandBar1" nowrap>
        <img id="CLg" name="ALogo" src="%_HTMLImageDir2%_/NavBar/Logo.png" onMouseOver="ChangeButton%_WEB_OR_FILE%_(0,2,event.x,event.y)" onMouseOut="ChangeButton%_WEB_OR_FILE%_(0,3,-9999,-9999)" onClick="BoxClick%_WEB_OR_FILE%_(0)"/>
       </td>
       <td style="width:200px;background:transparent;position:fixed" class="brandBar1" nowrap>
       </td>
       <td align="right" style="width:400px;background-color:#F7F7F7;background:transparent;" nowrap>
	    <a id="CHm" style="cursor:default">
         <img id="Home_N" src="%_HTMLImageDir2%_/NavBar/Home_N.png" name="AHome" usemap="#mAHome" width="22" height="22" border="0">
         <map name="mAHome">
          <area shape="rect" coords="0,0,24,22" nohref
                  onMouseOver=ChangeButton%_WEB_OR_FILE%_(7,2,event.x,event.y) onMouseOut=ChangeButton%_WEB_OR_FILE%_(7,3,-9999,-9999) onClick=BoxClick%_WEB_OR_FILE%_(7)>
         </map>
        </a>
        <a id="CBy" style="cursor:default">
         <img id="ShoppingCart_N" src="%_HTMLImageDir2%_/NavBar/ShoppingCart_N.png" name="ABuy" usemap="#mABuy" width="22" height="22" border="0"> <!--  -->
          <map name="mABuy">
           <area shape="rect" coords="0,0,24,22" nohref
              onMouseOver=ChangeButton%_WEB_OR_FILE%_(9,2,event.x,event.y) onMouseOut=ChangeButton%_WEB_OR_FILE%_(9,3,-9999,-9999) onClick=BoxClick%_WEB_OR_FILE%_(9)>
         </map>
        </a>
        <a id="CMy" style="cursor:default">
         <img id="YourAccount_N" src="%_HTMLImageDir2%_/NavBar/YourAccount_N.png" name="AMy" usemap="#mAMy" width="22" height="22" border="0"> <!--  -->
          <map name="mAMy">
           <area shape="rect" coords="0,0,22,22" nohref
               onMouseOver=ChangeButton%_WEB_OR_FILE%_(10,2,event.x,event.y) onMouseOut=ChangeButton%_WEB_OR_FILE%_(10,3,-9999,-9999) onClick=BoxClick%_WEB_OR_FILE%_(10)>
          </map>
        </a>
        <a id="CHp" style="cursor:default">
         <img id="Help_N" src="%_HTMLImageDir2%_/NavBar/Help_N.png" name="AHp" usemap="#mAHp" width="22" height="22" border="0"> <!--  -->
          <map name="mAHp">
           <area shape="rect" coords="0,0,22,22" nohref onMouseOver=ChangeButton%_WEB_OR_FILE%_(8,2,event.x,event.y) onMouseOut=ChangeButton%_WEB_OR_FILE%_(8,3,-9999,-9999) onClick=LaunchHelpFile()>
          </map>
        </a>
       </td>
       <td class="brandBar1" style="position:static;width:10px;background-color:#F7F7F7;background:transparent;" nowrap>
       </td>
      </tr>
     </table>
     </td>
    </tr>
	</table>
 </body>
</html>
