function nimg(nimgs){var imgtag1="<img src='";var imgtag2="' height='121' width='187' border='0' hspace='10' />";var imgtag=imgtag1+nimgs+imgtag2;document.getElementById("div1").style.display="block";document.getElementById("div1").innerHTML=imgtag}function what(nimgs){var imgtag1="<img src='";var imgtag2="' height='121' width='187' border='0' hspace='10' />";var imgtag=imgtag1+nimgs+imgtag2;document.getElementById("what1").style.display="block";document.getElementById("what1").innerHTML=imgtag}function hwh(nimgs){var imgtag1="<img src='";var imgtag2="' height='121' width='187' border='0' hspace='10' />";var imgtag=imgtag1+nimgs+imgtag2;document.getElementById("hwh1").style.display="block";document.getElementById("hwh1").innerHTML=imgtag}function career(nimgs){var imgtag1="<img src='";var imgtag2="' height='121' width='187' border='0' hspace='10' />";var imgtag=imgtag1+nimgs+imgtag2;document.getElementById("career1").style.display="block";document.getElementById("career1").innerHTML=imgtag}function invest(nimgs){var imgtag1="<img src='";var imgtag2="' height='121' width='187' border='0' hspace='10' />";var imgtag=imgtag1+nimgs+imgtag2;document.getElementById("invest1").style.display="block";document.getElementById("invest1").innerHTML=imgtag}function news(nimgs){var imgtag1="<img src='";var imgtag2="' height='121' width='187' border='0' hspace='10' />";var imgtag=imgtag1+nimgs+imgtag2;document.getElementById("news1").style.display="block";document.getElementById("news1").innerHTML=imgtag}function rightarrowover(){document.rightarrow.src="/resources/images/right_arrow_red.gif"}function rightarrowout(){document.rightarrow.src="/resources/images/right_arrow_grey.gif"}function leftarrowover(){document.leftarrow.src="/resources/images/left_arrow_red.gif"}function leftarrowout(){document.leftarrow.src="/resources/images/left_arrow_grey.gif"}function lcontent(secondlvlmenu){divcount=document.getElementById("leftnavi").getElementsByTagName("div").length;for(u=1;u<divcount+1;u++){var m="submenu"+u;document.getElementById(m).style.display="none"}document.getElementById(secondlvlmenu).style.display="block"}function secondlcontent(secondlvlmenu){var p;for(p=1;p<36;p++){var m="secndlvlsubmenu"+p;document.getElementById(m).style.display="none"}document.getElementById(secondlvlmenu).style.display="block";document.getElementById("leftnav").style.height="820px"}function secondlcontent1(secondlvlmenu){var p;for(p=1;p<1;p++){var m="secndlvlsubmenu"+p;document.getElementById(m).style.display="none"}document.getElementById(secondlvlmenu).style.display="block";document.getElementById("leftnav").style.height="820px"}var LAST_OPENED_INDUSTRY_MAINTAB=1;function productdetails(menudetail,imgdetail,industry_count,total_industry,tabcount_start,tabcount_end){var fhead="head"+industry_count;var markarrow="arrow"+industry_count;var newbg="mouseover"+industry_count;if(document.getElementById(menudetail).style.display=="none"){var t=LAST_OPENED_INDUSTRY_MAINTAB;var md="prod"+t;var imgid="imgprod"+t;var fonthead="head"+t;var marrow="arrow"+t;var bg="mouseover"+t;document.getElementById(md).style.display="none";document.getElementById(imgid).innerHTML="<img src='/resources/images/open.gif' />";document.getElementById(fonthead).className="prodheadingblock";document.getElementById(marrow).src="/resources/images/orangearrow.gif";document.getElementById(bg).style.backgroundColor="#FFFFFF";document.getElementById(bg).style.cursor="hand";document.getElementById(bg).style.cursor="pointer";document.getElementById(menudetail).style.display="block";document.getElementById(imgdetail).innerHTML="<img  src='/resources/images/close.gif' />";document.getElementById(fhead).className="prodheadingblockactive";document.getElementById(markarrow).src="/resources/images/dorangearrow.gif";document.getElementById(newbg).style.backgroundColor="#F0F0F0";document.getElementById(newbg).style.cursor="hand";document.getElementById(newbg).style.cursor="pointer";tabSwitch_2(tabcount_start,tabcount_end,"tab_","content_",industry_count,tabcount_start,tabcount_end);LAST_OPENED_INDUSTRY_MAINTAB=industry_count}else{document.getElementById(menudetail).style.display="none";document.getElementById(imgdetail).innerHTML="<img  src='/resources/images/open.gif' />";document.getElementById(fhead).className="prodheadingblock";document.getElementById(markarrow).src="/resources/images/orangearrow.gif";document.getElementById(newbg).style.backgroundColor="#FFFFFF";document.getElementById(newbg).style.cursor="hand";document.getElementById(newbg).style.cursor="pointer"}}function defaultloader(){var t=-1;for(t=1;t<16;t++){var bg="mouseover"+t;document.getElementById(bg).style.cursor="hand";document.getElementById(bg).style.cursor="pointer"}}function tabSwitch_2(active,number,tab_prefix,content_prefix,content_count,tabcount_start,tabcount_end){for(var i=tabcount_start;i<=tabcount_end;i++){document.getElementById(content_prefix+i).style.display="none";document.getElementById(tab_prefix+i).className=""}document.getElementById(content_prefix+active).style.display="block";document.getElementById(tab_prefix+active).className="active";var tabval=number-active;var totaltabs=(tabcount_end-tabcount_start)+1;var ietopline="ietopline";if(content_count==1){ietopline="ietopline"}else{ietopline="ietopline"+(content_count-1)}if(totaltabs==3){if(tabval==2){document.getElementById(ietopline).style.marginLeft="0px";document.getElementById(ietopline).style.width="77px"}else{if(tabval==1){document.getElementById(ietopline).style.marginLeft="78px";document.getElementById(ietopline).style.width="77px"}else{if(tabval==0){document.getElementById(ietopline).style.marginLeft="156px";document.getElementById(ietopline).style.width="90px"}}}}else{if(totaltabs==2){if(tabval==1){document.getElementById(ietopline).style.marginLeft="0px";document.getElementById(ietopline).style.width="77px"}else{if(tabval==0){document.getElementById(ietopline).style.marginLeft="78px";document.getElementById(ietopline).style.width="77px"}}}else{if(totaltabs==1){document.getElementById(ietopline).style.marginLeft="0px";document.getElementById(ietopline).style.width="77px"}}}}function popopen(popimg,contenttxt){document.getElementById("popupcontent").style.display="block";document.popupimage.src="/resources/images/"+popimg+".jpg";document.popupimage.alt=popimg;document.getElementById("popcontent").innerText=contenttxt;document.getElementById("gebname").innerText=popimg}function popclose(){document.getElementById("popupcontent").style.display="none"}function trim(s){s=s.replace(/(^\s*)|(\s*$)/gi,"");s=s.replace(/[ ]{2,}/gi," ");s=s.replace(/\s/g,"-");s=s.replace(/\&/g,"and");s=s.replace(/\?/g,"");var myRegExp=new RegExp("'","g");var myRegExp1=new RegExp(",","g");s=s.replace(myRegExp1,"");s=s.replace(myRegExp,"");return s}function replaceAnd(s){s=s.replace(/\&amp;/g,"&");return s}function getInvestorName(s){var getTotNoOfInvs=document.getElementById("getTotNoOfInvs").value;var getCurrentNode=s;for(var i=0;i<getTotNoOfInvs;i++){var increment=i+1;var pos="data"+increment;if(i==getCurrentNode){document.getElementById(pos).style.display="block"}else{document.getElementById(pos).style.display="none"}}}function gotoInvestors(s){if(s.toUpperCase()=="EMPTY"){}else{var pageLink=document.getElementById("pageLink").value;var iname=trim(s);var fullLink=pageLink+"cname=investor-company&dname="+iname;window.location.href=fullLink}}function changeMediaType(s){var pageLink=document.getElementById("thisPage").value;var tabName=document.getElementById("getCurrentTab").value;var dtype=trim(s);var tid=trim(tabName);var fullLink=pageLink+"dname=news&cname=news&tid="+tid+"&dtype="+dtype;window.location.href=fullLink}function pagination(totRecords,numOfPages,thisPageNo){var pageLink=document.getElementById("thisPage").value;var splitPageLink=new Array();splitPageLink=pageLink.split("/");var fullPageName=splitPageLink.pop();var properPageName=fullPageName.split(".");properPageName.pop();if(properPageName=="mahindra-in-the-news"){var fullLink=pageLink+"cname=news&dname=news&page="}else{var tabName=document.getElementById("getCurrentTab").value;var MediaType=document.getElementById("getMediaType").value;var fullLink=pageLink+"cname=news&dname=news&tid="+tabName+"&dtype="+MediaType+"&page="}var nxtPage=++thisPageNo;var PrePage=--thisPageNo-1;if(thisPageNo!=1&&numOfPages>3){document.write("&nbsp;");dcrPrePage=thisPageNo-1;var fullLinkWithPgNo=fullLink+dcrPrePage;document.write('<a href="'+fullLinkWithPgNo+'">');document.write("<<");document.write("</a>");document.write("&nbsp;");document.write("&nbsp;")}for(var i=1;i<=numOfPages;i++){if(numOfPages>1&&numOfPages<=3){if(thisPageNo==i){document.write("&nbsp;");document.write('<span class="redtxt">');document.write(+i);document.write("</span>")}else{document.write("&nbsp;");var fullLinkWithPgNo=fullLink+i;document.write('<a href="'+fullLinkWithPgNo+'">');document.write(+i);document.write("</a>")}}else{if(numOfPages==1){}else{if(thisPageNo==i){document.write("&nbsp;");document.write('<span class="redtxt">');document.write(+i);document.write("</span>")}if(i==nxtPage){document.write("&nbsp;");var fullLinkWithPgNo=fullLink+i;document.write('<a href="'+fullLinkWithPgNo+'">');document.write(+i);document.write("</a>");if(thisPageNo==1&&numOfPages>2){document.write("&nbsp;");incrNxtPage=i+1;var fullLinkWithPgNo=fullLink+incrNxtPage;document.write('<a href="'+fullLinkWithPgNo+'">');document.write(++i);document.write("</a>")}}if(i==PrePage){if(thisPageNo==numOfPages&&numOfPages>3){document.write("&nbsp;");dcrPrePage=i-1;var fullLinkWithPgNo=fullLink+dcrPrePage;document.write('<a href="'+fullLinkWithPgNo+'">');document.write(i-1);document.write("</a>")}document.write("&nbsp;");var fullLinkWithPgNo=fullLink+i;document.write('<a href="'+fullLinkWithPgNo+'">');document.write(+i);document.write("</a>")}}}}if(thisPageNo!=numOfPages&&numOfPages>3){document.write("&nbsp;");document.write("&nbsp;");incrNxtPage=thisPageNo+1;var fullLinkWithPgNo=fullLink+incrNxtPage;document.write('<a href="'+fullLinkWithPgNo+'">');document.write(">>");document.write("</a>")}return true}function getEvents(){var pageLink=document.getElementById("pageLink").value;var getMonth=document.getElementById("month").value;var getYear=document.getElementById("year").value;var getEventType=document.getElementById("eventType").value;var getDisplayType=document.getElementById("displayType").value;var fullLink=pageLink+"cname=news&dname=news";if(getDisplayType!=""){fullLink+="&disp="+getDisplayType}if(getMonth!="0"){fullLink+="&month="+getMonth}if(getYear!="0"){fullLink+="&year="+getYear}if(getEventType!="0"){fullLink+="&etype="+getEventType}window.location.href=fullLink}function submit(actions){var myForm=document.getElementById("DownloadForm");if(null!=myForm){var ss=document.DownloadForm.videoId.value;document.DownloadForm.iwPreActions.value=actions;myForm.submit()}}function getValue(getvalue){var myForm=document.getElementById("DownloadForm");document.DownloadForm.videoId.value=getvalue}function openTableRow(){document.write("<tr>")}function closeTableRow(){document.write("</tr>")}function opentooltip(getDivNo){var enableToolTip="tooltip"+getDivNo;document.getElementById(enableToolTip).style.display="block"}function closetooltip(getDivNo){var disableToolTip="tooltip"+getDivNo;document.getElementById(disableToolTip).style.display="none"}function spotImages(){var getpixels='<area href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Rajeev-Dubey" onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Rajeev Dubey\', 75)" coords="33,84,26,114,5,129,47,284,95,279,105,231,108,204,58,122,58,83" shape="poly"/><area href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Rajesh-Jejurikar" onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Rajesh Jejurikar\', 90)" coords="90,175,71,142,78,104,102,95,107,128,120,178,146,180,156,229,140,242,157,258,127,256" shape="poly"/><area href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Pravin-Shah" onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Pravin Shah\', 65)" coords="134,34,127,70,115,148,119,179,171,181,179,151,174,77,150,29" shape="poly"/><area href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Ruzbeh-Irani" onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Ruzbeh Irani\', 70)" coords="181,149,170,188,153,243,155,295,157,293,226,292,225,188,213,162,203,145" shape="poly"/> <area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Ramesh Ramanathan\', 115)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Ramesh-Ramanathan" coords="178,122,186,73,202,61,205,33,223,33,229,44,229,64,241,71,255,109,238,119,231,146,228,170,190,142" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Bharat Doshi\', 70)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Bharat-Doshi" coords="270,146,267,85,279,61,293,50,297,25,315,25,319,38,316,51,334,66,337,104,308,108" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Bishwambhar Mishra\', 120)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Bishwambhar-Mishra" coords="354,141,346,90,358,63,371,58,374,30,394,34,394,55,415,77,416,138,398,106,376,114" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Ramesh Iyer\', 70)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Ramesh-Iyer" coords="419,142,419,87,426,59,425,32,437,27,450,36,450,54,458,60,470,94,454,113,442,141,428,158" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Ulhas N. Yargop\', 85)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Ulhas-N.-Yargop" coords="488,131,488,96,506,55,512,44,512,24,524,18,537,24,536,50,549,55,558,95,532,122,500,139" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Gautam Nagwekar\', 100)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Gautam-Nagwekar" coords="576,112,584,54,588,24,597,18,609,20,615,36,615,49,629,56,634,75,626,100,604,94" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Ranjan Pant\', 75)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Ranjan-Pant" coords="635,67,648,39,645,13,658,6,669,12,674,25,669,36,689,44,698,59,693,89,667,98,670,110,672,124,671,138,655,144,637,122,633,100" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'C.P. Gurnani\', 68)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=C.P.-Gurnani" coords="665,152,677,132,678,117,673,99,688,92,702,104,704,118,728,130,732,143,738,173,727,209,723,233,698,240,679,234,669,198,663,171" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Zhooben Bhiwandiwala\', 130)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Zhooben-Bhiwandiwala" coords="621,269,621,270,598,219,605,209,619,187,628,175,627,157,628,145,639,139,649,145,656,153,664,177,670,215,677,234,682,255,678,270,665,271,656,261,648,267,653,267,642,266" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Rajan Wadhera\', 80)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Rajan-Wadhera" coords="577,154,580,133,594,127,595,98,607,96,622,105,622,123,639,130,643,136,625,149,627,178,606,205" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Anita Arjundas\', 82)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Anita-Arjundas" coords="540,281,518,281,517,240,531,234,541,220,545,193,552,185,559,181,557,166,554,148,566,145,574,148,578,159,579,170,584,175,589,175,602,201,603,213,592,231,598,248,593,265,598,281,596,279,589,281,569,278" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Anand  G. Mahindra\', 107)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Anand-G.-Mahindra" coords="282,284,266,284,266,286,264,260,253,257,245,248,249,233,249,221,246,203,252,181,267,172,273,171,273,149,280,142,290,143,296,150,296,169,306,174,327,205,327,213,327,232,317,262,321,281" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Romesh Kaul\', 75)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Romesh-Kaul" coords="367,282,361,276,356,285,349,267,346,247,348,237,342,226,344,191,363,168,367,141,380,138,391,146,390,164,399,171,408,187,409,209,405,232,401,266,396,276,400,275" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Hemant Luthra\', 90)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Hemant-Luthra" coords="414,277,410,279,410,236,412,221,418,187,433,167,437,165,439,143,453,139,461,148,466,154,466,166,473,175,481,177,490,201,491,216,491,227,497,246,501,284,501,284,494,282,490,287,485,287,478,254,458,259,449,266,430,249,425,282,418,284,419,285" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Pawan Goenka\', 85)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Pawan-Goenka" coords="232,264,227,221,227,182,230,155,238,128,247,113,263,114,266,130,269,148,272,170,253,180,248,219,247,259,244,271" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Uday Phadke\', 75)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Uday-Phadke" coords="338,254,326,250,326,211,316,188,298,169,295,139,309,135,305,113,319,107,332,111,335,131,350,139,353,148,343,192,344,239,345,248" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Harsh Kumar\', 75)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Harsh-Kumar" coords="347,181,361,143,380,134,380,115,394,108,403,120,405,127,401,135,409,139,418,145,428,172,417,187,407,187,400,170,391,164,387,144,376,140,366,141,364,167,350,181" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Anoop Mathur\', 80)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=Anoop-Mathur" coords="458,140,452,118,466,108,476,110,480,122,484,134,496,139,501,165,500,182,503,196,492,221,491,199,483,179,473,175,465,166" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'V.S. Parthasarathy\', 105)" href="MandM-Governamce.page?cname=investor-company&dname=Mahindra-and-Mahindra&tid=gov&pid=V.S.-Parthasarathy" coords="504,248,504,219,503,182,515,161,517,143,528,136,532,122,544,114,555,120,557,133,566,141,552,163,556,178,540,201,536,218,515,248,510,254" shape="poly"/>';document.write(getpixels)}function spotGebImages(){var getpixels='<area href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Rajeev-Dubey" onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Rajeev Dubey\', 75)" coords="33,84,26,114,5,129,47,284,95,279,105,231,108,204,58,122,58,83" shape="poly"/><area href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Rajesh-Jejurikar" onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Rajesh Jejurikar\', 90)" coords="90,175,71,142,78,104,102,95,107,128,120,178,146,180,156,229,140,242,157,258,127,256" shape="poly"/><area href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Pravin-Shah" onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Pravin Shah\', 65)" coords="134,34,127,70,115,148,119,179,171,181,179,151,174,77,150,29" shape="poly"/><area href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Ruzbeh-Irani" onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Ruzbeh Irani\', 70)" coords="181,149,170,188,153,243,155,295,157,293,226,292,225,188,213,162,203,145" shape="poly"/> <area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Ramesh Ramanathan\', 115)" href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Ramesh-Ramanathan" coords="178,122,186,73,202,61,205,33,223,33,229,44,229,64,241,71,255,109,238,119,231,146,228,170,190,142" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Bharat Doshi\', 70)" href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Bharat-Doshi" coords="270,146,267,85,279,61,293,50,297,25,315,25,319,38,316,51,334,66,337,104,308,108" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Bishwambhar Mishra\', 120)" href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Bishwambhar-Mishra" coords="354,141,346,90,358,63,371,58,374,30,394,34,394,55,415,77,416,138,398,106,376,114" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Ramesh Iyer\', 70)" href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Ramesh-Iyer" coords="419,142,419,87,426,59,425,32,437,27,450,36,450,54,458,60,470,94,454,113,442,141,428,158" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Ulhas Yargop\', 85)" href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Ulhas-Yargop" coords="488,131,488,96,506,55,512,44,512,24,524,18,537,24,536,50,549,55,558,95,532,122,500,139" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'C.P. Gurnani\', 68)" href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=C.P.-Gurnani" coords="665,152,677,132,678,117,673,99,688,92,702,104,704,118,728,130,732,143,738,173,727,209,723,233,698,240,679,234,669,198,663,171" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Zhooben Bhiwandiwala\', 130)" href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Zhooben-Bhiwandiwala" coords="621,269,621,270,598,219,605,209,619,187,628,175,627,157,628,145,639,139,649,145,656,153,664,177,670,215,677,234,682,255,678,270,665,271,656,261,648,267,653,267,642,266" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Rajan Wadhera\', 80)" href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Rajan-Wadhera" coords="577,154,580,133,594,127,595,98,607,96,622,105,622,123,639,130,643,136,625,149,627,178,606,205" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Anita Arjundas\', 82)" href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Anita-Arjundas" coords="540,281,518,281,517,240,531,234,541,220,545,193,552,185,559,181,557,166,554,148,566,145,574,148,578,159,579,170,584,175,589,175,602,201,603,213,592,231,598,248,593,265,598,281,596,279,589,281,569,278" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Anand  Mahindra\', 107)" href="geb-anand-keshub-mahindra.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Anand-Mahindra" coords="282,284,266,284,266,286,264,260,253,257,245,248,249,233,249,221,246,203,252,181,267,172,273,171,273,149,280,142,290,143,296,150,296,169,306,174,327,205,327,213,327,232,317,262,321,281" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Romesh Kaul\', 75)" href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Romesh-Kaul" coords="367,282,361,276,356,285,349,267,346,247,348,237,342,226,344,191,363,168,367,141,380,138,391,146,390,164,399,171,408,187,409,209,405,232,401,266,396,276,400,275" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Hemant Luthra\', 90)" href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Hemant-Luthra" coords="414,277,410,279,410,236,412,221,418,187,433,167,437,165,439,143,453,139,461,148,466,154,466,166,473,175,481,177,490,201,491,216,491,227,497,246,501,284,501,284,494,282,490,287,485,287,478,254,458,259,449,266,430,249,425,282,418,284,419,285" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Pawan Goenka\', 85)" href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Pawan-Goenka" coords="232,264,227,221,227,182,230,155,238,128,247,113,263,114,266,130,269,148,272,170,253,180,248,219,247,259,244,271" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Uday Phadke\', 75)" href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Uday-Phadke" coords="338,254,326,250,326,211,316,188,298,169,295,139,309,135,305,113,319,107,332,111,335,131,350,139,353,148,343,192,344,239,345,248" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Harsh Kumar\', 75)" href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Harsh-Kumar" coords="347,181,361,143,380,134,380,115,394,108,403,120,405,127,401,135,409,139,418,145,428,172,417,187,407,187,400,170,391,164,387,144,376,140,366,141,364,167,350,181" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'Anoop Mathur\', 80)" href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=Anoop-Mathur" coords="458,140,452,118,466,108,476,110,480,122,484,134,496,139,501,165,500,182,503,196,492,221,491,199,483,179,473,175,465,166" shape="poly"/><area onmouseout="hideddrivetip()" ;="" onmouseover="ddrivetip(\'V.S. Parthasarathy\', 105)" href="group-executive-board.page?cname=who-we-are&dname=Our-Leadership&scat=Group-Executive-Board&geb=V.S.-Parthasarathy" coords="504,248,504,219,503,182,515,161,517,143,528,136,532,122,544,114,555,120,557,133,566,141,552,163,556,178,540,201,536,218,515,248,510,254" shape="poly"/>';document.write(getpixels)}function switchResTab(getId){var tabId=getId;var startYear=document.getElementById("startYear").value;var endYear=document.getElementById("endYear").value;for(var i=startYear;i<=endYear;i++){var d1=document.getElementById("list"+i);d1.setAttribute("class",null);document.getElementById(i).style.display="none"}var d2=document.getElementById("list"+tabId);d2.setAttribute("class","active");document.getElementById(tabId).style.display="block"}function switchCaselets(getId){var getCount=document.getElementById("caseletsCount").value;for(var i=1;i<=getCount;i++){var imgtag1='<img src="/resources/images/open.gif"';var imgtag11='<img src="/resources/images/close.gif"';var imgtag2=' onclick="javascript:switchCaselets(';var imgtag3=i+')" />';var openImatag=imgtag1+imgtag2+imgtag3;var closeImatag=imgtag11+imgtag2+imgtag3;if(i==getId){if((document.getElementById("tab"+i).style.display)=="block"){document.getElementById("imgprod"+i).innerHTML=openImatag;document.getElementById("tab"+i).style.display="none"}else{document.getElementById("imgprod"+i).innerHTML=closeImatag;document.getElementById("tab"+i).style.display="block"}}else{document.getElementById("imgprod"+i).innerHTML=openImatag;document.getElementById("tab"+i).style.display="none"}}}function changeEmployeeProfile(getId){var getId1=getId;var getCount=document.getElementById("count").value;if(getId1==0){for(var i=1;i<=getCount;i++){document.getElementById("emp"+i).style.display="block"}}else{for(var i=1;i<=getCount;i++){if(i==getId1){document.getElementById("emp"+i).style.display="block"}else{document.getElementById("emp"+i).style.display="none"}}}}function switchAudioVisualType(getId){var getId1=getId;var getCount=document.getElementById("count").value;if(getId1==0){document.getElementById("displayAll").style.display="block";for(var i=1;i<=getCount;i++){document.getElementById("av"+i).style.display="none"}}else{document.getElementById("displayAll").style.display="none";for(var i=1;i<=getCount;i++){if(i==getId1){document.getElementById("av"+i).style.display="block"}else{document.getElementById("av"+i).style.display="none"}}}}function getFlickrImages(){$(document).ready(function(){$.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?id=46256337@N05&tagmode=all&format=json&jsoncallback=?",function(data){$.each(data.items,function(i,item){$("<img width=100 height=67 />").attr("src",item.media.m).appendTo("#slideInner").wrap("<div class=slide></div>").wrap("<div id=i"+ ++i+" class=dispblock></div>").wrap("<a target=_blank href = '"+item.link+"' onmouseover=switchFlickrTitle('"+i+"') onmouseout=hideTitle() ></a>");$("<input type=hidden />").attr("value",item.title).attr("id","tit"+i).appendTo("#getTitle");if(i==20){return false}})})})}function switchFlickrTitle(getPosition){var title=document.getElementById("tit"+getPosition).value;document.getElementById("frametitle").innerHTML=title}function hideTitle(){document.getElementById("frametitle").innerHTML=""}function disablerightclick(getvalue){var myForm=document.getElementById("DownloadForm");document.DownloadForm.videoId.value=getvalue;if(null!=myForm){var ss=document.DownloadForm.videoId.value;var action=document.DownloadForm.iwPreActions.value;document.DownloadForm.iwPreActions.value=action;myForm.submit()}}function downloadResourceFiles(getvalue){var myForm=document.getElementById("DownloadForm1");document.DownloadForm1.resourceFileID.value=getvalue;if(null!=myForm){var ss=document.DownloadForm1.resourceFileID.value;var action=document.DownloadForm1.iwPreActions.value;document.DownloadForm1.iwPreActions.value=action;myForm.submit()}}function changeimg(idshow,imgpath){var Imgshow=document.getElementById(idshow);Imgshow.src=imgpath}function clearField(field){if(field.defaultValue==field.value){field.value=""}}function validateusername(str,name){var txt=str.value;var retval=true;var len=0;if(/^[a-z][a-z0-9._-]{0,13}[a-z0-9]$/i.test(txt)){if(txt.length<6){len=txt.length;retval=false;alert("Username should be minimum 6 characters");str.focus();str.select()}}else{retval=false}if(!retval&&len==0){alert(name);str.focus();str.select()}return retval}function validateusername1(str,name){var txt=str.value;var retval=true;if(/^[a-z][a-z0-9._-]{0,13}[a-z0-9]$/i.test(txt)){retval=true}else{retval=false}if(!retval){alert(name);str.focus();str.select()}return retval}function validatepassword(str,name){var txt=str.value;var retval=true;if(txt.length<6){alert(name);retval=false;str.focus();str.select()}return retval}function validateName(str,name){var validchar="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";var txt=str.value;var retval=true;for(var i=0;i<txt.length;i++){var ex=validchar.indexOf(txt.substring(i,i+1));if(ex==-1){alert(name);retval=false;str.focus();str.select();break}}return retval}function validempty(txt,name){val=txt.value;var retval=true;if(trim(val)==""){alert(name);txt.focus();retval=false}return retval}function validcompare(txt1,txt2,name){var val1=txt1.value;var val2=txt2.value;var retval=true;if(val1!=val2){alert(name);txt2.focus();txt2.select();retval=false}return retval}function trim(inputString){if(typeof inputString!="string"){return inputString}var retValue=inputString;var ch=retValue.substring(0,1);while(ch==" "){retValue=retValue.substring(1,retValue.length);ch=retValue.substring(0,1)}ch=retValue.substring(retValue.length-1,retValue.length);while(ch==" "){retValue=retValue.substring(0,retValue.length-1);ch=retValue.substring(retValue.length-1,retValue.length)}while(retValue.indexOf("  ")!=-1){retValue=retValue.substring(0,retValue.indexOf("  "))+retValue.substring(retValue.indexOf("  ")+1,retValue.length)}return retValue}function validatemail(str,name){var txt=str.value;var retval=true;if(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(txt)){retval=true}else{retval=false}if(!retval){alert(name);str.focus();str.select()}return retval}function validatefax(str,name){var validchar="1234567890-";var txt=str.value;var retval=true;if(txt.length>0){for(var i=0;i<txt.length;i++){var ex=validchar.indexOf(txt.substring(i,i+1));if(ex==-1){retval=false;break}}if(!(txt.charAt(3)=="-"&&txt.charAt(7)=="-")){retval=false}if(txt=="000-000-000"||txt.indexOf("000")==0||txt.indexOf("0")==0){retval=false}if(!retval){alert(name);str.focus();str.select()}}return retval}function validateintegers(str,name){var validchar="1234567890";var txt=str.value;var retval=true;for(var i=0;i<txt.length;i++){var ex=validchar.indexOf(txt.substring(i,i+1));if(ex==-1){alert(name);retval=false;str.focus();str.select();break}}return retval}function checkAmount(str,name){if(str.value>0){return true}else{alert(name);str.focus();str.select();return false}}function validatephone(str,name){var retval=true;var txt=str.value;if(trim(txt)==""){retval=true}else{if((/^\d{3}-\d{3}-\d{4}$/.test(txt))&&str.value!="000-000-0000"){retval=true}else{if((/^\d{3}\.\d{3}\.\d{4}$/.test(txt))&&str.value!="000.000.0000"){retval=true}else{if(!validateintegers(str,name)){retval=false}else{if(!checkAmount(str,name)){retval=false}else{if(!(txt.length==10)){retval=false;alert(name)}else{retval=true}}}}}}if(!retval){str.focus();str.select()}return retval}function validemptyCombo(cbo,name){val=-1;val=cbo.value;var retval=true;if(cbo.options.selectedIndex==0){alert(name);cbo.focus();retval=false}return retval}function validatezipcode(str,name){var retval=true;var zipCode=str.value;if(zipCode.length<4){alert(name);str.focus();str.select();retval=false}return retval}function getSelectedIndex(rdbUserType){var j=-1;for(var i=1;i<document.forms(0).elements.length;i++){if(document.forms(0).elements[i].id){if(document.forms(0).elements[i].id.indexOf("rdbUserType")!=-1){if(document.forms(0).elements[i].checked){found_it=true;j=i;break}}}}alert(j);return j}function fnCheckVal(rdbUserType){var found_it=false;for(var i=1;i<document.forms[0].elements.length;i++){if(document.forms(0).elements[i].id){if(document.forms(0).elements[i].id.indexOf("rdbUserType")!=-1){if(document.forms(0).elements[i].checked==true){found_it=true;break}}}}if(!found_it){return false}else{return true}}function validateMaxInvAmount(control1,control2,message){var str1=parseFloat(control1.value);var str2=parseFloat(control2.value);var retval=true;if(str1>str2){alert(message);retval=false;control2.focus()}else{if(str1==str2){alert(message);retval=false;control2.focus()}else{retval=true}}return retval}function validatephonetext(str,name){var validchar="1234567890-";var txt=str.value;var retval=true;if(txt.length>0){for(var i=0;i<txt.length;i++){var ex=validchar.indexOf(txt.substring(i,i+1));if(ex==-1){retval=false;break}}if(!retval){alert(name);str.focus();str.select()}}return retval}function Validate_Phone(control1,control2,control3){var tval1=control1.value;var tval2=control2.value;var tval3=control3.value;if(tval1==""&&tval2==""&&tval3==""){alert("Please enter atleast one phone number.");control1.focus();return false}else{if(tval1=="000-000-0000"&&tval2=="000-000-0000"&&tval3=="000-000-0000"){alert("Please enter any of the valid Phone numbers");control1.focus();control1.select();return false}else{if((tval1=="000-000-0000"&&tval2=="000-000-0000")||(tval1=="000-000-0000"&&tval3=="000-000-0000")||(tval2=="000-000-0000"&&tval3=="000-000-0000")){alert("Please enter any of the valid Phone numbers");control1.focus();control1.select();return false}else{if(tval1.length>0&&tval2==""&tval3==""){if(tval1=="000-000-0000"||tval1.indexOf("000")==0||tval1.indexOf("0")==0){alert("Please enter a valid phone number.");control1.focus();control1.select();return false}else{if(tval1.charAt(3)!="-"||tval1.charAt(7)!="-"){alert("Please enter a valid phone number.");control1.focus();control1.select();return false}else{return true}}}else{if(tval1==""&&tval2.length>0&tval3==""){if(tval2=="000-000-0000"||tval2.indexOf("000")==0||tval2.indexOf("0")==0){alert("Please enter a valid phone number.");control2.focus();control2.select();return false}else{if(tval2.charAt(3)!="-"||tval2.charAt(7)!="-"){alert("Please enter a valid phone number.");control2.focus();control2.select();return false}else{return true}}}else{if(tval1==""&&tval2==""&&tval3.length>0){if(tval3=="000-000-0000"||tval3.indexOf("000")==0||tval3.indexOf("0")==0){alert("Please enter a valid phone number.");control3.focus();control3.select();return false}else{if(tval3.charAt(3)!="-"||tval3.charAt(7)!="-"){alert("Please enter a valid phone number.");control3.focus();control3.select();return false}else{return true}}}else{return true}}}}}}}var tb_pathToImage="../images/loadingAnimation.gif";
/*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/
$(document).ready(function(){tb_init("a.thickbox, area.thickbox, input.thickbox");imgLoader=new Image();imgLoader.src=tb_pathToImage});function tb_init(domChunk){$(domChunk).click(function(){var t=this.title||this.name||null;var a=this.href||this.alt;var g=this.rel||false;tb_show(t,a,g);this.blur();return false})}function tb_show(caption,url,imageGroup){try{if(typeof document.body.style.maxHeight==="undefined"){$("body","html").css({height:"100%",width:"100%"});$("html").css("overflow","hidden");if(document.getElementById("TB_HideSelect")===null){$("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove)}}else{if(document.getElementById("TB_overlay")===null){$("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove)}}if(tb_detectMacXFF()){$("#TB_overlay").addClass("TB_overlayMacFFBGHack")}else{$("#TB_overlay").addClass("TB_overlayBG")}if(caption===null){caption=""}$("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");$("#TB_load").show();var baseURL;if(url.indexOf("?")!==-1){baseURL=url.substr(0,url.indexOf("?"))}else{baseURL=url}var urlString=/\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;var urlType=baseURL.toLowerCase().match(urlString);if(urlType==".jpg"||urlType==".jpeg"||urlType==".png"||urlType==".gif"||urlType==".bmp"){TB_PrevCaption="";TB_PrevURL="";TB_PrevHTML="";TB_NextCaption="";TB_NextURL="";TB_NextHTML="";TB_imageCount="";TB_FoundURL=false;if(imageGroup){TB_TempArray=$("a[@rel="+imageGroup+"]").get();for(TB_Counter=0;((TB_Counter<TB_TempArray.length)&&(TB_NextHTML===""));TB_Counter++){var urlTypeTemp=TB_TempArray[TB_Counter].href.toLowerCase().match(urlString);if(!(TB_TempArray[TB_Counter].href==url)){if(TB_FoundURL){TB_NextCaption=TB_TempArray[TB_Counter].title;TB_NextURL=TB_TempArray[TB_Counter].href;TB_NextHTML="<span id='TB_next'>&nbsp;&nbsp;<a href='#'>Next &gt;</a></span>"}else{TB_PrevCaption=TB_TempArray[TB_Counter].title;TB_PrevURL=TB_TempArray[TB_Counter].href;TB_PrevHTML="<span id='TB_prev'>&nbsp;&nbsp;<a href='#'>&lt; Prev</a></span>"}}else{TB_FoundURL=true;TB_imageCount="Image "+(TB_Counter+1)+" of "+(TB_TempArray.length)}}}imgPreloader=new Image();imgPreloader.onload=function(){imgPreloader.onload=null;var pagesize=tb_getPageSize();var x=pagesize[0]-150;var y=pagesize[1]-150;var imageWidth=imgPreloader.width;var imageHeight=imgPreloader.height;if(imageWidth>x){imageHeight=imageHeight*(x/imageWidth);imageWidth=x;if(imageHeight>y){imageWidth=imageWidth*(y/imageHeight);imageHeight=y}}else{if(imageHeight>y){imageWidth=imageWidth*(y/imageHeight);imageHeight=y;if(imageWidth>x){imageHeight=imageHeight*(x/imageWidth);imageWidth=x}}}TB_WIDTH=imageWidth+30;TB_HEIGHT=imageHeight+60;$("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='"+url+"' width='"+imageWidth+"' height='"+imageHeight+"' alt='"+caption+"'/></a><div id='TB_caption'>"+caption+"<div id='TB_secondLine'>"+TB_imageCount+TB_PrevHTML+TB_NextHTML+"</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'>&nbsp;</a></div>");$("#TB_closeWindowButton").click(tb_remove);if(!(TB_PrevHTML==="")){function goPrev(){if($(document).unbind("click",goPrev)){$(document).unbind("click",goPrev)}$("#TB_window").remove();$("body").append("<div id='TB_window'></div>");tb_show(TB_PrevCaption,TB_PrevURL,imageGroup);return false}$("#TB_prev").click(goPrev)}if(!(TB_NextHTML==="")){function goNext(){$("#TB_window").remove();$("body").append("<div id='TB_window'></div>");tb_show(TB_NextCaption,TB_NextURL,imageGroup);return false}$("#TB_next").click(goNext)}document.onkeydown=function(e){if(e==null){keycode=event.keyCode}else{keycode=e.which}if(keycode==27){tb_remove()}else{if(keycode==190){if(!(TB_NextHTML=="")){document.onkeydown="";goNext()}}else{if(keycode==188){if(!(TB_PrevHTML=="")){document.onkeydown="";goPrev()}}}}};tb_position();$("#TB_load").remove();$("#TB_ImageOff").click(tb_remove);$("#TB_window").css({display:"block"})};imgPreloader.src=url}else{var queryString=url.replace(/^[^\?]+\??/,"");var params=tb_parseQuery(queryString);TB_WIDTH=(params.width*1)+30||630;TB_HEIGHT=(params.height*1)+40||440;ajaxContentW=TB_WIDTH-30;ajaxContentH=TB_HEIGHT-45;if(url.indexOf("TB_iframe")!=-1){urlNoQuery=url.split("TB_");$("#TB_iframeContent").remove();if(params.modal!="true"){$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'>&nbsp;</a></div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;' > </iframe>")}else{$("#TB_overlay").unbind();$("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;'> </iframe>")}}else{if($("#TB_window").css("display")!="block"){if(params.modal!="true"){$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'>&nbsp;</a></div></div><div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>")}else{$("#TB_overlay").unbind();$("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>")}}else{$("#TB_ajaxContent")[0].style.width=ajaxContentW+"px";$("#TB_ajaxContent")[0].style.height=ajaxContentH+"px";$("#TB_ajaxContent")[0].scrollTop=0;$("#TB_ajaxWindowTitle").html(caption)}}$("#TB_closeWindowButton").click(tb_remove);if(url.indexOf("TB_inline")!=-1){$("#TB_ajaxContent").append($("#"+params.inlineId).children());$("#TB_window").unload(function(){$("#"+params.inlineId).append($("#TB_ajaxContent").children())});tb_position();$("#TB_load").remove();$("#TB_window").css({display:"block"})}else{if(url.indexOf("TB_iframe")!=-1){tb_position();if($.browser.safari){$("#TB_load").remove();$("#TB_window").css({display:"block"})}}else{if(url.indexOf("TB_iframe2")!=-1){tb_position();if($.browser.safari){$("#TB_load").remove();$("#TB_window").css({display:"block"})}}else{$("#TB_ajaxContent").load(url+="&random="+(new Date().getTime()),function(){tb_position();$("#TB_load").remove();tb_init("#TB_ajaxContent a.thickbox");$("#TB_window").css({display:"block"})})}}}}if(!params.modal){document.onkeyup=function(e){if(e==null){keycode=event.keyCode}else{keycode=e.which}if(keycode==27){tb_remove()}}}}catch(e){}}function tb_showIframe(){$("#TB_load").remove();$("#TB_window").css({display:"block"})}function tb_remove(){$("#TB_imageOff").unbind("click");$("#TB_closeWindowButton").unbind("click");$("#TB_window").fadeOut("fast",function(){$("#TB_window,#TB_overlay,#TB_HideSelect").trigger("unload").unbind().remove()});$("#TB_load").remove();if(typeof document.body.style.maxHeight=="undefined"){$("body","html").css({height:"auto",width:"auto"});$("html").css("overflow","")}document.onkeydown="";document.onkeyup="";return false}function tb_position(){$("#TB_window").css({marginLeft:"-"+parseInt((TB_WIDTH/2),10)+"px",width:TB_WIDTH+"px"});if(!(jQuery.browser.msie&&jQuery.browser.version<7)){$("#TB_window").css({marginTop:"-"+parseInt((TB_HEIGHT/2),10)+"px"})}}function tb_parseQuery(query){var Params={};if(!query){return Params}var Pairs=query.split(/[;&]/);for(var i=0;i<Pairs.length;i++){var KeyVal=Pairs[i].split("=");if(!KeyVal||KeyVal.length!=2){continue}var key=unescape(KeyVal[0]);var val=unescape(KeyVal[1]);val=val.replace(/\+/g," ");Params[key]=val}return Params}function tb_getPageSize(){var de=document.documentElement;var w=window.innerWidth||self.innerWidth||(de&&de.clientWidth)||document.body.clientWidth;var h=window.innerHeight||self.innerHeight||(de&&de.clientHeight)||document.body.clientHeight;arrayPageSize=[w,h];return arrayPageSize}function tb_detectMacXFF(){var userAgent=navigator.userAgent.toLowerCase();if(userAgent.indexOf("mac")!=-1&&userAgent.indexOf("firefox")!=-1){return true}}function at_show_aux(parent,child){var p=document.getElementById(parent);var c=document.getElementById(child);var top=(c.at_position=="y")?p.offsetHeight+2:0;var left=(c.at_position=="x")?p.offsetWidth+2:0;for(;p;p=p.offsetParent){top+=p.offsetTop;left+=p.offsetLeft}c.style.position="absolute";c.style.visibility="visible"}function at_show(){var p=document.getElementById(this["at_parent"]);var c=document.getElementById(this["at_child"]);switch(p.className){case"first":p.className="hoverfirst";break;case"selectedfirst":p.className="hoverselectedfirst";break;case"selected":p.className="hoverselected";break;default:p.className="defaultselected"}if(p.id=="sample_attach_menu_parent"){}else{}at_show_aux(p.id,c.id);clearTimeout(c.at_timeout)}function at_hide(){var p=document.getElementById(this["at_parent"]);var c=document.getElementById(this["at_child"]);switch(p.className){case"hoverfirst":p.className="first";break;case"hoverselectedfirst":p.className="selectedfirst";break;case"hoverselected":p.className="selected";break;case"defaultselected":p.className=""}c.at_timeout=setTimeout("document.getElementById('"+c.id+"').style.visibility = 'hidden'",0)}function at_click(){var p=document.getElementById(this["at_parent"]);var c=document.getElementById(this["at_child"]);if(c.style.visibility!="visible"){at_show_aux(p.id,c.id)}else{c.style.visibility="hidden"}return false}function at_attach(parent,child,showtype,position,cursor){var p=document.getElementById(parent);var c=document.getElementById(child);p.at_parent=p.id;c.at_parent=p.id;p.at_child=c.id;c.at_child=c.id;p.at_position=position;c.at_position=position;c.style.position="absolute";c.style.visibility="hidden";if(cursor!=undefined){p.style.cursor=cursor}switch(showtype){case"click":p.onclick=at_click;p.onmouseout=at_hide;c.onmouseover=at_show;c.onmouseout=at_hide;break;case"hover":p.onmouseover=at_show;p.onmouseout=at_hide;c.onmouseover=at_show;c.onmouseout=at_hide;break}}function show_img(div_id){document.getElementById(div_id).style.display="block"}function hide_img(div_id){document.getElementById(div_id).style.display="none"}(function($){$.fn.showcase=function(options){var $container=this;var opt;opt=$.extend({},$.fn.showcase.defaults,options);if(!/images|titles/.test(opt.linksOn)){opt.linksOn="images"}if(options&&options.css){opt.css=$.extend({},$.fn.showcase.defaults.css,options.css)}if(options&&options.animation){opt.animation=$.extend({},$.fn.showcase.defaults.animation,options.animation);if(!/horizontal-slider|vertical-slider|fade/.test(opt.animation.type)){opt.animation.type="horizontal-slider"}}if(options&&options.navigator){opt.navigator=$.extend({},$.fn.showcase.defaults.navigator,options.navigator);if(!/top-left|top-right|bottom-left|bottom-right/.test(opt.navigator.position)){opt.navigator.position="top-right"}if(!/horizontal|vertical/.test(opt.navigator.orientation)){opt.navigator.orientation="horizontal"}if(options.navigator.css){opt.navigator.css=$.extend({},$.fn.showcase.defaults.navigator.css,options.navigator.css)}if(options.navigator.item){opt.navigator.item=$.extend({},$.fn.showcase.defaults.navigator.item,options.navigator.item);opt.navigator.item.cssHover=$.extend({},$.fn.showcase.defaults.navigator.item.css,$.fn.showcase.defaults.navigator.item.cssHover);opt.navigator.item.cssSelected=$.extend({},$.fn.showcase.defaults.navigator.item.css,$.fn.showcase.defaults.navigator.item.cssSelected);if(options.navigator.item.css){opt.navigator.item.css=$.extend({},$.fn.showcase.defaults.navigator.item.css,options.navigator.item.css);opt.navigator.item.cssHover=$.extend({},$.fn.showcase.defaults.navigator.item.cssHover,options.navigator.item.css);opt.navigator.item.cssSelected=$.extend({},$.fn.showcase.defaults.navigator.item.cssSelected,options.navigator.item.css)}if(options.navigator.item.cssHover){opt.navigator.item.cssHover=$.extend({},$.fn.showcase.defaults.navigator.item.cssHover,options.navigator.item.cssHover)}if(options.navigator.item.cssSelected){opt.navigator.item.cssSelected=$.extend({},$.fn.showcase.defaults.navigator.item.cssSelected,options.navigator.item.cssSelected)}}}if(options&&options.titleBar){opt.titleBar=$.extend({},$.fn.showcase.defaults.titleBar,options.titleBar);if(!/bottom|top/.test(opt.titleBar.position)){opt.titleBar.position="bottom"}if(options.titleBar.css){opt.titleBar.css=$.extend({},$.fn.showcase.defaults.titleBar.css,options.titleBar.css)}}if(opt.images.length!=0){$container.css({width:opt.css.width,height:opt.css.height,overflow:"hidden"});for(var i in opt.images){var img=new Image();img.src=opt.images[i].url;img.alt=opt.images[i].description||"";if(opt.images[i].link){var $link=$("<a />").attr({href:opt.images[i].link||"#",target:opt.images[i].target||"_self"});$link.append(img);$container.append($link)}if(!opt.images[i].link){var $link2 = $("<a />").attr({ "href": opt.images[i].link2 || "#", "onclick": opt.images[i].onclick2 || opt.images[i].onclick2  });$link2.append(img);$container.append($link2)}}}if($container.find("img:first")[0].complete){$.fn.showcase.start($container,opt)}else{$container.find("img:first").load(function(){$.fn.showcase.start($container,opt)})}$.fn.extend({pause:function(){$container.data("stopped",true)},go:function(){$container.data("stopped",false)}})};$.fn.showcase.start=function($container,opt){var index=0;var nImages=$container.find("img").length;var $fi=$container.find("img:first");var imagesize={width:$fi.removeAttr("width").width(),height:$fi.removeAttr("height").height()};opt.css.width=imagesize.width;opt.css.height=imagesize.height;$container.css(opt.css).find("a").css({position:"absolute",top:"0",left:"0"}).find("img").css("border","0px");var $slider=$("<div id='slider' />").css({position:"absolute"});var $divNavigator=$("<div id='navigator' />").css(opt.navigator.css);switch(opt.navigator.position){case"top-left":$divNavigator.css({top:"0px",left:"0px"});break;case"top-right":$divNavigator.css({top:"0px",right:"0px"});break;case"bottom-left":$divNavigator.css({bottom:"0px",left:"0px"});break;case"bottom-right":$divNavigator.css({bottom:"0px",right:"0px"});break}$container.find("a").wrapAll($slider).each(function(i){switch(opt.animation.type){case"horizontal-slider":$(this).css("left",i*imagesize.width);break;case"vertical-slider":$(this).css("top",i*imagesize.height);break;case"fade":$(this).css({top:"0",left:"0",opacity:1,"z-index":1000-i});break}var $navElement=$("<a href='#'>"+(opt.navigator.showNumber?(i+1):"")+"</a>").css({display:"block","text-decoration":"none","-moz-outline-style":"none"}).click(function(){if(opt.animation.autoCycle){clearInterval(opt.animation.intervalID)}$.fn.showcase.showImage(i,$container,imagesize,opt);index=i;if(opt.animation.autoCycle){opt.animation.intervalID=showcaseCycler(index,nImages,$container,imagesize,opt)}return false}).hover(function(){if(!$(this).data("selected")){if(opt.navigator.item.cssClassHover){$(this).addClass(opt.navigator.item.cssClassHover)}else{$(this).css(opt.navigator.item.cssHover)}}},function(){if(!$(this).data("selected")){if(opt.navigator.item.cssClassHover){$(this).removeClass(opt.navigator.item.cssClassHover)}else{$(this).css(opt.navigator.item.css)}}}).appendTo($divNavigator);if(opt.navigator.item.cssClass){$navElement.attr("class",opt.navigator.item.cssClass)}else{$.extend({},$navElement.css,opt.navigator.item);$navElement.css(opt.navigator.item.css)}switch(opt.navigator.orientation){case"horizontal":$navElement.css("float","left");break;case"vertical":$navElement.css("float","none");break}if(opt.navigator.showMiniature){$("<img />").attr({src:$(this).find("img").attr("src"),width:$navElement.css("width").replace("px",""),height:$navElement.css("height").replace("px",""),border:"0px"}).appendTo($navElement)}});if(opt.navigator.autoHide){$divNavigator.css("opacity",0)}$container.append($divNavigator).hover(function(){if(opt.titleBar.autoHide&&opt.titleBar.enabled){$($titleBar).stop().animate({opacity:opt.titleBar.css.opacity,left:0,right:0,height:opt.titleBar.css.height},250)}if(opt.navigator.autoHide){$($divNavigator).stop().animate({opacity:1},250)}$(this).data("isMouseHover",true)},function(){if(opt.titleBar.autoHide&&opt.titleBar.enabled){$titleBar.stop().animate({opacity:0,height:"0px"},400)}if(opt.navigator.autoHide){$divNavigator.stop().animate({opacity:0},250)}$(this).data("isMouseHover",false)});if(opt.titleBar.enabled){if(opt.linksOn=="images"){var $titleBar=$("<div id='subBar' />").html($("<span />").html($container.find("a:first img").attr("alt")))}else{var $a=$("<a />").attr("href",$container.find("a:first").attr("href")).html("<span>"+$container.find("a:first img").attr("alt")+"</span>");var $titleBar=$("<div id='subBar' />").html($a);$container.find("#slider a").each(function(){$(this).attr("rel",$(this).attr("href"))});$container.find("#slider a").removeAttr("href")}$titleBar.css({opacity:0.5,width:"100%",overflow:"hidden","z-index":10002,position:"absolute"});if(opt.titleBar.position=="top"){$titleBar.css("top","0")}else{$titleBar.css("bottom","0")}if(opt.titleBar.cssClass){$titleBar.attr("class",opt.titleBar.cssClass)}else{$titleBar.css(opt.titleBar.css);$("a",$titleBar).css("color",opt.titleBar.css.color)}if(opt.titleBar.autoHide){$titleBar.css({height:"0px",opacity:0})}$titleBar.appendTo($container)}$.fn.showcase.setNavigationItem(0,$container,opt);if(opt.animation.autoCycle){opt.animation.intervalID=showcaseCycler(index,nImages,$container,imagesize,opt)}};var showcaseCycler=function(index,nImages,$container,imagesize,opt){return setInterval(function(){if(!$container.data("stopped")){if(!$container.data("isMouseHover")||!opt.animation.stopOnHover){$.fn.showcase.showImage(++index%nImages,$container,imagesize,opt)}}},opt.animation.interval)};$.fn.showcase.showImage=function(i,$container,imagesize,opt){var $a=$container.find("a");var $a_this=$container.find("a").eq(i);switch(opt.animation.type){case"horizontal-slider":$container.find("#slider").stop().animate({left:-(i*imagesize.width)},opt.animation.speed,opt.animation.easefunction);break;case"vertical-slider":$container.find("#slider").stop().animate({top:-(i*imagesize.height)},opt.animation.speed,opt.animation.easefunction);break;case"fade":$container.css({"z-index":"1001"});if($a_this.css("z-index")!="1000"){$a_this.css({"z-index":"1000",opacity:0});$a.not($a_this).each(function(){if($(this).css("z-index")!="auto"){$(this).css("z-index",parseInt($(this).css("z-index"),10)-1)}});$a_this.stop().animate({opacity:1},opt.animation.speed,opt.animation.easefunction)}break}if(opt.titleBar.enabled){if(opt.linksOn=="titles"){$("#subBar a",$container).attr({href:$a_this.attr("rel"),target:$a_this.attr("target")})}}$("#subBar span",$container).html($a_this.find("img").attr("alt"));$.fn.showcase.setNavigationItem(i,$container,opt)};$.fn.showcase.setNavigationItem=function(i,$container,opt){if(opt.navigator.item.cssClassSelected){$container.find("#navigator a").removeClass(opt.navigator.item.cssClassSelected).data("selected",false);$container.find("#navigator a").eq(i).addClass(opt.navigator.item.cssClassSelected).data("selected",true)}else{if(opt.navigator.item.cssClass){$container.find("#navigator a").eq(i).css(opt.navigator.item.cssSelected).data("selected",true)}else{$container.find("#navigator a").css(opt.navigator.item.css).data("selected",false);$container.find("#navigator a").eq(i).css(opt.navigator.item.cssSelected).data("selected",true)}}};$.fn.showcase.defaults={images:[],linksOn:"images",css:{position:"relative",overflow:"visible",border:"none",width:"",height:""},animation:{autoCycle:true,stopOnHover:true,interval:4000,speed:500,easefunction:"swing",type:"horizontal-slider"},navigator:{css:{border:"none",padding:"5px",margin:"0px",position:"absolute","z-index":1000},position:"top-right",orientation:"horizontal",autoHide:false,showNumber:false,showMiniature:false,item:{cssClass:null,cssClassHover:null,cssClassSelected:null,css:{color:"#616161","font-weight":"bold","font-size":"13px","text-align":"center",background:"url(images/home/bg-slide-numbers.png) no-repeat center",width:"23px",height:"21px",lineHeight:"21px",verticalAlign:"middle",margin:"0px 3px 3px 0px"},cssHover:{color:"#ffffff",background:"url(images/home/bg-slide-numbers-hover.png) no-repeat"},cssSelected:{color:"#ffffff",background:"url(images/home/bg-slide-numbers-hover.png) no-repeat"}}},titleBar:{enabled:true,autoHide:true,position:"bottom",cssClass:null,css:{opacity:0.5,color:"#ffffff",backgroundColor:"#000000",height:"40px",padding:"4px",fontColor:"#444444",fontStyle:"italic",fontWeight:"bold",fontSize:"1em"}}}})(jQuery);function validateusername(str,name){var txt=str.value;var retval=true;var len=0;if(/^[a-z][a-z0-9._-]{0,13}[a-z0-9]$/i.test(txt)){if(txt.length<6){len=txt.length;retval=false;alert("Username should be minimum 6 characters");str.focus();str.select()}}else{retval=false}if(!retval&&len==0){alert(name);str.focus();str.select()}return retval}function validateusername1(str,name){var txt=str.value;var retval=true;if(/^[a-z][a-z0-9._-]{0,13}[a-z0-9]$/i.test(txt)){retval=true}else{retval=false}if(!retval){alert(name);str.focus();str.select()}return retval}function validatepassword(str,name){var txt=str.value;var retval=true;if(txt.length<6){alert(name);retval=false;str.focus();str.select()}return retval}function validateName(str,name){var validchar="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";var txt=str.value;var retval=true;for(var i=0;i<txt.length;i++){var ex=validchar.indexOf(txt.substring(i,i+1));if(ex==-1){alert(name);retval=false;str.focus();str.select();break}}return retval}function validempty(txt,name){val=txt.value;var retval=true;if(trim(val)==""){alert(name);txt.focus();retval=false}return retval}function validcompare(txt1,txt2,name){var val1=txt1.value;var val2=txt2.value;var retval=true;if(val1!=val2){alert(name);txt2.focus();txt2.select();retval=false}return retval}function trim(inputString){if(typeof inputString!="string"){return inputString}var retValue=inputString;var ch=retValue.substring(0,1);while(ch==" "){retValue=retValue.substring(1,retValue.length);ch=retValue.substring(0,1)}ch=retValue.substring(retValue.length-1,retValue.length);while(ch==" "){retValue=retValue.substring(0,retValue.length-1);ch=retValue.substring(retValue.length-1,retValue.length)}while(retValue.indexOf("  ")!=-1){retValue=retValue.substring(0,retValue.indexOf("  "))+retValue.substring(retValue.indexOf("  ")+1,retValue.length)}return retValue}function validatemail(str,name){var txt=str.value;var retval=true;if(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(txt)){retval=true}else{retval=false}if(!retval){alert(name);str.focus();str.select()}return retval}function validatefax(str,name){var validchar="1234567890-";var txt=str.value;var retval=true;if(txt.length>0){for(var i=0;i<txt.length;i++){var ex=validchar.indexOf(txt.substring(i,i+1));if(ex==-1){retval=false;break}}if(!(txt.charAt(3)=="-"&&txt.charAt(7)=="-")){retval=false}if(txt=="000-000-000"||txt.indexOf("000")==0||txt.indexOf("0")==0){retval=false}if(!retval){alert(name);str.focus();str.select()}}return retval}function validateintegers(str,name){var validchar="1234567890";var txt=str.value;var retval=true;for(var i=0;i<txt.length;i++){var ex=validchar.indexOf(txt.substring(i,i+1));if(ex==-1){alert(name);retval=false;str.focus();str.select();break}}return retval}function checkAmount(str,name){if(str.value>0){return true}else{alert(name);str.focus();str.select();return false}}function validatephone(str,name){var retval=true;var txt=str.value;if(trim(txt)==""){retval=true}else{if((/^\d{3}-\d{3}-\d{4}$/.test(txt))&&str.value!="000-000-0000"){retval=true}else{if((/^\d{3}\.\d{3}\.\d{4}$/.test(txt))&&str.value!="000.000.0000"){retval=true}else{if(!validateintegers(str,name)){retval=false}else{if(!checkAmount(str,name)){retval=false}else{if(!(txt.length==10)){retval=false;alert(name)}else{retval=true}}}}}}if(!retval){str.focus();str.select()}return retval}function validemptyCombo(cbo,name){val=-1;val=cbo.value;var retval=true;if(cbo.options.selectedIndex==0){alert(name);cbo.focus();retval=false}return retval}function validatezipcode(str,name){var retval=true;var zipCode=str.value;if(zipCode.length<4){alert(name);str.focus();str.select();retval=false}return retval}function getSelectedIndex(rdbUserType){var j=-1;for(var i=1;i<document.forms(0).elements.length;i++){if(document.forms(0).elements[i].id){if(document.forms(0).elements[i].id.indexOf("rdbUserType")!=-1){if(document.forms(0).elements[i].checked){found_it=true;j=i;break}}}}alert(j);return j}function fnCheckVal(rdbUserType){var found_it=false;for(var i=1;i<document.forms[0].elements.length;i++){if(document.forms(0).elements[i].id){if(document.forms(0).elements[i].id.indexOf("rdbUserType")!=-1){if(document.forms(0).elements[i].checked==true){found_it=true;break}}}}if(!found_it){return false}else{return true}}function validateMaxInvAmount(control1,control2,message){var str1=parseFloat(control1.value);var str2=parseFloat(control2.value);var retval=true;if(str1>str2){alert(message);retval=false;control2.focus()}else{if(str1==str2){alert(message);retval=false;control2.focus()}else{retval=true}}return retval}function validatephonetext(str,name){var validchar="1234567890-";var txt=str.value;var retval=true;if(txt.length>0){for(var i=0;i<txt.length;i++){var ex=validchar.indexOf(txt.substring(i,i+1));if(ex==-1){retval=false;break}}if(!retval){alert(name);str.focus();str.select()}}return retval}function Validate_Phone(control1,control2,control3){var tval1=control1.value;var tval2=control2.value;var tval3=control3.value;if(tval1==""&&tval2==""&&tval3==""){alert("Please enter atleast one phone number.");control1.focus();return false}else{if(tval1=="000-000-0000"&&tval2=="000-000-0000"&&tval3=="000-000-0000"){alert("Please enter any of the valid Phone numbers");control1.focus();control1.select();return false}else{if((tval1=="000-000-0000"&&tval2=="000-000-0000")||(tval1=="000-000-0000"&&tval3=="000-000-0000")||(tval2=="000-000-0000"&&tval3=="000-000-0000")){alert("Please enter any of the valid Phone numbers");control1.focus();control1.select();return false}else{if(tval1.length>0&&tval2==""&tval3==""){if(tval1=="000-000-0000"||tval1.indexOf("000")==0||tval1.indexOf("0")==0){alert("Please enter a valid phone number.");control1.focus();control1.select();return false}else{if(tval1.charAt(3)!="-"||tval1.charAt(7)!="-"){alert("Please enter a valid phone number.");control1.focus();control1.select();return false}else{return true}}}else{if(tval1==""&&tval2.length>0&tval3==""){if(tval2=="000-000-0000"||tval2.indexOf("000")==0||tval2.indexOf("0")==0){alert("Please enter a valid phone number.");control2.focus();control2.select();return false}else{if(tval2.charAt(3)!="-"||tval2.charAt(7)!="-"){alert("Please enter a valid phone number.");control2.focus();control2.select();return false}else{return true}}}else{if(tval1==""&&tval2==""&&tval3.length>0){if(tval3=="000-000-0000"||tval3.indexOf("000")==0||tval3.indexOf("0")==0){alert("Please enter a valid phone number.");control3.focus();control3.select();return false}else{if(tval3.charAt(3)!="-"||tval3.charAt(7)!="-"){alert("Please enter a valid phone number.");control3.focus();control3.select();return false}else{return true}}}else{return true}}}}}}};
