// JavaScript Document

function Top(a) {
	var str="";
 	<!-- top starts here -->
        str+="<div class='mainbg' style='height:453px;'>";
		str+="	<div class='maincontent'>";
        str+="    		<div class='menu' align='center'><ul class='menux'><li class='home'><a href='index.html' class='menu'>Home</a></li><li class='services'><a href='services.html' class='menu'>Services</a></li><li><a href='portfolio.html' class='menu'>Products</a></li><li><a href='portfolio.html' class='menu'>Portfolio</a></li><li><a href='index.html' class='menu'>Case Studies</a></li><li><a href='contact.html' class='menu'>Contact Us</a></li></ul></div>";
		str+="			<div style='width:900px; float:left; height:363px; padding:0px;'>";
/*   			            	<!-- logo and text start-->*/
        str+="                  <div class='logo' style='float:left; padding:0px 0px 0px 30px; width:350px;'><a href='index.html'><img src='images/logo.gif' width='201' height='53' alt='Spatiha Technologies' border='0'></a>";
        str+="                	<br><br><br><br><b class='white12'>Customer Service Philosophy</b><br>";
		str+="                  	<div class='white12' style='float:left;padding-top:7px; width:350px; height:140px;text-align:justify;'>";
        str+="                        	We believe in lasting relationships rather than one-off project association. We are committed to continuously improving the performance, functionality and cost-effectiveness of our services, through enhancing our existing knowledge with new and innovative technical solutions. We don&acute;t succeed unless our clients do. We are ready to serve you.";
        str+="                      	<div style='float:left; width:350px; padding-top:75px;'><a href='get_quote.html'><img src='images/btn_getquote.png' width='200' height='42' alt='Get Quote' border='0'></a></div>";
   		str+="						</div>";
        str+="                	</div>";
/*      str+="                	<!-- logo and text end-->*/

/*      		              	<!-- right content start -->*/
        str+="                	<div style='float:right; height:298px; width:474px; padding:27px 0px 0px 0px;'>";
    	str+="						<div style='float:left;padding:0px; width:474px; vertical-align:top;'>";
		str+="							<table cellpadding='0' cellspacing='0' border='0'>";
        str+="		                  		<tr>";
        str+="	                        		<td>";
        str+="	                        			<form action='http://www.google.com/search' target='_blank' method='get' onSubmit='Gsitesearch(this)'>";
        str+="	                            		<div style='float:left;'><input name='q' type='hidden'><input name='qfront' type='text' class='searchbox'></div>";
        str+="	                            		<div style='float:left; padding-left:4px;'><input type='image' src='images/btn_search.jpg' value='Search'></div>";
        str+="	                        			</form>";
        str+="	                        		</td>";
        str+="	                        	</tr>";
        str+="	                   	</table>";
		
/*                                <!--carousel start-->*/
        str+="                        <div style='float:left; padding-top:18px;'>";
		if(a==1)
		{
		str+="                    		<div id='carousel'>";
        str+="                            	<div><img src='images/bm.gif' border='0'></div>";
        str+="                            	<div><img src='images/sd.gif' border='0'></div>";
        str+="                            	<div><img src='images/wd.gif' border='0'></div>";
        str+="                            	<div><img src='images/wh.gif' border='0'></div>";
        str+="                            	<div><img src='images/ts.gif' border='0'></div>"; 
        str+="                        	</div>";
		
		}
		else if(a==2)
			{
			str+="<div id='fadeshow1'>";	
			str+="<iframe width='471' height='288' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='http://maps.google.co.in/maps?hl=en&amp;source=hp&amp;ie=UTF8&amp;q=spatiha+coimbatore&amp;fb=1&amp;gl=in&amp;hq=spatiha&amp;hnear=coimbatore&amp;cid=0,0,12362913977439798740&amp;ei=rjxUS8XAAoqOkQXXla2SDQ&amp;ved=0CAgQnwIwAA&amp;ll=11.020732,76.978679&amp;spn=0.006295,0.006295&amp;iwloc=A&amp;output=embed'></iframe><br><a href='http://maps.google.co.in/maps?hl=en&amp;source=embed&amp;ie=UTF8&amp;q=spatiha+coimbatore&amp;fb=1&amp;gl=in&amp;hq=spatiha&amp;hnear=coimbatore&amp;cid=0,0,12362913977439798740&amp;ei=rjxUS8XAAoqOkQXXla2SDQ&amp;ved=0CAgQnwIwAA&amp;ll=11.020732,76.978679&amp;spn=0.006295,0.006295&amp;iwloc=A' style='color:#0000FF;text-align:left'>View Larger Map</a>";
			str+="</div>";
			}
		if(a==3)
			{
			str+="<div id='slideshow'>"; 
			str+="<div style='float:left; width:141px; height:119px;' id='fadeshow1'>&nbsp;</div>";  
			str+="</div>";
			}	
		else 
			{
				str+="<div id='slideshow'>"; 
				str+="<div style='float:left; width:141px; height:119px;' id='fadeshow1'>&nbsp;</div>";  
				str+="</div>";
			}
        str+="                    	</div>";
/*                                <!--carousel end-->*/
		str+="					</div>";
        str+="                </div>";   
/*                        <!-- right content  end-->*/
        str+="	           </div>";
        str+="	    </div>";
        str+="	</div>"; 
		
  <!-- top ends here --> */ 
document.write(str);
 }
	
	

function Gsitesearch(curobj){
		curobj.q.value='' +curobj.qfront.value}
		
		
		
function Bottom()
{
	var str="";
	str+="<div class='btmbg' style='padding:10px 0px 10px 0px;clear:left;'><div class='btmcontent white11'><a href='index.html' class='footer'>Home</a>&nbsp; | &nbsp;<a href='services.html' class='footer'>Services</a>&nbsp; | &nbsp;<a href='portfolio.html' class='footer'>Products</a>&nbsp; | &nbsp;<a href='portfolio.html' class='footer'>Portfolio</a>&nbsp; | &nbsp;<a href='index.html' class='footer'>Case Studies</a>&nbsp; | &nbsp;<a href='contact.html' class='footer'>Contact Us</a>&nbsp; | &nbsp;<a href='careers.html' class='footer'>Careers</a>&nbsp; | &nbsp;<a href='web_maintenance.html' class='footer'>Web Maintenance</a>&nbsp; | &nbsp;<a href='#' class='footer'>Buy Templates</a>&nbsp; | &nbsp;<a href='sitemap.html' class='footer'>Sitemap</a>&nbsp; | &nbsp;<a href='#' class='footer'>Terms & Conditions</a>&nbsp; | &nbsp;<a href='#' class='footer'>Privacy Policy</a>&nbsp; <br> Copyright &copy; 2009 Spatiha Technologys. All rights reserved.";
    str+="<br><br><div class='btmcontent' style='width:900px; height:50px; padding-top:10px; clear:left;'>";
    str+="<div style='float:left; width:100px;'><a href='http://validator.w3.org/check?uri=referer'><img src='http://www.w3.org/Icons/valid-html401-blue' alt='Valid HTML 4.01 Transitional' height='31' width='88' border='0'></a></div>";
	str+="<div style='float:left; width:20px;'><img src='images/linebtm.gif' width='1' height='32' alt=''></div>";
    str+="<div style='float:left; width:620px;'><img src='images/paypal.gif' width='67' height='27' alt=''></div>";
	
 	str+="</div>";
	str+="</div>";
	
	document.write(str);
}
	
