<!--
/*************************************************************************
*
* 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.
**************************************************************************/


-->
<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>Adobe Creative Suite Stock Photos</title>
    <link rel="stylesheet" href="StockPhoto.css" type="text/css">
    <style>
        .chip { position:absolute; visibility:hidden; background-color:#FFFFA0; border:1px black solid; padding:1px; font-family: %_TOOL_TIP_FONT%_; font-size: %_TOOL_TIP_FONTSIZE%_; color:#000000; width:%_TOOL_TIP_WIDTH%_;} 
        #Header { visibility: visible; position: absolute; top: %_MAIN_HDR_TOP%_; left: %_MAIN_HDR_LEFT%_; width: %_MAIN_HDR_WIDTH%_; height: %_MAIN_HDR_HEIGHT%_ }
        #Links { visibility: visible; position: absolute; top: %_MAIN_LINKS_TOP%_; left: %_MAIN_LINKS_LEFT%_; width: %_MAIN_LINKS_WIDTH%_; height: %_MAIN_LINKS_HEIGHT%_ }
        #Table  { visibility: visible; position: absolute; top: %_MAIN_TBL_TOP%_; left: %_MAIN_TBL_LEFT%_; width: %_MAIN_TBL_WIDTH%_; height: %_MAIN_TBL_HEIGHT%_; overflow: %_MAIN_TBL_OF%_ }
        #FooterMargin {margin-left:%_FOOTER_MARGIN_L%_; margin-right:%_FOOTER_MARGIN_R%_; padding:%_FOOTER_PADDING%_}
    </style>

    <SCRIPT TYPE="text/javascript">
    <!--
     // Bug No. 1256703 
     var blockCartEvents = false;
     
     function ShowHelpToolTip( x, y, offsetY, visible)
     {
         var cObj = document.all[ 'chpHelpToolTip'].style;
         
         if( cObj != undefined )
         {
             cObj.left = x - %_TOOL_TIP_WIDTH%_ + document.body.scrollLeft;         
             
             if("undefined" != typeof offsetY ) 
             {
                cObj.top = (y - offsetY) + %_HELP_TOOLTIP_YPOS%_;  
             }
             else // rare case when the browser does not define offsetY
             {    
                cObj.top = y + %_HELP_TOOLTIP_YPOS%_;
             }
                 
             if( "true" == visible )
             { 
                 cObj.visibility = 'visible';
             }
             else
             {
                 cObj.visibility = 'hidden';
             }
         }
     }

    var PrevSubTotalNodeIsw = 1;
    var PrevSubTotalNode;
    var PrevProgressNodeIsw = 1;
    var PrevProgressNode;
    var currencySymbol;
    var currency;
	var CTPobj={ p0:-1, p1:"0", p2:1, p3:2, p4:"0", p5:"1", HtmlSymbol:"US$", justify:"left" };

    function ChangePrice()
    {
	var sum = 0.0;
	/*B*/ var radioNo=0;
	/*B*/ call( "_cbMisc_changePriceBegin", "" );
	for (var i = 0; i < window.document.forms[0].elements.length ; i++)
	{
		if (window.document.forms[0].elements[i].type == "radio")
		{
			if (window.document.forms[0].elements[i].checked)
			{
				var t = window.document.forms[0].elements[i].value;
				var p = t.split(" ");
				sum += parseFloat(p[0]);
				/*B*/ call( "_cbMisc_changePrice", radioNo+"+"+t );
			}
			/*B*/ radioNo++;
		}
	}
 	/*B*/ sumStr = "" + (sum + 0.005);
	/*B*/ var index3 = sumStr.indexOf(".");
	/*B*/ if (index3 >=0)
	/*B*/	sumStr = sumStr.slice(0, index3 + 3);
	/*B*/ call( "_cbMisc_changePriceEnd", sumStr+"+"+currency );

	var sumStr;
	if( CTPobj.p0 >= 0 )
	{
		var ss;
		ss = ConvertToPriceString( sum );
		sumStr = ss.v1 + ss.v2;
	}
	else
	{
		if (currency == "JPY")
			sumStr = "" + Math.floor(sum);
		else
		{
			sumStr = "" + (sum + 0.005);
			var index = sumStr.indexOf(".");
			if (index >=0)
				sumStr = sumStr.slice(0, index + 3);
		}
	}

	var str   = sumStr;
	var theID = document.getElementById("subtotal");
	var CurrSubTotalNode = document.createTextNode( str );
	if (PrevSubTotalNodeIsw == 1)
	{
		PrevSubTotalNodeIsw = 0;
		theID.appendChild( CurrSubTotalNode );
	}
	else
		theID.replaceChild( CurrSubTotalNode, PrevSubTotalNode );

	PrevSubTotalNode = CurrSubTotalNode;

	var obj = window.document.LSCForm.checkout;
	// don't reset the focus when price changes - rwe
	//	obj.focus();
    }

    function ChangeStatus(input)
    {
        var str = input;
        var theID = document.getElementById("cartstatus");
        var CurrSubTotalNode = document.createTextNode(str);
        theID.appendChild( CurrSubTotalNode );
    }

    function DeleteItem(index)
    {
        // Do not delete in case checkout is in progress
        if (true == blockCartEvents)
        {
			return;
        }
        blockCartEvents = true;
        window.document.LSCForm.DeleteLSCItem.value = index;
        window.document.LSCForm.call.value = "shoppingCart.deleteShoppingCartItem";
        window.document.LSCForm.submit();
    }

    function MouseOver(imageName, prefix)
    {
        if (prefix == undefined)
            window.document.images[imageName].src = "trash_R.gif";
        else
            window.document.images[imageName].src = prefix + "_R.gif";
    }
    function MouseOut(imageName, prefix)
    {
        if (prefix == undefined)
            window.document.images[imageName].src = "trash_N.gif";
        else
            window.document.images[imageName].src = prefix + "_N.gif";
    }
    function MouseDown(imageName, prefix)
    {
        if (prefix == undefined)
            window.document.images[imageName].src = "trash_C.gif";
        else
            window.document.images[imageName].src = prefix + "_C.gif";
    }

    function CheckOut()
    {
        if (true == blockCartEvents)
        {
            return;
        }
        blockCartEvents = true;
        document.all("SpinWheel").style.visibility  = "visible";
        var theID = document.getElementById("SpinWheel");
        var str = "  %_PROGRESS_TEXT%_";
        var CurrProgressNode = document.createTextNode(str);
        if (PrevProgressNodeIsw == 1)
        {
            PrevProgressNodeIsw = 0;
            theID.appendChild( CurrProgressNode );
        }
        else
            theID.replaceChild( CurrProgressNode, PrevProgressNode );
        PrevProgressNode = CurrProgressNode;

        window.document.LSCForm.DeleteLSCItem.value = "No";
        window.document.LSCForm.call.value = "checkout.checkoutLSCItems";
        window.document.LSCForm.load.value = "2";
		/*B*/ call( "_cbMisc_endShCart", "checkout.checkoutLSCItems" );
        window.document.LSCForm.submit();
    }

    function ImageDetail(index)
    {
        window.document.LSCForm.DeleteLSCItem.value = "No";
        window.document.LSCForm.item.value = index;
        window.document.LSCForm.call.value = "shoppingCart.showDetail";
        window.document.LSCForm.load.value = "14";
        window.document.LSCForm.submit();
    }

    function PrintShoppingCart()
    {
        window.document.LSCForm.DeleteLSCItem.value = "No";
        window.document.LSCForm.call.value = "shoppingCart.printShoppingCart";
        window.document.LSCForm.load.value = "14";
        window.document.LSCForm.submit();
    }

    function FooterCallback(callback)
    {
        window.document.LSCForm.DeleteLSCItem.value = "No";
        window.document.LSCForm.call.value = callback;
        window.document.LSCForm.load.value = "14";
        window.document.LSCForm.submit();
    }

    function ContinueBrowsing()
    {
        window.document.LSCForm.DeleteLSCItem.value = "No";
        window.document.LSCForm.call.value = "shoppingCart.continueBrowsing";
        window.document.LSCForm.load.value = "14";
        window.document.LSCForm.submit();
    }

    function CreateImageTag( EfNm, Ebs, Ualt, bAlt )
    {
		var newImgH, newImgW, ratio;
		var UfNm = unescape( EfNm ); // fileName:     ZE_'29'700000736.jpg
		var Ubs  = unescape( Ebs );  // resetRet.bs:  ZE_\x2729\x27700000736.jpg
		//  Ualt                     // resetRet.alt: _tmpJpg_ZE__29_700000736.jpg

        // dimension calculation
		var myImg = new Image();
		eval( "myImg.src = \""+Ubs+"\";" );
		
		//added by aman
		if(Ubs.lastIndexOf("#") >= 0)
		 {
          Ubs = Ebs.replace('#','%23');
         }
		
	   if((myImg.height == 0) &&  (myImg.width == 0))
        {
            newImgW = %_THUMBNAIL_WIDTH%_;
            newImgH = %_THUMBNAIL_HEIGHT%_;
        }
        else
        {   
            if (myImg.height < myImg.width)
    		{
    			newImgW = %_THUMBNAIL_WIDTH%_;
    			ratio = myImg.width / newImgW;
    			newImgH = Math.ceil(myImg.height / ratio);
    		}
    		else
    		{
    			newImgH = %_THUMBNAIL_HEIGHT%_;
    			ratio = myImg.height / newImgH;
    			newImgW = Math.ceil(myImg.width / ratio);
    		}
        }
      
        if(Ualt.lastIndexOf("#") >= 0)
		 {
            Ualt = Ualt.replace('#','%23');  
         }
         
		var script = "<img WIDTH=" + newImgW + " HEIGHT=" + newImgH + " src=\"" + Ualt +"\"/>";
	    document.write(script);
    }

    function SayIAmReady(k) {
      if( k < 2 )
			setTimeout( "SayIAmReady("+((k+1).toString())+");", 1000 );
      else {
			call( "_cbMisc_HTMScriptReady", "x" );
			/*B*/ call ("_burpUrl_omitBurpUrl", "" );
	  };
    };
	// <USD Type="String" p0="2" p1="0" p2="1" p3="2" p4="0" p5="1" justify="left" Value="dollar"/>
	function CTPformatPrice( priceStr, nOfDecPnt, DecPntType, ThousandType )
	{
		var s, p, imax, ch, out, k, i, imax, v = parseFloat( priceStr );
		switch( nOfDecPnt )
		{
			case  0: v += 0.5;  break;
			case  1: v += 0.05; break;
			default: v += 0.005;
		}
		if( v <= 0 )
			v = 0;
		s = v.toString();
		p = s.indexOf( "." );
		if( p < 0 )
		{
			s += ".";
			p = s.indexOf( "." );
		};
		s += "000";
		switch( nOfDecPnt )
		{
			case  0: imax = p; break;
			default: imax = p + 1 + nOfDecPnt;
		}
		switch( ThousandType )
		{
			case '2': ch = ' '; break;
			case '1': ch = ','; break;
			default:  ch = '.';
		}
		out = "";
		k   = p % 3;
		for( i=0; i<imax; )
		{
			if( i == p )
			{
				if( DecPntType == '1' )
				     out += ',';
				else out += '.';
				i++;
				continue;
			}
			out += s.charAt( i );
			i++;
			if( i < p )
			{
				if( k == 1 )
					out += ch;
				if( ( --k ) < 0 )
					k = 2;
			}
		}
		return( out );
	}
	function ConvertToPriceString( priceStr )
	{
		var ret={}, r=["",""];
		if( CTPobj.p1 == "0" )
		{
			r[0] = CTPobj.ScriptSymbol;
			for( i=0; i<CTPobj.p2; i++ )
				r[0] += ' ';
			r[1] = CTPformatPrice( priceStr, CTPobj.p3, CTPobj.p4, CTPobj.p5 );
		}
		else
		{
			r[0] = CTPformatPrice( priceStr, CTPobj.p3, CTPobj.p4, CTPobj.p5 );
			for( i=0; i<CTPobj.p2; i++ )
				r[1] += ' ';
			r[1] = CTPobj.ScriptSymbol;
		}
		switch( CTPobj.justify )
		{
			case "both":  ret.v1 = r[0];      ret.v2 = r[1];      break;
			case "right": ret.v1 = " ";       ret.v2 = r[0]+r[1]; break;
			default:      ret.v1 = r[0]+r[1]; ret.v2 = " ";
		}
		return( ret );
	}
    //-->
    </SCRIPT>

  </head>

    <body onload="SayIAmReady(0);" bgcolor="#ffffff"> <!-- text="#000000"> -->


<!-- Bug No. 1256703 -->
   <div id="chpHelpToolTip" class="chip"> %_MAIN_HELP_LINK_TOOLTIP%_ </div>

    <!-- Layout table -->
    <table>
    <!-- First layout table row-->
    <tr> <td height="%_MAIN_TOP_HEIGHT%_">
        <div id="Header"><span class="header">%_MAIN_TITLE%_</span></div>
        <div id="Links">
            <table cellSpacing="0" cellPadding="0" width="%_MAIN_LINKS_WIDTH%_" border="0">
                <tr>
                    <td class="contextual" align="right">
<!-- Bug No. 1256703  NOTE: If this link is moved, please make sure that the tool-tip positioning
                      is verified. -->
                     <A class="a"
                      onMouseOver="ShowHelpToolTip(event.x, event.y, event.offsetY,'true');" 
                      onMouseOut="ShowHelpToolTip(event.x, event.y, event.offsetY,'false');"
                      onClick="document.location='http://LocalShoppingCart.htm?sptrigger=localHTML&call=shoppingCart.help&load=14'; return true;">
                     %_MAIN_HELP%_</A></td>
                </tr>
            </table>
        </div>

    </td></tr>

    <!-- Second layout table row-->
    <tr> <td>

    <FORM ACTION="st14ShoppingCart.htm" NAME="LSCForm">
    <INPUT TYPE=HIDDEN NAME="sptrigger" VALUE="localHTML">
    <INPUT TYPE=HIDDEN NAME="call" VALUE="">
    <INPUT TYPE=HIDDEN NAME="load" VALUE="14">
    <INPUT TYPE=HIDDEN NAME="DeleteLSCItem" VALUE="No">
    <INPUT TYPE=HIDDEN NAME="item" VALUE="">

    <table width="%_MAIN_TBL_WIDTH%_" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td class="bold_body" colspan=4 align=LEFT><div id="cartstatus">  </div> </td>
        </tr>
        <tr> <td height="5"> </td> </tr>
        <tr>
            <td width=%_TBL_TD1_W%_ align=LEFT class="columnheader"> %_MAIN_TH_IMAGE%_ </td>
            <td width=%_TBL_TD2_W%_ align=LEFT class="columnheader"> %_MAIN_TH_RESOLUTION%_ </td>
            <td width=%_TBL_TD3_W%_ align=LEFT class="columnheader"> %_MAIN_TH_PRICE%_  </td>
            <td width=%_TBL_TD4_W%_ align=CENTER class="columnheader"> %_MAIN_TH_DELETE%_ </td>
        </tr>
    </table>
