//THIS IS THE AD RANDOM-ROTATION CODING; NAV BUTTONS ARE BELOW
//actual ads are in valet/top, valet/up_l, and valet/lo_l

//x=first ad; y=last ad
//ads MUST be sequential: 1-4 or 1-33 or 8-19, etc.
//this is the basic formula:
//var rndm = Math.round((x-0.5)+(((y+0.49999)-(x-0.5))* Math.random()))

//"rndm" stands for random
//so below we have "top_rndm" for the top ad (currently 1-17)
//then "ul_rndm" for the upper-left ad (currently 1-9)
//then "ll_rndm" for the lower-left ad (currently 21-44)
//adjust the numbers in the x and y positions as needed
//don't forget -- there are two x's and one y in each formula


//var top_rndm = Math.round((1-0.5)+(((6+0.49999)-(1-0.5))* Math.random()));
//var up_l_rndm = Math.round((1-0.5)+(((9+0.49999)-(1-0.5))* Math.random()));
//var lo_l_rndm = Math.round((21-0.5)+(((44+0.49999)-(21-0.5))* Math.random()));



//PEDIACARD URL CODING -- no need to adjust next two lines
//adjust uuxhA line if the basic pediacard url format should change sometime in future
//var pcrd=new Array();
//uuxhA="http://www.pediacard.com/pedia_merchants/yellowresult.php?goal=Detail&ckey=";

//PEDIACARD URL CODING -- adjust array as needed below
//URLs for top ad and upper-left ads are controlled via the html redirect files
//but the URLs for the lower-left (pediacard) ads are controled in the coding below
//if you want to use a URL that does not follow the pediacard format, do it like this:
//pcrd[5]="http://www.bigbadcar.com"

//pcrd[21]=uuxhA+"371"
//pcrd[22]=uuxhA+"371"
//pcrd[23]=uuxhA+"784"
//pcrd[24]=uuxhA+"451"
//pcrd[25]=uuxhA+"452"
//pcrd[26]=uuxhA+"778"
//pcrd[27]=uuxhA+"785"
//pcrd[28]=uuxhA+"798"
//pcrd[29]=uuxhA+"676"
//pcrd[30]=uuxhA+"672"
//pcrd[31]=uuxhA+"673"
//pcrd[32]=uuxhA+"797"
//pcrd[33]=uuxhA+"678"
//pcrd[34]=uuxhA+"799"
//pcrd[35]=uuxhA+"800"
//pcrd[36]=uuxhA+"677"
//pcrd[37]=uuxhA+"674"
//pcrd[38]=uuxhA+"801"
//pcrd[39]=uuxhA+"679"
//pcrd[40]=uuxhA+"675"
//pcrd[41]=uuxhA+"802"
//pcrd[42]=uuxhA+"803"
//pcrd[43]=uuxhA+"804"
//pcrd[44]=uuxhA+"805"


//END of adjustment area of ad coding
//no need to adjust these three segments

//wTopValet='<a href="/valet/top/t'+top_rndm+'.html" onmouseover="window.status=\'Visit our shop, powered by Osborne Family Enterprises\'; return true"><img src="/valet/top/t'+top_rndm+'" width="728" height="90" border="0"></a>';

//wUpLeftValet='<a href="/valet/up_l/'+up_l_rndm+'.html" target="_blank" onmouseover="window.status=\'Visit our sponsor\'; return true"><img src="/valet/up_l/'+up_l_rndm+'" border="0" width="120" height="60"></a></div>';

//wLoLeftValet='<p><div><a href="'+pcrd[lo_l_rndm]+'" target="_blank" onmouseover="window.status=\'PediaCard\'; return true"><img src="/valet/lo_l/pc'+lo_l_rndm+'" width="120" height="90" border="0"></a></div>';

//END OF ALL AD CODING




//THIS IS THE NAV BUTTON CODING

//var bts1='<a href="/news.html" onMouseOver="document.newsg.src=\'/images/news1.gif\';" onMouseOut="document.newsg.src=\'/images/newsg.gif\';"><img src="/images/newsg.gif" width=36 height=36 alt="Newsstand" name="newsg" border="0"></a><a href="/swell.html" onMouseOver="document.tubeg.src=\'/images/tube1.gif\';" onMouseOut= "document.tubeg.src=\'/images/tubeg.gif\';"><img src="/images/tubeg.gif" width=36 height=36 alt="Graphics-Audio-Video" name="tubeg" border="0"></a><a href="/chat.html" onMouseOver="document.chatg.src=\'/images/chat1.gif\';" onMouseOut="document.chatg.src=\'/images/chatg.gif\';"><img src="/images/chatg.gif" width=36 height=36 alt="Social spot" name="chatg" border="0"></a><a href="/photos/index.html" onMouseOver="document.camg.src=\'/images/cam1.gif\';" onMouseOut="document.camg.src=\'/images/camg.gif\';"><img src="/images/camg.gif" width=36 height=36 alt="Fan photos" name="camg" border="0"></a><a href= "/books.html" onMouseOver="document.booksg.src=\'/images/books1.gif\';" onMouseOut= "document.booksg.src=\'/images/booksg.gif\';"><img src="/images/booksg.gif" width=36 height=36 alt="Huskerpedia home" name="booksg" border="0"></a><a href="/alumni/index.html" onMouseOver="document.mortarg.src=\'/images/mortar1.gif\';" onMouseOut="document.mortarg.src=\'/images/mortarg.gif\';"><img src="/images/mortarg.gif" width=36 height=36 alt="Alumni" name="mortarg" border="0"></a><a href="http://www.huskermax.net" target="_blank" onMouseOver="document.cartg.src=\'/images/cart1.gif\';" onMouseOut="document.cartg.src=\'/images/cartg.gif\';"><img src="/images/cartg.gif" width=36 height=36 alt="Shopping" name="cartg" border="0"></a><a href="/colonel/" onMouseOver="document.grumpg.src=\'/images/grump1.gif\';" onMouseOut="document.grumpg.src=\'/images/grumpg.gif\';"><img src="/images/grumpg.gif" width=36 height=36 alt="Col. Mustard" name="grumpg" border="0"></a><a href="/watch/nebraskawatchsites.html" onMouseOver="document.tvsetg.src=\'/images/tvset1.gif\';" onMouseOut="document.tvsetg.src=\'/images/tvsetg.gif\';"><img src="/images/tvsetg.gif" width=36 height=36 alt="TV watch sites" name="tvsetg" border="0"></a><a href="/misc.html" onMouseOver="document.nballg.src=\'/images/nball1.gif\';" onMouseOut="document.nballg.src=\'/images/nballg.gif\';"><img src="/images/nballg.gif" width=36 height=36 alt="Odds and ends" name="nballg" border="0"></a>';

//var bts2='<a href= "/" onMouseOver="document.homeg.src=\'/images/home1.gif\';" onMouseOut="document.homeg.src=\'/images/homeg.gif\';"><img src="/images/homeg.gif" width=36 height=36 alt="Huskerpedia home" name="homeg" border="0"></a>';

//var bts3='<br><a href="/news.html">News</a> | <a href="/swell.html">Media</a> | <a href="/chat.html">Social</a> | <a href="/photos/index.html">Fan pix</a> | <a href="/books.html">Books</a> | <a href="/alumni/index.html">Alums</a> | <a href="http://www.huskermax.net" target="_blank">Shop</a> | <a href="/colonel/">Col. M</a> | <a href="/watch/nebraskawatchsites.html">Watch</a> | <a href="/misc.html">Misc.</a>';

//var bts4=' | <a href="/">Home</a>';

//function navbuts(){document.write(bts1+bts2+bts3+bts4)}

function navbuts1() {document.write(' ')}

//function navbuts1(){document.write(bts1+bts3)}


var em3="ail.co";
var em1="joeroyhud";
var em4="m?subject=HuskerMax";
var em2="hotm";

