function qAddEDU(where, aI, aT, aA, aW, aC, aAv){
	if(confirm("<%=wwwazymut.web.mw.BussinesRulesBrain.EDU_EXPL_1 %>"))
		qAdd(where, aI, aT, aA, aW, aC, aAv);
}

function qAdd(where, aI, aT, aA, aW, aC, aAv){
	if(where == 2) document.forms.tempForm.mode.value="mw.addToClipboard";
	document.forms.tempForm.qty.value=document.getElementById("tQty_"+aI).value;
	document.forms.tempForm.indeks.value=aI;
	document.forms.tempForm.t.value=aT;
	document.forms.tempForm.au.value=aA;
	document.forms.tempForm.w.value=aW;
	document.forms.tempForm.c.value=aC;
	document.forms.tempForm.avail.value=aAv;
	document.forms.tempForm.RET_PATH.value = document.forms.tempForm.RET_PATH.value + "&_#b"+aI;
	document.forms.tempForm.submit();
}

function qAdd2EDU(where, aI){
	if(confirm("<%=wwwazymut.web.mw.BussinesRulesBrain.EDU_EXPL_1 %>"))
		qAdd2(where, aI);
}
function qAdd2(aW, aI){
	if(aW == 1) document.forms.tempForm.mode.value="atca";
	if(aW == 2) document.forms.tempForm.mode.value="atcl";
	document.forms.tempForm.qty.value=document.getElementById("tQty_"+aI).value;
	document.forms.tempForm.indeks.value=aI;
	document.forms.tempForm.RET_PATH.value = document.forms.tempForm.RET_PATH.value + "&_#b"+aI;
	document.forms.tempForm.submit();
}

function chooseAll(){
	document.getElementById("mw_searchForm_wydawcaName").innerHTML = "wybierz wydawcę";
	document.getElementById("mw_searchForm_allWydLink").innerHTML = "";
	document.forms.mw_searchForm.sysko.value=''; 
	document.forms.mw_searchForm.wn.value='';
}

function chooseAllAdv(){
	document.getElementById("mw_searchForm_wydawcaName").innerHTML = "wybierz";
	document.getElementById("mw_searchForm_allWydLink").innerHTML = "";
	document.forms.mw_searchForm.sysko.value=''; 
	document.forms.mw_searchForm.wn.value='';
}

function accden(){
	alert('Dostęp zablokowany. \nBrak uprawnień');
}