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 ) }); }
" />
Upickem: High School Basketball Picks Contest | West Central Tribune
Skip to main content
Warwick, Junkermeier indicted on first-degree murder charges
Login
Register
Classifieds
CarsHQ
JobsHQ
HomesHQ
ApartmentsHQ
Classifieds
Marketplace
West Central Tribune
Search
Home
Search
Sections
Home
news
House Republicans ignore Obama veto threat on spending bill
Headlines
Halliburton pleads guilty to destroying Gulf spill evidence
Strong storms bring wind, rain to west central Minn.
Warwick, Junkermeier indicted on first-degree murder charges
Bail set at $3 million in Granite Falls double homicide
More Topics
education
local
nation
region
state
world
sports
Willmar notebook: Taking the road to Ridgewater
Headlines
College volleyball: Warriors blank Minnesota West
Vikings need Ponder to build on decent half
College football: Essler, Bungum are team leaders as SJU?heads into new era
The Insider
More Topics
Cardinals
Ridgewater
Stingers
prep
college
pro
entertainment
'Bus Stop': Bittersweet comedy now playing on The Barn stage in Willmar, Minn.
Headlines
Affleck to play Batman in 'Man of Steel' sequel
NLS grad and former professional athlete hits stride in Nashville music scene
More Topics
art
music
showcase
theater
television
business
Apple iPhone fingerprint scanner gets plaudits in early reviews
Headlines
Walgreen shifting employees to private healthcare exchanges
October Business2Business: Make it or break it time
Keeping farmers going: Farm implement dealers working out in the field
Not your grandpa’s Poppin’ Johnny
life
Enter the First Day of School Photo contest
Headlines
Peters — Hellickson
Stamos — Johnson
Jensen — Goeman
Trains keep Japan flowing
More Topics
celebrations
community
extra
taste
outdoors
obituaries
Headlines
Frances Anderson
Paul H. Roediger
Darwin K. Jacobson
Myron H. Evenson
Jeanette Imes
opinion
Headlines
Tribune editorial: Violence is hurting many in our towns
Letter: County provides clarification
Letter; An unforgettable circus
Letter: Save us from religious tyranny
Editorial: Grass Lake plan is a positive step
More Topics
commentary
editorials
letters
cartoons
Weather Forecast
Close
Forecast
Radar
Upickem: High School Basketball Picks Contest
{UPICKEM}
randomness