<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Javascript: Escopo de variáveis e a palavra-chave var</title>
	<atom:link href="http://pletax.com/index.php/2008/11/javascript-escopo-de-variaveis-e-a-palavra-chave-var/feed/" rel="self" type="application/rss+xml" />
	<link>http://pletax.com/index.php/2008/11/javascript-escopo-de-variaveis-e-a-palavra-chave-var/</link>
	<description>A comunidade para desenvolvedores ninja</description>
	<lastBuildDate>Tue, 13 Jul 2010 18:14:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
</channel>
</rss>
<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta charset="UTF-8" />
<title>Javascript: Escopo de variáveis e a palavra-chave var | </title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="all" href="http://www.pletax.com/wp-content/themes/twentyten/style.css" />
<link rel="pingback" href="http://www.pletax.com/xmlrpc.php" />
<link rel="alternate" type="application/rss+xml" title="Pletax &raquo; Feed" href="http://pletax.com/index.php/feed/" />
<link rel="alternate" type="application/rss+xml" title="Pletax &raquo; Comments Feed" href="http://pletax.com/index.php/comments/feed/" />
<link rel="alternate" type="application/rss+xml" title="Pletax &raquo; Javascript: Escopo de variáveis e a palavra-chave var Comments Feed" href="http://pletax.com/index.php/2008/11/javascript-escopo-de-variaveis-e-a-palavra-chave-var/feed/" />
<link rel='stylesheet' id='wpimageflow2css-css'  href='http://www.pletax.com/wp-content/plugins/wp-imageflow2/css/screen.css?ver=3.0' type='text/css' media='all' />
<link rel='stylesheet' id='contact-form-7-css'  href='http://www.pletax.com/wp-content/plugins/contact-form-7/styles.css?ver=2.2.1' type='text/css' media='all' />
<script type='text/javascript' src='http://www.pletax.com/wp-includes/js/jquery/jquery.js?ver=1.4.2'></script>
<script type='text/javascript' src='http://www.pletax.com/wp-content/plugins/wp-imageflow2/js/imageflowplus.js?ver=3.0'></script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.pletax.com/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.pletax.com/wp-includes/wlwmanifest.xml" /> 
<link rel='index' title='Pletax' href='http://pletax.com/' />
<link rel='start' title='WebKit é o primeiro a completar o teste Acid3' href='http://pletax.com/index.php/2008/10/webkit-e-o-primeiro-a-completar-o-teste-acid3/' />
<link rel='prev' title='Usar Flash?' href='http://pletax.com/index.php/2008/11/usar-flash/' />
<link rel='next' title='Sites Web 2.0 – A Simplicidade' href='http://pletax.com/index.php/2008/12/sites-web-20-a-simplicidade/' />
<meta name="generator" content="WordPress 3.0" />
<link rel='shortlink' href='http://pletax.com/?p=103' />
	<link href="http://www.pletax.com/wp-content/plugins/google-syntax-highlighter/Styles/SyntaxHighlighter.css" type="text/css" rel="stylesheet" />
	<link rel="stylesheet" href="http://pletax.com/wp-content/plugins/profiler/pfstyle.css" type="text/css" media="screen" /><script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-5899523-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>

<body class="single single-post postid-103">
<div id="wrapper" class="hfeed">
	<div id="header">
		<div id="masthead">
			<div id="branding" role="banner">
								<div id="site-title">
					<span>
						<a href="http://pletax.com/" title="Pletax" rel="home">Pletax</a>
					</span>
				</div>
				<div id="site-description">A comunidade para desenvolvedores ninja</div>

										<img src="http://www.pletax.com/wp-content/themes/twentyten/images/headers/forestfloor.jpg" width="940" height="198" alt="" />
								</div><!-- #branding -->

			<div id="access" role="navigation">
			  				<div class="skip-link screen-reader-text"><a href="#content" title="Skip to content">Skip to content</a></div>
								<div class="menu"><ul><li ><a href="http://pletax.com/" title="Home">Home</a></li><li class="page_item page-item-909"><a href="http://pletax.com/forum/" title="Fórum">Fórum</a></li><li class="page_item page-item-207"><a href="http://pletax.com/index.php/colaboradores/" title="Colaboradores">Colaboradores</a></li><li class="page_item page-item-2"><a href="http://pletax.com/index.php/about/" title="Sobre">Sobre</a></li><li class="page_item page-item-372"><a href="http://pletax.com/index.php/contato/" title="Contato">Contato</a></li></ul></div>
			</div><!-- #access -->
		</div><!-- #masthead -->
	</div><!-- #header -->

	<div id="main">

		<div id="container">
			<div id="content" role="main">


				<div id="nav-above" class="navigation">
					<div class="nav-previous"><a href="http://pletax.com/index.php/2008/11/usar-flash/" rel="prev"><span class="meta-nav">&larr;</span> Usar Flash?</a></div>
					<div class="nav-next"><a href="http://pletax.com/index.php/2008/12/sites-web-20-a-simplicidade/" rel="next">Sites Web 2.0 – A Simplicidade <span class="meta-nav">&rarr;</span></a></div>
				</div><!-- #nav-above -->

				<div id="post-103" class="post-103 post type-post hentry category-javascript-desenvolvimento tag-javascript">
					<h1 class="entry-title">Javascript: Escopo de variáveis e a palavra-chave var</h1>
<br />
<div align="center">			
<script src="http://feeds.feedburner.com/~s/pletax?i=http://pletax.com/index.php/2008/11/javascript-escopo-de-variaveis-e-a-palavra-chave-var/" type="text/javascript" charset="utf-8"></script>	
<script type="text/javascript"><!--
google_ad_client = "pub-5350015601572601";
/* 468x60, created 3/22/09 */
google_ad_slot = "7619501140";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<br />

					<div class="entry-meta">
						<span class="meta-prep meta-prep-author">Posted on</span> <a href="http://pletax.com/index.php/2008/11/javascript-escopo-de-variaveis-e-a-palavra-chave-var/" title="6:12 pm" rel="bookmark"><span class="entry-date">November 19, 2008</span></a> <span class="meta-sep">by</span> <span class="author vcard"><a class="url fn n" href="http://pletax.com/index.php/author/admin/" title="View all posts by Felipe Plets">Felipe Plets</a></span>					</div><!-- .entry-meta -->

					<div class="entry-content">
						<p>Este post faz parte de uma série de Posts que decidi criar para compartilhar o conhecimento em JavaScript e para tentar suprir a necessidade atual de bons materiais sobre o assunto no Brasil.</p>
<p>O escopo das variáveis em JavaScript foi escolhido como tema deste primeiro post tanto por ser um assunto de fácil entendimento quanto por ser um dos quesitos para a construção de códigos JavaScript de qualidade. </p>
<h3>Introdução</h3>
<p>Para quem não sabe o escopo de variáveis nada mais é do que o contexto em que as variáveis estão definidas. </p>
<p>Existem dois tipos básicos de variáveis em Javascript, as locais e as globais:</p>
<ul>
<li>As <strong>Locais</strong> são validas apenas dentro de uma determinada função.</li>
<li>As <strong>Globais</strong> são validas em qualquer parte da aplicação, isso incluí outros arquivos de script que não o arquivo em que a variável foi definida. </li>
</ul>
<h3>A utilização da palavra-chave <strong>var</strong></h3>
<p>A utilização do identificador <strong>var</strong> na declaração de uma variável é imprescindível pois quando não for utilizado e a variável estiver sendo definida dentro de uma função, seu escopo automaticamente será global até o término da função, e isso pode ser perigoso, como veremos mais adiante.</p>
<p>Nos casos abaixo as variáveis serão globais e poderão ser acessadas e modificadas de qualquer parte da aplicação, sendo assim não existe diferença entre utilizar com ou sem a palavra-chave <strong>var</strong> porém é recomendada a utilização como boa prática.</p>
<pre name="code" class="jscript">
<script type="text/javascript" language="JavaScript">
<!--
  // Utilizando a palavra-chave var
  var sBestDrink = "Dinamite Pangaláctica";

  // Não utilizando a palavra-chave var (o efeito é o mesmo da declaração anterior)
  sIngredient = "Aguardente Janx";
//-->
</script>
</pre>
<p>Abaixo, segue a declaração de variáveis dentro de uma função, com e sem a palavra-chave <strong>var</strong>,  a variável declarada utilizando var será valida apenas dentro da função em que está definida, a variável que não é precedida por var será valida dentro de todas as funções executadas antes do término desta função, e é neste caso que mora o perigo.</p>
<pre name="code" class="jscript">
<script type="text/javascript" language="JavaScript">
<!--
  function MyFunction()
  {
    // Valida até o termino desta função, mas não será valida dentro da função MyFunction2
    var sCharacter = "Arthur Dent";

    // Esta variável será valida dentro da função MyFunction2
    sCharacter2 = "Ford Prefect";
    MyFunction();
  }
//-->
</script>
</pre>
<p>O problema mais comum é quando um desenvolvedor declara duas funções que executam iterações em laços <strong>for</strong> e as duas variáveis de controle tem o mesmo nome e foram declaradas sem a palavra-chave <strong>var</strong>, como vemos no exemplo abaixo: </p>
<pre name="code" class="jscript">
<script type="text/javascript" language="JavaScript">
<!--
function test()
{
  for(i = 0; i < 10; i++)
  {
    // A função deveria passar 10 vezes por aqui, mas irá passar apenas uma,
    // pois ao sair da função test2 a variável i terá como valor o número 10
    document.body.innerHTML += "test: " + i + "</br>";
    test2();
  }
}

function test2()
{
  for(i = 0; i < 10; i++)
  {
    document.body.innerHTML += "test2: " + i + "</br>";
  }
}
//-->
</script>
</pre>
<h3>Na prática</h3>
<p>Abaixo tem um exemplo prático com todas as possibilidades de declaração de variáveis em JavaScript.</p>
<pre name="code" class="jscript">
<script type="text/javascript" language="JavaScript">
<!--
  // Global, pode ser acessada de qualquer parte da aplicação
  var sBookName = "The Hitchhiker's Guide to the Galaxy";

  // Global, assim com a anterior pode ser acessada de qualquer parte da aplicação
  iBookPages = 160; // global
  if (iBookPages < 200)
  {
    // Global
    var bBookSmall = true;
  }
  else
  {
    // Global, mas será undefined pois o programa não passará aqui
    var bBookBig = true; 
  }

  FirstFunction();

  function FirstFunction()
  {
    // Local
    var sWritterName = "Douglas Adams";

    // Global, até o termino desta função
    iPublishYear = 1979; 

    if (iPublishYear > 2000)
    {
      // Local, dentro desta função após esta linha
      var bNewBook = true; 
    }
    else
    {
      // Local, mas será undefined pois o programa não passará aqui
      var bOldBook = true; 
    }
  }

  function SecondFunction()
  {
    // Ao acessar esta função as únicas variáveis disponíveis são as listadas abaixo:
    alert("Nome do livro: " + sBookName);
    alert("Número de páginas do livro: " + iBookPages);
    alert("O livro é pequeno: " + bBookSmall);
    alert("Publicado no ano de: " + iPublishYear);
  }
//-->
</script>
</pre>
<h3>Conclusão</h3>
<p>Utilize sempre a palavra-chave <strong>var</strong>.<br />
A diferença entre eu ter dito isso no inicio ou dizer aqui é que agora você sabe o motivo de utilizar <strong>var</strong> precedendo o nome da sua variável. </p>
<p>Caso você tenha alguma sugestão de assunto que gostaria de ver aqui, pode postar como comentário no Blog, terei o prazer de auxiliar no que for possível. </p>
<p>Abraço e até a próxima,</p>
<div id="crp_related"><h3>Posts Relacionados:</h3><ul><li><a href="http://pletax.com/index.php/2010/06/ecmascript5-a-nova-versao-do-javascript/" rel="bookmark" class="crp_title">ECMAScript5 a nova versão do JavaScript</a></li><li><a href="http://pletax.com/index.php/2010/07/ordenando-um-array-de-objetos-em-javascript/" rel="bookmark" class="crp_title">Ordenando um Array de Objetos em JavaScript</a></li><li><a href="http://pletax.com/index.php/2010/03/adicionando-valor-null-a-variaveis-nonnullable-no-net-framework/" rel="bookmark" class="crp_title">Adicionando valor null a variáveis NonNullable no .NET Framework</a></li><li><a href="http://pletax.com/index.php/2010/06/datarow-datatable-dataset-asp-net-ajax/" rel="bookmark" class="crp_title">Retornando DataRow, DataTable e DataSet com ASP.NET AJAX</a></li><li><a href="http://pletax.com/index.php/2009/02/evento-documentready/" rel="bookmark" class="crp_title">Evento document.ready</a></li></ul></div>											</div><!-- .entry-content -->

					<div id="entry-author-info">
						<div id="author-avatar">
							<img alt='' src='http://0.gravatar.com/avatar/a06a32887b8f6f7bf7051bf6b0c3baa5?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;r=G' class='avatar avatar-60 photo' height='60' width='60' />						</div><!-- #author-avatar -->
						<div id="author-description">
							<h2>About Felipe Plets</h2>
							Desenvolvedor Web desde 2000, iniciei meus estudos na área com 15 anos, quando utilizava o conhecimento em HTML e JavaScript apenas para criar páginas pessoais para mim e para meus amigos. Não demorou muito para que o hobbie se tornasse fonte de sustento. Hoje trabalho profissionalmente como Coordenador de Desenvolvimento Web utilizando tecnologia de ponta e as melhores práticas e técnicas disponíveis no mercado.

Você deveria me seguir no <a href="http://twitter.com/fsplets">Twitter</a>!							<div id="author-link">
								<a href="http://pletax.com/index.php/author/admin/">
									View all posts by Felipe Plets <span class="meta-nav">&rarr;</span>								</a>
							</div><!-- #author-link	-->
						</div><!-- #author-description -->
					</div><!-- #entry-author-info -->

					<div class="entry-utility">
						This entry was posted in <a href="http://pletax.com/index.php/category/desenvolvimento/javascript-desenvolvimento/" title="View all posts in Javascript" rel="category tag">Javascript</a> and tagged <a href="http://pletax.com/index.php/tag/javascript/" rel="tag">JavaScript</a>. Bookmark the <a href="http://pletax.com/index.php/2008/11/javascript-escopo-de-variaveis-e-a-palavra-chave-var/" title="Permalink to Javascript: Escopo de variáveis e a palavra-chave var" rel="bookmark">permalink</a>.											</div><!-- .entry-utility -->
				</div><!-- #post-## -->

				<div id="nav-below" class="navigation">
					<div class="nav-previous"><a href="http://pletax.com/index.php/2008/11/usar-flash/" rel="prev"><span class="meta-nav">&larr;</span> Usar Flash?</a></div>
					<div class="nav-next"><a href="http://pletax.com/index.php/2008/12/sites-web-20-a-simplicidade/" rel="next">Sites Web 2.0 – A Simplicidade <span class="meta-nav">&rarr;</span></a></div>
				</div><!-- #nav-below -->

				
			<div id="comments">




								<div id="respond">
				<h3 id="reply-title">Leave a Reply <small><a rel="nofollow" id="cancel-comment-reply-link" href="/index.php/2008/11/javascript-escopo-de-variaveis-e-a-palavra-chave-var/feed/#respond" style="display:none;">Cancel reply</a></small></h3>
									<form action="http://www.pletax.com/wp-comments-post.php" method="post" id="commentform">
																			<p class="comment-notes">Your email address will not be published. Required fields are marked <span class="required">*</span></p>							<p class="comment-form-author"><label for="author">Name</label> <span class="required">*</span><input id="author" name="author" type="text" value="" size="30" aria-required='true' /></p>
<p class="comment-form-email"><label for="email">Email</label> <span class="required">*</span><input id="email" name="email" type="text" value="" size="30" aria-required='true' /></p>
<p class="comment-form-url"><label for="url">Website</label><input id="url" name="url" type="text" value="" size="30" /></p>
												<p class="comment-form-comment"><label for="comment">Comment</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>						<p class="form-allowed-tags">You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:  <code>&lt;a href=&quot;&quot; title=&quot;&quot;&gt; &lt;abbr title=&quot;&quot;&gt; &lt;acronym title=&quot;&quot;&gt; &lt;b&gt; &lt;blockquote cite=&quot;&quot;&gt; &lt;cite&gt; &lt;code&gt; &lt;del datetime=&quot;&quot;&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=&quot;&quot;&gt; &lt;strike&gt; &lt;strong&gt; </code></p>						<p class="form-submit">
							<input name="submit" type="submit" id="submit" value="Post Comment" />
							<input type='hidden' name='comment_post_ID' value='103' id='comment_post_ID' />
<input type='hidden' name='comment_parent' id='comment_parent' value='0' />
						</p>
											</form>
							</div><!-- #respond -->
						
</div><!-- #comments -->


			</div><!-- #content -->
		</div><!-- #container -->


		<div id="primary" class="widget-area" role="complementary">
			<ul class="xoxo">

<li id="search-2" class="widget-container widget_search"><form role="search" method="get" id="searchform" action="http://pletax.com/" >
	<div><label class="screen-reader-text" for="s">Search for:</label>
	<input type="text" value="" name="s" id="s" />
	<input type="submit" id="searchsubmit" value="Search" />
	</div>
	</form></li><li id="categories-3" class="widget-container widget_categories"><h3 class="widget-title">Categorias</h3><select name='cat' id='cat' class='postform' >
	<option value='-1'>Select Category</option>
	<option class="level-0" value="5">Browser&nbsp;&nbsp;(19)</option>
	<option class="level-1" value="104">&nbsp;&nbsp;&nbsp;Mozilla Firefox&nbsp;&nbsp;(3)</option>
	<option class="level-0" value="15">Carreira&nbsp;&nbsp;(12)</option>
	<option class="level-1" value="106">&nbsp;&nbsp;&nbsp;Cursos&nbsp;&nbsp;(1)</option>
	<option class="level-1" value="55">&nbsp;&nbsp;&nbsp;Eventos&nbsp;&nbsp;(7)</option>
	<option class="level-0" value="66">Desenvolvimento&nbsp;&nbsp;(22)</option>
	<option class="level-1" value="101">&nbsp;&nbsp;&nbsp;Ajax&nbsp;&nbsp;(3)</option>
	<option class="level-1" value="100">&nbsp;&nbsp;&nbsp;ASP.NET&nbsp;&nbsp;(1)</option>
	<option class="level-1" value="68">&nbsp;&nbsp;&nbsp;HTML&nbsp;&nbsp;(4)</option>
	<option class="level-1" value="67">&nbsp;&nbsp;&nbsp;Javascript&nbsp;&nbsp;(6)</option>
	<option class="level-0" value="35">Dica de Livro&nbsp;&nbsp;(2)</option>
	<option class="level-0" value="63">Notícia&nbsp;&nbsp;(14)</option>
	<option class="level-0" value="52">Performance&nbsp;&nbsp;(3)</option>
	<option class="level-0" value="99">Promoções&nbsp;&nbsp;(2)</option>
	<option class="level-0" value="14">Web Application&nbsp;&nbsp;(10)</option>
</select>

<script type='text/javascript'>
/* <![CDATA[ */
	var dropdown = document.getElementById("cat");
	function onCatChange() {
		if ( dropdown.options[dropdown.selectedIndex].value > 0 ) {
			location.href = "http://pletax.com/?cat="+dropdown.options[dropdown.selectedIndex].value;
		}
	}
	dropdown.onchange = onCatChange;
/* ]]> */
</script>

</li><li id="text-401030261" class="widget-container widget_text"><h3 class="widget-title">Ganha pão</h3>			<div class="textwidget"><div style="color: white; width: 250px;"><script type="text/javascript"><!--
google_ad_client = "pub-5350015601572601";
/* Pletax */
google_ad_slot = "0600440925";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div></div>
		</li>			</ul>
		</div><!-- #primary .widget-area -->


		<div id="secondary" class="widget-area" role="complementary">
			<ul class="xoxo">
				<li id="tweetbox" class="widget-container tweetbox_widget"><h3 class="widget-title">Latest Tweets</h3><script type="text/javascript" src="http://www.pletax.com/wp-content/plugins/tweetbox/tweetbox.js"></script><script>getTweets('fsplets', 5, '')</script><div id="tweetboxtweets">Fetching latest tweets...</div></li><li id="text-401028701" class="widget-container widget_text"><h3 class="widget-title">Sociedade Pletax</h3>			<div class="textwidget"><!-- Include the Google Friend Connect javascript library. -->
<script type="text/javascript" src="http://www.google.com/friendconnect/script/friendconnect.js"></script>
<!-- Define the div tag where the gadget will be inserted. -->
<div id="div-1235524475495" style="width:210px;border:1px solid #cccccc;"></div>
<!-- Render the gadget into a div. -->
<script type="text/javascript">
var skin = {};
skin['HEIGHT'] = '385';
skin['BORDER_COLOR'] = '#cccccc';
skin['ENDCAP_BG_COLOR'] = '#e0ecff';
skin['ENDCAP_TEXT_COLOR'] = '#333333';
skin['ENDCAP_LINK_COLOR'] = '#0000cc';
skin['ALTERNATE_BG_COLOR'] = '#ffffff';
skin['CONTENT_BG_COLOR'] = '#ffffff';
skin['CONTENT_LINK_COLOR'] = '#0000cc';
skin['CONTENT_TEXT_COLOR'] = '#333333';
skin['CONTENT_SECONDARY_LINK_COLOR'] = '#7777cc';
skin['CONTENT_SECONDARY_TEXT_COLOR'] = '#666666';
skin['CONTENT_HEADLINE_COLOR'] = '#333333';
google.friendconnect.container.setParentUrl('/' /* location of rpc_relay.html and canvas.html */);
google.friendconnect.container.renderMembersGadget(
 { id: 'div-1235524475495',
   site: '10317633949619230112' },
  skin);
</script></div>
		</li><li id="text-383337431" class="widget-container widget_text"><h3 class="widget-title">Widgets</h3>			<div class="textwidget"><!-- Whos Among us -->
<script type="text/javascript" src="http://widgets.amung.us/small.js"></script><script type="text/javascript">WAU_small('jjv1h20s0ez7')</script>

<!-- Blogblogs -->
<a href='http://blogblogs.com.br/my/gadgets/ping?url=http://www.pletax.com/' title='Pingar o BlogBlogs' rel='alternate'><img src='http://assets3.blogblogs.com.br/public/bb/images/gadgets/bbgad_ping_2.gif' border='0' alt='Pingar o BlogBlogs' /></a>
                <a href='http://blogblogs.com.br/my/gadgets/fave?url=http://www.pletax.com/' title='Adicionar aos Favoritos BlogBlogs' rel='alternate'><img src='http://assets2.blogblogs.com.br/public/bb/images/gadgets/bbgad_fave_2.gif' border='0' alt='Adicionar aos Favoritos BlogBlogs' /></a>

</div>
		</li>			</ul>
		</div><!-- #secondary .widget-area -->

	</div><!-- #main -->

	<div id="footer" role="contentinfo">
		<div id="colophon">



			<div id="site-info">
				<a href="http://pletax.com/" title="Pletax" rel="home">
					Pletax				</a>
			</div><!-- #site-info -->

			<div id="site-generator">
								<a href="http://wordpress.org/"
						title="Semantic Personal Publishing Platform" rel="generator">
					Proudly powered by WordPress.				</a>
			</div><!-- #site-generator -->

		</div><!-- #colophon -->
	</div><!-- #footer -->

</div><!-- #wrapper -->

<script type='text/javascript' src='http://www.pletax.com/wp-includes/js/jquery/jquery.form.js?ver=2.02m'></script>
<script type='text/javascript' src='http://www.pletax.com/wp-content/plugins/contact-form-7/scripts.js?ver=2.2.1'></script>
<script class="javascript" src="http://www.pletax.com/wp-content/plugins/google-syntax-highlighter/Scripts/shCore.js"></script>
<script class="javascript" src="http://www.pletax.com/wp-content/plugins/google-syntax-highlighter/Scripts/shBrushCSharp.js"></script>
<script class="javascript" src="http://www.pletax.com/wp-content/plugins/google-syntax-highlighter/Scripts/shBrushPhp.js"></script>
<script class="javascript" src="http://www.pletax.com/wp-content/plugins/google-syntax-highlighter/Scripts/shBrushJScript.js"></script>
<script class="javascript" src="http://www.pletax.com/wp-content/plugins/google-syntax-highlighter/Scripts/shBrushJava.js"></script>
<script class="javascript" src="http://www.pletax.com/wp-content/plugins/google-syntax-highlighter/Scripts/shBrushVb.js"></script>
<script class="javascript" src="http://www.pletax.com/wp-content/plugins/google-syntax-highlighter/Scripts/shBrushSql.js"></script>
<script class="javascript" src="http://www.pletax.com/wp-content/plugins/google-syntax-highlighter/Scripts/shBrushXml.js"></script>
<script class="javascript" src="http://www.pletax.com/wp-content/plugins/google-syntax-highlighter/Scripts/shBrushDelphi.js"></script>
<script class="javascript" src="http://www.pletax.com/wp-content/plugins/google-syntax-highlighter/Scripts/shBrushPython.js"></script>
<script class="javascript" src="http://www.pletax.com/wp-content/plugins/google-syntax-highlighter/Scripts/shBrushRuby.js"></script>
<script class="javascript" src="http://www.pletax.com/wp-content/plugins/google-syntax-highlighter/Scripts/shBrushCss.js"></script>
<script class="javascript" src="http://www.pletax.com/wp-content/plugins/google-syntax-highlighter/Scripts/shBrushCpp.js"></script>
<script class="javascript">
dp.SyntaxHighlighter.ClipboardSwf = 'http://www.pletax.com/wp-content/plugins/google-syntax-highlighter/Scripts/clipboard.swf';
dp.SyntaxHighlighter.HighlightAll('code');
</script>
</body>
</html>
