//pcnavbaren

//jumptop
var displayed="<nobr><font size=2 face=arial><b>(Top)</b></font></nobr>"

var logolink='javascript:window.scrollTo(0,0)'
var ns4=document.layers
var ie4=document.all
var ns6=document.getElementById&&!document.all

function regenerate(){
window.location.reload()
}
function regenerate2(){
if (ns4)
setTimeout("window.onresize=regenerate",400)
}

if (ie4||ns6)
document.write('<span id="logo" style="position:absolute;top:-300;z-index:100">'+displayed+'</span>')

function createtext(){ //function for NS4
staticimage=new Layer(5)
staticimage.left=-300
staticimage.document.write('<a href="'+logolink+'">'+displayed+'</a>')
staticimage.document.close()
staticimage.visibility="show"
regenerate2()
staticitns()
}

function staticit(){ //function for IE4/ NS6
var w2=ns6? pageXOffset+w : document.body.scrollLeft+w
var h2=ns6? pageYOffset+h : document.body.scrollTop+h
crosslogo.style.left=w2
crosslogo.style.top=h2
}

function staticit2(){ //function for NS4
staticimage.left=pageXOffset+window.innerWidth-staticimage.document.width-28
staticimage.top=pageYOffset+window.innerHeight-staticimage.document.height-10
}

function inserttext(){ //function for IE4/ NS6
if (ie4)
crosslogo=document.all.logo
else if (ns6)
crosslogo=document.getElementById("logo")
crosslogo.innerHTML='<a href="'+logolink+'">'+displayed+'</a>'
w=ns6? window.innerWidth-crosslogo.offsetWidth-20 : document.body.clientWidth-crosslogo.offsetWidth-10
h=ns6? window.innerHeight-crosslogo.offsetHeight-15 : document.body.clientHeight-crosslogo.offsetHeight-10
crosslogo.style.left=w
crosslogo.style.top=h
if (ie4)
window.onscroll=staticit
else if (ns6)
startstatic=setInterval("staticit()",100)
}
if (ie4||ns6){


window.onload=inserttext
window.onresize=new Function("window.location.reload()")
}
else if (ns4)
window.onload=createtext

function staticitns(){ //function for NS4
startstatic=setInterval("staticit2()",90)
}

//onetel

var good;
function checkEmailAddress(field) {
// the following expression must be all on one line...
var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.co)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);
if (goodEmail) {
good = true;}
else {alert('Enter Friends e-mail address.');
field.focus();
field.select();
good = false;}
}
u = window.location;
m = "This horse and equestrian website might interest you!";
function mailThisUrl() {
good = false
checkEmailAddress(document.eMailer.address);
if (good) {
// the following expression must be all on one line...
window.location = "mailto:"+document.eMailer.address.value+"?subject="+m+"&body="+document.title+" "+u;
}
}

//Branding
percent = "65";
function frameBranding(actualurl, brandingurl, frametype) {
var framewin = window.open("","brandingframe");
with (framewin.document) {
write("<html><frameset " + frametype + "=" + percent + ",*>");
write("<frame src=" + brandingurl + ">");
write("<frame src=" + actualurl + ">");
write("</frameset></html>");
   }
return false;}

if (top.location != location){top.location.href = document.location.href;}

document.writeln('<style type="text/css"><!--');
document.writeln('BODY {');
document.writeln('scrollbar-face-color: 008b45;');
document.writeln('scrollbar-highlight-color: 00ff00;');
document.writeln('scrollbar-3dlight-color: 009999;');
document.writeln('scrollbar-darkshadow-color: 000000;');
document.writeln('scrollbar-shadow-color: 000000;');
document.writeln('scrollbar-arrow-color: ffff33;');
document.writeln('scrollbar-track-color: 00ee00;');
document.writeln('}');
document.writeln('A:hover {font-family: Arial; font-size:13; color:yellow; font-weight:bold; text-decoration: none; background-color:green;}');
document.writeln('A:link {font-family: Arial; font-size:13; font-weight:bold; text-decoration: none;}');
document.writeln('A:visited {font-family: Arial; font-size:13; font-weight:bold; text-decoration: none;}');
document.writeln('h5 {font-family: arial; font-weight: 300}');
document.writeln('form {margin-bottom : 0; }');
document.writeln('--></style>');

document.writeln('</head>');
document.writeln('<body topmargin="0" leftmargin="0">');
document.writeln('<center>');

document.writeln('<table width="728" cellpadding="0" cellspacing="0" border="0"><tr><td width="120" align="left" valign="middle">');
document.writeln('<a href="http://www.polocenter.com/"><img src="../images/pcsq.jpg" width="90" height="90" border="0" alt="PoloCenter Home Page"></a><br>');

var dayNames = new
Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var monthNames = new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
var dt = new Date();
var y  = dt.getYear();
// Y2K compliant
if (y < 1000) y +=1900;
document.writeln('<font size="1" face="arial" color=0000ff>');
document.write(dayNames[dt.getDay()] + " " + monthNames[dt.getMonth()] + " " + dt.getDate());
document.writeln('</font></td><td align="middle" valign="top">');

document.writeln('<table cellpadding="0" cellspacing="0" border="0"><tr><th valign="top">');
document.writeln('<img src="../images/pctop.gif" border="0"><br>');
document.writeln('<font size="1" face="arial"><font color="#0000ff">Worldwide Polo Information and interactivity at your fingertips</font>');

document.writeln('<table width="488" cellpadding="0" cellspacing="0" border="0"><tr><td align="center">');

//Google
document.writeln('<form method="get" action="http://www.google.com/custom" target="_top">');
document.writeln('<table border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">');
document.writeln('<tr><td nowrap="nowrap" valign="top" align="left" height="32">');
document.writeln('<a href="http://www.google.com/">');
document.writeln('<img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></img></a>');
document.writeln('</td><td nowrap="nowrap">');
document.writeln('<input type="hidden" name="domains" value="www.polocenter.com"></input>');
document.writeln('<input type="text" name="q" size="31" maxlength="255" value=""></input>');
document.writeln('<input type="submit" name="sa" value="Search"></input>');

document.writeln('<table><tr><td align="left"><input type="radio" name="sitesearch" value="" checked="checked"></input>');
document.writeln('<font size="-1" color="#000000">Web</font>');
document.writeln('</td><td><input type="radio" name="sitesearch" value="www.polocenter.com"></input>');
document.writeln('<font size="-1" color="#000000">PoloCenter.com</font>');
document.writeln('</td></tr></table>');

document.writeln('<input type="hidden" name="client" value="pub-7216878132994642"></input>');
document.writeln('<input type="hidden" name="forid" value="1"></input>');
document.writeln('<input type="hidden" name="ie" value="ISO-8859-1"></input>');
document.writeln('<input type="hidden" name="oe" value="ISO-8859-1"></input>');
document.writeln('<input type="hidden" name="safe" value="active"></input>');
document.writeln('<input type="hidden" name="flav" value="0001"></input>');
document.writeln('<input type="hidden" name="sig" value="Zt_zaQbWI5w1tTMB"></input>');
document.writeln('<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#009900;VLC:663399;AH:center;BGC:FFFFFF;LBGC:009900;ALC:000000;LC:000000;T:0000FF;GFNT:0000FF;GIMP:0000FF;LH:0;LW:0;L:http://www.polocenter.com/images/pc120x60.jpg;S:http://www.polocenter.com;FORID:1"></input>');
document.writeln('<input type="hidden" name="hl" value="en"></input>');
document.writeln('<font size="2" face="arial"><b>');
document.writeln('</td></tr></table>');
document.writeln('<a href="../about/about.htm"> About </a>|<a href="../about/hlinks.htm"> Links </a>|<a href="../messages.htm"> Messages </a>|<a href="../sitemap.htm"> Site Map </a>|<a href="../index.htm"> Home </a>');

document.writeln('</form><nobr>');
document.writeln('</th></tr></table></td></tr></table>');

// Begin Pay Pal
// End Pay Pal

document.writeln('</td><td width="120" align="right" valign="middle">');

if (document.all||document.getElementById)
document.body.style.background="url('../images/pcbkgr.jpg') lightyellow center no-repeat fixed"

//-->