if ( typeof(WolframAlphaWidget) !== 'object' || WolframAlphaWidget === null ){
var WolframAlphaWidget = {};
}
WolframAlphaWidget['1490d7dd565f03696c08dc8f903bcd2f'] = {
'id' : 88894,
'width' : 575,
'height' : 450,
'title' :'Graph',
'theme' :'',
'output' :'lightbox',
'popHeight': 609,
'rowCount' : 2+0,
'podSelectBase' : '\x26includepodid\x3DInput\x26includepodid\x3DPlot',
'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_Init88894(){
jQuery("#wolframAlphaWidget88894 .submit").click(function(){ jQuery("#wolframAlphaWidgetForm88894").submit(); });
jQuery("#wolframAlphaWidgetForm88894").submit(function(e){
e.preventDefault();
var input = WolframAlphaWidget.getInput( '88894' );
var popUrl = "https://www.wolframalpha.com/input/?i="+encodeURIComponent(input);
window.open(popUrl);
});
jQuery("#eq88894").click(function(){
var popUrl = "http://www.wolframalpha.com/input/?i="+encodeURIComponent( jQuery("#widgetFooterInput88894 .input").text());
if (window.location.protocol === 'https:'){
popUlr = popUrl.replace('http','https');
}
window.open(popUrl);
}).hover(
function(){ jQuery("#widgetFooterInput88894").show(); },
function(){ jQuery("#widgetFooterInput88894").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('#wolframAlphaWidget88894LB').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("#wolframAlphaWidget88894LB .submit").click(function(){ jQuery("#wolframAlphaWidgetForm88894LB").submit(); });
jQuery("#wolframAlphaWidgetForm88894LB").submit(function(e){
e.preventDefault();
WolframAlphaWidget.loadResultIFrame(88894,'1490d7dd565f03696c08dc8f903bcd2f', WolframAlphaWidget.getInput(88894+'LB') );
return false;
});
jQuery("#wolframAlphaWidget88894LB .close").click(function(){
//Removed by tonym for adding another page to browser history
//jQuery("#widgetResults88894").removeAttr('src');
jQuery("#wolframAlphaWidgetLightboxOverlay").hide();
jQuery("#wolframAlphaWidget88894LB").hide();
});
jQuery("#wolframAlphaWidget88894 .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("#wolframAlphaWidget88894 .wolframAlphaWidgetInfoPopup").css('width','207px');
jQuery("#wolframAlphaWidget88894 .wolframAlphaWidgetSharePopup").css('width','220px').css('right','-45px');
jQuery("#wolframAlphaWidget88894LB .wolframAlphaWidgetInfoPopup").css('width','207px');
jQuery("#wolframAlphaWidget88894LB .wolframAlphaWidgetSharePopup").css('width','220px').css('right','-45px');
}
//fix for :hover selectors
jQuery("#wolframAlphaWidget88894 .wolframAlphaWidgetInfo").hover(
function(){ jQuery("#wolframAlphaWidget88894 .wolframAlphaWidgetInfoPopup").show(); },
function(){ jQuery("#wolframAlphaWidget88894 .wolframAlphaWidgetInfoPopup").hide(); }
);
jQuery("#wolframAlphaWidget88894 .wolframAlphaWidgetShare").hover(
function(){ jQuery("#wolframAlphaWidget88894 .wolframAlphaWidgetSharePopup").show(); },
function(){ jQuery("#wolframAlphaWidget88894 .wolframAlphaWidgetSharePopup").hide(); }
);
jQuery("#wolframAlphaWidget88894LB .wolframAlphaWidgetInfo").hover(
function(){ jQuery("#wolframAlphaWidget88894LB .wolframAlphaWidgetInfoPopup").show(); },
function(){ jQuery("#wolframAlphaWidget88894LB .wolframAlphaWidgetInfoPopup").hide(); }
);
jQuery("#wolframAlphaWidget88894LB .wolframAlphaWidgetShare").hover(
function(){ jQuery("#wolframAlphaWidget88894LB .wolframAlphaWidgetSharePopup").show(); },
function(){ jQuery("#wolframAlphaWidget88894LB .wolframAlphaWidgetSharePopup").hide(); }
);
}
else {
if ( wolframWidgetIE == 7 ){
jQuery("table.WolframAlphaWidget").css('border-collapse','collapse');
jQuery("#wolframAlphaWidgetBeta88894").css('top','-12px');
}
}
if ( wolframWidgetIE !== false && wolframWidgetIE <= 6 ){ //ie6 fixes
jQuery(".wolframAlphaWidgetContent").attr('align','center');
jQuery("#wolframAlphaWidgetOverlay88894").css('height','450').css('margin-left','-1px');
}
//detect cramped container
var wolframWidgetWidth = jQuery("#wolframAlphaWidget88894").width();
var wolframInnerWidth = jQuery("#widget88894 table").eq(0).width() + 2;
if ( wolframInnerWidth >= wolframWidgetWidth ){
jQuery("#wolframAlphaWidget88894").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['1490d7dd565f03696c08dc8f903bcd2f']['initialized'] = true;
try{ wolframAlphaWidget_InitDone88894(); }catch(e){} }
WolframAlphaWidget['1490d7dd565f03696c08dc8f903bcd2f'].loadFunctionId = 0;
(function(){
var coreCss88894 = document.createElement('style');
coreCss88894.setAttribute('type','text/css');
if ( coreCss88894.styleSheet ){ //IE
coreCss88894.styleSheet.cssText = 'table\x23wolframAlphaWidget88894,\ndiv\x23wolframAlphaWidget88894\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\x23wolframAlphaWidget88894LB \x7B\n width\x3A 575px\x3B\n\x7D\n\n\x23wolframAlphaWidgetOverlay88894,\n\x23wolframAlphaWidgetResults88894 \x7B\n height\x3A 450px\x3B\n\x7D\n\n\n\x23wolframAlphaWidget88894 tr,\n\x23wolframAlphaWidget88894 tr th,\n\x23wolframAlphaWidget88894 tr td,\n\x23wolframAlphaWidget88894 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\x23wolframAlphaWidget88894 tr th \x7B\n color\x3A white\x3B\n\x7D\n\n\x23wolframAlphaWidget88894 table.wolframAlphaWidgetContent td \x7B\n padding-right\x3A 2px\x3B\n\x7D\n\n\x23wolframAlphaWidget88894 table.wolframAlphaWidgetContent table.submit td \x7B\n padding\x3A 0\x3B\n\x7D\n\n\x23wolframAlphaWidget88894 table,\n\x23wolframAlphaWidget88894 form,\n\x23wolframAlphaWidget88894 fieldset,\n\x23wolframAlphaWidget88894 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\x23wolframAlphaWidget88894 .wolframAlphaWidgetInfo,\n\x23wolframAlphaWidget88894 .wolframAlphaWidgetShare,\n\x23wolframAlphaWidget88894 .wolframAlphaWidgetInfo a,\n\x23wolframAlphaWidget88894 .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\x23wolframAlphaWidget88894 .wolframAlphaWidgetInfoPopup a\x3Ahover,\n\x23wolframAlphaWidget88894 .wolframAlphaWidgetSharePopup a\x3Ahover \x7B\n color\x3A \x23ed602f\x3B\n\x7D\n\n\x23wolframAlphaWidget88894 .wolframAlphaWidgetInfoPopup a b,\n\x23wolframAlphaWidget88894 .wolframAlphaWidgetSharePopup a b \x7B \n font-weight\x3A normal\x3B\n color\x3A \x23ed602f\x3B\n\x7D\n\n\x23wolframAlphaWidget88894 .wolframAlphaWidgetSharePopup a \x7B\n font-weight\x3A bold\x3B\n color\x3A \x23fe6518\x3B\n\x7D\n\n\x23wolframAlphaWidget88894 .wolframAlphaWidgetSharePopup a\x3Ahover \x7B\n color\x3A \x23db0303\x3B\n\x7D\n\n\x23wolframAlphaWidget88894 .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\x23wolframAlphaWidget88894 .wolframAlphaWidgetSharePopup .wawfp_share a \x7B\n font-weight\x3A normal\x3B\n font-size\x3A 12px\x3B\n\x7D\n\n\n\x23wolframAlphaWidget88894 .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\x23wolframAlphaWidget88894 .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\x23wolframAlphaWidget88894 .wolframAlphaWidgetInfoPopup .poweredby a\x3Ahover \x7B\n color\x3A \x23db0303\x3B\n\x7D\n\n\x23wolframAlphaWidget88894 .waWidgetFooter .wawf_rate a, \n\x23wolframAlphaWidget88894 .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\x23wolframAlphaWidget88894,\ndiv\x23wolframAlphaWidget88894\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\x23wolframAlphaWidget88894LB \x7B\n width\x3A 575px\x3B\n\x7D\n\n\x23wolframAlphaWidgetOverlay88894,\n\x23wolframAlphaWidgetResults88894 \x7B\n height\x3A 450px\x3B\n\x7D\n\n\n\x23wolframAlphaWidget88894 tr,\n\x23wolframAlphaWidget88894 tr th,\n\x23wolframAlphaWidget88894 tr td,\n\x23wolframAlphaWidget88894 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\x23wolframAlphaWidget88894 tr th \x7B\n color\x3A white\x3B\n\x7D\n\n\x23wolframAlphaWidget88894 table.wolframAlphaWidgetContent td \x7B\n padding-right\x3A 2px\x3B\n\x7D\n\n\x23wolframAlphaWidget88894 table.wolframAlphaWidgetContent table.submit td \x7B\n padding\x3A 0\x3B\n\x7D\n\n\x23wolframAlphaWidget88894 table,\n\x23wolframAlphaWidget88894 form,\n\x23wolframAlphaWidget88894 fieldset,\n\x23wolframAlphaWidget88894 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\x23wolframAlphaWidget88894 .wolframAlphaWidgetInfo,\n\x23wolframAlphaWidget88894 .wolframAlphaWidgetShare,\n\x23wolframAlphaWidget88894 .wolframAlphaWidgetInfo a,\n\x23wolframAlphaWidget88894 .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\x23wolframAlphaWidget88894 .wolframAlphaWidgetInfoPopup a\x3Ahover,\n\x23wolframAlphaWidget88894 .wolframAlphaWidgetSharePopup a\x3Ahover \x7B\n color\x3A \x23ed602f\x3B\n\x7D\n\n\x23wolframAlphaWidget88894 .wolframAlphaWidgetInfoPopup a b,\n\x23wolframAlphaWidget88894 .wolframAlphaWidgetSharePopup a b \x7B \n font-weight\x3A normal\x3B\n color\x3A \x23ed602f\x3B\n\x7D\n\n\x23wolframAlphaWidget88894 .wolframAlphaWidgetSharePopup a \x7B\n font-weight\x3A bold\x3B\n color\x3A \x23fe6518\x3B\n\x7D\n\n\x23wolframAlphaWidget88894 .wolframAlphaWidgetSharePopup a\x3Ahover \x7B\n color\x3A \x23db0303\x3B\n\x7D\n\n\x23wolframAlphaWidget88894 .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\x23wolframAlphaWidget88894 .wolframAlphaWidgetSharePopup .wawfp_share a \x7B\n font-weight\x3A normal\x3B\n font-size\x3A 12px\x3B\n\x7D\n\n\n\x23wolframAlphaWidget88894 .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\x23wolframAlphaWidget88894 .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\x23wolframAlphaWidget88894 .wolframAlphaWidgetInfoPopup .poweredby a\x3Ahover \x7B\n color\x3A \x23db0303\x3B\n\x7D\n\n\x23wolframAlphaWidget88894 .waWidgetFooter .wawf_rate a, \n\x23wolframAlphaWidget88894 .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');
coreCss88894.appendChild(text);
}
document.getElementsByTagName("head")[0].appendChild( coreCss88894 );
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 Css = document.getElementById("WolframAlphaThemeStyles");
if ( typeof(Css) === 'undefined' || Css === null ){
Css = document.createElement('link');
Css.id = 'WolframAlphaThemeStyles';
Css.type = 'text/css';
Css.rel = 'stylesheet';
Css.href = '//www.wolframalpha.com/css/widget/.css';
document.getElementsByTagName("head")[0].appendChild( Css );
}
if ( typeof(jQuery) === 'function' ){
wolframAlphaWidget_Load88894();
}
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['1490d7dd565f03696c08dc8f903bcd2f'].loadFunctionId = setInterval("wolframAlphaWidget_Load88894()",50);
}
})();
function wolframAlphaWidget_Load88894(){
if ( typeof(jQuery) === 'function' ){
jQuery("#WolframAlphaScript1490d7dd565f03696c08dc8f903bcd2f").after( jQuery('\x3Ctable class\x3D\"WolframAlphaWidget WidgetTheme\" id\x3D\"wolframAlphaWidget88894\" cellspacing\x3D\"0\" cellpadding\x3D\"0\"\x3E\x3Ctr\x3E\x3Cth class\x3D\"l\"\x3E\x3C\x2Fth\x3E\x3Cth\x3EGraph\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\"wolframAlphaWidgetBeta88894\"\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\"wolframAlphaWidgetForm88894\"\x3E\x3Cfieldset\x3E\n \x3Ctable class\x3D\"wolframAlphaWidgetContent\"\x3E \x3Ctr\x3E \x3Ctd\x3Eplot\x3C\x2Ftd\x3E \x3Ctd\x3E\x3Cinput type\x3D\"text\" maxlength\x3D\"200\" id\x3D\"i0\" name\x3D\"input1\" value\x3D\"2\x2Ax\x5E2\" size\x3D\"12\"\x2F\x3E\x3C\x2Ftd\x3E \x3C\x2Ftr\x3E \x3Ctr\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 \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\"plot \x5B\x2F\x2Fmath\x3A\x24\x7Binput1\x7D\x2F\x2F\x5D\"\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\x3D1490d7dd565f03696c08dc8f903bcd2f\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\x253d1490d7dd565f03696c08dc8f903bcd2f\" 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\x253d1490d7dd565f03696c08dc8f903bcd2f\" 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\x253d1490d7dd565f03696c08dc8f903bcd2f\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\x253d1490d7dd565f03696c08dc8f903bcd2f\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\x3D1490d7dd565f03696c08dc8f903bcd2f\" 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\x3D1490d7dd565f03696c08dc8f903bcd2f\" 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 WidgetTheme expand\" style\x3D\"position\x3A relative\x3B display\x3A none\x3B\" id\x3D\"wolframAlphaWidget88894LB\"\x3E\x3Cdiv class\x3D\"waw_header \"\x3E\x3Cdiv class\x3D\"l\" \x3E\x3C\x2Fdiv\x3E\n Graph\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\"wolframAlphaWidgetForm88894LB\"\x3E\x3Cfieldset\x3E\n \x3Ctable class\x3D\"wolframAlphaWidgetContent\"\x3E \x3Ctr\x3E \x3Ctd\x3Eplot\x3C\x2Ftd\x3E \x3Ctd\x3E\x3Cinput type\x3D\"text\" maxlength\x3D\"200\" id\x3D\"i0\" name\x3D\"input1\" value\x3D\"2\x2Ax\x5E2\" size\x3D\"12\"\x2F\x3E\x3C\x2Ftd\x3E \x3C\x2Ftr\x3E \x3Ctr\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 \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\"plot \x5B\x2F\x2Fmath\x3A\x24\x7Binput1\x7D\x2F\x2F\x5D\"\x2F\x3E\x3C\x2Ffieldset\x3E\x3C\x2Fform\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetOutput\"\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetComputingOverlay\" id\x3D\"wolframAlphaWidgetOverlay88894\"\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetComputingSpinner\"\x3EComputing...\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3Ciframe class\x3D\"wolframAlphaWidgetResults\" id\x3D\"wolframAlphaWidgetResults88894\" width\x3D\"100\x25\" frameborder\x3D\"0\" style\x3D\"height\x3A 450px\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\x3D1490d7dd565f03696c08dc8f903bcd2f\" 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\x3D1490d7dd565f03696c08dc8f903bcd2f\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\x253d1490d7dd565f03696c08dc8f903bcd2f\" 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\x253d1490d7dd565f03696c08dc8f903bcd2f\" 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\x253d1490d7dd565f03696c08dc8f903bcd2f\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\x253d1490d7dd565f03696c08dc8f903bcd2f\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\x3D1490d7dd565f03696c08dc8f903bcd2f\" 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\x3D1490d7dd565f03696c08dc8f903bcd2f\" 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\"widgetFooterInput88894\"\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\"eq88894\" class\x3D\"equal\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetBeta\" id\x3D\"wolframAlphaWidgetBeta88894\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E') );
clearInterval( WolframAlphaWidget['1490d7dd565f03696c08dc8f903bcd2f'].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_Init88894(); }catch(e){}
}
}, 10);
}
else {
jQuery(document).ready( function(){ try{wolframAlphaWidget_Init88894();}catch(e){} });
}
}
}