// load swf externally to avoid tripping IE's ActiveX issue document.write( '' ); document.write( '' ); document.write( '' ); document.write( '' ); document.write( '' ); document.write( ' ' ); document.write( ' ' ); // API access to load documents function loadGravelContent( param ) { path = param.replace("/redesign",""); if( document.iframesfix ) { // To fix IE6(?) flash buttons problem (ie. second time goes to blank page), // maybe comment out last 2 lines -- doGetPage and doGetNav -- // this may be calling doGetPage twice (thus calling doGetNav twice) // try: // if( window.location.href.indexOf("content.php") < 0 ) { doGetPage( path ); } document.getElementById('ajaxnav').setAttribute('src', 'ieloader.php?hash=' + path ); document.getElementById('ajaxnav').style.display = "none"; document.getElementById('ajaxnav').style.position = "absolute"; document.getElementById('ajaxnav').style.left = "0 px"; document.getElementById('ajaxnav').style.top = "0 px"; document.getElementById('ajaxnav').style.width = "320 px"; document.getElementById('ajaxnav').style.height = "240 px"; doGetPage( path ); doGetNav( path ); } else { window.location.href = "/v2/#" + path; } }