if ( typeof(WolframAlphaWidget) !== 'object' || WolframAlphaWidget === null ){ var WolframAlphaWidget = {}; } WolframAlphaWidget['9015aab8ae09fca508842a9bdc28c077'] = { 'id' : 58017, 'width' : 575, 'height' : 300, 'title' :'Color Advisor', 'theme' :'green', 'output' :'lightbox', 'popHeight': 459, 'rowCount' : 2+0, 'podSelectBase' : '\x26podstate\x3DColorBlending\x253AColorData__More\x26podstate\x3DNearestNamedBrand\x253AColorData__More\x26podstate\x3DNearestPMS\x253AColorData__More\x26podstate\x3DNearestNamedHTML\x253AColorData__More\x26podstate\x3DColorSchemaConversions\x253AColorData__More\x26podstate\x3DRelatedColors\x253AColorData__More\x26podstate\x3DRelatedColors\x253AColorData__Details', 'podSelect': '', 'initialized' : false }; WolframAlphaWidget.getInput = function( id ){ var txt = jQuery('#wolframAlphaWidgetForm'+id+' input[name="querytemplate"]').val() if ( !txt || txt=='' ){ return ''; } var regex = /\${\w+}/g; var field = txt.match(regex); var param = {}; var i = '#wolframAlphaWidgetForm'+id; var inputs = jQuery(i+' input:text').add(i+' input:checked').add(i+' select'); for ( var i = 0 ; i < inputs.length ; i++ ){ //> var el = jQuery(inputs[i]); var name = el.attr('name'); param[name] = el.val(); } var result = txt; if ( field == null ){ return result; } for ( var i = 0 ; i < field.length ; i++ ){//> var f = field[i].slice(2,-1); //get field name minus id var v = param[f]; //get field value if ( typeof v == 'undefined' ){ v = '';} var regex = new RegExp('\\\${'+f+'}','g'); result = result.replace(regex,v); } return result; } WolframAlphaWidget.getAllInputs = function( id ){ var result = '', param = {}, i = '#wolframAlphaWidgetForm'+id, inputs = jQuery(i+' input:text').add(i+' input:checked').add(i+' select'); for ( var i = 0 ; i < inputs.length ; i++ ){ //> var el = jQuery(inputs[i]); result += '&'+encodeURIComponent('input_'+el.attr('name'))+'='+encodeURIComponent(el.val()); } return result; } WolframAlphaWidget.widthConstrained = function( wuid ){ var width = 575; try { width = WolframAlphaWidget[wuid]['width']; } catch(e){} return ( width > document.body.clientWidth ); } WolframAlphaWidget.heightConstrained = function( wuid ){ var height = 450; try { height = WolframAlphaWidget[wuid]['popHeight']; } catch(e){} return ( height > document.documentElement.clientHeight ); } WolframAlphaWidget.serializeById = function(wid){ var i = '#wolframAlphaWidgetForm'+wid; var result = ""; var inputs = jQuery(i+' input:text').add(i+' input:checked').add(i+' input:radio:selected').add(i+' select'); for ( var i = 0 ; i < inputs.length ; i++ ){ //> var el = jQuery(inputs[i]); var id = el.attr('id'); result += '&'+id+'='+encodeURIComponent( el.val() ); } return result; } WolframAlphaWidget.loadResultIFrame = function(wid,wuid,input ){ var podSelect = '', output = ''; try { podSelect = WolframAlphaWidget[wuid]['podSelect']; output = WolframAlphaWidget[wuid]['output']; } catch(e){} var useOpacity = jQuery.browser.msie; var newSrc = "http://www.wolframalpha.com/widget/input/?input="+encodeURIComponent(input)+"&id="+wuid+podSelect; if (window.location.protocol === 'https:'){ newSrc = newSrc.replace('http','https'); } var oldFrame = jQuery("#wolframAlphaWidgetResults"+wid); var newFrame = jQuery(''); newFrame.css( 'height', oldFrame.css('height') ); if ( useOpacity ){ newFrame.css("opacity","0").css('filter:','alpha(opacity=10)'); newFrame.load(function(){ jQuery(this).css("opacity","1").css('filter:','alpha(opacity=100)'); }); } oldFrame.replaceWith(newFrame); newFrame.attr('src',newSrc); jQuery('#widgetFooterInput'+wid+' .input').text(input); //fill in little input field if ( output == 'lightbox' ){ WolframAlphaWidget.sizeLightbox(wid); } } WolframAlphaWidget.sizeLightbox = function(wid){ if ( !jQuery('#wolframAlphaWidgetLightboxOverlay').is(':visible')){return;} var top = 0; var height = 0; if ( typeof window.pageYOffset != 'undefined' ){ top = window.pageYOffset; } else{ top = (document.documentElement.scrollTop > 0) ? document.documentElement.scrollTop : document.body.scrollTop; } top = Math.max( top, 42 ); jQuery("#wolframAlphaWidgetLightboxOverlay").css('height',"100%");//prevent overlay from influencing height calculation //height = Math.max( document.documentElement.scrollHeight, jQuery(window).height() ); height = jQuery(document).height(); jQuery('#wolframAlphaWidgetLightboxOverlay').css('height',height).show(); jQuery('#wolframAlphaWidget'+wid+'LB').css('top',top); } WolframAlphaWidget.populateFormLB = function( wid ){ var id = '#wolframAlphaWidgetForm'+wid; var lg = id+'LB'; //text inputs var inputs = jQuery(id+' input:text'); for ( var i = 0 ; i < inputs.length ; i++ ){ //> var el = jQuery(inputs[i]); var name = el.attr('name'); jQuery(lg+' input[name='+name+']').val( el.val() ); } //selects inputs = jQuery(id+' select'); for ( var i = 0 ; i < inputs.length ; i++ ){ //> var el = inputs[i]; var num = el.selectedIndex; var name = jQuery(el).attr('name'); jQuery(lg+' select[name='+name+'] option').eq(num).attr('selected','selected'); } //checkboxes inputs = jQuery(id+' input:checkbox:checked') for ( var i = 0 ; i < inputs.length ; i++ ){ //> var el = jQuery(inputs[i]); var name = el.attr('name'); jQuery(lg+' input[name='+name+']').attr('checked','checked') } //radio buttons inputs = jQuery(id+' input:radio:checked'); for ( var i = 0 ; i < inputs.length ; i++ ){ //> var el = jQuery(inputs[i]); var name = el.attr('name'); //check radio button in lightbox form by name + value jQuery(lg+' input[name='+name+']').filter('[value='+el.val()+']').attr("checked","true"); } } WolframAlphaWidget.popupSubmit = function(wid,wuid,input){ var podSelect = '', popWidth = 575, popHeight = 450, rowCount = 1, title = '', theme = ''; try { podSelect = WolframAlphaWidget[wuid]['podSelect']; popWidth = WolframAlphaWidget[wuid]['width']; popHeight = WolframAlphaWidget[wuid]['popHeight']; rowCount = WolframAlphaWidget[wuid]['rowCount']; title = WolframAlphaWidget[wuid]['title']; theme = WolframAlphaWidget[wuid]['theme']; } catch(e){} var url = "http://www.wolframalpha.com/widget/widgetPopup.jsp?p=v&id="+wuid+"&title="+encodeURIComponent(title)+"&theme="+theme+WolframAlphaWidget.serializeById(wid)+"&podSelect="+podSelect; var h = Math.min(popHeight,2000); var w = Math.min(popWidth, 2000); if (window.navigator.appName == "Microsoft Internet Explorer"){ h += 10; } else if ( 'WebkitAppearance' in document.documentElement.style ){ h += rowCount * 4; } var results = window.open (url,"results","menubar=no,toolbar=no,location=no,scrollbars=yes,resizable=yes,width="+w+",height="+h+""); results.focus(); results.blur(); results.focus(); } WolframAlphaWidget.lightboxSubmit = function(wid,wuid,input){ if ( WolframAlphaWidget.widthConstrained(wuid) ){ WolframAlphaWidget.popupSubmit(wid,wuid,input); return; } //show lightbox jQuery("#wolframAlphaWidgetLightboxOverlay").show(); jQuery('#wolframAlphaWidget'+wid+'LB').show(); WolframAlphaWidget.sizeLightbox(wid); WolframAlphaWidget.populateFormLB(wid); jQuery('#wolframAlphaWidgetForm'+wid+'LB').submit(); } function wolframAlphaWidget_Init58017(){ jQuery("#wolframAlphaWidget58017 .submit").click(function(){ jQuery("#wolframAlphaWidgetForm58017").submit(); }); jQuery("#wolframAlphaWidgetForm58017").submit(function(e){ e.preventDefault(); var input = WolframAlphaWidget.getInput( '58017' ); var popUrl = "https://www.wolframalpha.com/input/?i="+encodeURIComponent(input); window.open(popUrl); }); jQuery("#eq58017").click(function(){ var popUrl = "http://www.wolframalpha.com/input/?i="+encodeURIComponent( jQuery("#widgetFooterInput58017 .input").text()); if (window.location.protocol === 'https:'){ popUlr = popUrl.replace('http','https'); } window.open(popUrl); }).hover( function(){ jQuery("#widgetFooterInput58017").show(); }, function(){ jQuery("#widgetFooterInput58017").hide(); } ); if (jQuery("#wolframAlphaWidgetLightboxOverlay").length <= 0){ //> jQuery('body').append( jQuery('
').css('width','100%').css('height','100%').css('position','absolute').css('top','0').css('left','0').css('opacity','.5').css('background','#333').css('z-index','9998').css('display','none').css('filter','alpha(opacity=50)') ); } jQuery("body").append( jQuery('#wolframAlphaWidget58017LB').css('position','absolute').css('top','40px').css('left','50%').css('margin-left',-575/2).css('z-index','9999').css('display','none') ); jQuery(window).resize(function(){ WolframAlphaWidget.sizeLightbox('{param.id}'); }); jQuery("#wolframAlphaWidget58017LB .submit").click(function(){ jQuery("#wolframAlphaWidgetForm58017LB").submit(); }); jQuery("#wolframAlphaWidgetForm58017LB").submit(function(e){ e.preventDefault(); WolframAlphaWidget.loadResultIFrame(58017,'9015aab8ae09fca508842a9bdc28c077', WolframAlphaWidget.getInput(58017+'LB') ); return false; }); jQuery("#wolframAlphaWidget58017LB .close").click(function(){ //Removed by tonym for adding another page to browser history //jQuery("#widgetResults58017").removeAttr('src'); jQuery("#wolframAlphaWidgetLightboxOverlay").hide(); jQuery("#wolframAlphaWidget58017LB").hide(); }); jQuery("#wolframAlphaWidget58017 .wawipl_4").click(function(e) { if (window.location.href.indexOf("http://www.wolframalpha.com/widgets/") != -1) { reportProblem(); return false; } }); var wolframWidgetIE = 5; var wolframWidgetQuirks = true; if (window.navigator.appName == "Microsoft Internet Explorer"){ if (document.documentMode){ wolframWidgetIE = document.documentMode; } else if (document.compatMode){ wolframWidgetIE = ( document.compatMode == "CSS1Compat" ? 7 : 5 ); } } else { wolframWidgetIE = false; } if ( document.compatMode ){ wolframWidgetQuirks = document.compatMode != 'CSS1Compat'; } //adjustments for quirks mode (most browsers need this) if ( wolframWidgetQuirks ){ jQuery("table.WolframAlphaWidget").css('border-collapse','collapse'); if ( jQuery.browser.mozilla ){ jQuery("table.WolframAlphaWidget > tbody > tr:first-child + tr > td.l").css('border-left','2px inset #FFF'); } else if ( !wolframWidgetIE ){ jQuery("table.WolframAlphaWidget > tbody > tr:first-child + tr > td.r").css('border-right','2px inset #FFF'); } if ( wolframWidgetIE ){ //fix popups jQuery("#wolframAlphaWidget58017 .wolframAlphaWidgetInfoPopup").css('width','207px'); jQuery("#wolframAlphaWidget58017 .wolframAlphaWidgetSharePopup").css('width','220px').css('right','-45px'); jQuery("#wolframAlphaWidget58017LB .wolframAlphaWidgetInfoPopup").css('width','207px'); jQuery("#wolframAlphaWidget58017LB .wolframAlphaWidgetSharePopup").css('width','220px').css('right','-45px'); } //fix for :hover selectors jQuery("#wolframAlphaWidget58017 .wolframAlphaWidgetInfo").hover( function(){ jQuery("#wolframAlphaWidget58017 .wolframAlphaWidgetInfoPopup").show(); }, function(){ jQuery("#wolframAlphaWidget58017 .wolframAlphaWidgetInfoPopup").hide(); } ); jQuery("#wolframAlphaWidget58017 .wolframAlphaWidgetShare").hover( function(){ jQuery("#wolframAlphaWidget58017 .wolframAlphaWidgetSharePopup").show(); }, function(){ jQuery("#wolframAlphaWidget58017 .wolframAlphaWidgetSharePopup").hide(); } ); jQuery("#wolframAlphaWidget58017LB .wolframAlphaWidgetInfo").hover( function(){ jQuery("#wolframAlphaWidget58017LB .wolframAlphaWidgetInfoPopup").show(); }, function(){ jQuery("#wolframAlphaWidget58017LB .wolframAlphaWidgetInfoPopup").hide(); } ); jQuery("#wolframAlphaWidget58017LB .wolframAlphaWidgetShare").hover( function(){ jQuery("#wolframAlphaWidget58017LB .wolframAlphaWidgetSharePopup").show(); }, function(){ jQuery("#wolframAlphaWidget58017LB .wolframAlphaWidgetSharePopup").hide(); } ); } else { if ( wolframWidgetIE == 7 ){ jQuery("table.WolframAlphaWidget").css('border-collapse','collapse'); jQuery("#wolframAlphaWidgetBeta58017").css('top','-12px'); } } if ( wolframWidgetIE !== false && wolframWidgetIE <= 6 ){ //ie6 fixes jQuery(".wolframAlphaWidgetContent").attr('align','center'); jQuery("#wolframAlphaWidgetOverlay58017").css('height','300').css('margin-left','-1px'); } //detect cramped container var wolframWidgetWidth = jQuery("#wolframAlphaWidget58017").width(); var wolframInnerWidth = jQuery("#widget58017 table").eq(0).width() + 2; if ( wolframInnerWidth >= wolframWidgetWidth ){ jQuery("#wolframAlphaWidget58017").width( wolframWidgetWidth + 32 ); } var wolframWidgetIsMobileSafari = (navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/iPad/i)); if ( wolframWidgetIsMobileSafari ){ document.addEventListener("touchstart", function(){ if ( jQuery('#wolframAlphaWidgetLightboxOverlay').is(':visible') ){ jQuery('#wolframAlphaWidgetLightboxOverlay').css('height',jQuery(document).height()); } }, "false"); } WolframAlphaWidget['9015aab8ae09fca508842a9bdc28c077']['initialized'] = true; try{ wolframAlphaWidget_InitDone58017(); }catch(e){} } WolframAlphaWidget['9015aab8ae09fca508842a9bdc28c077'].loadFunctionId = 0; (function(){ var coreCss58017 = document.createElement('style'); coreCss58017.setAttribute('type','text/css'); if ( coreCss58017.styleSheet ){ //IE coreCss58017.styleSheet.cssText = 'table\x23wolframAlphaWidget58017,\ndiv\x23wolframAlphaWidget58017\x7B\n font-family\x3A verdana, sans-serif\x3B\n font-size\x3A 10px\x3B\n line-height\x3A 12px\x3B\n word-wrap\x3A normal\x3B\n white-space\x3A auto\x3B\n color\x3A \x23000\x3B\n margin\x3A 12px auto 0\x3B\n padding\x3A 0\x3B\n min-width\x3A 140px\x3B\n background\x3A transparent\x3B\n border\x3A 0 none\x3B\n -webkit-text-size-adjust\x3A none\x3B \n width\x3A auto\x3B \n\x7D\n\n\n\x23wolframAlphaWidget58017LB \x7B\n width\x3A 575px\x3B\n\x7D\n\n\x23wolframAlphaWidgetOverlay58017,\n\x23wolframAlphaWidgetResults58017 \x7B\n height\x3A 300px\x3B\n\x7D\n\n\n\x23wolframAlphaWidget58017 tr,\n\x23wolframAlphaWidget58017 tr th,\n\x23wolframAlphaWidget58017 tr td,\n\x23wolframAlphaWidget58017 form \x7B\n position\x3A static\x3B\n margin\x3A 0\x3B\n padding\x3A 0\x3B\n vertical-align\x3A middle\x3B\n\x7D\n\n\n\x23wolframAlphaWidget58017 tr th \x7B\n color\x3A white\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 table.wolframAlphaWidgetContent td \x7B\n padding-right\x3A 2px\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 table.wolframAlphaWidgetContent table.submit td \x7B\n padding\x3A 0\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 table,\n\x23wolframAlphaWidget58017 form,\n\x23wolframAlphaWidget58017 fieldset,\n\x23wolframAlphaWidget58017 table.wolframAlphaWidgetContent table.submit \x7B\n border\x3A 0 none\x3B\n background\x3A transparent none\x3B\n\x7D\n\n\n\x2F\x2A footer popups \x2F links \x2A\x2F\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetInfo,\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetShare,\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetInfo a,\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetShare a \x7B\n font-size\x3A 11px\x3B\n line-height\x3A 17px\x3B\n color\x3A \x23555\x3B \n text-decoration\x3A none\x3B\n outline\x3A none\x3B\n font-family\x3A arial, sans-serif\x3B\n font-weight\x3A bold\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetInfoPopup a\x3Ahover,\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetSharePopup a\x3Ahover \x7B\n color\x3A \x23ed602f\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetInfoPopup a b,\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetSharePopup a b \x7B \n font-weight\x3A normal\x3B\n color\x3A \x23ed602f\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetSharePopup a \x7B\n font-weight\x3A bold\x3B\n color\x3A \x23fe6518\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetSharePopup a\x3Ahover \x7B\n color\x3A \x23db0303\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetSharePopup .wawfp_share \x7B\n border-bottom\x3A 1px solid \x23dadada\x3B\n padding\x3A 7px 0 11px\x3B\n margin-bottom\x3A 4px\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetSharePopup .wawfp_share a \x7B\n font-weight\x3A normal\x3B\n font-size\x3A 12px\x3B\n\x7D\n\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetInfoPopup .poweredby \x7B\n font-family\x3A arial, sans-serif\x3B\n font-size\x3A 10px\x3B\n color\x3A \x23555\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetInfoPopup .poweredby a \x7B\n display\x3A inline\x3B\n font-size\x3A 10px\x3B\n font-weight\x3A normal\x3B\n color\x3A \x23fe6518\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetInfoPopup .poweredby a\x3Ahover \x7B\n color\x3A \x23db0303\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .waWidgetFooter .wawf_rate a, \n\x23wolframAlphaWidget58017 .wawf_getstripe a \x7B\n color\x3A \x23555\x3B\n font-family\x3A arial,sans-serif\x3B\n font-size\x3A 11px\x3B\n font-weight\x3A bold\x3B\n text-decoration\x3A none\x3B\n\x7D'; } else { var text = document.createTextNode('table\x23wolframAlphaWidget58017,\ndiv\x23wolframAlphaWidget58017\x7B\n font-family\x3A verdana, sans-serif\x3B\n font-size\x3A 10px\x3B\n line-height\x3A 12px\x3B\n word-wrap\x3A normal\x3B\n white-space\x3A auto\x3B\n color\x3A \x23000\x3B\n margin\x3A 12px auto 0\x3B\n padding\x3A 0\x3B\n min-width\x3A 140px\x3B\n background\x3A transparent\x3B\n border\x3A 0 none\x3B\n -webkit-text-size-adjust\x3A none\x3B \n width\x3A auto\x3B \n\x7D\n\n\n\x23wolframAlphaWidget58017LB \x7B\n width\x3A 575px\x3B\n\x7D\n\n\x23wolframAlphaWidgetOverlay58017,\n\x23wolframAlphaWidgetResults58017 \x7B\n height\x3A 300px\x3B\n\x7D\n\n\n\x23wolframAlphaWidget58017 tr,\n\x23wolframAlphaWidget58017 tr th,\n\x23wolframAlphaWidget58017 tr td,\n\x23wolframAlphaWidget58017 form \x7B\n position\x3A static\x3B\n margin\x3A 0\x3B\n padding\x3A 0\x3B\n vertical-align\x3A middle\x3B\n\x7D\n\n\n\x23wolframAlphaWidget58017 tr th \x7B\n color\x3A white\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 table.wolframAlphaWidgetContent td \x7B\n padding-right\x3A 2px\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 table.wolframAlphaWidgetContent table.submit td \x7B\n padding\x3A 0\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 table,\n\x23wolframAlphaWidget58017 form,\n\x23wolframAlphaWidget58017 fieldset,\n\x23wolframAlphaWidget58017 table.wolframAlphaWidgetContent table.submit \x7B\n border\x3A 0 none\x3B\n background\x3A transparent none\x3B\n\x7D\n\n\n\x2F\x2A footer popups \x2F links \x2A\x2F\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetInfo,\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetShare,\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetInfo a,\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetShare a \x7B\n font-size\x3A 11px\x3B\n line-height\x3A 17px\x3B\n color\x3A \x23555\x3B \n text-decoration\x3A none\x3B\n outline\x3A none\x3B\n font-family\x3A arial, sans-serif\x3B\n font-weight\x3A bold\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetInfoPopup a\x3Ahover,\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetSharePopup a\x3Ahover \x7B\n color\x3A \x23ed602f\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetInfoPopup a b,\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetSharePopup a b \x7B \n font-weight\x3A normal\x3B\n color\x3A \x23ed602f\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetSharePopup a \x7B\n font-weight\x3A bold\x3B\n color\x3A \x23fe6518\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetSharePopup a\x3Ahover \x7B\n color\x3A \x23db0303\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetSharePopup .wawfp_share \x7B\n border-bottom\x3A 1px solid \x23dadada\x3B\n padding\x3A 7px 0 11px\x3B\n margin-bottom\x3A 4px\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetSharePopup .wawfp_share a \x7B\n font-weight\x3A normal\x3B\n font-size\x3A 12px\x3B\n\x7D\n\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetInfoPopup .poweredby \x7B\n font-family\x3A arial, sans-serif\x3B\n font-size\x3A 10px\x3B\n color\x3A \x23555\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetInfoPopup .poweredby a \x7B\n display\x3A inline\x3B\n font-size\x3A 10px\x3B\n font-weight\x3A normal\x3B\n color\x3A \x23fe6518\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .wolframAlphaWidgetInfoPopup .poweredby a\x3Ahover \x7B\n color\x3A \x23db0303\x3B\n\x7D\n\n\x23wolframAlphaWidget58017 .waWidgetFooter .wawf_rate a, \n\x23wolframAlphaWidget58017 .wawf_getstripe a \x7B\n color\x3A \x23555\x3B\n font-family\x3A arial,sans-serif\x3B\n font-size\x3A 11px\x3B\n font-weight\x3A bold\x3B\n text-decoration\x3A none\x3B\n\x7D'); coreCss58017.appendChild(text); } document.getElementsByTagName("head")[0].appendChild( coreCss58017 ); var baseCss = document.getElementById("WolframAlphaBaseStyles"); if ( typeof(baseCss) === 'undefined' || baseCss === null ){ baseCss = document.createElement('link'); baseCss.id = 'WolframAlphaBaseStyles'; baseCss.type = 'text/css'; baseCss.rel = 'stylesheet'; baseCss.href = '//www.wolframalpha.com/css/widget/base.css'; document.getElementsByTagName("head")[0].appendChild( baseCss ); } var greenCss = document.getElementById("WolframAlphaThemeStylesgreen"); if ( typeof(greenCss) === 'undefined' || greenCss === null ){ greenCss = document.createElement('link'); greenCss.id = 'WolframAlphaThemeStylesgreen'; greenCss.type = 'text/css'; greenCss.rel = 'stylesheet'; greenCss.href = '//www.wolframalpha.com/css/widget/green.css'; document.getElementsByTagName("head")[0].appendChild( greenCss ); } if ( typeof(jQuery) === 'function' ){ wolframAlphaWidget_Load58017(); } else { if ( typeof(WolframAlphaWidget.loadJQuery) === 'undefined' || WolframAlphaWidget.loadJQuery !== true ){ WolframAlphaWidget.loadJQuery = true; var wawjs = document.createElement('script'); // wawjs.src = '//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js'; wawjs.src = '//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js'; document.getElementsByTagName('body')[0].appendChild(wawjs); } WolframAlphaWidget['9015aab8ae09fca508842a9bdc28c077'].loadFunctionId = setInterval("wolframAlphaWidget_Load58017()",50); } })(); function wolframAlphaWidget_Load58017(){ if ( typeof(jQuery) === 'function' ){ jQuery("#WolframAlphaScript9015aab8ae09fca508842a9bdc28c077").after( jQuery('\x3Ctable class\x3D\"WolframAlphaWidget greenWidgetTheme\" id\x3D\"wolframAlphaWidget58017\" cellspacing\x3D\"0\" cellpadding\x3D\"0\"\x3E\x3Ctr\x3E\x3Cth class\x3D\"l\"\x3E\x3C\x2Fth\x3E\x3Cth\x3EColor Advisor\x3C\x2Fth\x3E\x3Cth class\x3D\"r\"\x3E\x3Cdiv style\x3D\"position\x3A relative\x3B margin\x3A 0\x3B padding\x3A 0\x3B\"\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetBeta\" id\x3D\"wolframAlphaWidgetBeta58017\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3C\x2Fth\x3E\x3C\x2Ftr\x3E\x3Ctr\x3E\x3Ctd class\x3D\"l\"\x3E\x3C\x2Ftd\x3E\x3Ctd class\x3D\"widgetContent\"\x3E\x3Cform action\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Finput\x2F\" id\x3D\"wolframAlphaWidgetForm58017\"\x3E\x3Cfieldset\x3E\n \x3Ctable class\x3D\"wolframAlphaWidgetContent\"\x3E \x3Ctr\x3E \x3Ctd\x3EComplementary colors of\x3C\x2Ftd\x3E \x3Ctd\x3E\x3Cinput type\x3D\"text\" maxlength\x3D\"200\" id\x3D\"i0\" name\x3D\"maincolor\" value\x3D\"\x23FFFFFF\" size\x3D\"12\"\x2F\x3E\x3C\x2Ftd\x3E \x3Ctd\x3E\x3Ctable class\x3D\"submit\" cellpadding\x3D\"0\" cellspacing\x3D\"0\"\x3E\x3Ctr\x3E\x3Ctd class\x3D\"l\"\x3E\x3C\x2Ftd\x3E\x3Ctd class\x3D\"m\"\x3ESubmit\x3C\x2Ftd\x3E\x3Ctd class\x3D\"r\"\x3E\x3C\x2Ftd\x3E\x3C\x2Ftr\x3E\x3C\x2Ftable\x3E\x3C\x2Ftd\x3E \x3C\x2Ftr\x3E \x3Ctr\x3E \x3Ctd\x3E\x2ARequires Hex code e.g. \x23FFFFFF\x3C\x2Ftd\x3E \x3C\x2Ftr\x3E \x3C\x2Ftable\x3E \x3Cinput type\x3D\"hidden\" name\x3D\"i\" id\x3D\"i\" value\x3D\"\" \x2F\x3E\x3Cinput type\x3D\"hidden\" name\x3D\"querytemplate\" id\x3D\"querytemplate\" value\x3D\"complementary colors of \x24\x7Bmaincolor\x7D\"\x2F\x3E\x3C\x2Ffieldset\x3E\x3C\x2Fform\x3E\x3Cdiv style\x3D\"width\x3A 92px\x3B height\x3A 1px\x3B margin\x3A 0 auto\x3B padding\x3A 0\x3B background\x3A transparent\x3B\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Ftd\x3E\x3Ctd class\x3D\"r\"\x3E\x3C\x2Ftd\x3E\x3C\x2Ftr\x3E\x3Ctr class\x3D\"wawf_bot\"\x3E\x3Ctd class\x3D\"l\"\x3E\x3C\x2Ftd\x3E\x3Ctd class\x3D\"m\"\x3E\x3Cdiv class\x3D\"waWidgetFooter\"\x3E\x3Ca href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\" class\x3D\"logo\" target\x3D\"_blank\"\x3E\x3C\x2Fa\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetInfo\"\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetInfoPopup\"\x3E\x3Cdiv class\x3D\"wawfp_top\"\x3E\x3C\x2Fdiv\x3E\x3Ca class\x3D\"wawipl_1\" href\x3D\"http\x3A\x2F\x2Fdeveloper.wolframalpha.com\x2Fwidgetbuilder\x2F\" target\x3D\"_blank\"\x3EBuild your own widget\x26nbsp\x3B\x3Cb\x3E\x26raquo\x3B\x3C\x2Fb\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawipl_2\" href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Fwidgets\x2Fgallery\x2F\" target\x3D\"_blank\"\x3EBrowse widget gallery\x26nbsp\x3B\x3Cb\x3E\x26raquo\x3B\x3C\x2Fb\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawipl_3\" href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Fwidgets\x2F\" target\x3D\"_blank\"\x3ELearn more\x26nbsp\x3B\x3Cb\x3E\x26raquo\x3B\x3C\x2Fb\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawipl_4\" href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Fwidgets\x2Fgallery\x2Fview.jsp\x3Fid\x3D9015aab8ae09fca508842a9bdc28c077\x26reportprob\x3D1\" target\x3D\"_blank\"\x3EReport a problem\x26nbsp\x3B\x3Cb\x3E\x26raquo\x3B\x3C\x2Fb\x3E\x3C\x2Fa\x3E\x3Cspan class\x3D\"poweredby\"\x3EPowered by \x3Ca href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\" target\x3D\"_blank\"\x3EWolfram\x7CAlpha\x3C\x2Fa\x3E\x3Cbr\x2F\x3E\x3Ca href\x3D\"http\x3A\x2F\x2Fdeveloper.wolframalpha.com\x2Fwidgetterms.html\" target\x3D\"_blank\"\x3ETerms of use\x3C\x2Fa\x3E\x3C\x2Fspan\x3E\x3Cdiv class\x3D\"wawfp_bot\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetShare\"\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetSharePopup\"\x3E\x3Cdiv class\x3D\"wawfp_top\"\x3E\x3C\x2Fdiv\x3E\x3Cp\x3EShare a link to this widget\x3A\x3C\x2Fp\x3E\x3Cdiv class\x3D\"wawfp_share\"\x3E\x3Ca class\x3D\"wawfp_fb\" href\x3D\"http\x3A\x2F\x2Fwww.facebook.com\x2Fshare.php\x3Fu\x3Dhttp\x253a\x252f\x252fwww.wolframalpha.com\x252fwidgets\x252fgallery\x252fview.jsp\x253fid\x253d9015aab8ae09fca508842a9bdc28c077\" target\x3D\"_blank\"\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawfp_tw\" href\x3D\"http\x3A\x2F\x2Ftwitter.com\x2Fhome\x3Fstatus\x3Dhttp\x253a\x252f\x252fwww.wolframalpha.com\x252fwidgets\x252fgallery\x252fview.jsp\x253fid\x253d9015aab8ae09fca508842a9bdc28c077\" target\x3D\"_blank\"\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawfp_dl\" href\x3D\"http\x3A\x2F\x2Fdel.icio.us\x2Fpost\x3Furl\x3Dhttp\x253a\x252f\x252fwww.wolframalpha.com\x252fwidgets\x252fgallery\x252fview.jsp\x253fid\x253d9015aab8ae09fca508842a9bdc28c077\x26title\x3D\" target\x3D\"_blank\"\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawfp_dg\" href\x3D\"http\x3A\x2F\x2Fdigg.com\x2Fsubmit\x3Furl\x3Dhttp\x253a\x252f\x252fwww.wolframalpha.com\x252fwidgets\x252fgallery\x252fview.jsp\x253fid\x253d9015aab8ae09fca508842a9bdc28c077\x26phase\x3D2\" target\x3D\"_blank\"\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawfp_more\" href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Fwidgets\x2Fgallery\x2Fview.jsp\x3Fid\x3D9015aab8ae09fca508842a9bdc28c077\" target\x3D\"_blank\"\x3EMore\x3C\x2Fa\x3E\x3Cbr style\x3D\"clear\x3A both\x3B\" \x2F\x3E\x3C\x2Fdiv\x3E\x3Ca href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Fwidgets\x2Fgallery\x2Fview.jsp\x3Fid\x3D9015aab8ae09fca508842a9bdc28c077\" target\x3D\"_blank\"\x3EEmbed this widget\x26nbsp\x3B\x26raquo\x3B\x3C\x2Fa\x3E\x3Cdiv class\x3D\"wawfp_bot\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\n\x3C\x2Fdiv\x3E\x3C\x2Ftd\x3E\x3Ctd class\x3D\"r\"\x3E\x3C\x2Ftd\x3E\x3C\x2Ftr\x3E\x3C\x2Ftable\x3E\x3Cdiv class\x3D\"WolframAlphaWidgetLarge greenWidgetTheme expand\" style\x3D\"position\x3A relative\x3B display\x3A none\x3B\" id\x3D\"wolframAlphaWidget58017LB\"\x3E\x3Cdiv class\x3D\"waw_header \"\x3E\x3Cdiv class\x3D\"l\" \x3E\x3C\x2Fdiv\x3E\n Color Advisor\x3Cdiv class\x3D\"r\"\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"close\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetBody \"\x3E\x3Cform action\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Finput\x2F\" id\x3D\"wolframAlphaWidgetForm58017LB\"\x3E\x3Cfieldset\x3E\n \x3Ctable class\x3D\"wolframAlphaWidgetContent\"\x3E \x3Ctr\x3E \x3Ctd\x3EComplementary colors of\x3C\x2Ftd\x3E \x3Ctd\x3E\x3Cinput type\x3D\"text\" maxlength\x3D\"200\" id\x3D\"i0\" name\x3D\"maincolor\" value\x3D\"\x23FFFFFF\" size\x3D\"12\"\x2F\x3E\x3C\x2Ftd\x3E \x3Ctd\x3E\x3Ctable class\x3D\"submit\" cellpadding\x3D\"0\" cellspacing\x3D\"0\"\x3E\x3Ctr\x3E\x3Ctd class\x3D\"l\"\x3E\x3C\x2Ftd\x3E\x3Ctd class\x3D\"m\"\x3ESubmit\x3C\x2Ftd\x3E\x3Ctd class\x3D\"r\"\x3E\x3C\x2Ftd\x3E\x3C\x2Ftr\x3E\x3C\x2Ftable\x3E\x3C\x2Ftd\x3E \x3C\x2Ftr\x3E \x3Ctr\x3E \x3Ctd\x3E\x2ARequires Hex code e.g. \x23FFFFFF\x3C\x2Ftd\x3E \x3C\x2Ftr\x3E \x3C\x2Ftable\x3E \x3Cinput type\x3D\"hidden\" name\x3D\"i\" id\x3D\"i\" value\x3D\"\" \x2F\x3E\x3Cinput type\x3D\"hidden\" name\x3D\"querytemplate\" id\x3D\"querytemplate\" value\x3D\"complementary colors of \x24\x7Bmaincolor\x7D\"\x2F\x3E\x3C\x2Ffieldset\x3E\x3C\x2Fform\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetOutput\"\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetComputingOverlay\" id\x3D\"wolframAlphaWidgetOverlay58017\"\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetComputingSpinner\"\x3EComputing...\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3Ciframe class\x3D\"wolframAlphaWidgetResults\" id\x3D\"wolframAlphaWidgetResults58017\" width\x3D\"100\x25\" frameborder\x3D\"0\" style\x3D\"height\x3A 300px\x3B background\x3A transparent\x3B\" src\x3D\"\"\x3E\x3C\x2Fiframe\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"waWidgetFooter\"\x3E\x3Cdiv class\x3D\"l\"\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"r\"\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"wawf_rate\"\x3E\x3Ca href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Fwidgets\x2Fgallery\x2Fview.jsp\x3Fid\x3D9015aab8ae09fca508842a9bdc28c077\" target\x3D\"_blank\"\x3EGet this widget\x3C\x2Fa\x3E\x3C\x2Fdiv\x3E\x3Ca href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\" class\x3D\"logo \" target\x3D\"_blank\"\x3E\x3C\x2Fa\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetInfo\"\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetInfoPopup\"\x3E\x3Cdiv class\x3D\"wawfp_top\"\x3E\x3C\x2Fdiv\x3E\x3Ca class\x3D\"wawipl_1\" href\x3D\"http\x3A\x2F\x2Fdeveloper.wolframalpha.com\x2Fwidgetbuilder\x2F\" target\x3D\"_blank\"\x3EBuild your own widget\x26nbsp\x3B\x3Cb\x3E\x26raquo\x3B\x3C\x2Fb\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawipl_2\" href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Fwidgets\x2Fgallery\x2F\" target\x3D\"_blank\"\x3EBrowse widget gallery\x26nbsp\x3B\x3Cb\x3E\x26raquo\x3B\x3C\x2Fb\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawipl_3\" href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Fwidgets\x2F\" target\x3D\"_blank\"\x3ELearn more\x26nbsp\x3B\x3Cb\x3E\x26raquo\x3B\x3C\x2Fb\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawipl_4\" href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Fwidgets\x2Fgallery\x2Fview.jsp\x3Fid\x3D9015aab8ae09fca508842a9bdc28c077\x26reportprob\x3D1\" target\x3D\"_blank\"\x3EReport a problem\x26nbsp\x3B\x3Cb\x3E\x26raquo\x3B\x3C\x2Fb\x3E\x3C\x2Fa\x3E\x3Cspan class\x3D\"poweredby\"\x3EPowered by \x3Ca href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\" target\x3D\"_blank\"\x3EWolfram\x7CAlpha\x3C\x2Fa\x3E\x3Cbr\x2F\x3E\x3Ca href\x3D\"http\x3A\x2F\x2Fdeveloper.wolframalpha.com\x2Fwidgetterms.html\" target\x3D\"_blank\"\x3ETerms of use\x3C\x2Fa\x3E\x3C\x2Fspan\x3E\x3Cdiv class\x3D\"wawfp_bot\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetShare\"\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetSharePopup\"\x3E\x3Cdiv class\x3D\"wawfp_top\"\x3E\x3C\x2Fdiv\x3E\x3Cp\x3EShare a link to this widget\x3A\x3C\x2Fp\x3E\x3Cdiv class\x3D\"wawfp_share\"\x3E\x3Ca class\x3D\"wawfp_fb\" href\x3D\"http\x3A\x2F\x2Fwww.facebook.com\x2Fshare.php\x3Fu\x3Dhttp\x253a\x252f\x252fwww.wolframalpha.com\x252fwidgets\x252fgallery\x252fview.jsp\x253fid\x253d9015aab8ae09fca508842a9bdc28c077\" target\x3D\"_blank\"\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawfp_tw\" href\x3D\"http\x3A\x2F\x2Ftwitter.com\x2Fhome\x3Fstatus\x3Dhttp\x253a\x252f\x252fwww.wolframalpha.com\x252fwidgets\x252fgallery\x252fview.jsp\x253fid\x253d9015aab8ae09fca508842a9bdc28c077\" target\x3D\"_blank\"\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawfp_dl\" href\x3D\"http\x3A\x2F\x2Fdel.icio.us\x2Fpost\x3Furl\x3Dhttp\x253a\x252f\x252fwww.wolframalpha.com\x252fwidgets\x252fgallery\x252fview.jsp\x253fid\x253d9015aab8ae09fca508842a9bdc28c077\x26title\x3D\" target\x3D\"_blank\"\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawfp_dg\" href\x3D\"http\x3A\x2F\x2Fdigg.com\x2Fsubmit\x3Furl\x3Dhttp\x253a\x252f\x252fwww.wolframalpha.com\x252fwidgets\x252fgallery\x252fview.jsp\x253fid\x253d9015aab8ae09fca508842a9bdc28c077\x26phase\x3D2\" target\x3D\"_blank\"\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawfp_more\" href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Fwidgets\x2Fgallery\x2Fview.jsp\x3Fid\x3D9015aab8ae09fca508842a9bdc28c077\" target\x3D\"_blank\"\x3EMore\x3C\x2Fa\x3E\x3Cbr style\x3D\"clear\x3A both\x3B\" \x2F\x3E\x3C\x2Fdiv\x3E\x3Ca href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Fwidgets\x2Fgallery\x2Fview.jsp\x3Fid\x3D9015aab8ae09fca508842a9bdc28c077\" target\x3D\"_blank\"\x3EEmbed this widget\x26nbsp\x3B\x26raquo\x3B\x3C\x2Fa\x3E\x3Cdiv class\x3D\"wawfp_bot\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\n\x3Cdiv class\x3D\"alphaInput\" style\x3D\"display\x3A none\x3B\" id\x3D\"widgetFooterInput58017\"\x3E\x3Cdiv class\x3D\"left\"\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"input\"\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"right\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3Cdiv id\x3D\"eq58017\" class\x3D\"equal\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetBeta\" id\x3D\"wolframAlphaWidgetBeta58017\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E') ); clearInterval( WolframAlphaWidget['9015aab8ae09fca508842a9bdc28c077'].loadFunctionId ); if ( 'WebkitAppearance' in document.documentElement.style ){ //get around webkit document.ready bug var _timer = setInterval(function() { if (/loaded|complete/.test(document.readyState)) { clearInterval(_timer); try{ wolframAlphaWidget_Init58017(); }catch(e){} } }, 10); } else { jQuery(document).ready( function(){ try{wolframAlphaWidget_Init58017();}catch(e){} }); } } }