
function sendemail()
{
var err=0;
var eid =document.all.eml.value;
var cntr=0;
var at=0;
var str="";
var len = eid.length;
if (len<5) err++;
else
	{
	for (cntr=0;cntr<=(len-1); cntr++)
        	{

		str=eid.substring(cntr,cntr+1);
		//alert(str);
		if (str =="@") at+=1;
		
				
		}
	if (at!=1) err++;
	//alert(at);

	}

if (err>0)
	{
	alert("Pleae check your email address!");
	}
	else
	{
	//alert("getdata.asp?dt="+eid);
	window.location.href='getdata.asp?dt='+eid;
	
	}
}



document.body.style.background="#ffffff"
document.write("<img src=test.jpg>");
dheight= document.body.offsetHeight;
dw=document.body.offsetWidth;
dwidth =dw-32;

function go()
{
document.jse_Form.submit();
}



h1=dheight-100;
l1=dw-200;
l1=600;
l2=l1-25;
document.write("<div class=tp2 id=disp1 style='height:70;width:170;border:solid windowtext 1.2pt;border-color:white;position:absolute;left:0;top:600;color:white;background:navy'>");
document.write("<center>Search product<form name='jse_Form' action='javascript:search_form(jse_Form)'><input type='text' name='d' size=10><br><br><input type=submit value=GO size=8></form></center></div>");


document.write("<div class=tp1 id=disp2 style='height:70;width:170;border:solid windowtext 1.2pt;border-color:white;position:absolute;top:600;left:"+l1+";color:white;background:navy'>");
document.write("<center>Submit your email address for latest information <br> <input type=text id=eml size=10><br><br><a href='javascript:sendemail()'> S U B M I T</a> <br> &nbsp;</center></div>");


document.all.info.style.left=200;
document.all.info.style.top=225;
document.all.info.style.width=380;
//document.all.info.style.background="red";

dwidth=800;


mw= dwidth/5;
//m1w,m2w,... etc. are widths of each item of menu.
var m1w=80,m2w=100,m3w=110,m4w=120,m5w=125;

if (mw > m1w) m1w=mw;
if (mw > m2w) m2w=mw;


if (mw > m3w) m3w=mw;

if (mw > m4w) m4w=mw;
if (mw > m5w) m5w=mw;
//alert(m1w+" "+m2w+" "+m3w+" "+m4w+" "+m5w+" ");
var myNavBar1 = new NavBar(0);
var dhtmlMenu;

//define menu items (first parameter of NavBarMenu specifies main category width, second specifies sub category width in pixels)
//add more menus simply by adding more "blocks" of same code below

dhtmlMenu = new NavBarMenu(m1w, 0);
dhtmlMenu.addItem(new NavBarMenuItem("Home", "default.asp"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(m2w, 120);
dhtmlMenu.addItem(new NavBarMenuItem("About WINGZ", ""));
dhtmlMenu.addItem(new NavBarMenuItem("About us", "aboutus.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Our belief", "belief.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Contact us", "contactus.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(m3w, 120);
dhtmlMenu.addItem(new NavBarMenuItem("Memberships", ""));
dhtmlMenu.addItem(new NavBarMenuItem("APEDA", "apeda.html"));
dhtmlMenu.addItem(new NavBarMenuItem("D & B", "db.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(m4w, 150);
dhtmlMenu.addItem(new NavBarMenuItem("PHOTO Gallery", "photo.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(m5w, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Overseas contacts", ""));
dhtmlMenu.addItem(new NavBarMenuItem("US", "us.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Europe", "us.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Canada", "us.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Far East", "fareast.html"));


myNavBar1.addMenu(dhtmlMenu);

//set menu colors
myNavBar1.setColors("#ffffff", "#ffffff", "navy", "#ffffff", "blue", "white", "blue", "#ffffff", "#000080")

//uncomment below line to center the menu (valid values are "left", "center", and "right"
//myNavBar1.setAlign("right")

var fullWidth;



  // Get width of window, need to account for scrollbar width in Netscape.

  fullWidth = getWindowWidth() 
    - (isMinNS4 && getWindowHeight() < getPageHeight() ? 16 : 0);

  myNavBar1.resize(fullWidth);
  myNavBar1.create();
  myNavBar1.setzIndex(2);
  //UNCOMMENT BELOW LINE TO MOVE MENU DOWN 50 pixels
  myNavBar1.moveTo(0, 125);



document.write("<div  id=lnk1 style='position:absolute;left:0;top:180;'>");
document.write("<a href='fiv.html'><img src=link1.bmp></a></div>");
document.write("<div  id=lnk3 style='position:absolute;left:0;top:280'>");
document.write("<a href='indiansnacks.html'><img src=link3.bmp></a></div>");
document.write("<div  id=lnk5 style='position:absolute;left:0;top:380'>");
document.write("<a href='grainflour.html'><img src=link5.bmp></a></div>");
document.write("<div  id=lnk7 style='position:absolute;left:0;top:480'>");
document.write("<a href='op.html'><img src=link7.bmp></a></div>");

document.write("<div id=lnk2 style='position:absolute;left:"+l1+";top:180'>");
document.write("<a href='frzp.html'><img src=link2.bmp></a></div>");
document.write("<div id=lnk4 style='position:absolute;left:"+l1+";top:280'>");
document.write("<a href='grain.html'><img src=link4.bmp></a></div>");
document.write("<div id=lnk6 style='position:absolute;left:"+l1+";top:380'>");
document.write("<a href='isweets.html'><img src=link6.bmp></a></div>");
document.write("<div id=lnk8 style='position:absolute;left:"+l1+";top:480'>");
document.write("<a href='imports.html'><img src=link8.bmp></a></div>");





//Specify the marquee's width (in pixels)
var mrwd=775;
//Speed
var speed=1;
//Msg length
var ml=480;




var initcolor="red";
var nextcolor="white";

var dd=0;

var findex=0;
var mcontent='<img src=new.gif height=25><font face="Verdana"  size=3><b>Alphanso mango export booking started !!!! Contact us immediately !</b></font>'


document.write("<div id=d1 style='width:"+mrwd+";overflow:hidden;height:55'>");
document.write("<span id=bc style='left:0;position:relative;top:22;color:"+initcolor+"'>"+mcontent+"</span>");
document.write("</span></div>");

function test()
{
tt= parseInt(document.all.bc.style.left);
if ((tt== 100)&&(findex<=100))
{
	findex++;
	if ((findex%5)==0)
		
		{
		if (dd==0)
		{
		dd=1;
		document.all.bc.style.color=nextcolor; 
		}
		else
		{
		dd=0;
		document.all.bc.style.color=initcolor; 
		}
		}
		
	
	
	
}
else
{

	if (tt != mrwd) 
	document.all.bc.style.left = tt+speed
	else
	{
	document.all.bc.style.left =((-1)*ml);
	findex=0;
	}
}


setTimeout('test()',1);

}

//test();



document.onLoad=test();

