function printPage(){if(window.print)window.print()}function ppmon(){if(document.getElementById)document.getElementById('PrintNote').style.display='block';}function ppmoffold(){id=window.setTimeout("timer()",1000);}function ppmoff(){if(document.getElementById)document.getElementById('PrintNote').style.display='none';}function printInstructions(){return'<div onmouseover="javascript:ppmon();" onmouseout="javascript:ppmoff();" style="height:10px" class="ScreenOnly TextXXSmall"><strong><a href="javascript:printPage()">Print this webpage</A></strong><div ID="PrintNote" onclick="javascript;ppmoff()" onmouseover="javascript:ppmon();" onmouseout="javascript:ppmoff();"><p>This page designed print cleanly without extraneous menus, ads, etc. and may make a great classroom handout.</p><p>To print the background colors of any tables follow these directions:</p><ul><li><strong>Internet Explorer:</strong> go to "Tools" &gt; "Internet Options"&gt; "Advanced" &gt; "Printing" and make sure "Print background colors and images" is checked.</li><li><strong>Firefox:</strong> go to "File" &gt; "Print Setup" and check "Print Background (colors & images)".</li></ul></div></div>';}function CareerMenu(CC){var dCA=document.getElementById('CareerLCA').style;var dIN=document.getElementById('CareerLIN').style;var dUK=document.getElementById('CareerLUK').style;var dUS=document.getElementById('CareerLUS').style;var oCA=document.getElementById('CareerCA').style;var oIN=document.getElementById('CareerIN').style;var oUK=document.getElementById('CareerUK').style;var oUS=document.getElementById('CareerUS').style;var a="#e7d39c url('/images/arrow-";var e="m.gif') no-repeat left";var aC=a+'c'+e;var aD=a+'d'+e;var aU=a+'u'+e;var cB='#000000';var cS='#7E2C04';var n='none';var b='block';var p='pointer';var u='underline';var d='default';var cookie_date=new Date();cookie_date.setTime(cookie_date.getTime()-1);document.cookie="CareerCountry=; expires="+cookie_date.toGMTString()+"; domain=.environmentalchemistry.com";document.cookie="CareerCountry="+CC+";domain=.environmentalchemistry.com;path=/;";dCA.display=n;dIN.display=n;dUK.display=n;dUS.display=n;oCA.color=cS;oIN.color=cS;oUK.color=cS;oUS.color=cS;oCA.textDecoration=u;oIN.textDecoration=u;oUK.textDecoration=u;oUS.textDecoration=u;oCA.cursor=p;oIN.cursor=p;oUK.cursor=p;oUS.cursor=p;if(CC=="CA"){dCA.display=b;oCA.color=cB;oCA.textDecoration=n;oCA.cursor=d;oCA.background=aC;oIN.background=aU;oUK.background=aU;oUS.background=aU;}else if(CC=="IN"){dIN.display=b;oCA.background=aD;oIN.background=aC;oUK.background=aU;oUS.background=aU;oIN.color=cB;oIN.textDecoration=n;oIN.cursor=d;}else if(CC=="UK"){dUK.display=b;oCA.background=aD;oIN.background=aD;oUK.background=aC;oUS.background=aU;oUK.color=cB;oUK.textDecoration=n;oUK.cursor=d;}else{dUS.display=b;oCA.background=aD;oIN.background=aD;oUK.background=aD;oUS.background=aC;oUS.color=cB;oUS.textDecoration=n;oUS.cursor=d;}CC=CC.toLowerCase();document.getElementById('CareerCountry').value=CC;}function SLI(s,qu,qt,qd,n,f,l){var str="<area coords=\""+f+",0,"+l+",16\" href=\"http://"+s+"\" onclick=\"window.open('http://"+s+qu+"'+encodeURIComponent(location.href)+'"+qt+"'+t";if(qd!=""){str+="+'"+qd+"'+desc";}return(str+",'Social','height=440,width=700,scrollbars=yes,resizable=yes,location=yes,directories=no');return false;\" title=\""+n+"\">");}function printSocial(){var str="<"+"script type=\"text/javascript\">var desc;if(!document.getElementsByName('DESCRIPTION')){desc='';}else{desc=document.getElementsByName('DESCRIPTION')[0].content;}var t=document.title;t=t.replace(' (EnvironmentalChemistry.com)','');t=t.replace('Editors\\' Blog: ','');t=encodeURIComponent(t);<"+"/script>";str+="<h3 class=\"NoPrint\">Share/Save This Page</h3><img src=\"http://envirochem.us/images/sharene.png\" alt=\"\" usemap=\"#Soc\" class=\"NoPrint\" style=\"width:233px;height:16px\"><map name=\"Soc\">"+SLI("www.myspace.com/index.cfm","?fuseaction=postto&amp;l=1&amp;u=","&amp;t=","&amp;c=","MySpace",0,19)+SLI("www.facebook.com/sharer.php","?u=","&amp;t=","","Facebook",23,38)+SLI("envirochem.us/twitter.html","?url=","&amp;title=","","Twitter",44,58)+SLI("del.icio.us/post","?v=4&amp;partner=csm&amp;noui&amp;jump=close&amp;url=","&amp;title=","&amp;notes=","del.icio.us",63,79)+SLI("digg.com/submit","?phase=2&amp;url=","&amp;title=","&amp;bodytext=","Digg",83,99)+SLI("www.google.com/bookmarks/mark","?op=edit&bkmk=","&amp;title=","","Google Bookmarks",103,119)+SLI("www.mixx.com/submit/story","?page_url=","&amp;title=","","Mixx",123,139)+SLI("www.newsvine.com/_tools/seed&amp;save","?u=","&amp;h=","","Newsvine",143,156)+SLI("reddit.com/submit","?url=","&amp;title=","","Reddit",160,176)+SLI("slashdot.org/bookmark.pl","?url=","&amp;title=","","Slashdot",180,192)+SLI("www.stumbleupon.com/submit","?url=","&amp;title=","","StumbleUpon",198,212)+SLI("www.technorati.com/faves","?add=","","","Technorati",217,233);return(str+"</map>");}_version=11;if(navigator.userAgent.indexOf('Mozilla/3')!=-1){_version=10;}var oas='http://oascentral.sciam.com/RealMedia/ads/';var sitepage="environmentalchemistry.com";var RN=new String(Math.random());var RNS=RN.substring(2,11);function DisplayAds(position,width,Height){var oaspage=sitepage+'/1'+RNS+'@'+position;if(_version<11){var temp_write='<A HREF="'+oas+'click_nx.cgi/'+oaspage+'" TARGET="_top"><IMG SRC="'+oas+'adstream_nx.cgi/'+oaspage+'" BORDER="0" WIDTH="'+width+'" HEIGHT="'+Height+'"></a>';document.write(temp_write);}else{var temp_write='<SCRIPT type="text/javascript" SRC="'+oas+'adstream_jx.cgi/'+oaspage+'">';document.write(temp_write);document.write('\<\!-- --\>');document.write('\<\/SCRIPT\>');document.write('\<\!-- --\>');}}
