$(document).ready(function() {
	tableOver();
});
function tableOver() {
	$(".gradeA").hover(function() {
		$(this).addClass('over');
	}, function() {
		$(".gradeA").removeClass('over');
	});
}function insertZoomHTML(){var v=document.getElementsByTagName("body").item(0);var n=document.createElement("div");n.setAttribute("id","ZoomSpin");n.style.position="absolute";n.style.left="10px";n.style.top="10px";n.style.visibility="hidden";n.style.zIndex="1525";v.insertBefore(n,v.firstChild);var F=document.createElement("img");F.setAttribute("id","SpinImage");F.setAttribute("src",zoomImagesURI+"zoom-spin-1.png");n.appendChild(F);var t=document.createElement("div");t.setAttribute("id","ZoomBox");t.style.position="absolute";t.style.left="10px";t.style.top="10px";t.style.visibility="hidden";t.style.zIndex="1499";v.insertBefore(t,n.nextSibling);var G=document.createElement("img");G.onclick=function(N){zoomOut(this,N);return false};G.setAttribute("src",zoomImagesURI+"spacer.gif");G.setAttribute("id","ZoomImage");G.setAttribute("border","0");G.setAttribute("style","-webkit-box-shadow: "+shadowSettings+"0.0)");G.style.display="block";G.style.width="10px";G.style.height="10px";G.style.cursor="pointer";t.appendChild(G);var C=document.createElement("div");C.setAttribute("id","ZoomClose");C.style.position="absolute";if(browserIsIE){C.style.left="-1px";C.style.top="0px"}else{C.style.left="-15px";C.style.top="-15px"}C.style.visibility="hidden";t.appendChild(C);var D=document.createElement("img");D.onclick=function(N){zoomOut(this,N);return false};D.setAttribute("src",zoomImagesURI+"closebox.png");D.setAttribute("width","30");D.setAttribute("height","30");D.setAttribute("border","0");D.style.cursor="pointer";C.appendChild(D);if(!document.getElementById("ZoomImage").style.webkitBoxShadow&&!browserIsIE){var B=document.createElement("div");B.setAttribute("id","ShadowBox");B.style.position="absolute";B.style.left="50px";B.style.top="50px";B.style.width="100px";B.style.height="100px";B.style.visibility="hidden";B.style.zIndex="1498";v.insertBefore(B,t.nextSibling);var E=document.createElement("table");E.setAttribute("border","0");E.setAttribute("width","100%");E.setAttribute("height","100%");E.setAttribute("cellpadding","0");E.setAttribute("cellspacing","0");B.appendChild(E);var f=document.createElement("tbody");E.appendChild(f);var A=document.createElement("tr");A.style.height="25px";f.appendChild(A);var u=document.createElement("td");u.style.width="27px";A.appendChild(u);var g=document.createElement("img");g.setAttribute("src",zoomImagesURI+"zoom-shadow1.png");g.setAttribute("width","27");g.setAttribute("height","25");g.style.display="block";u.appendChild(g);var s=document.createElement("td");s.setAttribute("background",zoomImagesURI+"zoom-shadow2.png");A.appendChild(s);var d=document.createElement("img");d.setAttribute("src",zoomImagesURI+"spacer.gif");d.setAttribute("height","1");d.setAttribute("width","1");d.style.display="block";s.appendChild(d);var q=document.createElement("td");q.style.width="27px";A.appendChild(q);var a=document.createElement("img");a.setAttribute("src",zoomImagesURI+"zoom-shadow3.png");a.setAttribute("width","27");a.setAttribute("height","25");a.style.display="block";q.appendChild(a);inRow2=document.createElement("tr");f.appendChild(inRow2);var p=document.createElement("td");p.setAttribute("background",zoomImagesURI+"zoom-shadow4.png");inRow2.appendChild(p);var b=document.createElement("img");b.setAttribute("src",zoomImagesURI+"spacer.gif");b.setAttribute("height","1");b.setAttribute("width","1");b.style.display="block";p.appendChild(b);var l=document.createElement("td");l.setAttribute("bgcolor","#ffffff");inRow2.appendChild(l);var aa=document.createElement("img");aa.setAttribute("src",zoomImagesURI+"spacer.gif");aa.setAttribute("height","1");aa.setAttribute("width","1");aa.style.display="block";l.appendChild(aa);var j=document.createElement("td");j.setAttribute("background",zoomImagesURI+"zoom-shadow5.png");inRow2.appendChild(j);var y=document.createElement("img");y.setAttribute("src",zoomImagesURI+"spacer.gif");y.setAttribute("height","1");y.setAttribute("width","1");y.style.display="block";j.appendChild(y);var z=document.createElement("tr");z.style.height="26px";f.appendChild(z);var e=document.createElement("td");e.style.width="27px";z.appendChild(e);var L=document.createElement("img");L.setAttribute("src",zoomImagesURI+"zoom-shadow6.png");L.setAttribute("width","27");L.setAttribute("height","26");L.style.display="block";e.appendChild(L);var c=document.createElement("td");c.setAttribute("background",zoomImagesURI+"zoom-shadow7.png");z.appendChild(c);var w=document.createElement("img");w.setAttribute("src",zoomImagesURI+"spacer.gif");w.setAttribute("height","1");w.setAttribute("width","1");w.style.display="block";c.appendChild(w);var M=document.createElement("td");M.style.width="27px";z.appendChild(M);var K=document.createElement("img");K.setAttribute("src",zoomImagesURI+"zoom-shadow8.png");K.setAttribute("width","27");K.setAttribute("height","26");K.style.display="block";M.appendChild(K)}if(includeCaption){var k=document.createElement("div");k.setAttribute("id","ZoomCapDiv");k.style.position="absolute";k.style.visibility="hidden";k.style.marginLeft="auto";k.style.marginRight="auto";k.style.zIndex="1501";v.insertBefore(k,t.nextSibling);var o=document.createElement("table");o.setAttribute("border","0");o.setAttribute("cellPadding","0");o.setAttribute("cellSpacing","0");k.appendChild(o);var x=document.createElement("tbody");o.appendChild(x);var r=document.createElement("tr");x.appendChild(r);var J=document.createElement("td");J.setAttribute("align","right");r.appendChild(J);var m=document.createElement("img");m.setAttribute("src",zoomImagesURI+"zoom-caption-l.png");m.setAttribute("width","13");m.setAttribute("height","26");m.style.display="block";J.appendChild(m);var I=document.createElement("td");I.setAttribute("background",zoomImagesURI+"zoom-caption-fill.png");I.setAttribute("id","ZoomCaption");I.setAttribute("valign","middle");I.style.fontSize="14px";I.style.fontFamily="Helvetica";I.style.fontWeight="bold";I.style.color="#ffffff";I.style.textShadow="0px 2px 4px #000000";I.style.whiteSpace="nowrap";r.appendChild(I);var H=document.createElement("td");r.appendChild(H);var h=document.createElement("img");h.setAttribute("src",zoomImagesURI+"zoom-caption-r.png");h.setAttribute("width","13");h.setAttribute("height","26");h.style.display="block";H.appendChild(h)}}var includeCaption=true;var zoomTime=5;var zoomSteps=15;var includeFade=1;var minBorder=90;var shadowSettings="0px 5px 25px rgba(0, 0, 0, ";var zoomImagesURI="/images-global/zoom/";var myWidth=0,myHeight=0,myScroll=0;myScrollWidth=0;myScrollHeight=0;var zoomOpen=false,preloadFrame=1,preloadActive=false,preloadTime=0,imgPreload=new Image();var preloadAnimTimer=0;var zoomActive=new Array();var zoomTimer=new Array();var zoomOrigW=new Array();var zoomOrigH=new Array();var zoomOrigX=new Array();var zoomOrigY=new Array();var zoomID="ZoomBox";var theID="ZoomImage";var zoomCaption="ZoomCaption";var zoomCaptionDiv="ZoomCapDiv";if(navigator.userAgent.indexOf("MSIE")!=-1){var browserIsIE=true}function setupZoom(){prepZooms();insertZoomHTML();zoomdiv=document.getElementById(zoomID);zoomimg=document.getElementById(theID)}function prepZooms(){if(!document.getElementsByTagName){return}var a=document.getElementsByTagName("a");for(i=0;i<a.length;i++){if(a[i].getAttribute("href")){if(a[i].getAttribute("href").search(/(.*)\.(jpg|jpeg|gif|png|bmp|tif|tiff)/gi)!=-1){if(a[i].getAttribute("rel")!="nozoom"){a[i].onclick=function(b){return zoomClick(this,b)};a[i].onmouseover=function(){zoomPreload(this)}}}}}}function zoomPreload(b){var a=b.getAttribute("href");if(imgPreload.src.indexOf(b.getAttribute("href").substr(b.getAttribute("href").lastIndexOf("/")))==-1){preloadActive=true;imgPreload=new Image();imgPreload.onload=function(){preloadActive=false};imgPreload.src=a}}function preloadAnimStart(){preloadTime=new Date();document.getElementById("ZoomSpin").style.left=(myWidth/2)+"px";document.getElementById("ZoomSpin").style.top=((myHeight/2)+myScroll)+"px";document.getElementById("ZoomSpin").style.visibility="visible";preloadFrame=1;document.getElementById("SpinImage").src=zoomImagesURI+"zoom-spin-"+preloadFrame+".png";preloadAnimTimer=setInterval("preloadAnim()",100)}function preloadAnim(a){if(preloadActive!=false){document.getElementById("SpinImage").src=zoomImagesURI+"zoom-spin-"+preloadFrame+".png";preloadFrame++;if(preloadFrame>12){preloadFrame=1}}else{document.getElementById("ZoomSpin").style.visibility="hidden";clearInterval(preloadAnimTimer);preloadAnimTimer=0;zoomIn(preloadFrom)}}function zoomClick(a,c){var b=getShift(c);if(!c&&window.event&&(window.event.metaKey||window.event.altKey)){return true}else{if(c&&(c.metaKey||c.altKey)){return true}}getSize();if(preloadActive==true){if(preloadAnimTimer==0){preloadFrom=a;preloadAnimStart()}}else{zoomIn(a,b)}return false}function zoomIn(b,a){zoomimg.src=b.getAttribute("href");if(b.childNodes[0].width){startW=b.childNodes[0].width;startH=b.childNodes[0].height;startPos=findElementPos(b.childNodes[0])}else{startW=50;startH=12;startPos=findElementPos(b)}hostX=startPos[0];hostY=startPos[1];if(document.getElementById("scroller")){hostX=hostX-document.getElementById("scroller").scrollLeft}endW=imgPreload.width;endH=imgPreload.height;if(zoomActive[theID]!=true){if(document.getElementById("ShadowBox")){document.getElementById("ShadowBox").style.visibility="hidden"}else{if(!browserIsIE){if(fadeActive.ZoomImage){clearInterval(fadeTimer.ZoomImage);fadeActive.ZoomImage=false;fadeTimer.ZoomImage=false}document.getElementById("ZoomImage").style.webkitBoxShadow=shadowSettings+"0.0)"}}document.getElementById("ZoomClose").style.visibility="hidden";if(includeCaption){document.getElementById(zoomCaptionDiv).style.visibility="hidden";if(b.getAttribute("title")&&includeCaption){document.getElementById(zoomCaption).innerHTML=b.getAttribute("title")}else{document.getElementById(zoomCaption).innerHTML=""}}zoomOrigW[theID]=startW;zoomOrigH[theID]=startH;zoomOrigX[theID]=hostX;zoomOrigY[theID]=hostY;zoomimg.style.width=startW+"px";zoomimg.style.height=startH+"px";zoomdiv.style.left=hostX+"px";zoomdiv.style.top=hostY+"px";if(includeFade==1){setOpacity(0,zoomID)}zoomdiv.style.visibility="visible";sizeRatio=endW/endH;if(endW>myWidth-minBorder){endW=myWidth-minBorder;endH=endW/sizeRatio}if(endH>myHeight-minBorder){endH=myHeight-minBorder;endW=endH*sizeRatio}zoomChangeX=((myWidth/2)-(endW/2)-hostX);zoomChangeY=(((myHeight/2)-(endH/2)-hostY)+myScroll);zoomChangeW=(endW-startW);zoomChangeH=(endH-startH);if(a){tempSteps=zoomSteps*7}else{tempSteps=zoomSteps}zoomCurrent=0;if(includeFade==1){fadeCurrent=0;fadeAmount=(0-100)/tempSteps}else{fadeAmount=0}zoomTimer[theID]=setInterval("zoomElement('"+zoomID+"', '"+theID+"', "+zoomCurrent+", "+startW+", "+zoomChangeW+", "+startH+", "+zoomChangeH+", "+hostX+", "+zoomChangeX+", "+hostY+", "+zoomChangeY+", "+tempSteps+", "+includeFade+", "+fadeAmount+", 'zoomDoneIn(zoomID)')",zoomTime);zoomActive[theID]=true}}function zoomOut(b,a){if(getShift(a)){tempSteps=zoomSteps*7}else{tempSteps=zoomSteps}if(zoomActive[theID]!=true){if(document.getElementById("ShadowBox")){document.getElementById("ShadowBox").style.visibility="hidden"}else{if(!browserIsIE){if(fadeActive.ZoomImage){clearInterval(fadeTimer.ZoomImage);fadeActive.ZoomImage=false;fadeTimer.ZoomImage=false}document.getElementById("ZoomImage").style.webkitBoxShadow=shadowSettings+"0.0)"}}document.getElementById("ZoomClose").style.visibility="hidden";if(includeCaption&&document.getElementById(zoomCaption).innerHTML!=""){document.getElementById(zoomCaptionDiv).style.visibility="hidden"}startX=parseInt(zoomdiv.style.left);startY=parseInt(zoomdiv.style.top);startW=zoomimg.width;startH=zoomimg.height;zoomChangeX=zoomOrigX[theID]-startX;zoomChangeY=zoomOrigY[theID]-startY;zoomChangeW=zoomOrigW[theID]-startW;zoomChangeH=zoomOrigH[theID]-startH;zoomCurrent=0;if(includeFade==1){fadeCurrent=0;fadeAmount=(100-0)/tempSteps}else{fadeAmount=0}zoomTimer[theID]=setInterval("zoomElement('"+zoomID+"', '"+theID+"', "+zoomCurrent+", "+startW+", "+zoomChangeW+", "+startH+", "+zoomChangeH+", "+startX+", "+zoomChangeX+", "+startY+", "+zoomChangeY+", "+tempSteps+", "+includeFade+", "+fadeAmount+", 'zoomDone(zoomID, theID)')",zoomTime);zoomActive[theID]=true}}function zoomDoneIn(a,b){zoomOpen=true;a=document.getElementById(a);if(document.getElementById("ShadowBox")){setOpacity(0,"ShadowBox");shadowdiv=document.getElementById("ShadowBox");shadowLeft=parseInt(a.style.left)-13;shadowTop=parseInt(a.style.top)-8;shadowWidth=a.offsetWidth+26;shadowHeight=a.offsetHeight+26;shadowdiv.style.width=shadowWidth+"px";shadowdiv.style.height=shadowHeight+"px";shadowdiv.style.left=shadowLeft+"px";shadowdiv.style.top=shadowTop+"px";document.getElementById("ShadowBox").style.visibility="visible";fadeElementSetup("ShadowBox",0,100,5)}else{if(!browserIsIE){fadeElementSetup("ZoomImage",0,0.8,5,0,"shadow")}}if(includeCaption&&document.getElementById(zoomCaption).innerHTML!=""){zoomcapd=document.getElementById(zoomCaptionDiv);zoomcapd.style.top=parseInt(a.style.top)+(a.offsetHeight+15)+"px";zoomcapd.style.left=(myWidth/2)-(zoomcapd.offsetWidth/2)+"px";zoomcapd.style.visibility="visible"}if(!browserIsIE){setOpacity(0,"ZoomClose")}document.getElementById("ZoomClose").style.visibility="visible";if(!browserIsIE){fadeElementSetup("ZoomClose",0,100,5)}document.onkeypress=getKey}function zoomDone(a,b){zoomOpen=false;zoomOrigH[b]="";zoomOrigW[b]="";document.getElementById(a).style.visibility="hidden";zoomActive[b]==false;document.onkeypress=null}function zoomElement(zoomdiv,theID,zoomCurrent,zoomStartW,zoomChangeW,zoomStartH,zoomChangeH,zoomStartX,zoomChangeX,zoomStartY,zoomChangeY,zoomSteps,includeFade,fadeAmount,execWhenDone){if(zoomCurrent==(zoomSteps+1)){zoomActive[theID]=false;clearInterval(zoomTimer[theID]);if(execWhenDone!=""){eval(execWhenDone)}}else{if(includeFade==1){if(fadeAmount<0){setOpacity(Math.abs(zoomCurrent*fadeAmount),zoomdiv)}else{setOpacity(100-(zoomCurrent*fadeAmount),zoomdiv)}}moveW=cubicInOut(zoomCurrent,zoomStartW,zoomChangeW,zoomSteps);moveH=cubicInOut(zoomCurrent,zoomStartH,zoomChangeH,zoomSteps);moveX=cubicInOut(zoomCurrent,zoomStartX,zoomChangeX,zoomSteps);moveY=cubicInOut(zoomCurrent,zoomStartY,zoomChangeY,zoomSteps);document.getElementById(zoomdiv).style.left=moveX+"px";document.getElementById(zoomdiv).style.top=moveY+"px";zoomimg.style.width=moveW+"px";zoomimg.style.height=moveH+"px";zoomCurrent++;clearInterval(zoomTimer[theID]);zoomTimer[theID]=setInterval("zoomElement('"+zoomdiv+"', '"+theID+"', "+zoomCurrent+", "+zoomStartW+", "+zoomChangeW+", "+zoomStartH+", "+zoomChangeH+", "+zoomStartX+", "+zoomChangeX+", "+zoomStartY+", "+zoomChangeY+", "+zoomSteps+", "+includeFade+", "+fadeAmount+", '"+execWhenDone+"')",zoomTime)}}function getKey(a){if(!a){theKey=event.keyCode}else{theKey=a.keyCode}if(theKey==27){zoomOut(this,a)}}function fadeOut(a){if(a.id){fadeElementSetup(a.id,100,0,10)}}function fadeIn(a){if(a.id){fadeElementSetup(a.id,0,100,10)}}var fadeActive=new Array();var fadeQueue=new Array();var fadeTimer=new Array();var fadeClose=new Array();var fadeMode=new Array();function fadeElementSetup(b,d,a,f,c,e){if(fadeActive[b]==true){fadeQueue[b]=new Array(b,d,a,f)}else{fadeSteps=f;fadeCurrent=0;fadeAmount=(d-a)/fadeSteps;fadeTimer[b]=setInterval("fadeElement('"+b+"', '"+fadeCurrent+"', '"+fadeAmount+"', '"+fadeSteps+"')",15);fadeActive[b]=true;fadeMode[b]=e;if(c==1){fadeClose[b]=true}else{fadeClose[b]=false}}}function fadeElement(d,b,c,a){if(b==a){clearInterval(fadeTimer[d]);fadeActive[d]=false;fadeTimer[d]=false;if(fadeClose[d]==true){document.getElementById(d).style.visibility="hidden"}if(fadeQueue[d]&&fadeQueue[d]!=false){fadeElementSetup(fadeQueue[d][0],fadeQueue[d][1],fadeQueue[d][2],fadeQueue[d][3]);fadeQueue[d]=false}}else{b++;if(fadeMode[d]=="shadow"){if(c<0){document.getElementById(d).style.webkitBoxShadow=shadowSettings+(Math.abs(b*c))+")"}else{document.getElementById(d).style.webkitBoxShadow=shadowSettings+(100-(b*c))+")"}}else{if(c<0){setOpacity(Math.abs(b*c),d)}else{setOpacity(100-(b*c),d)}}clearInterval(fadeTimer[d]);fadeTimer[d]=setInterval("fadeElement('"+d+"', '"+b+"', '"+c+"', '"+a+"')",15)}}function setOpacity(a,b){var c=document.getElementById(b).style;if(navigator.userAgent.indexOf("Firefox")!=-1){if(a==100){a=99.9999}}c.filter="alpha(opacity="+a+")";c.opacity=(a/100)}function linear(e,a,g,f){return g*e/f+a}function sineInOut(e,a,g,f){return -g/2*(Math.cos(Math.PI*e/f)-1)+a}function cubicIn(e,a,g,f){return g*(e/=f)*e*e+a}function cubicOut(e,a,g,f){return g*((e=e/f-1)*e*e+1)+a}function cubicInOut(e,a,g,f){if((e/=f/2)<1){return g/2*e*e*e+a}return g/2*((e-=2)*e*e+2)+a}function bounceOut(e,a,g,f){if((e/=f)<(1/2.75)){return g*(7.5625*e*e)+a}else{if(e<(2/2.75)){return g*(7.5625*(e-=(1.5/2.75))*e+0.75)+a}else{if(e<(2.5/2.75)){return g*(7.5625*(e-=(2.25/2.75))*e+0.9375)+a}else{return g*(7.5625*(e-=(2.625/2.75))*e+0.984375)+a}}}}function getSize(){if(self.innerHeight){myWidth=window.innerWidth;myHeight=window.innerHeight;myScroll=window.pageYOffset}else{if(document.documentElement&&document.documentElement.clientHeight){myWidth=document.documentElement.clientWidth;myHeight=document.documentElement.clientHeight;myScroll=document.documentElement.scrollTop}else{if(document.body){myWidth=document.body.clientWidth;myHeight=document.body.clientHeight;myScroll=document.body.scrollTop}}}if(window.innerHeight&&window.scrollMaxY){myScrollWidth=document.body.scrollWidth;myScrollHeight=window.innerHeight+window.scrollMaxY}else{if(document.body.scrollHeight>document.body.offsetHeight){myScrollWidth=document.body.scrollWidth;myScrollHeight=document.body.scrollHeight}else{myScrollWidth=document.body.offsetWidth;myScrollHeight=document.body.offsetHeight}}}function getShift(b){var a=false;if(!b&&window.event){a=window.event.shiftKey}else{if(b){a=b.shiftKey;if(a){b.stopPropagation()}}}return a}function findElementPos(b){var a=0;var c=0;do{a+=b.offsetLeft;c+=b.offsetTop}while(b=b.offsetParent);return Array(a,c)};
