// JavaScript Document
function vendor(v){
		if(v!="")
			location.href="vendor.php?vendor="+v;
}

function _search(s){
	if(s!="")
		location.href="search.php?s="+s;
}

function downfile1(dform){
//alert("in");
if (document.qa.email.value==''){
alert('Please Login First');
}else if (document.qa.value=='F'){
alert('To download material you will have to be a Paid member of ActualKey.');
}else{
document.qa.submit();
}
}

function downfile2(dform){
if (document.sguide.email.value==''){
alert('Please Login First');
}else if (document.sguide.value=='F'){
alert('To download material you will have to be a Paid member of ActualKey.');
}else{
document.sguide.submit();
}
}

function downfile3(dform){
if (document.lab.email.value==''){
alert('Please Login First');
}else if (document.lab.value=='F'){
alert('To download material you will have to be a Paid member of ActualKey.');
}else{
document.lab.submit();
}
}
function downfile4(dform){
if (document.audio.email.value==''){
alert('Please Login First');
}else if (document.audio.value=='F'){
alert('To download material you will have to be a Paid member of ActualKey.');
}else{
document.audio.submit();
}
}
function downfile5(dform){
if (document.video.email.value==''){
alert('Please Login First');
}else if (document.video.value=='F'){
alert('To download material you will have to be a Paid member of ActualKey.');
}else{
document.video.submit();
}
}
function downfile6(dform){
if (document.testengine.email.value==''){
alert('Please Login First');
}else if (document.testengine.value=='F'){
alert('To download material you will have to be a Paid member of ActualKey.');
}else{
document.testengine.submit();
}
}
