
	//Added the below code for fixing sIFR issue in Add to Bag page - by Balaji
	var hoefler_roman = {
	  src: '/html/includes/proddisplay/hoefler_roman.swf'
	};
	
	sIFR.repaintOnResize = false;
	sIFR.useStyleCheck = true;
	sIFR.activate(hoefler_roman);
	
	sIFR.replace(hoefler_roman, {
	  selector: 'div.headings h1',
	  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	  css:
	  [
	      '.sIFR-root {  color: #000000; font-size:16px; letter-spacing: 0;}'
	      ,'a { text-decoration: none; }'
	      ,'a:link { color: #000000; }'
	      ,'a:hover { color:#000000; }'
	    ],
	 // leading: -50,
	 tuneHeight: -4,
	 offsetTop: 0,
	 wmode: 'transparent'
	});
	
	sIFR.replace(hoefler_roman, {
	  selector: 'div.headings h2',
	  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	  css:
	  [
	      '.sIFR-root {  color: #000000; letter-spacing: 0;}'
	      ,'a { text-decoration: none; }'
	      ,'a:link { color: #000000; }'
	      ,'a:hover { color:#000000; }'
	    ],
	 // leading: -50,
	 tuneHeight: -3,
	 offsetTop: 0,
	 wmode: 'transparent'
	});
	
	
	sIFR.replace(hoefler_roman, {
	  selector: 'div.headings h3',
	  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	  css:
	    [
	      '.sIFR-root {  color:#000000; letter-spacing: 0;}'
	      ,'a { text-decoration: none; }'
	      ,'a:link { color:#000000; }'
	      ,'a:hover { color:#000000; }'
	
	    ],
	  // leading: -50,
	  tuneHeight: -3,//-5
	  offsetTop: -1,
	  wmode: 'transparent'
	});
	
	sIFR.replace(hoefler_roman, {
	  selector: 'h3.sub-heads', 
	  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	  css: 
	    [
	      '.sIFR-root {  color:#333333; letter-spacing: 0;}'
	      ,'a { text-decoration: none; }'
	      ,'a:link { color:#333333; }'
	      ,'a:hover { color:#333333; }'
		  
	    ],
	  // leading: -50,
	  tuneHeight: -3,//-5
	  offsetTop: -1,
	  wmode: 'transparent'
	});
	sIFR.replace(hoefler_roman, {
	  selector: 'div.headings h4',
	  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	  css:
	    [
	      '.sIFR-root {  color:#000000; font-size:12px; letter-spacing: 0;}'
	      ,'a { text-decoration: underline; }'
	      ,'a:link { color:#000000; }'
	      ,'a:hover { color:#000000; }'
	
	    ],
	  // leading: -50,
	  tuneHeight: -3,//-5
	  offsetTop: -1,
	  wmode: 'transparent'
	});
	// sIFR issue fix ends here - by Balaji

    NS4 = (document.layers) ? true : false;
    this.name="viewBag";



    function CheckoutPopup(url) {
                                window.open(url, 'noscroll', 'height=425,width=394,scrollbars=no,scrolling=no,left=20,top=20');
    }

     function CheckoutPopup2(url) {
                                window.open(url, 'scroll', 'height=425,width=394,scrollbars=yes,scrolling=yes,left=20,top=20');
    }

     function CheckoutPopupoffercode(url) {
                                window.open(url, 'scroll', 'height=425,width=419,scrollbars=no,scrolling=no,left=20,top=20');
    }

     function menuOver(name,itemCounter,mode)
     {
                        if (mode == "on"){
                                eval("document.images['edit_" +itemCounter + "'].src='/images/common/buttons/' + name + '_on.gif';");
                        } else{
                        eval("document.images['edit_" +itemCounter + "'].src='/images/common/buttons/' + name + '.gif';");
                        }
        }



