//******************************************************************* //** SMR_RESIZE_MOD: CONFIGURATION ********************************** //******************************************************************* SMR_confMaxDim = 280; // pixels //******************************************************************* //** SMR_RESIZE_MOD: START CODE ************************************* //******************************************************************* function SMR_resize(obj) { thisWidth = obj.width; thisHeight = obj.height; if(thisWidth > thisHeight) thisMaxDim = thisWidth; else thisMaxDim = thisHeight; if(thisMaxDim > SMR_confMaxDim) { thisMinDim = Math.round((((thisWidth > thisHeight)?thisHeight:thisWidth) * SMR_confMaxDim) / thisMaxDim); if(thisWidth > thisHeight) { thisWidth = SMR_confMaxDim; thisHeight = thisMinDim; } else { thisHeight = SMR_confMaxDim; thisWidth = thisMinDim; } } // if(thisMaxDim > SMR_confMaxDim) obj.height = thisHeight; obj.width = thisWidth; } function SMR_setLink(obj) { thisInnerHtml = obj.innerHTML; tmpArray = thisInnerHtml.split(' src=\"'); tmpArray = tmpArray[1].split('"'); obj.href = tmpArray[0]; } //******************************************************************* //** SMR_RESIZE_MOD: END ******************************************** //******************************************************************* /*********************************************** * IFrame SSI script II- © Dynamic Drive DHTML code library (http://www.dynamicdrive.com) * Visit DynamicDrive.com for hundreds of original DHTML scripts * This notice must stay intact for legal use ***********************************************/ //Input the IDs of the IFRAMES you wish to dynamically resize to match its content height: //Separate each ID with a comma. Examples: ["myframe1", "myframe2"] or ["myframe"] or [] for none: var iframeids=["myframe"] //Should script hide iframe from browsers that don't support this script (non IE5+/NS6+ browsers. Recommended): var iframehide="yes" var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1] var FFextraHeight=parseFloat(getFFVersion)>=0.1? 16 : 0 //extra height in px to add to iframe in FireFox 1.0+ browsers function resizeCaller() { var dyniframe=new Array() for (i=0; i