var PLATFORM=navigator.appVersion.toLowerCase();var CLIENT=navigator.appName.toLowerCase();var VERSION=parseInt(navigator.appVersion);var AOLCLIENT=(navigator.userAgent.indexOf("AOL")!=-1)?1:0;var AOLUA=AOLCLIENT?1:0;var DOCREF=document.referrer.slice((document.referrer.indexOf("//")+2),document.referrer.indexOf(".",document.referrer.indexOf(".")+1));var BASE="http://www.growthtrac.com/";function topUtilities3(){bookmark2();homepage2();}
function subbox(){fb.start('http://www.growthtrac.com/_subscribe.php','width:475 height:390 scrolling:no');}
function subboxa(){fb.start('http://www.growthtrac.com/_subscribe-a.php','width:460 height:390 scrolling:no');}
function subbox02(){fb.start('http://www.growthtrac.com/_tagcloud.php','width:670 height:400 scrolling:no');}
function subbox03(){fb.start('http://www.growthtrac.com/includes/ajax_01.htm','width:670 height:400 scrolling:no');}
function subbox04(){fb.start('http://www.growthtrac.com/includes/ajax_03.htm','width:670 height:600 scrolling:no');}
function subbox05(){fb.start('http://www.growthtrac.com/includes/ajax_02.htm','width:570 height:250 scrolling:no');}
function subbox06(){fb.start('http://www.growthtrac.com/includes/ajax_mm.htm','width:570 height:500 scrolling:no');}
function subbox07(){fb.start('http://www.growthtrac.com/includes/ajax_kgp.htm','width:570 height:400 scrolling:no');}
function subbox08(){fb.start('http://www.growthtrac.com/includes/ajax_365.htm','width:570 height:600 scrolling:no');}
function subbox09(){fb.start('http://www.growthtrac.com/includes/ajax_prov.htm','width:570 height:450 scrolling:no');}
function subbox10(){fb.start('http://www.growthtrac.com/includes/ajax_liv.htm','width:570 height:300 scrolling:no');}
function subbox11(){fb.start('http://www.growthtrac.com/includes/ajax_rss.htm','width:460 height:350 scrolling:no');}
function subbox12(){fb.start('http://www.growthtrac.com/includes/ajax_recent.php','width:400 height:200 scrolling:no');}
function subbox13(){fb.start('http://www.growthtrac.com/includes/ajax_most-read.php','width:400 height:250 scrolling:no');}
function subbox14(){fb.start('http://www.growthtrac.com/includes/ajax_top-topics.php','width:400 height:200 scrolling:no');}
function subbox15(){fb.start('http://www.growthtrac.com/includes/ajax_contact.htm','width:400 height:200 scrolling:no');}
function subbox16(){fb.start('http://www.growthtrac.com/includes/ajax_map.htm','width:600 height:300 scrolling:no');}
function subbox17(){fb.start('http://www.growthtrac.com/includes/ajax_radioabout.htm','width:425 height:325 scrolling:no');}
function subbox18(){fb.start('http://www.growthtrac.com/includes/ajax_contestrules.htm','width:650 height:550 scrolling:yes');}
function subbox20(){fb.start('http://www.growthtrac.com/includes/ajax_datepromo.htm','width:585 height:240 scrolling:no');}
function subbox19(){fb.start('http://www.growthtrac.com/includes/ajax_date-examples.htm','width:650 height:450 scrolling:yes');}
function subbox21(){fb.start('http://www.growthtrac.com/splash_contest02.php','width:460 height:300 scrolling:no');}
function subbox22(){fb.start('http://www.growthtrac.com/includes/ajax_bestof.php','width:475 height:450 scrolling:no');}
function subbox23(){fb.start('http://www.growthtrac.com/includes/ajax_talktous.htm','width:560 height:400 scrolling:no');}
function subbox24(){fb.start('http://www.growthtrac.com/includes/ajax_checkup.htm','width:560 height:380 scrolling:no');}
function subbox25(){fb.start('http://www.growthtrac.com/includes/ajax_facebook.htm','width:560 height:510 scrolling:no');}
function subbox26(){fb.start('http://www.growthtrac.com/includes/inc_t-shirt-size-chart.htm','width:618 height:373 scrolling:no');}
function subbox27(){fb.start('http://www.growthtrac.com/includes/inc_t-shirt-ship-chart.htm','width:670 height:490 scrolling:no');}
function lytepop(){var a=document.createElement("a");a.href="http://www.growthtrac.com/_contact.php";a.rel="lyteframe";a.title="";a.rev="width: 460px; height: 390px; scrolling: no;";myLytebox.start(a,false,true);}
function lytepop02(){var a=document.createElement("a");a.href="http://www.growthtrac.com/_tagcloud.php";a.rel="lyteframe";a.title="";a.rev="width: 670px; height: 400px; scrolling: no;";myLytebox.start(a,false,true);}
function DoHomepagePop(newpage){window.open('http://www.growthtrac.com/pop_homepage.php','name','scrollbars=no,status=no,resizable=no,width=620,height=364');}
function verifyform02(optin)
{if((document.optin.email.value=="")||(document.optin.email.value.indexOf('@')==-1)||(document.optin.email.value.indexOf('.')==-1)){alert("Please verify your email address.");return false;}}
function printpage(){var pagetoprint="http://www.growthtrac.com/printpage.php?page="+escape(window.location);document.write('<table cellpadding="0" cellspacing="0" border="0"><tr><td><a href="'+pagetoprint+'"><img src="http://www.growthtrac.com/images/icon_print3.gif" width="102" height="12" border="0" alt="Print this Page"></a></td></tr></table>');}
var isFlash=0;if(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]){var plugin=navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;if(plugin&&parseInt(plugin.description.substring(plugin.description.indexOf(".")-1))>=4)isFlash=1;}else if(CLIENT!="netscape"&&navigator.userAgent.indexOf("Windows 3.1")==-1){document.write('<SCRIPT LANGUAGE=VBScript\>\n');document.write('on error resume next\n');document.write('isFlash = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")))\n');document.write('</SCRIPT\>\n');}<!--Begin
var expDays=15;var page="http://www.growthtrac.com/pop_eharmony.php";var windowprops="width=550,height=320,location=no,toolbar=no,menubar=no,scrollbars=no,resizable=no";function GetCookie(name){var arg=name+"=";var alen=arg.length;var clen=document.cookie.length;var i=0;while(i<clen){var j=i+alen;if(document.cookie.substring(i,j)==arg)
return getCookieVal(j);i=document.cookie.indexOf(" ",i)+1;if(i==0)break;}
return null;}
function SetCookie(name,value){var argv=SetCookie.arguments;var argc=SetCookie.arguments.length;var expires=(argc>2)?argv[2]:null;var path=(argc>3)?argv[3]:null;var domain=(argc>4)?argv[4]:null;var secure=(argc>5)?argv[5]:false;document.cookie=name+"="+escape(value)+
((expires==null)?"":("; expires="+expires.toGMTString()))+
((path==null)?"":("; path="+path))+
((domain==null)?"":("; domain="+domain))+
((secure==true)?"; secure":"");}
function DeleteCookie(name){var exp=new Date();exp.setTime(exp.getTime()-1);var cval=GetCookie(name);document.cookie=name+"="+cval+"; expires="+exp.toGMTString();}
var exp=new Date();exp.setTime(exp.getTime()+(expDays*24*60*60*1000));function amt(){var count=GetCookie('count')
if(count==null){SetCookie('count','1')
return 1}
else{var newcount=parseInt(count)+1;DeleteCookie('count')
SetCookie('count',newcount,exp)
return count}}
function getCookieVal(offset){var endstr=document.cookie.indexOf(";",offset);if(endstr==-1)
endstr=document.cookie.length;return unescape(document.cookie.substring(offset,endstr));}
function checkCount(){var count=GetCookie('count');if(count==null){count=1;SetCookie('count',count,exp);window.open(page,"",windowprops);}
else{count++;SetCookie('count',count,exp);}}
function launchpopup(){if(browserAcceptsCookies()&&isFlash)
checkCount();}
function browserAcceptsCookies(){var acceptsCookies=false;if(document.cookie==''){document.cookie='acceptsCookies=yes';if(document.cookie.indexOf('acceptsCookies=yes')!=-1){acceptsCookies=true;}}else{acceptsCookies=true;}
return(acceptsCookies);}
function toggleBox(szDivID,iState)
{if(document.layers)
{document.layers[szDivID].visibility=iState?"show":"hide";}
else if(document.getElementById)
{var obj=document.getElementById(szDivID);obj.style.visibility=iState?"visible":"hidden";}
else if(document.all)
{document.all[szDivID].style.visibility=iState?"visible":"hidden";}}
function emailFriend_generic(){var newpage="http://www.growthtrac.com/emailfriend_generic.htm"+"?"+"title="+escape(document.title)+"&"+"fullpath="+escape(window.location);window.open(newpage,'name','scrollbars=no,status=no,resizable=no,width=635,height=515');}
function MM_findObj(n,d){var p,i,x;if(!d)d=document;if((p=n.indexOf("?"))>0&&parent.frames.length){d=parent.frames[n.substring(p+1)].document;n=n.substring(0,p);}
if(!(x=d[n])&&d.all)x=d.all[n];for(i=0;!x&&i<d.forms.length;i++)x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++)x=MM_findObj(n,d.layers[i].document);if(!x&&document.getElementById)x=document.getElementById(n);return x;}
function MM_preloadImages(){var d=document;if(d.images){if(!d.MM_p)d.MM_p=new Array();var i,j=d.MM_p.length,a=MM_preloadImages.arguments;for(i=0;i<a.length;i++)
if(a[i].indexOf("#")!=0){d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}}}
function MM_swapImgRestore(){var i,x,a=document.MM_sr;for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)x.src=x.oSrc;}
function MM_reloadPage(init){if(init==true)with(navigator){if((appName=="Netscape")&&(parseInt(appVersion)==4)){document.MM_pgW=innerWidth;document.MM_pgH=innerHeight;onresize=MM_reloadPage;}}
else if(innerWidth!=document.MM_pgW||innerHeight!=document.MM_pgH)location.reload();}
MM_reloadPage(true);function MM_swapImage(){var i,j=0,x,a=MM_swapImage.arguments;document.MM_sr=new Array;for(i=0;i<(a.length-2);i+=3)
if((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x;if(!x.oSrc)x.oSrc=x.src;x.src=a[i+2];}};var isFlash=1;var expDays=30;function GetCookie(d){var b=d+"=";var f=b.length;var a=document.cookie.length;var e=0;while(e<a){var c=e+f;if(document.cookie.substring(e,c)==b){return getCookieVal(c)}e=document.cookie.indexOf(" ",e)+1;if(e==0){break}}return null}function SetCookie(c,e){var a=SetCookie.arguments;var h=SetCookie.arguments.length;var b=(h>2)?a[2]:null;var g="/";var d=(h>4)?a[4]:null;var f=(h>5)?a[5]:false;document.cookie=c+"="+escape(e)+((b==null)?"":("; expires="+b.toGMTString()))+((g==null)?"":("; path="+g))+((d==null)?"":("; domain="+d))+((f==true)?"; secure":"")}function DeleteCookie(a){var c=new Date();c.setTime(c.getTime()-1);var b=GetCookie(a);document.cookie=a+"="+b+"; expires="+c.toGMTString()}var exp=new Date();exp.setTime(exp.getTime()+(expDays*24*60*60*1000));function amt(){var b=GetCookie("subscribe");if(b==null){SetCookie("subscribe","1");return 1}else{var a=parseInt(b)+1;DeleteCookie("subscribe");SetCookie("subscribe",a,exp);return b}}function getCookieVal(b){var a=document.cookie.indexOf(";",b);if(a==-1){a=document.cookie.length}return unescape(document.cookie.substring(b,a))}function checkCount(){var a=GetCookie("subscribe");if(a==null){a=1;SetCookie("subscribe",a,exp);subbox()}else{a++;SetCookie("subscribe",a,exp)}}function startsub(){if(browserAcceptsCookies()&&isFlash){checkCount()}}function hideHover(){document.getElementById("hover").style.visibility="hidden"}function browserAcceptsCookies(){var a=false;if(document.cookie==""){document.cookie="acceptsCookies=yes";if(document.cookie.indexOf("acceptsCookies=yes")!=-1){a=true}}else{a=true}return(a)};;(function(g){var a=g.fn.height,e=g.fn.width;g.fn.extend({height:function(){if(!this[0]){d()}if(this[0]==window){if(g.browser.opera||(g.browser.safari&&parseInt(g.browser.version)>520)){return self.innerHeight-((g(document).height()>self.innerHeight)?b():0)}else{if(g.browser.safari){return self.innerHeight}else{return g.boxModel&&document.documentElement.clientHeight||document.body.clientHeight}}}if(this[0]==document){return Math.max((g.boxModel&&document.documentElement.scrollHeight||document.body.scrollHeight),document.body.offsetHeight)}return a.apply(this,arguments)},width:function(){if(!this[0]){d()}if(this[0]==window){if(g.browser.opera||(g.browser.safari&&parseInt(g.browser.version)>520)){return self.innerWidth-((g(document).width()>self.innerWidth)?b():0)}else{if(g.browser.safari){return self.innerWidth}else{return g.boxModel&&document.documentElement.clientWidth||document.body.clientWidth}}}if(this[0]==document){if(g.browser.mozilla){var j=self.pageXOffset;self.scrollTo(99999999,self.pageYOffset);var i=self.pageXOffset;self.scrollTo(j,self.pageYOffset);return document.body.offsetWidth+i}else{return Math.max(((g.boxModel&&!g.browser.safari)&&document.documentElement.scrollWidth||document.body.scrollWidth),document.body.offsetWidth)}}return e.apply(this,arguments)},innerHeight:function(){if(!this[0]){d()}return this[0]==window||this[0]==document?this.height():this.is(":visible")?this[0].offsetHeight-c(this,"borderTopWidth")-c(this,"borderBottomWidth"):this.height()+c(this,"paddingTop")+c(this,"paddingBottom")},innerWidth:function(){if(!this[0]){d()}return this[0]==window||this[0]==document?this.width():this.is(":visible")?this[0].offsetWidth-c(this,"borderLeftWidth")-c(this,"borderRightWidth"):this.width()+c(this,"paddingLeft")+c(this,"paddingRight")},outerHeight:function(i){if(!this[0]){d()}i=g.extend({margin:false},i||{});return this[0]==window||this[0]==document?this.height():this.is(":visible")?this[0].offsetHeight+(i.margin?(c(this,"marginTop")+c(this,"marginBottom")):0):this.height()+c(this,"borderTopWidth")+c(this,"borderBottomWidth")+c(this,"paddingTop")+c(this,"paddingBottom")+(i.margin?(c(this,"marginTop")+c(this,"marginBottom")):0)},outerWidth:function(i){if(!this[0]){d()}i=g.extend({margin:false},i||{});return this[0]==window||this[0]==document?this.width():this.is(":visible")?this[0].offsetWidth+(i.margin?(c(this,"marginLeft")+c(this,"marginRight")):0):this.width()+c(this,"borderLeftWidth")+c(this,"borderRightWidth")+c(this,"paddingLeft")+c(this,"paddingRight")+(i.margin?(c(this,"marginLeft")+c(this,"marginRight")):0)},scrollLeft:function(i){if(!this[0]){d()}if(i!=undefined){return this.each(function(){if(this==window||this==document){window.scrollTo(i,g(window).scrollTop())}else{this.scrollLeft=i}})}if(this[0]==window||this[0]==document){return self.pageXOffset||g.boxModel&&document.documentElement.scrollLeft||document.body.scrollLeft}return this[0].scrollLeft},scrollTop:function(i){if(!this[0]){d()}if(i!=undefined){return this.each(function(){if(this==window||this==document){window.scrollTo(g(window).scrollLeft(),i)}else{this.scrollTop=i}})}if(this[0]==window||this[0]==document){return self.pageYOffset||g.boxModel&&document.documentElement.scrollTop||document.body.scrollTop}return this[0].scrollTop},position:function(i){return this.offset({margin:false,scroll:false,relativeTo:this.offsetParent()},i)},offset:function(j,p){if(!this[0]){d()}var o=0,n=0,z=0,s=0,A=this[0],m=this[0],l,i,w=g.css(A,"position"),v=g.browser.mozilla,q=g.browser.msie,u=g.browser.opera,C=g.browser.safari,k=g.browser.safari&&parseInt(g.browser.version)>520,r=false,t=false,j=g.extend({margin:true,border:false,padding:false,scroll:true,lite:false,relativeTo:document.body},j||{});if(j.lite){return this.offsetLite(j,p)}if(j.relativeTo.jquery){j.relativeTo=j.relativeTo[0]}if(A.tagName=="BODY"){o=A.offsetLeft;n=A.offsetTop;if(v){o+=c(A,"marginLeft")+(c(A,"borderLeftWidth")*2);n+=c(A,"marginTop")+(c(A,"borderTopWidth")*2)}else{if(u){o+=c(A,"marginLeft");n+=c(A,"marginTop")}else{if((q&&jQuery.boxModel)){o+=c(A,"borderLeftWidth");n+=c(A,"borderTopWidth")}else{if(k){o+=c(A,"marginLeft")+c(A,"borderLeftWidth");n+=c(A,"marginTop")+c(A,"borderTopWidth")}}}}}else{do{i=g.css(m,"position");o+=m.offsetLeft;n+=m.offsetTop;if((v&&!m.tagName.match(/^t[d|h]$/i))||q||k){o+=c(m,"borderLeftWidth");n+=c(m,"borderTopWidth");if(v&&i=="absolute"){r=true}if(q&&i=="relative"){t=true}}l=m.offsetParent||document.body;if(j.scroll||v){do{if(j.scroll){z+=m.scrollLeft;s+=m.scrollTop}if(u&&(g.css(m,"display")||"").match(/table-row|inline/)){z=z-((m.scrollLeft==m.offsetLeft)?m.scrollLeft:0);s=s-((m.scrollTop==m.offsetTop)?m.scrollTop:0)}if(v&&m!=A&&g.css(m,"overflow")!="visible"){o+=c(m,"borderLeftWidth");n+=c(m,"borderTopWidth")}m=m.parentNode}while(m!=l)}m=l;if(m==j.relativeTo&&!(m.tagName=="BODY"||m.tagName=="HTML")){if(v&&m!=A&&g.css(m,"overflow")!="visible"){o+=c(m,"borderLeftWidth");n+=c(m,"borderTopWidth")}if(((C&&!k)||u)&&i!="static"){o-=c(l,"borderLeftWidth");n-=c(l,"borderTopWidth")}break}if(m.tagName=="BODY"||m.tagName=="HTML"){if(((C&&!k)||(q&&g.boxModel))&&w!="absolute"&&w!="fixed"){o+=c(m,"marginLeft");n+=c(m,"marginTop")}if(k||(v&&!r&&w!="fixed")||(q&&w=="static"&&!t)){o+=c(m,"borderLeftWidth");n+=c(m,"borderTopWidth")}break}}while(m)}var B=h(A,j,o,n,z,s);if(p){g.extend(p,B);return this}else{return B}},offsetLite:function(q,l){if(!this[0]){d()}var n=0,m=0,k=0,p=0,o=this[0],j,q=g.extend({margin:true,border:false,padding:false,scroll:true,relativeTo:document.body},q||{});if(q.relativeTo.jquery){q.relativeTo=q.relativeTo[0]}do{n+=o.offsetLeft;m+=o.offsetTop;j=o.offsetParent||document.body;if(q.scroll){do{k+=o.scrollLeft;p+=o.scrollTop;o=o.parentNode}while(o!=j)}o=j}while(o&&o.tagName!="BODY"&&o.tagName!="HTML"&&o!=q.relativeTo);var i=h(this[0],q,n,m,k,p);if(l){g.extend(l,i);return this}else{return i}},offsetParent:function(){if(!this[0]){d()}var i=this[0].offsetParent;while(i&&(i.tagName!="BODY"&&g.css(i,"position")=="static")){i=i.offsetParent}return g(i)}});var d=function(){throw"Dimensions: jQuery collection is empty"};var c=function(i,j){return parseInt(g.css(i.jquery?i[0]:i,j))||0};var h=function(m,l,j,n,i,k){if(!l.margin){j-=c(m,"marginLeft");n-=c(m,"marginTop")}if(l.border&&((g.browser.safari&&parseInt(g.browser.version)<520)||g.browser.opera)){j+=c(m,"borderLeftWidth");n+=c(m,"borderTopWidth")}else{if(!l.border&&!((g.browser.safari&&parseInt(g.browser.version)<520)||g.browser.opera)){j-=c(m,"borderLeftWidth");n-=c(m,"borderTopWidth")}}if(l.padding){j+=c(m,"paddingLeft");n+=c(m,"paddingTop")}if(l.scroll&&(!g.browser.opera||m.offsetLeft!=m.scrollLeft&&m.offsetTop!=m.scrollLeft)){i-=m.scrollLeft;k-=m.scrollTop}return l.scroll?{top:n-k,left:j-i,scrollTop:k,scrollLeft:i}:{top:n,left:j}};var f=0;var b=function(){if(!f){var i=g("<div>").css({width:100,height:100,overflow:"auto",position:"absolute",top:-1000,left:-1000}).appendTo("body");f=100-i.append("<div>").find("div").css({width:"100%",height:200}).width();i.remove()}return f}})(jQuery);;(function(c){c.tools=c.tools||{version:{}};c.tools.version.tabs="1.0.0";c.tools.addTabEffect=function(d,e){b[d]=e};var b={"default":function(d){this.getPanes().hide().eq(d).show()},fade:function(d){this.getPanes().hide().eq(d).fadeIn()},slide:function(d){this.getCurrentPane().slideUp("fast");this.getPanes().eq(d).slideDown()},horizontal:function(d){if(!c._hW){c._hW=this.getPanes().eq(0).width()}this.getCurrentPane().animate({width:0},function(){c(this).hide()});this.getPanes().eq(d).animate({width:c._hW},function(){c(this).show()})}};function a(e,f,g){var d=this;var h;function i(j,k){c(d).bind(j,function(m,l){if(k&&k.call(this,l.index)===false&&l){l.proceed=false}});return d}c.each(g,function(j,k){if(c.isFunction(k)){i(j,k)}});c.extend(this,{click:function(k){if(k===h){return d}var m=d.getCurrentPane();var l=e.eq(k);if(typeof k=="string"){l=e.filter("[href="+k+"]");k=e.index(l)}if(!l.length){if(h>=0){return d}k=g.initialIndex;l=e.eq(k)}var j={index:k,proceed:true};c(d).triggerHandler("onBeforeClick",j);if(!j.proceed){return d}l.addClass(g.current);b[g.effect].call(d,k);c(d).triggerHandler("onClick",j);e.removeClass(g.current);l.addClass(g.current);h=k;return d},getTabs:function(){return e},getPanes:function(){return f},getCurrentPane:function(){return f.eq(h)},getCurrentTab:function(){return e.eq(h)},getIndex:function(){return h},next:function(){return d.click(h+1)},prev:function(){return d.click(h-1)},onBeforeClick:function(j){return i("onBeforeClick",j)},onClick:function(j){return i("onClick",j)}});e.each(function(j){c(this).bind(g.event,function(k){d.click(j);if(!g.history){return k.preventDefault()}})});if(g.history){e.history(function(j,k){d.click(k||0)})}if(location.hash){d.click(location.hash)}else{d.click(g.initialIndex)}f.find("a[href^=#]").click(function(){d.click(c(this).attr("href"))})}c.fn.tabs=function(g,d){var e=this.eq(typeof conf=="number"?conf:0).data("tabs");if(e){return e}var f={tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",history:false,initialIndex:0,event:"click",api:false};if(c.isFunction(d)){d={onBeforeClick:d}}c.extend(f,d);this.each(function(){var h=c(this).find(f.tabs);if(!h.length){h=c(this).children()}var i=g.jquery?g:c(g);e=new a(h,i,f);c(this).data("tabs",e)});return f.api?e:this}})(jQuery);(function(b){var c,a;b.prototype.history=function(e){var d=this;if(b.browser.msie){if(!a){a=b("<iframe />").hide().get(0);b("body").append(a);setInterval(function(){var f=a.contentWindow.document;var g=f.location.hash;if(c!==g){b.event.trigger("hash",g);c=g}},100)}d.bind("click.hash",function(g){var f=a.contentWindow.document;f.open().close();f.location.hash=b(this).attr("href")});d.eq(0).triggerHandler("click.hash")}else{setInterval(function(){var f=location.hash;if(d.filter("[href*="+f+"]").length&&f!==c){c=f;b.event.trigger("hash",f)}},100)}b(window).bind("hash",e);return this}})(jQuery);;(function(a){a.event.special.mousewheel={setup:function(){var b=a.event.special.mousewheel.handler;if(a.browser.mozilla){a(this).bind("mousemove.mousewheel",function(c){a.data(this,"mwcursorposdata",{pageX:c.pageX,pageY:c.pageY,clientX:c.clientX,clientY:c.clientY})})}if(this.addEventListener){this.addEventListener((a.browser.mozilla?"DOMMouseScroll":"mousewheel"),b,false)}else{this.onmousewheel=b}},teardown:function(){var b=a.event.special.mousewheel.handler;a(this).unbind("mousemove.mousewheel");if(this.removeEventListener){this.removeEventListener((a.browser.mozilla?"DOMMouseScroll":"mousewheel"),b,false)}else{this.onmousewheel=function(){}}a.removeData(this,"mwcursorposdata")},handler:function(d){var b=Array.prototype.slice.call(arguments,1);d=a.event.fix(d||window.event);a.extend(d,a.data(this,"mwcursorposdata")||{});var e=0,c=true;if(d.wheelDelta){e=d.wheelDelta/120}if(d.detail){e=-d.detail/3}d.data=d.data||{};d.type="mousewheel";b.unshift(e);b.unshift(d);return a.event.handle.apply(this,b)}};a.fn.extend({mousewheel:function(b){return b?this.bind("mousewheel",b):this.trigger("mousewheel")},unmousewheel:function(b){return this.unbind("mousewheel",b)}})})(jQuery);;jQuery(function(b){var a="emchange";b.em=b.extend({version:"1.0",delay:200,element:b("<div />").css({left:"-100em",position:"absolute",width:"100em"}).prependTo("body")[0],action:function(){var c=b.em.element.offsetWidth/100;if(c!=b.em.current){b.em.previous=b.em.current;b.em.current=c;b.event.trigger(a,[b.em.current,b.em.previous])}}},b.em);b.fn[a]=function(c){return c?this.bind(a,c):this.trigger(a)};b.em.current=b.em.element.offsetWidth/100;b.em.iid=setInterval(b.em.action,b.em.delay)});;(function(a){a.jScrollPane={active:[]};a.fn.jScrollPane=function(c){c=a.extend({},a.fn.jScrollPane.defaults,c);var b=function(){return false};return this.each(function(){var o=a(this);o.css("overflow","hidden");var y=this;if(a(this).parent().is(".jScrollPaneContainer")){var ac=c.maintainPosition?o.position().top:0;var l=a(this).parent();var E=l.innerWidth();var ad=l.outerHeight();var m=ad;a(">.jScrollPaneTrack, >.jScrollArrowUp, >.jScrollArrowDown",l).remove();o.css({top:0})}else{var ac=0;this.originalPadding=o.css("paddingTop")+" "+o.css("paddingRight")+" "+o.css("paddingBottom")+" "+o.css("paddingLeft");this.originalSidePaddingTotal=(parseInt(o.css("paddingLeft"))||0)+(parseInt(o.css("paddingRight"))||0);var E=o.innerWidth();var ad=o.innerHeight();var m=ad;o.wrap(a("<div></div>").attr({className:"jScrollPaneContainer"}).css({height:ad+"px",width:E+"px"}));a(document).bind("emchange",function(ae,af,p){o.jScrollPane(c)})}if(c.reinitialiseOnImageLoad){var n=a.data(y,"jScrollPaneImagesToLoad")||a("img",o);var g=[];if(n.length){n.each(function(p,ae){a(this).bind("load",function(){if(a.inArray(p,g)==-1){g.push(ae);n=a.grep(n,function(ag,af){return ag!=ae});a.data(y,"jScrollPaneImagesToLoad",n);c.reinitialiseOnImageLoad=false;o.jScrollPane(c)}}).each(function(af,ag){if(this.complete||this.complete===undefined){this.src=this.src}})})}}var P=this.originalSidePaddingTotal;var M={height:"auto",width:E-c.scrollbarWidth-c.scrollbarMargin-P+"px"};if(c.scrollbarOnLeft){M.paddingLeft=c.scrollbarMargin+c.scrollbarWidth+"px"}else{M.paddingRight=c.scrollbarMargin+"px"}o.css(M);var N=o.outerHeight();var J=ad/N;if(J<0.99){var h=o.parent();h.append(a("<div></div>").attr({className:"jScrollPaneTrack"}).css({width:c.scrollbarWidth+"px"}).append(a("<div></div>").attr({className:"jScrollPaneDrag"}).css({width:c.scrollbarWidth+"px"}).append(a("<div></div>").attr({className:"jScrollPaneDragTop"}).css({width:c.scrollbarWidth+"px"}),a("<div></div>").attr({className:"jScrollPaneDragBottom"}).css({width:c.scrollbarWidth+"px"}))));var Z=a(">.jScrollPaneTrack",h);var q=a(">.jScrollPaneTrack .jScrollPaneDrag",h);if(c.showArrows){var H;var ab;var t;var R;var K=function(){if(R>4||R%4==0){Y(U+ab*C)}R++};var k=function(p){a("html").unbind("mouseup",k);H.removeClass("jScrollActiveArrowButton");clearInterval(t)};var A=function(){a("html").bind("mouseup",k);H.addClass("jScrollActiveArrowButton");R=0;K();t=setInterval(K,100)};h.append(a("<a></a>").attr({href:"javascript:;",className:"jScrollArrowUp"}).css({width:c.scrollbarWidth+"px"}).html("Scroll up").bind("mousedown",function(){H=a(this);ab=-1;A();this.blur();return false}).bind("click",b),a("<a></a>").attr({href:"javascript:;",className:"jScrollArrowDown"}).css({width:c.scrollbarWidth+"px"}).html("Scroll down").bind("mousedown",function(){H=a(this);ab=1;A();this.blur();return false}).bind("click",b));var r=a(">.jScrollArrowUp",h);var j=a(">.jScrollArrowDown",h);if(c.arrowSize){m=ad-c.arrowSize-c.arrowSize;Z.css({height:m+"px",top:c.arrowSize+"px"})}else{var S=r.height();c.arrowSize=S;m=ad-S-j.height();Z.css({height:m+"px",top:S+"px"})}}var W=a(this).css({position:"absolute",overflow:"visible"});var d;var z;var C;var U=0;var w=J*ad/2;var B=function(ae,ag){var af=ag=="X"?"Left":"Top";return ae["page"+ag]||(ae["client"+ag]+(document.documentElement["scroll"+af]||document.body["scroll"+af]))||0};var G=function(){return false};var V=function(){O();d=q.offset(false);d.top-=U;z=m-q[0].offsetHeight;C=2*c.wheelSpeed*z/N};var e=function(p){V();w=B(p,"Y")-U-d.top;a("html").bind("mouseup",u).bind("mousemove",I);if(a.browser.msie){a("html").bind("dragstart",G).bind("selectstart",G)}return false};var u=function(){a("html").unbind("mouseup",u).unbind("mousemove",I);w=J*ad/2;if(a.browser.msie){a("html").unbind("dragstart",G).unbind("selectstart",G)}};var Y=function(ae){ae=ae<0?0:(ae>z?z:ae);U=ae;q.css({top:ae+"px"});var af=ae/z;W.css({top:((ad-N)*af)+"px"});o.trigger("scroll");if(c.showArrows){r[ae==0?"addClass":"removeClass"]("disabled");j[ae==z?"addClass":"removeClass"]("disabled")}};var I=function(p){Y(B(p,"Y")-d.top-w)};var Q=Math.max(Math.min(J*(ad-c.arrowSize*2),c.dragMaxHeight),c.dragMinHeight);q.css({height:Q+"px"}).bind("mousedown",e);var L;var s;var i;var T=function(){if(s>8||s%4==0){Y((U-((U-i)/2)))}s++};var aa=function(){clearInterval(L);a("html").unbind("mouseup",aa).unbind("mousemove",F)};var F=function(p){i=B(p,"Y")-d.top-w};var v=function(p){V();F(p);s=0;a("html").bind("mouseup",aa).bind("mousemove",F);L=setInterval(T,100);T()};Z.bind("mousedown",v);h.bind("mousewheel",function(ae,ag){V();O();var af=U;Y(U-ag*C);var p=af!=U;return!p});var f;var x;function D(){var p=(f-U)/c.animateStep;if(p>1||p<-1){Y(U+p)}else{Y(f);O()}}var O=function(){if(x){clearInterval(x);delete f}};var X=function(af,p){if(typeof af=="string"){$e=a(af,o);if(!$e.length){return}af=$e.offset().top-o.offset().top}h.scrollTop(0);O();var ae=-af/(ad-N)*z;if(p||!c.animateTo){Y(ae)}else{f=ae;x=setInterval(D,c.animateInterval)}};o[0].scrollTo=X;o[0].scrollBy=function(ae){var p=-parseInt(W.css("top"))||0;X(p+ae)};V();X(-ac,true);a("*",this).bind("focus",function(ah){var ag=a(this);var aj=0;while(ag[0]!=o[0]){aj+=ag.position().top;ag=ag.offsetParent()}var p=-parseInt(W.css("top"))||0;var ai=p+ad;var af=aj>p&&aj<ai;if(!af){var ae=aj-c.scrollbarMargin;if(aj>p){ae+=a(this).height()+15+c.scrollbarMargin-ad}X(ae)}});if(location.hash){X(location.hash)}a(document).bind("click",function(ae){$target=a(ae.target);if($target.is("a")){var p=$target.attr("href");if(p.substr(0,1)=="#"){X(p)}}});a.jScrollPane.active.push(o[0])}else{o.css({height:ad+"px",width:E-this.originalSidePaddingTotal+"px",padding:this.originalPadding});o.parent().unbind("mousewheel")}})};a.fn.jScrollPane.defaults={scrollbarWidth:10,scrollbarMargin:5,wheelSpeed:18,showArrows:false,arrowSize:0,animateTo:false,dragMinHeight:1,dragMaxHeight:99999,animateInterval:100,animateStep:3,maintainPosition:true,scrollbarOnLeft:false,reinitialiseOnImageLoad:false};a(window).bind("unload",function(){var c=a.jScrollPane.active;for(var b=0;b<c.length;b++){c[b].scrollTo=c[b].scrollBy=null}})})(jQuery);;(function(e){var i,h,g,d,f,j,c;e.fn.cluetip=function(l,k){if(typeof l=="object"){k=l;l=null}return this.each(function(I){var u=e(this);var F=e.extend(false,{},e.fn.cluetip.defaults,k||{},e.metadata?u.metadata():e.meta?u.data():{});var o=false;var y=parseInt(F.cluezIndex,10)-1;var Q=false,P=0;if(!e("#cluetip").length){h=e('<div id="cluetip-inner"></div>');d=e('<h3 id="cluetip-title"></h3>');g=e('<div id="cluetip-outer"></div>').append(h).prepend(d);i=e('<div id="cluetip"></div>').css({zIndex:F.cluezIndex}).append(g).append('<div id="cluetip-extra"></div>')[b](a).hide();e('<div id="cluetip-waitimage"></div>').css({position:"absolute",zIndex:y-1}).insertBefore("#cluetip").hide();i.css({position:"absolute",zIndex:y});g.css({position:"relative",zIndex:y+1});f=e('<div id="cluetip-arrows" class="cluetip-arrows"></div>').css({zIndex:y+1}).appendTo("#cluetip")}var H=(F.dropShadow)?+F.dropShadowSteps:0;if(!j){j=e([]);for(var T=0;T<H;T++){j=j.add(e("<div></div>").css({zIndex:y-T-1,opacity:0.1,top:1+T,left:1+T}))}j.css({position:"absolute",backgroundColor:"#000"}).prependTo(i)}var D=u.attr(F.attribute),r=F.cluetipClass;if(!D&&!F.splitTitle&&!l){return true}if(F.local&&F.hideLocal){e(D+":first").hide()}var E=parseInt(F.topOffset,10),A=parseInt(F.leftOffset,10);var z,R;var w=isNaN(parseInt(F.height,10))?"auto":(/\D/g).test(F.height)?F.height:F.height+"px";var m,s,J,W,L,S;var x=isNaN(parseInt(F.width,10))?275:parseInt(F.width,10);var U=x+(parseInt(i.css("paddingLeft"))||0)+(parseInt(i.css("paddingRight"))||0)+H;var B=this.offsetWidth;var t,K,X,M,n;var O;var G=(F.attribute!="title")?u.attr(F.titleAttribute):"";if(F.splitTitle){if(G==undefined){G=""}O=G.split(F.splitTitle);G=O.shift()}var q;var v=function(ac){if(!F.onActivate(u)){return false}Q=true;i.removeClass().css({width:x});if(D==u.attr("href")){u.css("cursor",F.cursor)}u.attr("title","");if(F.hoverClass){u.addClass(F.hoverClass)}s=J=u.offset().top;t=u.offset().left;M=ac.pageX;L=ac.pageY;if(u[0].tagName.toLowerCase()!="area"){m=e(document).scrollTop();n=e(window).width()}if(F.positionBy=="fixed"){K=B+t+A;i.css({left:K})}else{K=(B>t&&t>U)||t+B+U+A>n?t-U-A:B+t+A;if(u[0].tagName.toLowerCase()=="area"||F.positionBy=="mouse"||B+U>n){if(M+20+U>n){i.addClass(" cluetip-"+r);K=(M-U-A)>=0?M-U-A-parseInt(i.css("marginLeft"),10)+parseInt(h.css("marginRight"),10):M-(U/2)}else{K=M+A}}var Z=K<0?ac.pageY+E:ac.pageY;i.css({left:(K>0&&F.positionBy!="bottomTop")?K:(M+(U/2)>n)?n/2-U/2:Math.max(M-(U/2),0)})}R=e(window).height();if(l){h.html(l);N(Z)}else{if(O){var aa=O.length;for(var ab=0;ab<aa;ab++){if(ab==0){h.html(O[ab])}else{h.append('<div class="split-body">'+O[ab]+"</div>")}}N(Z)}else{if(!F.local&&D.indexOf("#")!=0){if(o&&F.ajaxCache){h.html(o);N(Z)}else{var ad=F.ajaxSettings;ad.url=D;ad.beforeSend=function(){g.children().empty();if(F.waitImage){e("#cluetip-waitimage").css({top:L+20,left:M+20}).show()}};ad.error=function(){if(Q){h.html("<i>sorry, the contents could not be loaded</i>")}};ad.success=function(af){o=F.ajaxProcess(af);if(Q){h.html(o)}};ad.complete=function(){c=e("#cluetip-inner img").length;if(c&&!e.browser.opera){e("#cluetip-inner img").load(function(){c--;if(c<1){e("#cluetip-waitimage").hide();if(Q){N(Z)}}})}else{e("#cluetip-waitimage").hide();if(Q){N(Z)}}};e.ajax(ad)}}else{if(F.local){var ae=e(D+":first");var Y=e.fn.wrapInner?ae.wrapInner("<div></div>").children().clone(true):ae.html();e.fn.wrapInner?h.empty().append(Y):h.html(Y);N(Z)}}}}};var N=function(aa){i.addClass("cluetip-"+r);if(F.truncate){var ab=h.text().slice(0,F.truncate)+"...";h.html(ab)}function Y(){}G?d.show().html(G):(F.showTitle)?d.show().html("&nbsp;"):d.hide();if(F.sticky){var Z=e('<div id="cluetip-close"><a href="#">'+F.closeText+"</a></div>");(F.closePosition=="bottom")?Z.appendTo(h):(F.closePosition=="title")?Z.prependTo(d):Z.prependTo(h);Z.click(function(){C();return false});if(F.mouseOutClose){if(e.fn.hoverIntent&&F.hoverIntent){i.hoverIntent({over:Y,timeout:F.hoverIntent.timeout,out:function(){Z.trigger("click")}})}else{i.hover(Y,function(){Z.trigger("click")})}}else{i.unbind("mouseout")}}var ac="";g.css({overflow:w=="auto"?"visible":"auto",height:w});z=w=="auto"?Math.max(i.outerHeight(),i.height()):parseInt(w,10);W=J;S=m+R;if(F.positionBy=="fixed"){W=J-F.dropShadowSteps+E}else{if((K<M&&Math.max(K,0)+U>M)||F.positionBy=="bottomTop"){if(J+z+E>S&&L-m>z+E){W=L-z-E;ac="top"}else{W=L+E;ac="bottom"}}else{if(J+z+E>S){W=(z>=R)?m:S-z-E}else{if(u.css("display")=="block"||u[0].tagName.toLowerCase()=="area"||F.positionBy=="mouse"){W=aa-E}else{W=J-F.dropShadowSteps}}}}if(ac==""){K<t?ac="left":ac="right"}i.css({top:W+"px"}).removeClass().addClass("clue-"+ac+"-"+r).addClass(" cluetip-"+r);if(F.arrows){var ad=(J-W-F.dropShadowSteps);f.css({top:(/(left|right)/.test(ac)&&K>=0&&ad>0)?ad+"px":/(left|right)/.test(ac)?0:""}).show()}else{f.hide()}j.hide();i.hide()[F.fx.open](F.fx.open!="show"&&F.fx.openSpeed);if(F.dropShadow){j.css({height:z,width:x}).show()}if(e.fn.bgiframe){i.bgiframe()}if(F.delayedClose>0){P=setTimeout(C,F.delayedClose)}F.onShow(i,h)};var V=function(){Q=false;e("#cluetip-waitimage").hide();if(!F.sticky||(/click|toggle/).test(F.activation)){C();clearTimeout(P)}if(F.hoverClass){u.removeClass(F.hoverClass)}e(".cluetip-clicked").removeClass("cluetip-clicked")};var C=function(){g.parent().hide().removeClass().end().children().empty();if(G){u.attr(F.titleAttribute,G)}u.css("cursor","");if(F.arrows){f.css({top:""})}};if((/click|toggle/).test(F.activation)){u.click(function(Y){if(i.is(":hidden")||!u.is(".cluetip-clicked")){v(Y);e(".cluetip-clicked").removeClass("cluetip-clicked");u.addClass("cluetip-clicked")}else{V(Y)}this.blur();return false})}else{if(F.activation=="focus"){u.focus(function(Y){v(Y)});u.blur(function(Y){V(Y)})}else{u.click(function(){if(u.attr("href")&&u.attr("href")==D&&!F.clickThrough){return false}});var p=function(Y){if(F.tracking==true){var aa=K-Y.pageX;var Z=W?W-Y.pageY:J-Y.pageY;u.mousemove(function(ab){i.css({left:ab.pageX+aa,top:ab.pageY+Z})})}};if(e.fn.hoverIntent&&F.hoverIntent){u.mouseover(function(){u.attr("title","")}).hoverIntent({sensitivity:F.hoverIntent.sensitivity,interval:F.hoverIntent.interval,over:function(Y){v(Y);p(Y)},timeout:F.hoverIntent.timeout,out:function(Y){V(Y);u.unbind("mousemove")}})}else{u.hover(function(Y){v(Y);p(Y)},function(Y){V(Y);u.unbind("mousemove")})}}}})};e.fn.cluetip.defaults={width:275,height:"auto",cluezIndex:97,positionBy:"auto",topOffset:15,leftOffset:15,local:false,hideLocal:true,attribute:"rel",titleAttribute:"title",splitTitle:"",showTitle:true,cluetipClass:"default",hoverClass:"",waitImage:true,cursor:"help",arrows:false,dropShadow:true,dropShadowSteps:6,sticky:false,mouseOutClose:false,activation:"hover",clickThrough:false,tracking:false,delayedClose:0,closePosition:"top",closeText:"Close",truncate:0,fx:{open:"show",openSpeed:""},hoverIntent:{sensitivity:3,interval:50,timeout:0},onActivate:function(k){return true},onShow:function(k,l){},ajaxCache:true,ajaxProcess:function(k){k=k.replace(/<s(cript|tyle)(.|\s)*?\/s(cript|tyle)>/g,"").replace(/<(link|title)(.|\s)*?\/(link|title)>/g,"");return k},ajaxSettings:{dataType:"html"},debug:false};var b="appendTo",a="body";e.cluetip={};e.cluetip.setup=function(k){if(k&&k.insertionType&&(k.insertionType).match(/appendTo|prependTo|insertBefore|insertAfter/)){b=k.insertionType}if(k&&k.insertionElement){a=k.insertionElement}}})(jQuery);;$(document).ready(function(){$("a.title").cluetip({splitTitle:"|"});$("a.titlewide").cluetip({splitTitle:"|",width:"400px"});$("a.basic").cluetip();$("a.basicwide").cluetip({width:"400px"});$("a.custom-width").cluetip({width:"200px",showTitle:false});$("h4").cluetip({attribute:"id",hoverClass:"highlight"});$("#sticky").cluetip({sticky:true,closePosition:"title"});$("#stickywide1").cluetip({sticky:true,width:"450px",closePosition:"title"});$("#stickywide2").cluetip({sticky:true,width:"400px",closePosition:"title"});$("#stickywide3").cluetip({sticky:true,width:"400px",closePosition:"title"});$("#stickywide4").cluetip({sticky:true,width:"400px",closePosition:"title"});$("#stickywide5").cluetip({sticky:true,width:"400px",closePosition:"title"});$("#examples a:eq(5)").cluetip({hoverClass:"highlight",sticky:true,closePosition:"bottom",closeText:'<img src="cross.png" alt="close" width="16" height="16" />',truncate:60});$("a.load-local").cluetip({local:true,hideLocal:false,arrows:true,cursor:"pointer"});$("#clickme").cluetip({activation:"click",width:650});$("a.jt:eq(0)").cluetip({cluetipClass:"jtip",arrows:true,dropShadow:false,sticky:true,mouseOutClose:true,closePosition:"title",closeText:'<img src="cross.png" alt="close" />'});$("a.jt:eq(1)").cluetip({cluetipClass:"jtip",arrows:true,dropShadow:false,hoverIntent:false});$("span[@title]").css({borderBottom:"1px solid #900"}).cluetip({splitTitle:"|",arrows:true,dropShadow:false,cluetipClass:"jtip"});$("a.jt:eq(2)").cluetip({cluetipClass:"jtip",arrows:true,dropShadow:false,height:"150px",sticky:true,positionBy:"bottomTop"});$("a.jt:eq(3)").cluetip({local:true,hideLocal:false});$("a.jt:eq(4)").cluetip({cluetipClass:"jtip",arrows:true,dropShadow:false,onActivate:function(b){var a=$("#cb")[0];return!a||a.checked}});$("ol.rounded a:eq(0)").cluetip({splitTitle:"|",dropShadow:false,cluetipClass:"rounded",showtitle:false});$("ol.rounded a:eq(1)").cluetip({cluetipClass:"rounded",dropShadow:false,showtitle:false,positionBy:"mouse"});$("ol.rounded a:eq(2)").cluetip({cluetipClass:"rounded",dropShadow:false,showtitle:false,positionBy:"bottomTop",topOffset:70});$("ol.rounded a:eq(3)").cluetip({cluetipClass:"rounded",dropShadow:false,sticky:true,ajaxCache:false,arrows:true});$("ol.rounded a:eq(4)").cluetip({cluetipClass:"rounded",dropShadow:false})});$(document).ready(function(){$("div.html, div.jquery").next().css("display","none").end().click(function(){$(this).next().toggle("fast")});$("a.false").click(function(){return false})});;$(document).ready(function(){$(".scroll").click(function(e){e.preventDefault();var b=this.href;var f=b.split("#");var a=f[1];var d=$("#"+a).offset();var c=d.top;$("html, body").animate({scrollTop:c},500)})});;function isAlphanumeric(elem,helperMsg){elem.style.background='white';var alphaExp=/^[0-9a-zA-Z]+$/;if(elem.value.match(alphaExp)){return true;}else{alert(helperMsg);elem.style.background='lightyellow';elem.focus();return false;}}
function isAlphanumericSpace(elem,helperMsg){elem.style.background='white';var alphaExp=/^[0-9a-zA-Z]+[0-9a-zA-Z]*$/;if(elem.value.match(alphaExp)){return true;}else{alert(helperMsg);elem.style.background='lightyellow';elem.focus();return false;}}
function isDate(elem,helperMsg){elem.style.background='white';var alphaExp=/^([A-Za-z]{0,}[\.\,\s]{0,}[A-Za-z]{1,}[\.\s]{1,}[0-9]{1,2}[\,\s]{0,}[0-9]{4})| ([0-9]{0,4}[-,\s]{0,}[A-Za-z]{3,9}[-,\s]{0,}[0-9]{1,2}[-,\s]{0,}[A-Za-z]{0,8})| ([0-9]{1,4}[\/\.\-][0-9]{1,4}[\/\.\-][0-9]{1,4})$/;if(elem.value.match(alphaExp)){return true;}else{alert(helperMsg);elem.style.background='lightyellow';elem.focus();return false;}}
function isConfcode(elem,helperMsg){elem.style.background='white';var alphaExp='92qv6';if(elem.value.match(alphaExp)){return true;}else{alert(helperMsg);elem.style.background='lightyellow';elem.focus();return false;}}
function emailValidator(elem,helperMsg){elem.style.background='white';var emailExp=/^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;if(elem.value.match(emailExp)){return true;}else{alert(helperMsg);elem.style.background='lightyellow';elem.focus();return false;}}
function isNumeric(elem,helperMsg){elem.style.background='white';var numericExpression=/^[0-9]+$/;if(elem.value.match(numericExpression)){return true;}else{alert(helperMsg);elem.style.background='lightyellow';elem.focus();return false;}}
function isAlphabet(elem,helperMsg){elem.style.background='white';var alphaExp=/^[a-zA-Z]+$/;if(elem.value.match(alphaExp)){return true;}else{alert(helperMsg);elem.style.background='lightyellow';elem.focus();return false;}}
function isAlphabetSpace(elem,helperMsg){elem.style.background='white';var alphaExp=/^[a-zA-Z]+[a-zA-Z ]*$/;if(elem.value.match(alphaExp)){return true;}else{alert(helperMsg);elem.style.background='lightyellow';elem.focus();return false;}}
function matchEmail(elem1,elem2,helperMsg){elem1.style.background='white';elem2.style.background='white';if(elem1.value=elem2.value){return true;}else{alert(helperMsg);elem1.style.background='lightyellow';elem2.style.background='lightyellow';elem1.focus();return false;}}
function madeSelection(elem,helperMsg){if(elem.value=="Please Choose"){alert(helperMsg);elem.focus();return false;}else{return true;}}
function isEmpty(elem,helperMsg){if(elem.value.length>0){return false;}
return true;}
function isChecked1(elem,helperMsg){if(elem.checked)
{return true;}else{alert(helperMsg);elem.focus();return false;}}
function isChecked6(elem1,elem2,elem3,elem4,elem5,elem6,helperMsg){if(elem1.checked||elem2.checked||elem3.checked||elem4.checked||elem5.checked||elem6.checked)
{return true;}else{alert(helperMsg);elem1.focus();return false;}}
function isChecked5(elem1,elem2,elem3,elem4,elem5,helperMsg){if(elem1.checked||elem2.checked||elem3.checked||elem4.checked||elem5.checked)
{return true;}else{alert(helperMsg);elem1.focus();return false;}}
function isChecked4(elem1,elem2,elem3,elem4,helperMsg){if(elem1.checked||elem2.checked||elem3.checked||elem4.checked)
{return true;}else{alert(helperMsg);elem1.focus();return false;}}
function notEmpty(elem,helperMsg){elem.style.background='white';if(elem.value.length==0){alert(helperMsg);elem.style.background='lightyellow';elem.focus();return false;}
return true;}
function lengthRestriction(elem,min,max){var uInput=elem.value;elem.style.background='white';if(uInput.length>=min&&uInput.length<=max){return true;}else{alert("Please enter between "+min+" and "+max+" characters");elem.style.background='lightyellow';elem.focus();return false;}}
function isPhone(elem,helperMsg){elem.style.background='white';var alphaExp=/^([0-9]( |-)?)?(\(?[0-9]{3}\)?|[0-9]{3})( |-)?([0-9]{3}( |-)?[0-9]{4}|[a-zA-Z0-9]{7})$/;if(elem.value.match(alphaExp)){return true;}else{alert(helperMsg);elem.style.background='lightyellow';elem.focus();return false;}}
