/* 
	functions-front.min.js
	===============================================================
	This file has been minified at http://www.refresh-sf.com/yui/
	(JavaScript Options: 'Minify only, no symbol obfuscation.')
	
	Please update the DEV version then recompress: 
	functions-front.js		
  ===============================================================
*/

function detect_browser(){var jbrowserVersion=parseFloat($.browser.version.substring(0,3));if($.browser.mozilla){if(jbrowserVersion>=1.8){$.globals.isFirefox15up=true}if(jbrowserVersion<1.9){$.globals.isFirefox2=true}if(jbrowserVersion>=1.9){$.globals.isFirefox3up=true}}else{if($.browser.msie){if($.browser.version==6){$.globals.isIE6=true}if($.browser.version>=6){$.globals.isIE6up=true}}else{if($.browser.safari){if(($.browser.version>=522)||(jbrowserVersion>=522)){$.globals.isSafari3up=true}if(($.browser.version>=528)||(jbrowserVersion>=528)){$.globals.isSafari4up=true}else{if(($.browser.version<528)||(jbrowserVersion<528)){$.globals.isSafari3down=true}}}}}if($.globals.isFirefox15up||$.globals.isIE6up||$.globals.isSafari3up){isHiFi=true}return isHiFi}function detect_platform(){var ua=navigator.userAgent.toLowerCase();var platform="";if(ua.indexOf("win")!=-1){platform="win"}else{if(ua.indexOf("mac")!=-1){platform="mac"}else{if(ua.indexOf("unix")!=-1){platform="unix"}else{if(ua.indexOf("linux")!=-1){platform="linux"}}}}return platform}function hovers(el){$(el).bind("focus, hover, mouseenter, mouseover",function(){$(this).addClass("hover");if(el=="a.faux-button"){$(this).find(".outer").addClass("outer-hover")}}).bind("blur, mouseleave, mouseout",function(){$(this).removeClass("hover");if(el=="a.faux-button"){$(this).find(".outer").removeClass("outer-hover")}})}function load_script(filename){$("head").append($("<script/>").attr({type:"text/javascript",src:filename}))}function load_stylesheet(filename){$("head").append($("<link/>").attr({type:"text/css",href:filename,rel:"stylesheet"}))}function browser_warning(){var w="";w+='<p class="browser"><strong>This page works best in modern browsers. </strong></p>';w+='<p class="noscript note">Please upgrade to <a href="http://www.apple.com/safari/download/">Safari</a> 3<sup>+</sup>, ';w+='<a href="http://www.mozilla-europe.org/en/firefox/">Firefox</a> 2<sup>+</sup>, or ';w+='<a href="http://www.microsoft.com/windows/internet-explorer/default.aspx">Internet Explorer</a> 7<sup>+</sup>) ';w+="to get the most from this page. </p>";document.write(w)}function browser_warning_remove(){$("#warning").remove()}function hover_states_incl_preload(el){$(function(){$(el).each(function(){rollsrc=$(this).attr("src");rollover=rollsrc.replace(/-off.gif$/ig,"-over.gif");$("<img/>").attr("src",rollover);$(this).data("offstate",rollsrc).data("overstate",rollover)});$(el).parent().bind("mouseenter focus",function(e){if(e.target.tagName.toLowerCase()=="img"){$(e.target).parent().trigger("mouseenter")}else{var img=$(this).find("img:first");if($(img).attr("src")==$(img).data("offstate")){$(img).attr("src",$(img).data("overstate"))}}});$(el).parent().bind("mouseleave blur",function(e){if(e.target.tagName.toLowerCase()=="img"){$(e.target).parent().trigger("mouseleave")}else{var img=$(this).find("img:first");if($(img).attr("src")==$(img).data("overstate")){$(img).attr("src",$(img).data("offstate"))}}})})};