function getSizeUnit(s){var ret="";if(s.indexOf("pt")>0) ret="pt";if(s.indexOf("px")>0) ret="px";return ret;} function stripSizeUnit(s){var ret="";if(s.indexOf("pt")>0) ret=s.replace("pt","");if(s.indexOf("px")>0) ret=s.replace("px","");return ret;} function changeFontSize(o,x){if(o.style.fontSize){if(o.style.fontSize==0 || o.style.fontSize=="") o.style.fontSize="10pt";}else{o.style.fontSize="10pt";}sUnit=getSizeUnit(o.style.fontSize);if(x==1) o.style.fontSize=(stripSizeUnit(o.style.fontSize)*1+1)+sUnit;	else o.style.fontSize=(stripSizeUnit(o.style.fontSize)*1-1)+sUnit;return true;} function setFaceSize(x){var oRule;var sUnit;if(document.getElementById){obj=document.getElementById("divContent1");if(obj) changeFontSize(obj,x);obj=document.getElementById("divContent2");if(obj) changeFontSize(obj,x);obj=document.getElementById("divContent3");if(obj) changeFontSize(obj,x);obj=document.getElementById("divContent4");if(obj) changeFontSize(obj,x);if(document.styleSheets) for(i=0;i<document.styleSheets.length;i++) for(j=0;j<document.styleSheets[i].rules.length;j++) if(document.styleSheets[i].rules[j].selectorText) if(document.styleSheets[i].rules[j].selectorText=="P"){oRule=document.styleSheets[i].rules.item(j);changeFontSize(oRule,x);}}}