
				  var googleSearchIframeName = "cse-search-results";
				  var googleSearchFormName = "cse-search-box";
				  var googleSearchFrameWidth = 535;
				  var googleSearchDomain = "www.google.com";
				  var googleSearchPath = "/cse";
				  var googleNumSearchResults = 5;
			
	(function() { 
		var f = document.getElementById('cse-search-box'); 
		if (!f)	{ 
			f = document.getElementById('searchbox_demo'); 
		} 
		if (f && f.q){ 
			var q = f.q; 
			var n = navigator; 
			var l = location; 
			if (n.platform == 'Win32'){ 
				q.style.cssText = 'border: 1px solid #7e9db9; padding: 2px;'; 
			} 
			var b = function(){ 
				if (q.value == '') {
					q.style.background = '#FFFFFF'; 
				} 
			}; 
			var f = function() { 
				q.style.background = '#ffffff'; 
			}; 
			q.onfocus = f; 
			q.onblur = b; 
			if (!/[&?]q=[^&]/.test(l.search)) { 
				b(); 
			} 
		} 
	}
	)
();


(function(){var e=null,a=window,l="sitesearch",q=a.googleSearchResizeIframe||a.googleSearchPath&&a.googleSearchPath=="/cse"&&typeof a.googleSearchResizeIframe=="undefined",o,m,i;function r(c,b,j,n){var f={},g=c.split(j);for(var d=0;d<g.length;d++){var h=g[d],p=h.indexOf(b);if(p>0){var k=h.substring(0,p);k=n?k.toUpperCase():k.toLowerCase();var s=h.substring(p+1,h.length);f[k]=s}}return f}function t(){var c=document.location.search;if(c.length<1)return"";c=c.substring(1,c.length);var b=r(c,"=","&",
false);if(a.googleSearchQueryString!="q"&&b[a.googleSearchQueryString]){b.q=b[a.googleSearchQueryString];delete b[a.googleSearchQueryString]}if(b.cof){var j=r(decodeURIComponent(b.cof),":",";",true),n=j.FORID;if(n)o=parseInt(n,10)}var f=document.getElementById(a.googleSearchFormName);if(f){if(f.q&&b.q&&(!b.ie||b.ie.toLowerCase()=="utf-8"))f.q.value=decodeURIComponent(b.q.replace(/\+/g," "));if(f[l])for(var g=0;g<f[l].length;g++)f[l][g].checked=b[l]==e&&f[l][g].value==""?true:f[l][g].value==b[l]?true:
false}var d="";for(var h in b)d+="&"+h+"="+b[h];return d.substring(1,d.length)}function u(){var c="http://";c+=a.googleSearchDomain?a.googleSearchDomain:"www.google.com";c+=a.googleSearchPath?a.googleSearchPath:"/custom";c+="?";if(a.googleSearchQueryString)a.googleSearchQueryString=a.googleSearchQueryString.toLowerCase();c+=t();c+="w"+m?"&ad="+encodeURIComponent("w"+m):"";c+=i?"&num="+encodeURIComponent(i):"";c+=a.googleAdtest?"&adtest="+encodeURIComponent(a.googleAdtest):"";if(q){var b=a.location.href,
j=b.indexOf("#");if(j!=-1)b=b.substring(0,j);c+=b?"&rurl="+encodeURIComponent(b):""}return c}function v(){m=a.googleSearchNumAds;m||(m=9);i=a.googleNumSearchResults;i=i?Math.min(i,20):10;var c={};c[9]=795;c[10]=795;c[11]=500;var b={};b[9]=300+90*i;b[10]=300+50*Math.min(m,4)+90*i;b[11]=300+50*m+90*i;var j=u();if(!a.googleSearchFrameborder)a.googleSearchFrameborder="0";var n=document.getElementById(a.googleSearchIframeName);if(n&&c[o]){var f=a.googleSearchFrameWidth?Math.max(a.googleSearchFrameWidth,
c[o]):c[o],g=a.googleSearchFrameHeight?Math.max(a.googleSearchFrameHeight,b[o]):b[o],d=document.createElement("iframe"),h={name:"googleSearchFrame",src:j,frameBorder:a.googleSearchFrameborder,width:f,height:g,marginWidth:"0",marginHeight:"0",hspace:"0",vspace:"0",allowTransparency:"true",scrolling:"no"};for(var p in h)d.setAttribute(p,h[p]);n.appendChild(d);d.attachEvent?d.attachEvent("onload",function(){window.scrollTo(0,0)}):d.addEventListener("load",function(){window.scrollTo(0,0)},false);q&&a.setInterval(function(){if(a.location.hash&&
a.location.hash!="#"){var k=a.location.hash.substring(1)+"px";if(d.height!=k&&k!="0px")d.height=k}},10)}a.googleSearchIframeName=e;a.googleSearchFormName=e;a.googleSearchResizeIframe=e;a.googleSearchQueryString=e;a.googleSearchDomain=e;a.googleSearchPath=e;a.googleSearchFrameborder=e;a.googleSearchFrameWidth=e;a.googleSearchFrameHeight=e;a.googleSearchNumAds=e;a.googleNumSearchResults=e;a.googleAdtest=e}v()})();
