﻿/*function OnLoad() {
  // Create a search control
  var searchControl = new google.search.SearchControl();

  // Add in a WebSearch
  var webSearch = new google.search.WebSearch();

  // Restrict our search to pages from the Cartoon Newtowrk
  webSearch.setSiteRestriction('www.taran.com.pl');

  // Add the searcher to the SearchControl
  searchControl.addSearcher(webSearch);

  // tell the searcher to draw itself and tell it where to attach
  searchControl.draw(document.getElementById("content"));

  // execute an inital search
  searchControl.execute('autokomputer');
}

google.setOnLoadCallback(OnLoad, true);
*/

document.write("<p>");
document.write("<br/><b>PZI TARAN sp. z o.o. :</b>");
document.write("[ tel./fax +48 (17) 788 59 22, 788 59 23   e-mail: ");
    dajt("pzi")

/*document.write("<a href=\"mailto:pzi@taran.com.pl\">pzi@taran.com.pl</a> ]<br />");*/
document.write(" ]<br />");
document.write("<a href=\"../main/index.htm\" >STRONA GŁÓWNA  |</a>");
document.write("<a href=\"../municom/index.htm\" >MUNICOM  |</a>");
document.write("<a href=\"../goskom/index.htm\" >GOSKOM  |</a>");
document.write("<a href=\"../erp/index.htm\" >FIRMA  |</a>");
document.write("<a href=\"../main/kontakt.htm\" >KONTAKT</a>");

document.write("<br/><br/>");
document.write("</p>");
//debugger;
document.write("	<div id=\"xa\">");

/*document.write("	    <form action=\"http:\/\/www.google.com\/search\" method=\"get\" name=\"search\" >");
document.write("		<input type=\"hidden\" name=\"sitesearch\"  value=\"taran.com.pl\">");
document.write("		Wyszukaj na www.taran.com.pl:<input name=\"q\" class=\"text\" style=\"width: 25%\" >");
document.write("		<input type=\"submit\" value=\"Szukaj\" style=\"font-size:small\"  >");
*/
document.write("	    <form action=\"../main/google_search.htm\" method=\"get\" onsubmit=\"usun_pl(this)\">");
document.write("		Wyszukaj na www.taran.com.pl:<input name=\"q\" class=\"text\" style=\"width: 25%\" >");
document.write("		<input type=\"submit\" value=\"Szukaj\" style=\"font-size:small\"  >");

function usun_pl(formularz)
{
	for (i = 0; i < formularz.length; i++)
	{
		var pole = formularz.elements[i];
		if (pole.type != "text" && pole.type != "textarea") continue;
		var str = "";
		for (j = 0; j < pole.value.length; j++)
		{
			switch (pole.value.charAt(j))
			{
				case "ą": str += "a"; break;
				case "ć": str += "c"; break;
				case "ę": str += "e"; break;
				case "ł": str += "l"; break;
				case "ń": str += "n"; break;
				case "ó": str += "o"; break;
				case "ś": str += "s"; break;
				case "ź": str += "z"; break;
				case "ż": str += "z"; break;
				case "Ą": str += "a"; break;
				case "Ć": str += "c"; break;
				case "Ę": str += "e"; break;
				case "Ł": str += "l"; break;
				case "Ń": str += "n"; break;
				case "Ó": str += "o"; break;
				case "Ś": str += "s"; break;
				case "Ź": str += "z"; break;
				case "Ż": str += "z"; break;
				default: str += pole.value.charAt(j); break;
			}
		}
		pole.value = str;
	}
}

document.write("	    	<a href=\"javascript:history.back()\"> 	");
document.write("			<img style=\"float:left; position: relative; bottom: 20px;\" alt=\"poprzednia strona\"  	");
document.write("	        src=\"../_images/button_prev.gif\"  	");
document.write("	         /></a>   	");

document.write("			<a onclick=\"scrollTo(0,0)\"  	");
document.write("	        href=\"javascript:;\"> 	");
document.write("		    <img style=\"float:right; position: relative; bottom: 20px;\"  alt=\"początek strony\"  	");
document.write("	        src=\"../_images/button_up.gif\"  	");
document.write("	         /></a> 	");

document.write("	</form></div>")

