var buttonframe = top.frames["datacapture_buttonframe"];var loc = new String(unescape(buttonframe.location));var re = /blank\.html/;if (loc.match(re) || (buttonframe.document.links.length == 0)){ // Give the button frame a chance to load. window.setTimeout('hideButtons()',120); return;}