//function for popup window
//function to open Environmental Policy certificate
function popupenvpol(certname)
{
	var pathenvpol;
	pathenvpol="../popup/iso/Envpol/" + certname;
	window.open(pathenvpol,"","width=410,height=650");
}

//function to open ISO 14001 certificates
function popupisomars14001(certname)
{
	var pathiso14001;
	pathiso14001="../popup/iso/14001/" + certname;
	window.open(pathiso14001,"","width=410,height=650");
}

//function to open ISO 9001 certificates
function popupisomars9001(certname)
{
	var pathiso9001;
	pathiso9001="../popup/iso/9001/" + certname;
	window.open(pathiso9001,"","width=410,height=650");
}

function popupagro(prodname)
{
var path
path="../../popup/agro/"+prodname
window.open(path,"","width=370,height=530")
}

//function for popup window aquaculture
function popupagro1(prodname1)
{
var path1
path1="../../popup/aquac/"+prodname1
//alert();
window.open(path1,"","width=370,height=530")
}

function profilepop(prodname1)
{
var pf
pf="../popup/profile/"+prodname1
//alert();
window.open(pf,"","width=400,height=500,top=0,left=0")
}

function profilepop1(prodname1)
{
var pf
pf="../popup/profile/"+prodname1
//alert();
window.open(pf,"","width=400,height=320,top=0,left=0")
}

function profilepop2(prodname1)
{
var pf
pf="../popup/profile/"+prodname1
//alert();
window.open(pf,"","width=400,height=250,top=0,left=0")
}

function popupbioz(prodname2)
{
var path2
path2="../../popup/biozy/"+prodname2
//alert();
window.open(path2,"","width=370,height=530")
}

function popuphng(prodname3)
{
var path3
path3="../../popup/hng/"+prodname3
window.open(path3,"","width=370,height=530")
}

function popupwokoz(prodname2)
{
var path2
path2="../../popup/wokozy/"+prodname2
//alert();
window.open(path2,"","width=370,height=530")
}


function popup3d(prod3d)
{
var path3d
path3d="../../popup/biozy/"+prod3d

window.open(path3d,"","width=280,height=460")
}


function popuphybrid(prodnameh)
{
	var pathy
	pathy="../../popup/hybrid/"+prodnameh
	window.open(pathy,"","width=370,height=530")
}

//function for closing popup window
function popupclose()
{
window.close();
}


//function for changing page location for insecticide
function chlocation()
{
var fname,path5
fname=document.frm.insect.options[document.frm.insect.selectedIndex].value;

	if (fname=="select")
	{
		alert("Please select the insecticide")
		document.frm.insect.focus()
	}
	else
	{
		path5="agroproducts/"+fname
		location.href=path5
	}
}

//function for changing page location for fungicide
function chlocation1()
{
var sname,path6
sname=document.frm.fung.options[document.frm.fung.selectedIndex].value;

	if (sname=="select")
	{
		alert("Please select the fungicide")
		document.frm.fung.focus()
	}
	else
	{
		path6="agroproducts/"+sname
		location.href=path6
	}
}


//function for changing page location for herbicide
function chlocation2()
{
var tname,path7
tname=document.frm.herb.options[document.frm.herb.selectedIndex].value;

	if (tname=="select")
	{
		alert("Please select the Herbicide")
		document.frm.herb.focus()
	}
	else
	{
		path7="agroproducts/"+tname
		location.href=path7
	}
}

//function for changing page location for adjuvant
function chlocation3()
{
var fourname,path8
fourname=document.frm.adjuvant.options[document.frm.adjuvant.selectedIndex].value;

	if (fourname=="select")
	{
		alert("Please select the Adjuvant")
		document.frm.adjuvant.focus()
	}
	else
	{
		path8="agroproducts/"+fourname
		location.href=path8
	}
}

//function for changing page location for chemical name
function chemlocation()
{
var cname,path8
cname=document.frm.chemical.options[document.frm.chemical.selectedIndex].value;

	if (cname=="select")
	{
		alert("Please select the Chemical name")
		document.frm.chemical.focus()
	}
	else
	{
		path8="agroproducts/"+cname
		location.href=path8
	}
}


//function for changing page location for crop
function croplocation()
{

var crpame,path9
crpame=document.frm.cropname.options[document.frm.cropname.selectedIndex].value;
	if (crpame=="select")
	{
		alert("Please select the Crop name")
		document.frm.cropname.focus()
	}
	else
	{
		path9="agroproducts/"+crpame
		location.href=path9
	}
}



//function for changing page location for Sanitizers
function aquaocation1()
{

var aquaname,aqpath
aquaname=document.frm.santi.options[document.frm.santi.selectedIndex].value;

	if (aquaname=="select")
	{
		alert("Please select the sanitizer")
		document.frm.santi.focus()
	}
	else
	{
		aqpath="aquaculture/"+aquaname
		location.href=aqpath
	}
}


//function for changing page location for Adsorbants
function aquaocation2()
{

var aquaname1,aqpath1
aquaname1=document.frm.adsorbant.options[document.frm.adsorbant.selectedIndex].value;

	if (aquaname1=="select")
	{
		alert("Please select the adsorbant")
		document.frm.adsorbant.focus()
	}
	else
	{
		aqpath1="aquaculture/"+aquaname1
		location.href=aqpath1
	}
}






//function for changing page location for blinders
function aquaocation3()
{

var aquaname2,aqpath2
aquaname2=document.frm.blinders.options[document.frm.blinders.selectedIndex].value;

	if (aquaname2=="select")
	{
		alert("Please select the feed suppliment")
		document.frm.blinders.focus()
	}
	else
	{
		aqpath2="aquaculture/"+aquaname2
		location.href=aqpath2
	}
}



//function for changing page location for Shrimp Feed
function aquaocation4()
{

var aquaname3,aqpath3
aquaname3=document.frm.shrimp.options[document.frm.shrimp.selectedIndex].value;

	if (aquaname3=="select")
	{
		alert("Please select the shrimp feed")
		document.frm.shrimp.focus()
	}
	else
	{
		aqpath3="aquaculture/"+aquaname3
		location.href=aqpath3
	}
}


//function for changing page location for Antibiotics 
function aquaocation5()
{

var aquaname4,aqpath4
aquaname4=document.frm.immuno.options[document.frm.immuno.selectedIndex].value;

	if (aquaname4=="select")
	{
		alert("Please select the immuno-stimulant")
		document.frm.immuno.focus()
	}
	else
	{
		aqpath4="aquaculture/"+aquaname4
		location.href=aqpath4
	}
}

//function for changing page location for Probiotics 
function aquaocation6()
{
var aquaname5,aqpath5
aquaname5=document.frm.probotics.options[document.frm.probotics.selectedIndex].value;

	if (aquaname5=="select")
	{
		alert("Please select the probiotics")
		document.frm.probotics.focus()
	}
	else
	{
		aqpath5="aquaculture/"+aquaname5
		location.href=aqpath5
	}

}



//function for changing page location for Fish Hormone 
function aquaocation7()
{
var aquaname6,aqpath6
aquaname6=document.frm.hormone.options[document.frm.hormone.selectedIndex].value;

	if (aquaname6=="select")
	{
		alert("Please select the fish hormone")
		document.frm.hormone.focus()
	}
	else
	{
		aqpath6="aquaculture/"+aquaname6
		location.href=aqpath6
	}

}


//function for changing page location for Fish Farmimg 
function aquaocation8()
{
var aquaname7,aqpath7
aquaname7=document.frm.fish.options[document.frm.fish.selectedIndex].value;

	if (aquaname7=="select")
	{
		alert("Please select the fish farmimg")
		document.frm.fish.focus()
	}
	else
	{
		aqpath7="aquaculture/"+aquaname7
		location.href=aqpath7
	}

}


//function for changing page location for shrimp Farmimg 
function aquaocation9()
{
var aquaname9,aqpath9
aquaname9=document.frm.shirmp.options[document.frm.shirmp.selectedIndex].value;

	if (aquaname9=="select")
	{
		alert("Please select the Shrimp farmimg")
		document.frm.shirmp.focus()
	}
	else
	{
		aqpath9="aquaculture/"+aquaname9
		location.href=aqpath9
	}

}

//function for changing page location for Biofertilizer

function aquaocation10()
{
	var aquaname10, aqpath10
	aquaname10=document.frm.biofertilizer.options[document.frm.biofertilizer.selectedIndex].value;
	if (aquaname10=="select")
	{
		alert("Please select the biofertilizer")
		document.frm.biofertilizer.focus()
	}
	else
	{
		aqpath10="aquaculture/"+aquaname10
		location.href=aqpath10
	}
}
//function for changing page location for biological products
function biolocation1()
{
var bioname,biopath
bioname=document.frm.bioprod.options[document.frm.bioprod.selectedIndex].value;
	if (bioname=="select")
	{
		alert("Please select the product")
		document.frm.bioprod.focus()
	}
	else
	{
		biopath="biotech/"+bioname
		location.href=biopath
	}
}

//function for changing page location for biological products
function hnglocation1()
{
var hngname, hngpath;
hngname=document.frm.hngprod.options[document.frm.hngprod.selectedIndex].value;
	if (hngname=="select")
	{
		alert("Please select the product");
		document.frm.hngprod.focus();
	}
	else
	{
		hngpath="homengarden/"+hngname;
		location.href=hngpath;
	}
}