whstub - / WebHelp 5.10.002...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
window.whname="wh_stub"; function getframehandle(frames,framename) { var frame=null; if(null==frames) return null; for(var i=0;i<frames.length;i++) { if(typeof(frames[i].name)!="unknown") { if(frames[i].name==framename) return frames[i]; } if(frames[i].frames.length>0) { frame=getframehandle(frames[i].frames,framename); if(null!=frame) return frame; } } return frame; } function AddToArray(arr,obj) { var bFound=false; for(var i=0;i<arr.length;i++){ if(arr[i]==obj){ bFound=true; break; } else if(arr[i]==null){ break; } } if(!bFound) arr[i]=obj; } var gArrayRegistedMessage=new Array(); var gArrayCompoentsArray=new Array(); function GetComponentsArray(nMessageId) { var len=gArrayRegistedMessage.length; for(var i=0;i<len;i++) { if(gArrayRegistedMessage[i]==nMessageId){ if(gArrayCompoentsArray.length>i) return gArrayCompoentsArray[i]; else return null; } } return null; } function CreateComponentsArray(nMessageId) { var len=gArrayRegistedMessage.length; gArrayRegistedMessage[len]=nMessageId;
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

whstub - / WebHelp 5.10.002...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online