
function GWAUtility()
{this.sizes=new Array('10px','12px','14px','16px','18px','20px','22px');this.startSize=1;this.testFlashPlayer=function()
{if((navigator.appName=="Microsoft Internet Explorer"&&navigator.appVersion.indexOf("Mac")==-1&&navigator.appVersion.indexOf("3.1")==-1)||(navigator.plugins&&navigator.plugins["Shockwave Flash"])||navigator.plugins["Shockwave Flash 2.0"])
{return true;}
else
{return false;}}
this.testPopup=function()
{var pop=window.open("#","","width=1, height=1, top=0, left=0, scrollbars=no, status=no, resizable=no, directories=no, location=no, menubar=no, titlebar=no, toolbar=no");if(pop==null)
{return false;}
pop.close();return true;}
this.changeFontSize=function(elementId,resizeTo){var elem=document.getElementById(elementId);this.startSize+=resizeTo;if(this.startSize<0){this.startSize=0;}else if(this.startSize>this.sizes.length){this.startSize=this.sizes.length;}
elem.style.fontSize=this.sizes[this.startSize];}}
gwaUtility=new GWAUtility();
