
var chartdiv = document.getElementById("os-US-weekly-200903-200912");
var w = chartdiv.getAttribute("width") || 700;
var h = chartdiv.getAttribute("height") || 400;
var chartembed = new infosoftglobal.FusionCharts("http://gs.statcounter.com/MSLine.swf", "os-US-weekly-200903-200912-chart", ""+w, ""+h, "0", "0");
var json = {"xml":"<chart caption='StatCounter Global Stats' subCaption=\"Top 5 Operating Systems in the US from W03 to W12 09\" anchorAlpha='100' showValues='0' bgColor='FFFFFF' numberSuffix='%' canvasBorderAlpha='50' bgSWF='\/images\/box_wide.png' canvasBgAlpha='70'\nimageSave='1' imageSaveURL='http:\/\/gs.statcounter.com\/FusionChartsSave.php' animation='0'\nlegendBorderAlpha='0' legendBgColor='000000' legendBgAlpha='20' legendPosition='RIGHT' \n canvasBorderThickness='0' showBorder='0'  labelDisplay='Rotate' slantLabels='1'><categories><vLine color='000000' thickness='1' alpha='20' \/><category showName='0' \/><vLine color='000000' thickness='1' alpha='20' \/><category label='W04 2009' showName='1' \/><vLine color='000000' thickness='1' alpha='20' \/><category label='W05 2009' showName='1' \/><vLine color='000000' thickness='1' alpha='20' \/><category label='W06 2009' showName='1' \/><vLine color='000000' thickness='1' alpha='20' \/><category label='W07 2009' showName='1' \/><vLine color='000000' thickness='1' alpha='20' \/><category label='W08 2009' showName='1' \/><vLine color='000000' thickness='1' alpha='20' \/><category label='W09 2009' showName='1' \/><vLine color='000000' thickness='1' alpha='20' \/><category label='W10 2009' showName='1' \/><vLine color='000000' thickness='1' alpha='20' \/><category label='W11 2009' showName='1' \/><vLine color='000000' thickness='1' alpha='20' \/><category label='W12 2009' showName='1' \/><\/categories><dataset seriesName='WinXP' color='3459a3' anchorBorderColor='3459a3' anchorBgColor='ffffff'>\n<set value='69.69' toolText='WinXP&lt;BR&gt;69.69%&lt;BR&gt;W03 (12 to 18 Jan 2009)' \/>\n<set value='63.61' toolText='WinXP&lt;BR&gt;63.61%&lt;BR&gt;W04 (19 to 25 Jan 2009)' \/>\n<set value='63.07' toolText='WinXP&lt;BR&gt;63.07%&lt;BR&gt;W05 (26 Jan to 1 Feb 2009)' \/>\n<set value='63.09' toolText='WinXP&lt;BR&gt;63.09%&lt;BR&gt;W06 (2 to 8 Feb 2009)' \/>\n<set value='61.74' toolText='WinXP&lt;BR&gt;61.74%&lt;BR&gt;W07 (9 to 15 Feb 2009)' \/>\n<set value='63.03' toolText='WinXP&lt;BR&gt;63.03%&lt;BR&gt;W08 (16 to 22 Feb 2009)' \/>\n<set value='63.4' toolText='WinXP&lt;BR&gt;63.4%&lt;BR&gt;W09 (23 Feb to 1 Mar 2009)' \/>\n<set value='60.59' toolText='WinXP&lt;BR&gt;60.59%&lt;BR&gt;W10 (2 to 8 Mar 2009)' \/>\n<set value='58.53' toolText='WinXP&lt;BR&gt;58.53%&lt;BR&gt;W11 (9 to 15 Mar 2009)' \/>\n<set value='57.56' toolText='WinXP&lt;BR&gt;57.56%&lt;BR&gt;W12 (16 to 22 Mar 2009)' \/>\n<\/dataset><dataset seriesName='WinVista' color='7bd146' anchorBorderColor='7bd146' anchorBgColor='ffffff'>\n<set value='21.02' toolText='WinVista&lt;BR&gt;21.02%&lt;BR&gt;W03 (12 to 18 Jan 2009)' \/>\n<set value='25.92' toolText='WinVista&lt;BR&gt;25.92%&lt;BR&gt;W04 (19 to 25 Jan 2009)' \/>\n<set value='26.92' toolText='WinVista&lt;BR&gt;26.92%&lt;BR&gt;W05 (26 Jan to 1 Feb 2009)' \/>\n<set value='27.04' toolText='WinVista&lt;BR&gt;27.04%&lt;BR&gt;W06 (2 to 8 Feb 2009)' \/>\n<set value='27.72' toolText='WinVista&lt;BR&gt;27.72%&lt;BR&gt;W07 (9 to 15 Feb 2009)' \/>\n<set value='26.7' toolText='WinVista&lt;BR&gt;26.7%&lt;BR&gt;W08 (16 to 22 Feb 2009)' \/>\n<set value='25.73' toolText='WinVista&lt;BR&gt;25.73%&lt;BR&gt;W09 (23 Feb to 1 Mar 2009)' \/>\n<set value='28.17' toolText='WinVista&lt;BR&gt;28.17%&lt;BR&gt;W10 (2 to 8 Mar 2009)' \/>\n<set value='29.66' toolText='WinVista&lt;BR&gt;29.66%&lt;BR&gt;W11 (9 to 15 Mar 2009)' \/>\n<set value='30.81' toolText='WinVista&lt;BR&gt;30.81%&lt;BR&gt;W12 (16 to 22 Mar 2009)' \/>\n<\/dataset><dataset seriesName='MacOSX' color='c815c6' anchorBorderColor='c815c6' anchorBgColor='ffffff'>\n<set value='6.63' toolText='MacOSX&lt;BR&gt;6.63%&lt;BR&gt;W03 (12 to 18 Jan 2009)' \/>\n<set value='7.63' toolText='MacOSX&lt;BR&gt;7.63%&lt;BR&gt;W04 (19 to 25 Jan 2009)' \/>\n<set value='7.33' toolText='MacOSX&lt;BR&gt;7.33%&lt;BR&gt;W05 (26 Jan to 1 Feb 2009)' \/>\n<set value='7.11' toolText='MacOSX&lt;BR&gt;7.11%&lt;BR&gt;W06 (2 to 8 Feb 2009)' \/>\n<set value='7.64' toolText='MacOSX&lt;BR&gt;7.64%&lt;BR&gt;W07 (9 to 15 Feb 2009)' \/>\n<set value='7.4' toolText='MacOSX&lt;BR&gt;7.4%&lt;BR&gt;W08 (16 to 22 Feb 2009)' \/>\n<set value='7.75' toolText='MacOSX&lt;BR&gt;7.75%&lt;BR&gt;W09 (23 Feb to 1 Mar 2009)' \/>\n<set value='8.15' toolText='MacOSX&lt;BR&gt;8.15%&lt;BR&gt;W10 (2 to 8 Mar 2009)' \/>\n<set value='8.48' toolText='MacOSX&lt;BR&gt;8.48%&lt;BR&gt;W11 (9 to 15 Mar 2009)' \/>\n<set value='8.31' toolText='MacOSX&lt;BR&gt;8.31%&lt;BR&gt;W12 (16 to 22 Mar 2009)' \/>\n<\/dataset><dataset seriesName='Win2000' color='c9cebc' anchorBorderColor='c9cebc' anchorBgColor='ffffff'>\n<set value='1.19' toolText='Win2000&lt;BR&gt;1.19%&lt;BR&gt;W03 (12 to 18 Jan 2009)' \/>\n<set value='1.21' toolText='Win2000&lt;BR&gt;1.21%&lt;BR&gt;W04 (19 to 25 Jan 2009)' \/>\n<set value='1.2' toolText='Win2000&lt;BR&gt;1.2%&lt;BR&gt;W05 (26 Jan to 1 Feb 2009)' \/>\n<set value='1.27' toolText='Win2000&lt;BR&gt;1.27%&lt;BR&gt;W06 (2 to 8 Feb 2009)' \/>\n<set value='1.27' toolText='Win2000&lt;BR&gt;1.27%&lt;BR&gt;W07 (9 to 15 Feb 2009)' \/>\n<set value='1.28' toolText='Win2000&lt;BR&gt;1.28%&lt;BR&gt;W08 (16 to 22 Feb 2009)' \/>\n<set value='1.5' toolText='Win2000&lt;BR&gt;1.5%&lt;BR&gt;W09 (23 Feb to 1 Mar 2009)' \/>\n<set value='1.37' toolText='Win2000&lt;BR&gt;1.37%&lt;BR&gt;W10 (2 to 8 Mar 2009)' \/>\n<set value='1.42' toolText='Win2000&lt;BR&gt;1.42%&lt;BR&gt;W11 (9 to 15 Mar 2009)' \/>\n<set value='1.42' toolText='Win2000&lt;BR&gt;1.42%&lt;BR&gt;W12 (16 to 22 Mar 2009)' \/>\n<\/dataset><dataset seriesName='Linux' color='d20000' anchorBorderColor='d20000' anchorBgColor='ffffff'>\n<set value='0.62' toolText='Linux&lt;BR&gt;0.62%&lt;BR&gt;W03 (12 to 18 Jan 2009)' \/>\n<set value='0.63' toolText='Linux&lt;BR&gt;0.63%&lt;BR&gt;W04 (19 to 25 Jan 2009)' \/>\n<set value='0.53' toolText='Linux&lt;BR&gt;0.53%&lt;BR&gt;W05 (26 Jan to 1 Feb 2009)' \/>\n<set value='0.5' toolText='Linux&lt;BR&gt;0.5%&lt;BR&gt;W06 (2 to 8 Feb 2009)' \/>\n<set value='0.53' toolText='Linux&lt;BR&gt;0.53%&lt;BR&gt;W07 (9 to 15 Feb 2009)' \/>\n<set value='0.52' toolText='Linux&lt;BR&gt;0.52%&lt;BR&gt;W08 (16 to 22 Feb 2009)' \/>\n<set value='0.55' toolText='Linux&lt;BR&gt;0.55%&lt;BR&gt;W09 (23 Feb to 1 Mar 2009)' \/>\n<set value='0.55' toolText='Linux&lt;BR&gt;0.55%&lt;BR&gt;W10 (2 to 8 Mar 2009)' \/>\n<set value='0.61' toolText='Linux&lt;BR&gt;0.61%&lt;BR&gt;W11 (9 to 15 Mar 2009)' \/>\n<set value='0.58' toolText='Linux&lt;BR&gt;0.58%&lt;BR&gt;W12 (16 to 22 Mar 2009)' \/>\n<\/dataset><dataset seriesName='Other (dotted)' dashed='1' drawAnchors='0' alpha='65' lineDashGap='5' lineDashLen='1' color='202020' anchorBorderColor='202020' anchorBgColor='ffffff'>\n<set value='0.85' toolText='Other&lt;BR&gt;0.85%&lt;BR&gt;W03 (12 to 18 Jan 2009)' \/>\n<set value='1' toolText='Other&lt;BR&gt;1%&lt;BR&gt;W04 (19 to 25 Jan 2009)' \/>\n<set value='0.95' toolText='Other&lt;BR&gt;0.95%&lt;BR&gt;W05 (26 Jan to 1 Feb 2009)' \/>\n<set value='1' toolText='Other&lt;BR&gt;1%&lt;BR&gt;W06 (2 to 8 Feb 2009)' \/>\n<set value='1.11' toolText='Other&lt;BR&gt;1.11%&lt;BR&gt;W07 (9 to 15 Feb 2009)' \/>\n<set value='1.07' toolText='Other&lt;BR&gt;1.07%&lt;BR&gt;W08 (16 to 22 Feb 2009)' \/>\n<set value='1.07' toolText='Other&lt;BR&gt;1.07%&lt;BR&gt;W09 (23 Feb to 1 Mar 2009)' \/>\n<set value='1.17' toolText='Other&lt;BR&gt;1.17%&lt;BR&gt;W10 (2 to 8 Mar 2009)' \/>\n<set value='1.3' toolText='Other&lt;BR&gt;1.3%&lt;BR&gt;W11 (9 to 15 Mar 2009)' \/>\n<set value='1.32' toolText='Other&lt;BR&gt;1.32%&lt;BR&gt;W12 (16 to 22 Mar 2009)' \/>\n<\/dataset><styles>\n    <definition>\n      <style name='myCaptionFont' type='font' size='14' bold='1' isHTML='1' topMargin='14' \/>\n    <\/definition>\n    <application>\n      <apply toObject='Caption' styles='myCaptionFont' \/>\n    <\/application>\n    <definition>\n      <style name='myLegendFont' type='font' size='11' color='ffffff' bold='1' isHTML='1' \/>\n    <\/definition>\n    <application>\n      <apply toObject='Legend' styles='myLegendFont' \/>\n    <\/application>\n    <definition>\n      <style name='myHTMLFont' type='font' isHTML='1' \/>\n    <\/definition>\n    <application>\n      <apply toObject='TOOLTIP' styles='myHTMLFont' \/>\n    <\/application>\n  <\/styles>\n<\/chart>\n","time_desc":"W03 to W12 09","bar":false,"map":false,"region_hidden":"US","statType_hidden":"os","region":"United States of America","statType":"Operating System","caption_part":"Top 5 Operating Systems in the US from W03 to W12 09","granularity":"weekly","toWeekYear":"2009-12","fromWeekYear":"2009-03"};
chartembed.setDataXML(json["xml"]);
chartembed.render("os-US-weekly-200903-200912");