document.write('<scr'+'ipt type="text/javascript" src="/js/functions.js" ></scr'+'ipt>');
var curMenu=0;
function SwapImages(imgid,imgsrc)
	{
			document.getElementById(imgid).src="/img/" + imgsrc;
	}
function changeMenu(mid){
	if(document.getElementById("topMenu"+mid)){
		document.getElementById("topMenu"+mid).className="selected";
	}	
}
function resetMenu(mid){
	if(document.getElementById("topMenu"+mid) && curMenu!=mid){
		document.getElementById("topMenu"+mid).className="";
	}
}

var curSubMenu=0;
function changeSubMenu(mid,val){
	//alert(mid);
	//alert(val);
	if(document.getElementById(val+"leftMenu"+mid)){
		//alert(mid);
		document.getElementById(val+"leftMenu"+mid).innerHTML="<img src='/img/leftnav_arrow.gif' width='8' height='7'>";
		document.getElementById(val+"leftMenu_txt"+mid).className="left_menu2_selected";
		
	}	
//	alert(document.getElementById("leftMenu"+mid).innerHTML);
}
function resetSubMenu(mid){
	if(document.getElementById("subMenu"+mid) && curMenu!=mid){
		document.getElementById("subMenu"+mid).className="";
	}
}

var curSubMenu2=0;
function changeSubMenu2(mid){
	//alert(mid);
	if(document.getElementById("2_subMenu"+mid)){
		document.getElementById("2_subMenu"+mid).className="sub_menu2_selected";
	}	
	//alert(document.getElementById("2_subMenu"+mid).className);
}
function resetSubMenu2(mid){
	if(document.getElementById("2_subMenu"+mid) && curMenu!=mid){
		document.getElementById("2_subMenu"+mid).className="sub_menu";
	}
}

var preVal="";
function expandContentBold(id)
{  	
	if(preVal!="" && preVal!=id)
	{
		//document.getElementById("bullet_"+preVal).src="/img/info_on.gif";
		//alert(id);
		//document.getElementById("a"+preVal).className="normal";
		document.getElementById("w"+preVal).className="text_hidden";
		preVal="";
	}
	val=((document.getElementById("w"+id).className)=="text_hidden")? true:false;
	if(val)
	{
		//alert(id);
		//document.getElementById("bullet_"+id).src="/img/info_off.gif";
		//document.getElementById("a"+id).className="hand";
		document.getElementById("w"+id).className="text_visible";
		
	}
	else
	{
		//document.getElementById("bullet_"+id).src="/img/info_on.gif";
		//document.getElementById("a"+preVal).className="normal";
		document.getElementById("w"+id).className="text_hidden";
	}
	preVal=id;
}

var preVa2="";
function expandContentBold2(id)
{  	
	if(preVa2!="" && preVa2!=id)
	{
		document.getElementById("bullet_"+preVa2).src="/img/info_on.gif";
		//alert(id);
		//document.getElementById("a"+preVa2).className="normal";
		document.getElementById("w"+preVa2).className="text_hidden";
		preVal="";
	}
	val=((document.getElementById("w"+id).className)=="text_hidden")? true:false;
	if(val)
	{
		//alert(id);
		document.getElementById("bullet_"+id).src="/img/info_off.gif";
		//document.getElementById("a"+id).className="hand";
		document.getElementById("w"+id).className="text_visible";
		
	}
	else
	{
		document.getElementById("bullet_"+id).src="/img/info_on.gif";
		//document.getElementById("a"+preVa2).className="normal";
		document.getElementById("w"+id).className="text_hidden";
	}
	preVa2=id;
}
 

//popup start
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//popup ends
/*function select1_onchange() 
{
	url=document.quick_links.select1.value;
	//alert(url)
	if (url != "")
	document.location=url;
}*/

function orgChange(img_id){
//	alert(img_id);
	for(i=1;i<6;i++){
		document.getElementById("org_img_"+i).src="/img/comp_org_0"+i+".gif";
	}
	
	curImg = new Array();
	curImg = document.getElementById("org_img_"+img_id).src.split(".")
	//document.getElementById("org_img_"+img_id).src=curImg[0]+"_over"+"."+curImg[1];
	if (img_id<10)
	{
		over_img_id="0"+img_id;
	}
	else
	{
		over_img_id=img_id;
	}
	document.getElementById("org_img_"+img_id).src="/img/comp_org_"+over_img_id+"_over.gif";

	
	if(img_id == 1){
		document.getElementById("org_heading").innerText = "Wipro Technologies";
		document.getElementById("org_desc").innerText = "Wipro Technologies is the global IT services business division of Wipro Limited. With over 20 offices around the world, Wipro Technologies is the No.1 provider of integrated business, technology and process solutions on a global delivery platform.";
		document.getElementById("link").innerHTML = "<a href='http://www.wipro.com' target='_blank'><span class='txt_bluebg_link'>www.wipro.com</span></a>";
	}
	if(img_id == 2){
		document.getElementById("org_heading").innerText = "Wipro Infotech";
		document.getElementById("org_desc").innerText = "Wipro Infotech is the leading strategic IT partner for companies across India, the Middle East and Asia-Pacific - offering integrated IT solutions. We plan, deploy, sustain and maintain your IT lifecycle through our total outsourcing, consulting services, business solutions and professional services. Wipro Infotech helps you drive momentum in your organisation – no matter what domain you are in.";
		document.getElementById("link").innerHTML = "<a href='http://www.wipro.in' target='_blank'><span class='txt_bluebg_link'>www.wipro.in</span></a>";
	}
	if(img_id == 3){
		document.getElementById("org_heading").innerText = "Wipro Consumer Care and Lighting";
		document.getElementById("org_desc").innerText = "Wipro Consumer Care and Lighting, a business unit of Wipro Limited, has a profitable presence in the branded retail market of toilet soaps, hair care soaps, baby care products and lighting products. It is also a leader in institutional lighting in specified segments like software, pharma and retail.";
		document.getElementById("link").innerHTML = "<a href='http://www.wiprocorporate.com/consumercare/index.htm' target='_blank'><span class='txt_bluebg_link'>www.wiprocorporate.com/consumercare/index.htm</span></a>";
	}
	if(img_id == 4){
		document.getElementById("org_heading").innerText = "Wipro Infrastructure Engineering";
		document.getElementById("org_desc").innerText = "Wipro Infrastructure Engineering was Wipro Limited’s first diversification in 1975, which addressed the hydraulic equipment requirements of mobile original equipment manufacturers in India. Over the past 25 years, the Wipro Infrastructure Engineering business unit has become a leader in the Hydraulic Cylinders and Truck Tipping Systems markets in India, and intends growing its business to serve the global manufacturing requirements of Hydraulic Cylinders and Truck Tippers.";
		document.getElementById("link").innerHTML = "<a href='http://www.wiproinfra.com/' target='_blank'><span class='txt_bluebg_link'>www.wiproinfra.com</span></a>";
	}
	if(img_id == 5){
		document.getElementById("org_heading").innerText = "Wipro GE Medical Systems Limited";
		document.getElementById("org_desc").innerText = "Wipro GE Medical Systems is a joint venture between Wipro and General Electric Company. As a part of GE Medical Systems South Asia, it caters to customer and patient needs with a commitment to uncompromising quality. Wipro GE is India’s largest exporter of medical systems, with unmatched distribution and service reach in South Asia. Wipro GE pioneered the manufacture of Ultrasound and Computed Tomography systems in India and is a supplier for all GE Medical Systems products and services in South Asia. ";
		document.getElementById("link").innerHTML = "<a href='http://www.gehealthcare.com/inen/company/pressroom/india/index.html' target='_blank'><span class='txt_bluebg_link'>www.gehealthcare.com/inen/company/pressroom/india/index.html</span></a>";
	}
	if(img_id == 6){
		document.getElementById("org_heading").innerText = "";
		document.getElementById("org_desc").innerText = "";
		document.getElementById("link").innerHTML = "";
		//document.getElementById("org_desc").innerText = "Wipro Biomed is the biomedical business division of Wipro Limited. Wipro Biomed is India's only Biomedical, Health and Life Science service provider offering integrated products, services and solutions focused on the Indian market.";
		//document.getElementById("link").innerHTML = "<!--<a href='http://www.wiprobiomed.in' target='_blank'><span class='txt_bluebg_link'>www.wiprobiomed.in</span></a>-->";
	}

}

/* Menu Code by Venkatesh 02:02 PM 11/09/2007*/
function show_Menu(id)
	{
		for(i=1;i<4;i++)
			{
				document.getElementById("Menu_"+i).className = "Menu_hidden";
			}
		if(id>0)
			document.getElementById("Menu_"+id).className = "Menu_visible";
	}


function show_location(id){
	for(i=1;i<6;i++)
		{
			document.getElementById("img_"+i).src="/img/locations/img_"+i+".gif";
			document.getElementById("add_"+i).className = "text_hidden";
		}
	document.getElementById("img_"+id).src="/img/locations/img_over_"+id+".gif";
	document.getElementById("add_"+id).className = "text_visible";
	}

function show_sub_location(id){
	for(i=1;i<6;i++){
		document.getElementById("add_1_"+i).className = "text_hidden";
		document.getElementById("sub_"+i).className = "city_bg";
	}
	document.getElementById("add_1_"+id).className = "text_visible";
	document.getElementById("sub_"+id).className = "city_bg_selected";
}
function move_to(page){
	location.href=page;
}

//20070314 start
var i=0,cnt=1,Mode;
 var enames=new Array();
 enames[0]="Rajat";
 enames[1]="Anurag";
 enames[2]="Venkata Subramanian";

 var spotlts=new Array();
 var cpcnt;
 spotlts[0]="<tt class=bluetxt>Rajat  was born on  9th February 1961 , and completed his education in St. Xavier’s School Jaipur,  BITS Pilani  and Podar Institute of management. <br>He showed early signs of excellence in various fields Viz   dramatics , Tennis ,Swimming , cricket journalism, Hawaiian Guitar , Model Building ";
 spotlts[0]+="<br><br>He was the Managing editor with news and publications society BITS Pilani, Convener Reading room Society , Mass Media Division , Won Model Building  Special prize for technical models exhibition- TECHMOD ’79 and captained the winning team of Intra college Tennis championships . <br><br>He joined as a Marketing executive 20 years ago and today as the <tt class=bluetxt>Chief Executive of the Solutions Division and Head of International Operations for WI  and many more years to go ….. <br><br><center>HE MOST CERTAINLY RULES !!!</center>";
 spotlts[1]="<tt class=bluetxt>Dr. Anurag  was born on  04 August 1966  and holds a Bachelor's in Electrical Engineering. He won  the President's gold medal for top rank in his BTech.  He went on to complete his Masters followed by a Doctorate in Computer Science Engineering.  His Doctorate is in the area of artificial intelligence and pattern recognition. He also has several publications in international conferences and journals like  IEEE SMC  and  CC-AI  to his credit.";
 spotlts[1]+="<br>Prior to his current role of <tt class=bluetxt>Vice President - Consulting Division , Dr. Anurag was the  Chief Knowledge and Technology officer  for Wipro Infotech. <br><Br>Prior to Wipro Dr. Anurag has worked in organizations like  IBM, Novell, HP-Verifone, Indian Institute of Science & eVizeon  in various Technology & Business Leadership positions. <br><br>Dr. Anurag has been an invited speaker for various national conferences in the areas of  E-commerce, Security and Distributed computing  by <tt class=bluetxt>NASSCOM, Telematics and TexInfotech. ";
spotlts[2]="<br> Som is a kind of person who gets along with any profile he is assigned as he likes to be multi-skilled!! He claims that his entire Factory life remains close to his heart & development of vendors for manufacturing technologies as his memorable assignment. <br><br><tt class=bluetxt>“IT wing had about 200 plus employees whereas now it has grown immensely large. I am proud to be part of this wonderful organization. And am happy when I look at the growth and the diversification of businesses Wipro has had in these 15 years” , is what Somashekhar describes.";
spotlts[2]=" <tt class=bluetxt>Versatile, unruffled, approachable, articulate, willingness to take new role…… a few words to describe Mr. Venkata Subramanian K …..better know as KV to most of us.  <br><br><h2>Career so far……..</h2>I joined Wipro in March 1986 as  Senior Field Engineer  in Customer Service at Chennai. Then moved as  Area Field Engineer Manager  in 1987, and then became the  Regional Field Engg Manager  in 1989 for Chennai & Hyderabad. I moved to Bangalore as  Tech Specialist  for handling Super Computers (Convex Computers) and was involved from Pre-sales to installation, training & sustenance. I got trained in <tt class=bluetxt>USA on Convex Super computers . From 1991 to 1993 headed the  Tech support function  of Wipro Infotech. Was involved in the engineering design of Wipro designed  Multi Bus II based Mini computer  called “<tt class=bluetxt>Synergy ” based on the knowledge acquired from the Super computer technology. In 1993 moved to S1 region (Chennai & Hyderabad) as  Regional Support Manager . From 1996 till 1999 was  Regional Business Manager  for S1 for S&SI Division. In 2000 took up the role of  Sales Operations Head  in handling end to end Supply chain of EPD products; till March 2005, handled logistics, billing & collection in sales operations. From April 2005 moved back to Services to head the Staffing & Talent Transformation team.<br><br><h2>Big Challenges……..</h2>Lot of challenges & hurdles were successfully encountered during my journey of 20 years in Wipro. All these challenges sharpened my resolve to achieve more; I had very supportive supervisors, who guided me a lot. <br><br>";
spotlts[2]+="<h2>Most memorable assignments……</h2>My memorable assignments were working as a <tt class=bluetxt>Technical Specialist in Convex Super computer  & as the  Regional Business Manager  for S&SI since I learnt a lot during these times. <br><br><h2>Most significant achievements……</h2>Though there were many major break-through orders the ones I cherish most are  IOB, AP Transco & NIIT Orders . NIIT, TN School order was the first of its kind, which paved way for many such orders to be won by different regions, through NIIT. Apart from this, working out Singapore Operations for  EPD & WPC & Collection  of potential large provision from MP Treasury is another milestone.<br><br><h2> The early days & now…….</h2>In the early days Wipro was a close knit family. Now it is a diversified family which has grown many folds. However the culture & Values are still the same, which is the main foundation for Wipro’s strength & attraction. I am a strong believer of Wipro Values since this has not only helped to shape my professional life but also my personal life. I cherish & enjoy taking Wipro Value sessions for younger generations.<br><br><h2>Work apart – Hobbies & Family…….</h2><tt class=bluetxt>Loves watching cricket & listening to music, interests are traveling, reading & learning music.  KV is married to Kala; whom he describes as the pillar of strength from whom he has learnt a lot on perseverance, patience & perfection. The couple is blessed with a son Manekandan.";
cpcnt=spotlts.length;

function MovePrev()
{
	i=(i<=0)?0:(i-1);
	//alert(i);
	carspot(i);
	
}

function MoveNext()
{
	i=(i>(spotlts.length-2))?(spotlts.length-1):(i+1);
	//alert(i);
	carspot(i);
}
function Movex(ino)
{
	//alert(ino);
	i=parseInt(ino)-1;
	carspot(i);
}
function carspot(i)
{
	carspoti.src="/img/carspot" + (i+1) + ".jpg";
	carspotx.innerHTML= spotlts[i] ;
	//lblcnt.innerHTML="<div class='Carers_titletext'>Career Spotlight [<Font color=#0000AA>" + (i+1) + " of " + cpcnt + "</Font>]</Div>";	 
	divcnt.innerHTML="[" + (i+1) + " of " + cpcnt + "]";	 
	//setTimeout("carspot();",10000);		
}
//carspot();

//20070314 end
function newsletter_validate(form)
{
	/*if(!(checkEmailId(form.newsletter_emailid,"Email Id", 1)))
		return false;*/
  return true;
}

function Clear(formField)
{
	formField.value='';
}

function Restore(formField)
{
  if(formField.value=="" || formField.value==" ")
 {
	formField.value='Enter your e-Mail ID';
 }
}


//**************************************************************************************
//					Search Validation Starts Here
//**************************************************************************************

function search_validate(form)
	{
		data=form.txt_search.value;
		//var firstChar=data.substring(0,1);
		//if(data=="")
		/*if (isWhitespace(data))
		{
			alert("Please Enter data to search");
			form.txt_search.value="";
			form.txt_search.focus();
			return false;
		}*/
		if(!(checkAlphaNum(form.txt_search,"Search String",1)))
		{
			return false;
		}
		else
		{
			return true;
		}
	}

//**************************************************************************************
//					Initiate Function for Casestudies & whitepapers Starts Here
//**************************************************************************************

function initiate()	
{
	var str = new String();		
	str=location.href;
	str=str.toLowerCase();
	var DomainArray=str.split("/");
	var Domain=DomainArray[2]; // Find the Domain from the URL
	var ResourceType="";

	for(var i=0;i<document.links.length;i++)
	{
		str = document.links[i].href;	// Fetch the Link URL
		str=str.toLowerCase();

		if( (str.indexOf("wp/")>0) || (str.indexOf("cs/")>0) || (str.indexOf("nl/")>0) )
		{
				str=str.replace("http://" + Domain + "/",""); // Remove Domain from the URL
				if(str.indexOf("wp/")>-1) 
					{ 
						//str = str.replace("wp/",""); 
						ResourceType="WP";
					}
				if(str.indexOf("cs/")>-1)
					{ 
						//str = str.replace("cs/",""); 
						ResourceType="CS";
					}
				if(str.indexOf("nl/")>-1)
					{ 
						//str = str.replace("nl/",""); 
						ResourceType="NL";
					}
			str = str.split("/")[str.split("/").length-1];
			str=str.replace(".pdf","");
			document.links[i].href="/CS_Cookies.asp"+"?Type=" + ResourceType  + "&FileName="+str;
			document.links[i].target="_blank";
		}
		
	}
	return true;
}

/*  Current Year for Copyright */
var currrentDate,currentYear;
currrentDate=new Date();
currentYear=currrentDate.getFullYear();
setTimeout("initiate()",1000);
window.onload = initiate;

function changeSubMenuService(id)
{
	return true;
}

document.write ("<script language=JavaScript src=\"/menuincludes/menu_src.js\" type=\"text/javascript\"></script>");