obj215906=new Image(); obj215906.src="/files/menu_coaches_act.gif"; obj215911=new Image(); obj215911.src="/files/menu_coaches_out.gif"; obj215901=new Image(); obj215901.src="/files/menu_athletes_act.gif"; obj215902=new Image(); obj215902.src="/files/menu_athletes_out.gif"; obj215907=new Image(); obj215907.src="/files/menu_coachserv_out.gif"; obj215914=new Image(); obj215914.src="/files/menu_coachserv_act.gif"; obj215907=new Image(); obj215907.src="/files/menu_coachserv_out.gif"; obj215914=new Image(); obj215914.src="/files/menu_coachserv_act.gif"; obj215907=new Image(); obj215907.src="/files/menu_coachserv_out.gif"; obj215914=new Image(); obj215914.src="/files/menu_coachserv_act.gif"; obj215907=new Image(); obj215907.src="/files/menu_coachserv_out.gif"; obj215914=new Image(); obj215914.src="/files/menu_coachserv_act.gif"; obj215907=new Image(); obj215907.src="/files/menu_coachserv_out.gif"; obj215914=new Image(); obj215914.src="/files/menu_coachserv_act.gif"; obj215903=new Image(); obj215903.src="/files/menu_blog_out.gif"; obj215915=new Image(); obj215915.src="/files/menu_blog_act.gif"; obj215908=new Image(); obj215908.src="/files/menu_photos_act.gif"; obj215909=new Image(); obj215909.src="/files/menu_photos_out.gif"; obj215904=new Image(); obj215904.src="/files/menu_calendar_act.gif"; obj215905=new Image(); obj215905.src="/files/menu_calendar_out.gif"; obj215899=new Image(); obj215899.src="/files/menu_athletelogin_act.gif"; obj215900=new Image(); obj215900.src="/files/menu_athletelogin_out.gif"; obj220755=new Image(); obj220755.src="/files/menu_sponsors_out.gif"; obj220756=new Image(); obj220756.src="/files/menu_sponsors_over.gif"; obj216728=new Image(); obj216728.src="/files/menu_contactus_act.gif"; obj216729=new Image(); obj216729.src="/files/menu_contactus_out.gif"; function flip(imagename,objectsrc) {if (document.images) {document.images[imagename].src=eval(objectsrc+'.src');}} function AreYouSure() { return window.confirm('Are You Sure?');} function pop(url) { var win; win=window.open(url,'',''); } function pop1(url,parms) { var win; win=window.open(url,'',parms); } function validateSub(x) { var msg=''; switch (true) { case (!(x.mask==undefined)): if (!x.value.match(eval('/'+x.mask+'/'))) msg=msg + validateFormatName(x) + ' does not match the expected input.\n'; break; case ((x.name.toLowerCase().match(/emailid/)) && (!x.value.match(/^.+\@.+\..+$/))): break; case ((x.name.toLowerCase().match(/email/)) && (!x.value.match(/^.+\@.+\..+$/))): msg=msg + validateFormatName(x) + ' must be a valid email address.\n'; break; case ((x.name.toLowerCase().match(/(phone|fax|cellular|primary|alternate)/)) && (!x.value.match(/^[\d\+\(\)\-\.\x ]{7,}$/))): msg=msg + validateFormatName(x) + ' must be a valid phone number.\n'; break; } return msg; } function validateFormatName(x) { var out=x.name.charAt(0).toUpperCase() + x.name.substr(1).toLowerCase(); out=out.replace(/[_-]/g,' '); return out; } function validate(f) { var msg=''; for (var i=0;i'; var top=0; this.div=document.createElement('div'); this.div.id='div'; this.div.style.position='fixed'; this.div.style.top=0; this.div.style.left=0; this.div.style.height='100%'; this.div.style.width='100%'; if (navigator.userAgent.indexOf('MSIE')>0) { this.div.style.backgroundColor='#000000'; this.div.style.filter='alpha(opacity=30)'; } this.div.onclick=function() { document.body.removeChild(document.getElementById('div')); } this.center=null this.center = document.createElement('center'); this.msg=document.createElement('div'); this.msg.id='msg'; this.msg.className='msg'; this.msg.style.position='relative'; switch (true) { case (navigator.userAgent.indexOf('MSIE')>0): top=25; this.msg.style.top=top; break; case (navigator.userAgent.indexOf('Firefox')>0): if (window.pageYOffset>0) { top=(document.body.clientHeight-window.pageYOffset)*0.30; } else { top=(document.body.clientHeight*0.20); } this.msg.style.top=top+'px'; break; default: if (document.body.scrollTop>0) { top=(document.body.clientHeight-document.body.scrollTop)*0.30; } else { top=(document.body.clientHeight*0.20); } this.msg.style.top=top+'px'; } this.msg.style.backgroundColor='#eaeaea'; this.msg.style.border='10px solid #4f6a98'; this.msg.style.width='50%'; this.msg.style.color='steelblue'; this.msg.style.padding='15px'; this.msg.style.textAlign='left'; this.msg.innerHTML=closelink+msg; this.center.appendChild(this.msg); this.div.appendChild(this.center); document.body.appendChild(this.div); } }