$(document).ready(function(){$(".jsEnabled").css("display","block");$(".nolinkicon a").each(function(){$(this).addClass("nolinkicon")});$(".noexternallinkicon a").each(function(){$(this).addClass("noexternallinkicon ")});$("a").has("img").each(function(){return this.hostname&&("facebook.com"==this.hostname||"flickr.com"==this.hostname||"twitter.com"==this.hostname||"youtube.com"==this.hostname)}).addClass("nolinkicon");$("a").not(":has('img')").not(".nolinkicon").not(".noexternallinkicon ").not(".qzgfbmxpdfiigyjavxds").filter(function(){return this.hostname&& "www.ohlone.edu"!==this.hostname&&"www2.ohlone.edu"!==this.hostname&&"ohlone.edu"!==this.hostname&&"dev.ohlone.edu"!==this.hostname&&"dev2.ohlone.edu"!==this.hostname&&"accounts.ohlone.edu"!==this.hostname&&"appointments.ohlone.edu"!==this.hostname&&"bond.ohlone.edu"!==this.hostname&&"commed.ohlone.edu"!==this.hostname&&"email.ohlone.edu"!==this.hostname&&"fleamarket.ohlone.edu"!==this.hostname&&"foundation.ohlone.edu"!==this.hostname&&"help.ohlone.edu"!==this.hostname&&"itunes.ohlone.edu"!==this.hostname&& "mail.ohlone.edu"!==this.hostname&&"monitor.ohlone.edu"!==this.hostname&&"online.ohlone.edu"!==this.hostname&&"perl.cs.ohlone.edu"!==this.hostname&&"purchasing.ohlone.edu"!==this.hostname&&"scboxoffice.ohlone.edu"!==this.hostname&&"scholarships.ohlone.edu"!==this.hostname&&"smithcenter.ohlone.edu"!==this.hostname&&"speech.ohlone.edu"!==this.hostname&&"tech.ohlone.edu"!==this.hostname&&"webadvisor.ohlone.edu"!==this.hostname&&"www.ohlonebaseball.com"!==this.hostname&&"www.ohlonebasketball.com"!==this.hostname&& "www.ohlonesoccer.com"!==this.hostname&&"www.ohlonewomensbasketball.com"!==this.hostname&&"www.ohloneforkids.com"!==this.hostname&&"www.ohlonejobs.com"!==this.hostname&&"www.ohlonetv.com"!==this.hostname&&"www.smithcenter.com"!==this.hostname&&"www.smithcenterpresents.com"!==this.hostname&&"ohlone.augusoft.net"!==this.hostname}).append('<img src="/images/icons/externallink.png" alt="" style="padding-left:2px;" />');$("table.stripeMe tr").mouseover(function(){$(this).addClass("over")});$("table.stripeMe tr").mouseout(function(){$(this).removeClass("over")}); var d="white";$("table.stripeMe").each(function(){$(this).find("thead").each(function(){d="white"});$(this).find("tbody tr").not(".subheading").each(function(){$(this).addClass(d);d="white"==d?"alt":"white"})});$.fn.corner=function(e){function d(a){a=parseInt(a).toString(16);return 2>a.length?"0"+a:a}function q(a){for(;a&&"html"!=a.nodeName.toLowerCase();a=a.parentNode){var b=$.css(a,"backgroundColor");if(0<=b.indexOf("rgb")){if($.browser.safari&&"rgba(0, 0, 0, 0)"==b)continue;a=b.match(/\d+/g);return"#"+ d(a[0])+d(a[1])+d(a[2])}if(b&&"transparent"!=b)return b}return"#ffffff"}function r(a){switch(l){case "round":return Math.round(b*(1-Math.cos(Math.asin(a/b))));case "cool":return Math.round(b*(1+Math.cos(Math.asin(a/b))));case "sharp":return Math.round(b*(1-Math.cos(Math.acos(a/b))));case "bite":return Math.round(b*Math.cos(Math.asin((b-a-1)/b)));case "slide":return Math.round(b*Math.atan2(a,b/a));case "jut":return Math.round(b*Math.atan2(b,b-a-1));case "curl":return Math.round(b*Math.atan(a));case "tear":return Math.round(b* Math.cos(a));case "wicked":return Math.round(b*Math.tan(a));case "long":return Math.round(b*Math.sqrt(a));case "sculpt":return Math.round(b*Math.log(b-a-1,b));case "dog":return a&1?a+1:b;case "dog2":return a&2?a+1:b;case "dog3":return a&3?a+1:b;case "fray":return a%2*b;case "notch":return b;case "bevel":return a+1}}var n=$.browser.msie&&/MSIE 6.0/.test(navigator.userAgent),e=(e||"").toLowerCase(),s=/keep/.test(e),t=(e.match(/cc:(#[0-9a-f]+)/)||[])[1],u=(e.match(/sc:(#[0-9a-f]+)/)||[])[1],b=parseInt((e.match(/(\d+)px/)|| [])[1])||10,l=(e.match(/round|bevel|notch|bite|cool|sharp|slide|jut|curl|tear|fray|wicked|sculpt|long|dog3|dog2|dog/)||["round"])[0],o={T:0,B:1},f={TL:/top|tl/.test(e),TR:/top|tr/.test(e),BL:/bottom|bl/.test(e),BR:/bottom|br/.test(e)};!f.TL&&!f.TR&&!f.BL&&!f.BR&&(f={TL:1,TR:1,BL:1,BR:1});var g=document.createElement("div");g.style.overflow="hidden";g.style.height="1px";g.style.backgroundColor=u||"transparent";g.style.borderStyle="solid";return this.each(function(){var a=parseInt($.css(this,"paddingTop"))|| 0,d=parseInt($.css(this,"paddingRight"))||0,e=parseInt($.css(this,"paddingBottom"))||0,p=parseInt($.css(this,"paddingLeft"))||0;if($.browser.msie)this.style.zoom=1;if(!s)this.style.border="none";g.style.borderColor=t||q(this.parentNode);var l=$.curCSS(this,"height"),j;for(j in o){var h=o[j];if(h&&(f.BL||f.BR)||!h&&(f.TL||f.TR)){g.style.borderStyle="none "+(f[j+"R"]?"solid":"none")+" none "+(f[j+"L"]?"solid":"none");var i=document.createElement("div");$(i).addClass("jquery-corner");var c=i.style;h? this.appendChild(i):this.insertBefore(i,this.firstChild);if(h&&"auto"!=l){if("static"==$.css(this,"position"))this.style.position="relative";c.position="absolute";c.bottom=c.left=c.padding=c.margin="0";$.browser.msie?c.setExpression("width","this.parentNode.offsetWidth"):c.width="100%"}else if(!h&&$.browser.msie){if("static"==$.css(this,"position"))this.style.position="relative";c.position="absolute";c.top=c.left=c.right=c.padding=c.margin="0";var k=0;if(n||!$.boxModel)k=(parseInt($.css(this,"borderLeftWidth"))|| 0)+(parseInt($.css(this,"borderRightWidth"))||0);n?c.setExpression("width","this.parentNode.offsetWidth - "+k+'+ "px"'):c.width="100%"}else c.margin=!h?"-"+a+"px -"+d+"px "+(a-b)+"px -"+p+"px":e-b+"px -"+d+"px -"+e+"px -"+p+"px";for(c=0;c<b;c++){var k=Math.max(0,r(c)),m=g.cloneNode(!1);m.style.borderWidth="0 "+(f[j+"R"]?k:0)+"px 0 "+(f[j+"L"]?k:0)+"px";h?i.appendChild(m):i.insertBefore(m,i.firstChild)}}}})};$.fn.uncorner=function(){return $(".jquery-corner",this).remove()};$(".roundcorners").corner(); $(".roundcorners25").corner("25px");$(".bevelcorners").corner("bevel");$(".bevelcornerstop").corner("bevel top");$(".notchcorners").corner("notch");$(".bitecorners").corner("bite");$(".coolcorners").corner("cool");$(".sharpcorners").corner("sharp");$(".slidecorners").corner("slide");$(".jutcorners").corner("jut");$(".curlcorners").corner("curl");$(".tearcorners").corner("tear");$(".fraycorners").corner("fray");$(".wickedcorners").corner("wicked");$(".sculptcorners").corner("sculpt");$(".longcorners").corner("long"); $(".dogcorners").corner("dog");$(".dog2corners").corner("dog2");$(".dog3corners").corner("dog3");$(".roundcornersborder").corner("round 8px").parent().css("padding","4px").corner("round 10px")});if(window!=top)top.location.href=location.href;function redirect(d){d=d[d.selectedIndex].value;if(""!=d)self.location=d};
