  window.onload = function() {
    var TopSettings = {
      tl: { radius: 20 },
      tr: { radius: 20 },
      bl: { radius: 0 },
      br: { radius: 0 },
      antiAlias: true
    } 

   var BottomSettings = {
      tl: { radius: 0 },
      tr: { radius: 0 },
      bl: { radius: 20 },
      br: { radius: 20 },
      antiAlias: true
    } 

   var fullSmallSettings = {
      tl: { radius: 10 },
      tr: { radius: 10 },
      bl: { radius: 10 },
      br: { radius: 10 },
      antiAlias: true
    } 

   var fullLargeSettings = {
      tl: { radius: 20 },
      tr: { radius: 20 },
      bl: { radius: 20 },
      br: { radius: 20 },
      antiAlias: true
    } 

    var topWhiteDivObj = document.getElementById("topWhiteDiv"); 

    curvyCorners(TopSettings, topWhiteDivObj);

    var bottomRedDivObj = document.getElementById("bottomRedDiv"); 

    curvyCorners(BottomSettings, bottomRedDivObj);

    var topBlackDivObj = document.getElementById("topBlackDiv"); 

    curvyCorners(TopSettings, topBlackDivObj);

    var bottomWhiteDivObj = document.getElementById("bottomWhiteDiv"); 

    curvyCorners(BottomSettings, bottomWhiteDivObj);

    var fullBlackDivObj = document.getElementById("fullBlackDiv"); 

    curvyCorners(fullSmallSettings, fullBlackDivObj);

    var topRedDivObj = document.getElementById("topRedDiv"); 

    curvyCorners(TopSettings, topRedDivObj);

    var detailsDivObj = document.getElementById("details"); 

    curvyCorners(fullLargeSettings, detailsDivObj);

    var bottomBlackDivObj = document.getElementById("bottomBlackDiv"); 

    curvyCorners(BottomSettings, bottomBlackDivObj);
	
	var topBlackDivObj = document.getElementById("top-browse"); 

    curvyCorners(TopSettings, topBlackDivObj);
		
	var bottomBlackDivObj = document.getElementById("bottom-browse"); 

    curvyCorners(BottomSettings, bottomBlackDivObj);
	
	var viewCartDivObj = document.getElementById("viewCartButton"); 

    curvyCorners(fullSmallSettings, viewCartDivObj);

	var addCartDivObj = document.getElementById("addCartButton"); 

    curvyCorners(fullSmallSettings, addCartDivObj);
	
	var askQuestionDivObj = document.getElementById("askQuestionButton"); 

    curvyCorners(fullSmallSettings, askQuestionDivObj);
	
	var topBlackDivObj2 = document.getElementById("top-browse2"); 

    curvyCorners(TopSettings, topBlackDivObj2);
		
	var bottomBlackDivObj2 = document.getElementById("bottom-browse2"); 

    curvyCorners(BottomSettings, bottomBlackDivObj2);


  }
