rem: style += "width:" + gPageWidth/10 + unitString() + ";height:" + gPageHeight/10 + unitString() + ";"; 
add: var div = gDoingMetric ? 100 : 10; style += "width:" + gPageWidth/div + unitString() + ";height:" + gPageHeight/div + unitString() + ";"; 
context: function setOrientation(){  var selection = gDialog.orientation.selectedItem;  var style = "background-color:white;";  if ((selection == gDialog.portrait && gPageWidth > gPageHeight) ||       (selection == gDialog.landscape && gPageWidth < gPageHeight)) {    // Swap width/height.    var temp = gPageHeight;    gPageHeight = gPageWidth;    gPageWidth = temp;  }  style += "width:" + gPageWidth/10 + unitString() + ";height:" + gPageHeight/10 + unitString() + ";";  gDialog.marginPage.setAttribute( "style", style );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3de9556dbaf260dad43ab3799791fb88d4852d56/printPageSetup.js/clean/xpfe/communicator/resources/content/printPageSetup.js