/* -- Adobe GoLive JavaScript Library */ /* -- Global Functions */ CSInit = new Array; CSExit = new Array; CSStopExecution=false; function CSAction(array) {return CSAction2(CSAct, array);} function CSAction2(fct, array) { var result; for (var i=0;i= 0) && (bAgent.indexOf("Mozilla/3") >= 0) && (bAgent.indexOf("Mac") >= 0)) return true; /* dont follow link */ else return false; /* dont follow link */ } /* -- Action Functions */ // A Michael Ahgren action - copyright 2002 WindowInnerSize 1.1 function CSWindowInnerSizeInit(action){ if (navigator.userAgent.indexOf("Opera")==-1){ var xCorr=0 var yCorr=0 if(navigator.userAgent.indexOf("Mozilla/4")!=-1&&navigator.userAgent.indexOf("Mac")!=-1){ xCorr=-15 yCorr=-30 } if (action[3]){ maxSizeWindow(action) }else{ if (document.all ){ top.window.resizeTo(screen.availWidth,screen.availHeight); var xChrome=screen.availWidth-document.body.clientWidth var yChrome=screen.availHeight-document.body.clientHeight changeX=action[4]-document.body.clientWidth changeY=action[5]-document.body.clientHeight top.window.resizeBy(changeX,changeY) } else if ((document.layers||document.getElementById)&&!document.all){ top.window.resizeTo(screen.availWidth,screen.availHeight); top.window.innerHeight = action[5]+yCorr top.window.innerWidth = action[4]+xCorr } if (action[6]){ if (document.all){ window.moveTo(parseInt(screen.availWidth/2-(action[4]+xChrome)/2),parseInt(screen.availHeight/2-(action[5]+yChrome)/2)) } else if (document.layers||(document.getElementById&&!document.all)){ window.moveTo(parseInt(screen.availWidth/2-window.outerWidth/2),parseInt(screen.availHeight/2-window.outerHeight/2)) } }else{ window.moveTo(action[1],action[2]) } } } function maxSizeWindow(){ window.moveTo(0,0); if (document.all){ top.window.resizeTo(screen.availWidth,screen.availHeight); } else if (document.layers||document.getElementById){ if (top.window.outerHeight