doWelcome = function(obj){ if(location.href.match("volunteers") == "volunteers"){ obj="#82a7a0"; } else if(location.href.match("researchers") == "researchers"){ obj="#82a7a0"; } else if(location.href.match("partners") == "partners"){ obj="#82a7a0"; } else if(!obj){ obj="#82a7a0"; } $j("h1").css("color",obj); $j("h1>a").css("color","#b2b2b2"); //Cufon.replace('h1',{hover: {color: '#666666'},fontFamily:'qwer'}); } dosmaller = function(obj){ obj = obj+"px"; } searchinfo = function(){ docufon('#searchinfo','qwer'); } countselected = function(obj){ obj = obj+"px"; $j('.countselected').css("font-size",obj); docufon('.countselected','qwer'); } docontent = function(obj,what){ obj = obj+"px"; $j(what+">span").css("font-size",obj).css("color","#000000").css("line-height","20px").css("letter-spacing","-1.5"); $j(what+">span>a").css( "color", "#b2b2b2"); $j(what+">span>strong>div").css("text-align", "right").css("color", "#000000").css("font-style","normal").css("font-weight","bold").css("font-size","130%"); $j(what+">span>a:hover").css("color", "#008ed6"); $j(what+">span>em").css("color", "#82A7A0").css("font-style","normal"); $j(what+">span>li").css("color", "#000000"); $j(what+">span.search").css("color","#196cba").css("text-decoration", "none").css("font-size","100%").css("font-style","normal").css("font-weight","normal"); docufon(what,'qwer'); } docondsmeds = function(obj,what){ obj = obj+"px"; $j(what).css("font-size",obj).css("color","#000000").css("line-height","20px").css("letter-spacing","-1.5"); $j(what+">a").css( "color", "#b2b2b2"); $j(what+">strong").css("color", "#196cba").css("font-style","normal").css("font-weight","normal"); $j(what+">a:hover").css("color", "#008ed6"); $j(what+">em").css("color", "#196cba").css("font-style","normal"); $j(what+">li").css("color", "#000000"); docufon(what,'qwer'); } donsubtitles = function(obj,what){ obj = obj+"px"; $j(what).css("font-size",obj).css("color","#464646").css("line-height","20px").css("letter-spacing","-1.5"); $j(what+">a").css( "color", "#b2b2b2"); $j(what+">strong").css("color", "#82A7A0").css("font-style","normal").css("font-weight","700"); $j(what+">a:hover").css("color", "#008ed6"); $j(what+">em").css("color", "#82A7A0").css("font-style","normal"); $j(what+">li").css("color", "#000000"); docufon(what,'qwer'); } dosmallertitles = function(obj){ obj = obj+"px"; $j('.smallertitles').css("font-size",obj); docufon('.smallertitles','qwer'); } dosmallercontent = function(obj){ obj = obj+"px"; $j('.smallercontent').css("font-size",obj); docufon('.smallercontent','qwer'); } dosmallercontentL = function(obj){ obj = obj+"px"; $j(".smallercontentL").css("font-size",obj); Cufon.replace(".smallercontentL",{hover: {color: '#666666',borderBottom: '1px solid #666666'}, fontFamily:'qwer'}); } dosmallercontentdate = function(obj,what){ obj = obj+"px"; sIFR.replace(avenir, { selector: '.'+what+'' ,wmode:'transparent' ,css: { // '.sIFR-root': { 'color': '#660000', 'letter-spacing': -1.5, 'text-transform': 'capitalize' } '.sIFR-root': { 'text-align':'center','color': '#000000', 'font-size':obj,'letter-spacing': 0,'line-height':'15px', 'text-transform': 'capitalize'}, 'a': { 'color': '#318dc8', 'letter-spacing': 0, 'font-size':'100%', 'font-style':'normal'}, 'p': {'text-decoration': 'none', 'color': '#008ed6', 'letter-spacing': 0, 'font-size':'100%', 'font-style':'normal'}, 'a:hover': { 'color': '#008ed6', 'letter-spacing': 0, 'font-size':'100%', 'font-style':'normal'}, 'em': { 'color': '#12c000', 'letter-spacing': 0, 'font-size':'100%', 'font-style':'normal','text-align':'right'}, 'strong':{'text-align':'center', 'color': '#000000', 'text-decoration': 'none', 'font-size':'100%','font-style':'normal','font-weight':'bold', 'text-transform': 'capitalize'} } }); } doyesno = function(obj){// is used for analyze this only -- not currently used obj = obj+"px"; sIFR.replace(avenir, { selector: '.doyesno' ,wmode:'transparent' ,css: { // '.sIFR-root': { 'color': '#660000', 'letter-spacing': -1.5, 'text-transform': 'capitalize' } '.sIFR-root': { 'text-align':'center','color': '#ffffff', 'font-size':obj,'letter-spacing': 0,'line-height':'17px'}, 'em': { 'color': '#979797', 'letter-spacing': 0, 'font-size':'100%', 'font-style':'normal'}, 'a': { 'color': '#979797', 'letter-spacing': 0, 'font-size':'100%', 'font-style':'normal'}, 'p': {'text-decoration': 'none', 'color': '#008ed6', 'letter-spacing': 0, 'font-size':'100%', 'font-style':'normal'}, 'a:hover': { 'color': '#008ed6', 'letter-spacing': 0, 'font-size':'100%', 'font-style':'normal'}, 'strong':{'text-align':'center', 'color': '#000000', 'text-decoration': 'none', 'font-size':'100%','font-style':'normal','font-weight':'bold', 'text-transform': 'capitalize'} } }); } kirstin = function(obj){ $j(".kirstin").css("color","#81a7aa").css("line-height","20px"); docufon('.kirstin','qwer'); } lara = function(obj){ docufon('.lara','qwer'); } dosubnav = function(){ docufon('.subnav','qwer'); } dogridtitle = function(){ docufon('.gridtitle','qwer'); } doSifrsubTitle = function(align){ $j(".subTitle").css("text-align",align); docufon('.subTitle','qwer'); } dosave = function(align){ docufon('.csavedsearch','qwer'); //$j(".csavedsearch>strong").css("margin-top","-4px"); } doSifrTitle = function(num){ if(!num){ num = '17px'; } $j(".Title").css("font-size",num); docufon('.Title','qwer'); } dochart = function(num){ //not currently used?? // if(!num){ // num = '17px'; // } // //alert('cowman'); // sIFR.replace(avenir, { // selector: '.dochart' // ,wmode:'transparent' // ,css: { // // '.sIFR-root': { 'color': '#660000', 'letter-spacing': -1.5, 'text-transform': 'capitalize' } // '.sIFR-root': { 'color': '#000000', 'font-size':num, 'letter-spacing': -0.3, 'font-weight':'normal','text-transform': 'uppercase','text-align':'left'},//, 'text-transform': 'capitalize' // //'strong': { 'color': '#154082', 'letter-spacing': -0.3, 'font-size':'100%'}, // 'a':{ 'color': '#154082', 'text-decoration': 'underline', 'text-transform': 'lowercase', 'font-size':'100%'}, // 'em':{ 'color': '#666666','font-style':'normal', 'text-decoration': 'none', 'font-size':'100%'}, // 'strong':{ 'color': '#a9a9a9','font-weight':'normal','letter-spacing': 1.3, 'text-decoration': 'none', 'font-size':'100%'} // // } // }); }