//Function to open a 'deeplink' into the framesetfunction loadFrameset(homedb, docUNID){//check if document is in frameset if (parent.location.href == self.location.href) {  window.location.href = homedb + '/fmFrameset?ReadForm&DocID=' + docUNID }}// Function to replace the blue twisties in an view with ones from the image documentsfunction change_twisties(dbpad, twistieExp, twistieCol){for ( i=0; i<document.images.length ; i++ ) {  if( document.images[i].src.indexOf('expand.gif') != -1)   {        document.images[i].src= dbpad + '/vlImages/TwistieExpand/$File/' + twistieExp;   }  else if ( document.images[i].src.indexOf('collapse.gif') != -1)   {     document.images[i].src= dbpad + '/vlImages/TwistieCollapse/$File/' + twistieCol;   }  }}//Function to open a popup windowfunction popWindow(url, name, width, height){   var popup = window.open(url, name, "width="+width+"," +                                                                         "height="+height+"," + 							"scrollbars=1," +                                     "toolbar=yes," +                                     "location=yes," +                                     "directories=yes," +                                     "menubar=yes," +                                     "resizable=yes");  if (popup.focus) {   popup.focus();  }}
