function SSResizeFrame() { if (document.getElementById('childFrame').contentWindow.document.body) { var tempHeight = parseInt(document.getElementById('childFrame').contentWindow.document.body.clientHeight); if (document.getElementById('childFrame').contentWindow.document.getElementById('janrainModal')) { if (document.getElementById('childFrame').contentWindow.document.getElementById('janrainModal').style.display != 'none') { tempHeight = tempHeight + parseInt(document.getElementById('childFrame').contentWindow.document.getElementById('janrainModal').style.height.replace('px', '')); } } if (docHeight != (tempHeight)) { document.getElementById('childFrame').style.height = parseInt(tempHeight + 20) + 'px'; if (document.getElementById('childFrame').contentWindow.document.getElementById('janrainModal')) { if (document.getElementById('childFrame').contentWindow.document.getElementById('janrainModal').style.display != 'none') { document.getElementById('childFrame').height = tempHeight + parseInt(document.getElementById('childFrame').contentWindow.document.getElementById('janrainModal').style.height.replace('px', '')); } } } docHeight = parseInt(document.getElementById('childFrame').contentWindow.document.body.clientHeight);// + 20; if (document.getElementById('childFrame').contentWindow.document.getElementById('janrainModal')) { if (document.getElementById('childFrame').contentWindow.document.getElementById('janrainModal').style.display != 'none') { docHeight = docHeight + parseInt(document.getElementById('childFrame').contentWindow.document.getElementById('janrainModal').style.height.replace('px', '')); } } } } //http://www.dyn-web.com/tutorials/iframes/height/ function getDocHeight(doc) { doc = doc || document; // stackoverflow.com/questions/1145850/ var body = doc.body, html = doc.documentElement; //alert(body.scrollHeight + ',' + body.offsetHeight + ',' + html.clientHeight + ',' + html.scrollHeight + ',' + html.offsetHeight); var height = Math.max( body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight ); return height; } function setIframeHeight(id) { var ifrm = document.getElementById(id); var doc = ifrm.contentDocument? ifrm.contentDocument: ifrm.contentWindow.document; ifrm.style.height = getDocHeight( doc ) + "px"; // alert(ifrm.style.height); // talker.send('resize', { height: getDocHeight( doc ) }); }
" />
Contest: Red Carpet Movie Awards | West Central Tribune
Skip to main content
Login
Register
Classifieds
CarsHQ
JobsHQ
HomesHQ
ApartmentsHQ
Classifieds
Marketplace
West Central Tribune
Search
Home
Search
Sections
Home
news
Photo gallery: Send your Tuesday storm photos to news@wctrib.com
Headlines
Wrecking crews demolish Cleveland house where three women were held
Bemidji, Minn., police say burglar turns up in woman's bathroom
State Patrol investigating injury crash south of Litchfield
In rebuke, Obama cancels Moscow summit with Putin
More Topics
education
local
nation
region
state
world
sports
NASCAR: Tony Stewart has surgery following Iowa crash
Headlines
WNBA: Lynx beat Silver Stars, run win streak to 10 games
The Insider: On-line registration ends Wednesday midnight for Green Lake Tri
MLB: Electronic trail helped in Biogenesis bans
Pro Golf: Mickelson enters PGA feeling complete after Open triumph
More Topics
Cardinals
Ridgewater
Stingers
prep
college
pro
entertainment
Eileen Brennan of 'Private Benjamin,' 'Clue' dies
Headlines
Deputies: Bynes hospitalized after starting fire
Sonshine's Tent City taking shape in northeast Willmar, Minn.
Coroner: 'Glee' actor Monteith died of overdose
Doctors: Singer Randy Travis now awake after stroke
More Topics
art
music
showcase
theater
television
business
Madison, Minn., theater scripting its own destiny; it's now showing in digital format
Headlines
Jackpot Junction in Morton, Minn., announces casino expansion
Luthier knows no better place than home to practice his craft (with video)
Benson, Minn., luthier's opinion is part of heated debate over Titanic
Willmar, Minn., Care Center sets Oct. 1 closing date
life
Kluver — Reigstad
Headlines
Brouwer — Bouw
Novotny — Morgan
Zondervan — Kroneberger
New London family of seven spends their summers on Little Crow Ski Team
More Topics
celebrations
community
extra
taste
outdoors
obituaries
Marjorie Score Thompson Bjerkager
Headlines
Gladys A. Mattson
Darrell Edward Brecke
Dorothy L. Carlson
Alice R. Sietsema
opinion
Headlines
Editorial: Pain of Warwick murder felt by all
Editorial: Congress should review aiding the enemy law
Editorial: All Minnesota has stake in mining debate
Letter: Miller letter had distortions
Pope Francis is off to an exciting start, striking a chord with people
More Topics
commentary
editorials
letters
cartoons
Weather Forecast
Close
Forecast
Radar
Contest: Red Carpet Movie Awards
{UPICKEM}