function appendIt( elem ) { if (document.body.appendChild) { document.body.appendChild(elem); } else if (document.documentElement.appendChild) { document.documentElement.appendChild(elem); } else if (document.appendChild) { document.appendChild(elem); } } function RELoadCSS( url ) { var elem = document.createElement("link"); elem.rel = "stylesheet"; elem.type = "text/css"; elem.href = url; //document.appendChild( elem ); appendIt( elem ); } function REShowResult( race, year ) { if (race==undefined) { race='50k'; } if (year==undefined) { year=2011; } var r=Math.floor(Math.random()*100000); css = 'http://realendurance.com/REfeedResultStyle.css'; document.getElementById('REresultiFrame').src = 'http://realendurance.com/REfeedResult.php?r='+r+'&race='+race+'&year='+year+'&css=http://realendurance.com/REfeedResultStyle.css&v=&id=733317&header=place,name,age,gender,time,splits'; //document.getElementById('REresultiFrame').style.height='100%'; //document.style.height='100%'; } function REShowWinner( race, year ) { if (race==undefined) { race='50k'; } var r=Math.floor(Math.random()*100000); css = 'http://realendurance.com/REfeedResultStyle.css'; document.getElementById('REresultiFrame').src = 'http://realendurance.com/REfeedRecord.php?r='+r+'&race='+race+'&winners=1&gender=1&css=http://realendurance.com/REfeedResultStyle.css&v=&id=733317&header=place,name,age,gender,time,splits'; } function REShowRecord( race, year ) { if (race==undefined) { race='50k'; } var r=Math.floor(Math.random()*100000); css = 'http://realendurance.com/REfeedResultStyle.css'; document.getElementById('REresultiFrame').src = 'http://realendurance.com/REfeedRecord.php?r='+r+'&race='+race+'&gender=1&&css=http://realendurance.com/REfeedResultStyle.css&v=&id=733317&header=place,name,age,gender,time,splits'; } function REShowFastTime( race, year ) { if (race==undefined) { race='50k'; } if (year==undefined) { year=2011; } var r=Math.floor(Math.random()*100000); css = 'http://realendurance.com/REfeedResultStyle.css'; document.getElementById('REresultiFrame').src = 'http://realendurance.com/REfeedFastTime.php?r='+r+'&race='+race+'&year='+year+'&css=http://realendurance.com/REfeedResultStyle.css&v=&id=733317&header=place,name,age,gender,time,splits'; } function REShowNameIndex( race, year ) { if (race==undefined) { race='50k'; } if (year==undefined) { year=2011; } var r=Math.floor(Math.random()*100000); css = 'http://realendurance.com/REfeedResultStyle.css'; document.getElementById('REresultiFrame').src = 'http://realendurance.com/REfeedNameIndex.php?r='+r+'&race='+race+'&letter=A&year='+year+'&css=http://realendurance.com/REfeedResultStyle.css&v=&id=733317&header=place,name,age,gender,time,splits'; } function REShowAllTimeList( race, year ) { if (race==undefined) { race='50k'; } if (year==undefined) { year=2011; } var r=Math.floor(Math.random()*100000); css = 'http://realendurance.com/REfeedResultStyle.css'; document.getElementById('REresultiFrame').src = 'http://realendurance.com/REfeedAllTimeList.php?r='+r+'&race='+race+'&letter=A&year='+year+'&css=http://realendurance.com/REfeedResultStyle.css&v=&id=733317&header=place,name,age,gender,time,splits'; } function REShowStatistic( race, year ) { if (race==undefined) { race='50k'; } if (year==undefined) { year=2011; } var r=Math.floor(Math.random()*100000); css = 'http://realendurance.com/REfeedResultStyle.css'; document.getElementById('REresultiFrame').src = 'http://realendurance.com/REfeedStatistic.php?r='+r+'&race='+race+'&letter=A&year='+year+'&css=http://realendurance.com/REfeedResultStyle.css&v=&id=733317&header=place,name,age,gender,time,splits'; } function REShowSearch( race, year, first, last ) { if (race==undefined) { race='50k'; } if (year==undefined) { year=2011; } var r=Math.floor(Math.random()*100000); css = 'http://realendurance.com/REfeedResultStyle.css'; document.getElementById('REresultiFrame').src = 'http://realendurance.com/REfeedSearch.php?r='+r+'&nb&race='+race+'&year='+year+'&css=http://realendurance.com/REfeedResultStyle.css&v=&id=733317&first='+first+'&last='+last; } // in REfeedResult.php 0:0:0 >> DNF, set option to show/no show DNF... //Design >> click on name to see summary of all results from that person..., time, place, splits... //generate