//left menu
//top menu

function top()
{
	var str="";
	str+="<div id='qm0' class='qmmc'>";
	str+="<a href='index.html'>Home</a>";
	str+="<a href='aboutus.html'>BuildMat 2011</a>";
	/*str+="<div>";
	str+="<a href='application_software.html'>Application Software</a>";
	str+="<a href='designing.html'>Web Development</a>";
	str+="<a href='mailing_solutions.html'>Mailing Solutions</a>";
	str+="<a href='hosting.html'>Hosting Solutions</a>";
	str+="<a href='domain.html'>Domain Names</a>";
	str+="<a href='commerce.html'>E - Commerce</a>";
	str+="<a href='submission.html'>Search Engine Optimization</a>";
	str+="</div>";*/
	str+="<a href='organizers.html'>Organizers</a>";
	str+="<a href='exhibitors.html'>Exhibitors</a>";
	str+="<a href='location.html'>Location</a>";
	str+="<a href='news_events.html'>News & Events</a>";
	str+="<a href='buildmat_2009.html'>BuildMat 2009</a>";
	str+="<span class='qmclear'>&nbsp;</span>";
	str+="</div>";
	document.write(str);
}
//top_menu


//NEWS

<!--

arURL = new Array(
'','','','','','','','','','','','',''
);


prefix=' ';
var arTXT = new Array(


'<a href="chinavisit.html" class="news_fnt"> Chairman Mr.Y.Praveen Chandra Prasad - China Visit </a>',

'<a href="launching_function.html" class="news_fnt"> LAUNCH OF BUILDMAT 2011 held at 6.30 pm on 23rd September 2009 at The Residency , Coimbatore</a>',

'<a href="launching_function.html" class="news_fnt"> Mr.K.V Rangaswami </br>Member of Board and President (Construction)  </br>M/s.Larsen & Turbo Ltd. </br> As Chief Guest</a>',

'<a href="launching_function.html" class="news_fnt"> Mr.Abhishek Somany </br> Joint Managing Director  </br> M/s. Somany Ceramics Limited</br> As Guest of Honour</a>',

'<a href="press.html" class="news_fnt"> <b>PRESS CLIPPINGS</b>  </a>',


'<a href="launching_function.html" class="news_fnt"> BuildMat 2011 International Construction fair to be held on </br>3rd to 6 th February 2011 </br> Venue : Codissia Trade Fair Complex, Coimbatore, India.</a>'

 
 
);
NS4=(document.layers);IE4=(document.all);isDOM=((document.getElementById)&&(!IE4))?true:false;

isOP=(navigator.userAgent.indexOf('Opera') != -1)?true:false;

if((NS4||IE4||isDOM)&&(!isOP)){
interval=80;     <!--Scrool Speed-->
increment=3;
pause=800;       <!--pausing the msg scrool-->
bannerColor="#ffffff";
leftPadding=0;
topPadding=25;
maxLoops=1000;
target=' TARGET="_top" '

classid=' CLASS="headlines" '

numheadlines=6;

isMac=(navigator.userAgent.indexOf('Mac') != -1)?true:false;



function reDo(){window.location.reload();}



function getObj(i){

   if (isDOM) {

      obj=document.getElementById("msg"+i).style;

   }else{

      obj=eval("msg"+i+((IE4)?".style":""));

   }

   return obj;

}
function showMsg(n,show){

   var theEl=getObj(n);

   theEl.visibility=(show)?"visible":"hidden";

}



function nextMsg(){

   var fm=current;

   current=(fm==ar.length-1)?0:fm+1;

   if(current==1)loopCount++;

   if(finite&&(loopCount>=maxLoops))return;

   scrollBnr(fm,current);

}



// mouseover/out new 010222 - abk



function SCRLmouseover() {

	clearInterval(intervalID);

	clearTimeout(timeoutID);

}



function SCRLmouseout() {

	intervalID=setInterval("moveUp()",interval);

}



function moveUp(){

   if (isDOM) {

		var inttoeltopdec = parseInt(toEl.top)-increment;

		fmEl.top=parseInt(fmEl.top) - increment; // + "px" not nec

      if(inttoeltopdec<=toElTarget){

         toEl.top=toElTarget;

         clearInterval(intervalID);

        fmEl.visibility="hidden";

         timeoutID=setTimeout("nextMsg()",pause);

      }else{

         toEl.top=inttoeltopdec; // no px

      }

   }else{

      if(NS4){

         var inttoeltopdec = toEl.top-increment;

         fmEl.top-=increment;

         if(inttoeltopdec<=toElTarget){

            toEl.top=toElTarget;

            clearInterval(intervalID);

            fmEl.visibility="hidden";

            timeoutID=setTimeout("nextMsg()",pause);

         }else{

            toEl.top=inttoeltopdec;

         }

      }else{

         var inttoeltopdec = toEl.pixelTop-increment;

         fmEl.pixelTop-=increment;

         if(inttoeltopdec<=toElTarget){

            toEl.pixelTop=toElTarget;

            clearInterval(intervalID);

            fmEl.visibility="hidden";

            timeoutID=setTimeout("nextMsg()",pause);

         }else{

            toEl.pixelTop=inttoeltopdec;

         }

      }

   }

}



function scrollBnr(fm,to){

   fmEl=getObj(fm);

   toEl=getObj(to);

   if (isDOM) {

	toElTarget=parseInt(fmEl.top);        // save one parseInt 010224

	toEl.top=(toElTarget+bnrHit) + "px"; 

//      toEl.top=(parseInt(fmEl.top)+bnrHit) + "px";

//      toElTarget=parseInt(fmEl.top);

   }else{

      if(NS4){

         toEl.top=fmEl.top+bnrHit;

         toElTarget=fmEl.top;

      }else{

         toEl.pixelTop=fmEl.pixelTop+bnrHit;

         toElTarget=fmEl.pixelTop;

      }

   }

   showMsg(to,true);

   intervalID=setInterval("moveUp()",interval);

	// can use setTimeout for evengreater speed - abk 010227

}



function moveIE(lPos,tPos){this.style.pixelLeft=lPos;this.style.pixelTop=tPos;}

function moveDOM(lPos,tPos){this.style.left=lPos+"px";this.style.top=tPos+"px";}



function makeIE(){

	var text='<DIV ID="bnr" STYLE="position:absolute;overflow:hidden;top:'+bnrTop+';left:'+bnrLft +';width:'+bnrWid+';height:'+bnrHit+'">';

	msgWid=bnrWid-leftPadding;

	for(var i=ar.length-1;i>=0;i--){

		text+='<DIV ID="msg'+i+'" STYLE="position:absolute;overflow:hidden;visibility:hidden; align:justify;top:'+ topPadding +';left:'+leftPadding+';width:'+msgWid+'"><\/DIV>';

	}

	text+='<\/DIV>';	

	document.body.insertAdjacentHTML("BeforeEnd",text);

	

	bnr.onmouseover=SCRLmouseover;

	bnr.onmouseout=SCRLmouseout;



	for(i=0;i<ar.length;i++){

		var scroller = eval("msg"+i);

		scroller.moveTo=moveIE;

	}

}



function makeDOM(){

	var elmParentDiv;

   

	elmParentDiv = document.createElement('div');

	elmParentDiv.id = 'bnr';

	elmParentDiv.style.position = 'absolute';

	elmParentDiv.style.overflow = 'hidden';

	elmParentDiv.style.top = bnrTop + 'px';

	elmParentDiv.style.left = bnrLft + 'px';

	elmParentDiv.style.width = bnrWid + 'px';

	elmParentDiv.style.height = bnrHit + 'px';

	

	elmParentDiv.onmouseover = SCRLmouseover;

	elmParentDiv.onmouseout  = SCRLmouseout;



	var elmChildDiv;

	var i;



	msgWid=bnrWid-leftPadding;



   for (i = ar.length - 1; i >= 0; i--)

   {

       elmChildDiv = document.createElement('div');

       elmChildDiv.id = 'msg' + i;

       elmChildDiv.style.position = 'absolute';

       elmChildDiv.style.visibility = 'hidden';

       elmChildDiv.style.overflow = 'hidden';

       elmChildDiv.style.top = topPadding + 'px';

       elmChildDiv.style.left = leftPadding + 'px';

       elmChildDiv.style.width = msgWid + 'px';



       elmParentDiv.appendChild(elmChildDiv);

       

       elmChildDiv.moveTo=moveDOM;

   }

   

   document.body.appendChild(elmParentDiv);

}



function makeNS(){

   bnr=new Layer(bnrWid);

   with(bnr){

      clip.right=bnrWid;

      clip.bottom=bnrHit;

      moveTo(bnrLft,bnrTop);

      visibility="show";

   }	

	bnr.onmouseover = SCRLmouseover;

	bnr.onmouseout  = SCRLmouseout;



   for(var i=0;i<ar.length;i++){

      eval("msg"+i+"="+"new Layer(bnrWid-leftPadding,bnr)");

      with(eval("msg"+i)){

         moveTo(leftPadding,topPadding);

      }

   }

}



function fillBnr(){

   var theEl;

   for(i=0;i<ar.length;i++){

      if (isDOM){

         theEl=document.getElementById("msg"+i);

      }else{

         theEl=eval("msg"+i);

      }

      newsStr=""+ar[newsCount][1]+"";

      if(NS4){

         with(theEl.document){write(newsStr);close();}

      }else{

         theEl.innerHTML=newsStr;

      }

      newsCount++;if(newsCount==ar.length)newsCount=0;

   }

}



function startBnr(){

   if (isDOM){makeDOM();}

      else{(NS4)?makeNS():makeIE();}

   fillBnr();

   showMsg(0,true);

   current=0;

   window.onresize=reDo;

   timeoutID=setTimeout("nextMsg()",pause);

}



function initScroller() {

   finite=(maxLoops>0);

   ar=[];

   if(!window.arURL)return;

   if(arURL.length==0)return;

   if(arURL.length<numheadlines){numheadlines=arURL.length;}

   for(i=0;i<numheadlines;i++){ar[i]=[prefix+arURL[i],arTXT[i]];}

   newsCount=0;

   if(finite){loopCount=0;}

   ispaused=0;

   bnrWid=154 // parseInt(pHT.width)-0;

   bnrHit=154 //parseInt(pHT.height)-0;

   bnrTop=bnrLft=0;



   if (document.getElementById){

      pHT=document.getElementById('ph1');

   }else{pHT=document.images['ph1'];}

   if(pHT){

      bnrWid=190 // parseInt(pHT.width)-20;

      bnrHit= 130 //parseInt(pHT.height)-20;

      bnrOffsetLeft=(parseInt(pHT.width)-bnrWid) / 2;

      bnrOffsetTop=(parseInt(pHT.height)-bnrHit) / 2;

      if(document.getElementById){

         bnrTop=((isMac)&&(IE4))?pHT.clientTop:pHT.offsetTop;

         bnrLft=((isMac)&&(IE4))?pHT.clientLeft:pHT.offsetLeft;

         tEl=pHT;

         while(tEl.offsetParent != null) {

            tEl=tEl.offsetParent;

            bnrTop+=((isMac)&&(IE4))?tEl.clientTop:tEl.offsetTop;

            bnrLft+=((isMac)&&(IE4))?tEl.clientLeft:tEl.offsetLeft;

         }

      }else{

         if (IE4) {

            arPH=[level1,level2,level3,level4,level5];

            bnrTop=bnrLft=0;

            for(i=0;i<arPH.length;i++){

               tEl = arPH[i];

               bnrTop+=tEl.offsetTop;

               bnrLft+=tEl.offsetLeft;

            }

         }else{

            bnrTop = pHT.y;

            bnrLft = pHT.x;

         }

      }

      bnrLft+=bnrOffsetLeft;

      bnrTop+=bnrOffsetTop;

      startBnr();

   }

}

window.onload=initScroller;
				

}
 
 
//-->


//NEWS

<!--

arURL = new Array(
'','','','','','','','','','','','',''
);


prefix=' ';
var arTXT = new Array(


'<a href="chinavisit.html" class="news_fnt"> Chairman Mr.Y.Praveen Chandra Prasad - China Visit </a>',

'<a href="launching_function.html" class="news_fnt"> LAUNCH OF BUILDMAT 2011 held at 6.30 pm on 23rd September 2009 at The Residency , Coimbatore</a>',

'<a href="launching_function.html" class="news_fnt"> Mr.K.V Rangaswami </br>Member of Board and President (Construction)  </br>M/s.Larsen & Turbo Ltd. </br> As Chief Guest</a>',

'<a href="launching_function.html" class="news_fnt"> Mr.Abhishek Somany </br> Joint Managing Director  </br> M/s. Somany Ceramics Limited</br> As Guest of Honour</a>',

'<a href="press.html" class="news_fnt"> <b>PRESS CLIPPINGS</b>  </a>',


'<a href="launching_function.html" class="news_fnt"> BuildMat 2011 International Construction fair to be held on </br>3rd to 6 th February 2011 </br> Venue : Codissia Trade Fair Complex, Coimbatore, India.</a>'

 
 
);
NS4=(document.layers);IE4=(document.all);isDOM=((document.getElementById)&&(!IE4))?true:false;

isOP=(navigator.userAgent.indexOf('Opera') != -1)?true:false;

if((NS4||IE4||isDOM)&&(!isOP)){
interval=80;     <!--Scrool Speed-->
increment=3;
pause=800;       <!--pausing the msg scrool-->
bannerColor="#ffffff";
leftPadding=0;
topPadding=25;
maxLoops=1000;
target=' TARGET="_top" '

classid=' CLASS="headlines" '

numheadlines=6;

isMac=(navigator.userAgent.indexOf('Mac') != -1)?true:false;



function reDo(){window.location.reload();}



function getObj(i){

   if (isDOM) {

      obj=document.getElementById("msg"+i).style;

   }else{

      obj=eval("msg"+i+((IE4)?".style":""));

   }

   return obj;

}
function showMsg(n,show){

   var theEl=getObj(n);

   theEl.visibility=(show)?"visible":"hidden";

}



function nextMsg(){

   var fm=current;

   current=(fm==ar.length-1)?0:fm+1;

   if(current==1)loopCount++;

   if(finite&&(loopCount>=maxLoops))return;

   scrollBnr(fm,current);

}



// mouseover/out new 010222 - abk



function SCRLmouseover() {

	clearInterval(intervalID);

	clearTimeout(timeoutID);

}



function SCRLmouseout() {

	intervalID=setInterval("moveUp()",interval);

}



function moveUp(){

   if (isDOM) {

		var inttoeltopdec = parseInt(toEl.top)-increment;

		fmEl.top=parseInt(fmEl.top) - increment; // + "px" not nec

      if(inttoeltopdec<=toElTarget){

         toEl.top=toElTarget;

         clearInterval(intervalID);

        fmEl.visibility="hidden";

         timeoutID=setTimeout("nextMsg()",pause);

      }else{

         toEl.top=inttoeltopdec; // no px

      }

   }else{

      if(NS4){

         var inttoeltopdec = toEl.top-increment;

         fmEl.top-=increment;

         if(inttoeltopdec<=toElTarget){

            toEl.top=toElTarget;

            clearInterval(intervalID);

            fmEl.visibility="hidden";

            timeoutID=setTimeout("nextMsg()",pause);

         }else{

            toEl.top=inttoeltopdec;

         }

      }else{

         var inttoeltopdec = toEl.pixelTop-increment;

         fmEl.pixelTop-=increment;

         if(inttoeltopdec<=toElTarget){

            toEl.pixelTop=toElTarget;

            clearInterval(intervalID);

            fmEl.visibility="hidden";

            timeoutID=setTimeout("nextMsg()",pause);

         }else{

            toEl.pixelTop=inttoeltopdec;

         }

      }

   }

}



function scrollBnr(fm,to){

   fmEl=getObj(fm);

   toEl=getObj(to);

   if (isDOM) {

	toElTarget=parseInt(fmEl.top);        // save one parseInt 010224

	toEl.top=(toElTarget+bnrHit) + "px"; 

//      toEl.top=(parseInt(fmEl.top)+bnrHit) + "px";

//      toElTarget=parseInt(fmEl.top);

   }else{

      if(NS4){

         toEl.top=fmEl.top+bnrHit;

         toElTarget=fmEl.top;

      }else{

         toEl.pixelTop=fmEl.pixelTop+bnrHit;

         toElTarget=fmEl.pixelTop;

      }

   }

   showMsg(to,true);

   intervalID=setInterval("moveUp()",interval);

	// can use setTimeout for evengreater speed - abk 010227

}



function moveIE(lPos,tPos){this.style.pixelLeft=lPos;this.style.pixelTop=tPos;}

function moveDOM(lPos,tPos){this.style.left=lPos+"px";this.style.top=tPos+"px";}



function makeIE(){

	var text='<DIV ID="bnr" STYLE="position:absolute;overflow:hidden;top:'+bnrTop+';left:'+bnrLft +';width:'+bnrWid+';height:'+bnrHit+'">';

	msgWid=bnrWid-leftPadding;

	for(var i=ar.length-1;i>=0;i--){

		text+='<DIV ID="msg'+i+'" STYLE="position:absolute;overflow:hidden;visibility:hidden; align:justify;top:'+ topPadding +';left:'+leftPadding+';width:'+msgWid+'"><\/DIV>';

	}

	text+='<\/DIV>';	

	document.body.insertAdjacentHTML("BeforeEnd",text);

	

	bnr.onmouseover=SCRLmouseover;

	bnr.onmouseout=SCRLmouseout;



	for(i=0;i<ar.length;i++){

		var scroller = eval("msg"+i);

		scroller.moveTo=moveIE;

	}

}



function makeDOM(){

	var elmParentDiv;

   

	elmParentDiv = document.createElement('div');

	elmParentDiv.id = 'bnr';

	elmParentDiv.style.position = 'absolute';

	elmParentDiv.style.overflow = 'hidden';

	elmParentDiv.style.top = bnrTop + 'px';

	elmParentDiv.style.left = bnrLft + 'px';

	elmParentDiv.style.width = bnrWid + 'px';

	elmParentDiv.style.height = bnrHit + 'px';

	

	elmParentDiv.onmouseover = SCRLmouseover;

	elmParentDiv.onmouseout  = SCRLmouseout;



	var elmChildDiv;

	var i;



	msgWid=bnrWid-leftPadding;



   for (i = ar.length - 1; i >= 0; i--)

   {

       elmChildDiv = document.createElement('div');

       elmChildDiv.id = 'msg' + i;

       elmChildDiv.style.position = 'absolute';

       elmChildDiv.style.visibility = 'hidden';

       elmChildDiv.style.overflow = 'hidden';

       elmChildDiv.style.top = topPadding + 'px';

       elmChildDiv.style.left = leftPadding + 'px';

       elmChildDiv.style.width = msgWid + 'px';



       elmParentDiv.appendChild(elmChildDiv);

       

       elmChildDiv.moveTo=moveDOM;

   }

   

   document.body.appendChild(elmParentDiv);

}



function makeNS(){

   bnr=new Layer(bnrWid);

   with(bnr){

      clip.right=bnrWid;

      clip.bottom=bnrHit;

      moveTo(bnrLft,bnrTop);

      visibility="show";

   }	

	bnr.onmouseover = SCRLmouseover;

	bnr.onmouseout  = SCRLmouseout;



   for(var i=0;i<ar.length;i++){

      eval("msg"+i+"="+"new Layer(bnrWid-leftPadding,bnr)");

      with(eval("msg"+i)){

         moveTo(leftPadding,topPadding);

      }

   }

}



function fillBnr(){

   var theEl;

   for(i=0;i<ar.length;i++){

      if (isDOM){

         theEl=document.getElementById("msg"+i);

      }else{

         theEl=eval("msg"+i);

      }

      newsStr=""+ar[newsCount][1]+"";

      if(NS4){

         with(theEl.document){write(newsStr);close();}

      }else{

         theEl.innerHTML=newsStr;

      }

      newsCount++;if(newsCount==ar.length)newsCount=0;

   }

}



function startBnr(){

   if (isDOM){makeDOM();}

      else{(NS4)?makeNS():makeIE();}

   fillBnr();

   showMsg(0,true);

   current=0;

   window.onresize=reDo;

   timeoutID=setTimeout("nextMsg()",pause);

}



function initScroller() {

   finite=(maxLoops>0);

   ar=[];

   if(!window.arURL)return;

   if(arURL.length==0)return;

   if(arURL.length<numheadlines){numheadlines=arURL.length;}

   for(i=0;i<numheadlines;i++){ar[i]=[prefix+arURL[i],arTXT[i]];}

   newsCount=0;

   if(finite){loopCount=0;}

   ispaused=0;

   bnrWid=154 // parseInt(pHT.width)-0;

   bnrHit=154 //parseInt(pHT.height)-0;

   bnrTop=bnrLft=0;



   if (document.getElementById){

      pHT=document.getElementById('ph1');

   }else{pHT=document.images['ph1'];}

   if(pHT){

      bnrWid=190 // parseInt(pHT.width)-20;

      bnrHit= 130 //parseInt(pHT.height)-20;

      bnrOffsetLeft=(parseInt(pHT.width)-bnrWid) / 2;

      bnrOffsetTop=(parseInt(pHT.height)-bnrHit) / 2;

      if(document.getElementById){

         bnrTop=((isMac)&&(IE4))?pHT.clientTop:pHT.offsetTop;

         bnrLft=((isMac)&&(IE4))?pHT.clientLeft:pHT.offsetLeft;

         tEl=pHT;

         while(tEl.offsetParent != null) {

            tEl=tEl.offsetParent;

            bnrTop+=((isMac)&&(IE4))?tEl.clientTop:tEl.offsetTop;

            bnrLft+=((isMac)&&(IE4))?tEl.clientLeft:tEl.offsetLeft;

         }

      }else{

         if (IE4) {

            arPH=[level1,level2,level3,level4,level5];

            bnrTop=bnrLft=0;

            for(i=0;i<arPH.length;i++){

               tEl = arPH[i];

               bnrTop+=tEl.offsetTop;

               bnrLft+=tEl.offsetLeft;

            }

         }else{

            bnrTop = pHT.y;

            bnrLft = pHT.x;

         }

      }

      bnrLft+=bnrOffsetLeft;

      bnrTop+=bnrOffsetTop;

      startBnr();

   }

}

window.onload=initScroller;
				

}
 
//-->


//Feedback


function P_hone()
	{
	  if(!(window.event.keyCode>=48 && window.event.keyCode<=57))
		 {
		   alert("Only Numbers Allowed");
		   window.event.keyCode=0;
			//Form.phonetxt.focus();
		}
   }
function serviceform()
	{
	var msg="";
	var flag=true;
	
	
	
	if (sform.nametxt.value=="")
		{
		flag=false;
		msg=msg+"Enter Name " + "<br>"
		changecolor(f1,'red');
		}
	else changecolor(f1,'#000000');
	
	
		if (sform.job.value=="")
		{
		flag=false;
		msg=msg+"Enter Job title " + "<br>"
		changecolor(f2,'red');
		}
	else changecolor(f2,'#000000');
	
	
	

	if (sform.comptxt.value=="")
		{
		flag=false;
		msg=msg+"Enter Company Name  " + "<br>"
		changecolor(f3,'Red');
		}
	else changecolor(f3,'#000000');
	
	
	
	
	if (sform.addtxt.value=="")
		{
		flag=false;
		msg=msg+"Enter Your Address  " + "<br>"
		changecolor(f4,'Red');
		}
	else changecolor(f4,'#000000');
	
	
	
		if (sform.countrytxt.value=="")
		{
		flag=false;
		msg=msg+"Enter Country Name" + "<br>"
		changecolor(f5,'Red');
		}
	else changecolor(f5,'#000000');
	

		if ((document.sform.email.value!="") || (document.sform.email.value==""))
		{
		var txt=document.sform.email.value
		if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(txt))
			{
			changecolor(f6,'#000000');
			}
			
		else 
			{
			msg+="Invalid E-mail Address! Please re-enter." +"<BR>";
			flag=false;
			changecolor(f6,'red');
			}
		}
		
		
		
	
	if (sform.phonetxt.value=="")
		{
		flag=false;
		msg=msg+"Enter   Phone no  " + "<br>"
		changecolor(f7,'Red');
		}
	else changecolor(f7,'#000000');
	
	
		
		if (sform.faxtxt.value=="")
		{
		flag=false;
		msg=msg+"Enter Fax No.  " + "<br>"
		changecolor(f8,'Red');
		}
	else changecolor(f8,'#000000');
	
	
	
	
	

	if (sform.mobile.value=="")
		{
		flag=false;
		msg=msg+"Enter Mobile no  " + "<br>"
		changecolor(f9,'Red');
		}
	else changecolor(f9,'#000000');





	if (sform.pritxt.value=="")
		{
		flag=false;
		msg=msg+" Enter Product / Service  Details " + "<br>"
		changecolor(f11,'Red');
		}
	else changecolor(f11,'#000000');
	


	if (sform.stall.value=="")
		{
		flag=false;
		msg=msg+" Enter Stall  " + "<br>"
		changecolor(f12,'Red');
		}
	else changecolor(f12,'#000000');


	
	if (flag==false)
		{
		span=document.createElement("SPAN");
		span.innerHTML=msg;
		msg=span.innerText;
		alert(msg);
		return false;
		}
	else
		{
		return true;
		document.Form.submit();
		}
}

function changecolor(id,color)
	{
	id.style.color=color;
	}



