//
//  STEP ONE OF TWO: FILL IN THE ROTATION RANGES OF THE THREE ADS
//


var begin_TopAdRotate  =  3;
var   end_TopAdRotate  =  14;

var begin_UpLeftRotate =  1;
var   end_UpLeftRotate =  8;

var begin_LoLeftRotate = 23;
var   end_LoLeftRotate = 46;



//  DO NOT ALTER THE NEXT TWO LINES
var pcrd=new Array();
uuxhA="http://www.pediacard.com/pedia_merchants/yellowresult.php?goal=Detail&ckey=";



//
//  STEP TWO OF TWO: FILL IN THE LOWER-LEFT URLS
//
// INSTRUCTIONS
// pcrd[1] represents the ad named pc1, and so on
// URLs can be given as a full URL like so:
//    "http://www.pediacard.com/pedia_merchants/yellowresult.php?goal=Detail&ckey=88"
// Or, if it's a PediaCard address that matches the form above, it can be shortened like this:
//     uuxhA+"88"
// Note that quote marks surround a full address, but only the key number in the abbreviated address
// The address for No. 16 below is slightly nonstandard, so the full URL is used
// END OF INSTRUCTIONS. Adjust the URLs as needed below.
//

pcrd[1]=uuxhA+"100"
pcrd[2]=uuxhA+"99"
pcrd[3]=uuxhA+"43"
pcrd[4]=uuxhA+"71"
pcrd[5]=uuxhA+"113"
pcrd[6]=uuxhA+"101"
pcrd[7]=uuxhA+"77"
pcrd[8]=uuxhA+"65"
pcrd[9]=uuxhA+"115"
pcrd[10]=uuxhA+"93"
pcrd[11]=uuxhA+"50"
pcrd[12]=uuxhA+"76"
pcrd[13]=uuxhA+"64"
pcrd[14]=uuxhA+"61"
pcrd[15]=uuxhA+"114"
pcrd[16]="http://www.pediacard.com/pedia_merchants/yellowresult.php?goal=Dynamic+Listing+Search&category=Restaurants+-+Sandwich&recordDisplay=oneLine"
pcrd[17]=uuxhA+"118"
pcrd[18]=uuxhA+"474"
pcrd[19]=uuxhA+"282"
pcrd[20]=uuxhA+"776"
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"
pcrd[45]=uuxhA+"479"
pcrd[46]=uuxhA+"639"


//
// CONGRATULATIONS! You'RE FINISHED
// DANGER: DO NOT ADJUST ANY CODING FROM HERE ON
//

var tprndm = Math.round((begin_TopAdRotate-0.5)+(((end_TopAdRotate+0.49999)-(begin_TopAdRotate-0.5))* Math.random()));

var ulrndm = Math.round((begin_UpLeftRotate-0.5)+(((end_UpLeftRotate+0.49999)-(begin_UpLeftRotate-0.5))* Math.random()));

var llrndm = Math.round((begin_LoLeftRotate-0.5)+(((end_LoLeftRotate+0.49999)-(begin_LoLeftRotate-0.5))* Math.random()));

wTopValet='<a href="/valet/top/t'+tprndm+'.html" onmouseover="window.status=\'Visit our sponsor\'; return true"><img src="/valet/top/t'+tprndm+'" width="468" height="60" border="0"></a>';

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

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