

function checkcode(numer,idk){	
	advAJAX.setDefaultParameters(
	{
		onLoading : function(obj) { document.getElementById(obj.tag).innerHTML = '<div align="center" style="height:40px; padding-top:80px;"><img src="ajax/img/load.gif" width="220" height="19" border="0"></div>' ; },
   		onSuccess : function(obj) { document.getElementById(obj.tag).innerHTML = obj.responseText ; },
   		onError : function(obj) { document.getElementById(obj.tag).innerHTML = "err..."; }
	});
	advAJAX.get({ url : "ajax.php?mod=account&action=code&produkt=" + numer +"&idk="+ idk , tag: "code_check" });
}




function chiptest(numer,idk){	
	advAJAX.setDefaultParameters(
	{
		onLoading : function(obj) { document.getElementById(obj.tag).innerHTML = '<div align="center" style="height:20px; padding-top:1px;"><img src="ajax/img/load.gif" width="220" height="19" border="0"></div>' ; },
   		onSuccess : function(obj) { document.getElementById(obj.tag).innerHTML = obj.responseText ; },
   		onError : function(obj) { document.getElementById(obj.tag).innerHTML = "err..."; }
	});
	advAJAX.get({ url : "ajax.php?mod=account&action=testchip&produkt=" + numer +"&idk="+ idk , tag: "testchip" });
}

function new_search(numer,idk){	
	advAJAX.setDefaultParameters(
	{
		onLoading : function(obj) { document.getElementById(obj.tag).innerHTML = '<div align="center" style="height:20px; padding-top:1px;"><img src="ajax/img/load.gif" width="220" height="19" border="0"></div>' ; },
   		onSuccess : function(obj) { document.getElementById(obj.tag).innerHTML = obj.responseText ; },
   		onError : function(obj) { document.getElementById(obj.tag).innerHTML = "err..."; }
	});
	advAJAX.get({ url : "ajax.php?mod=account&action=testchip&produkt=" + numer +"&idk="+ idk , tag: "testchip" });
}


function chipad(numery){

numery=numery.replace(/\n/g,'|'); 



//	alert(numery);	
	advAJAX.setDefaultParameters(
	{
		onLoading : function(obj) { document.getElementById(obj.tag).innerHTML = '<div align="center" style="height:20px; padding-top:1px;"><img src="ajax/img/load.gif" width="220" height="19" border="0"></div>' ; },
   		onSuccess : function(obj) { document.getElementById(obj.tag).innerHTML = obj.responseText ; },
   		onError : function(obj) { document.getElementById(obj.tag).innerHTML = "err..."; }
	});
	advAJAX.get({ url : "ajax.php?mod=account&action=adchip&produkt=" + numery , tag: "adchip" });
	

	
}

function new_hurt(numer,idk){	
	advAJAX.setDefaultParameters(
	{
		onLoading : function(obj) { document.getElementById(obj.tag).innerHTML = '<div align="center" style="height:20px; padding-top:1px;"><img src="ajax/img/load.gif" width="220" height="19" border="0"></div>' ; },
   		onSuccess : function(obj) { document.getElementById(obj.tag).innerHTML = obj.responseText ; },
   		onError : function(obj) { document.getElementById(obj.tag).innerHTML = "err..."; }
	});
	advAJAX.get({ url : "ajax.php?mod=account&action=adchip&produkt=" + numer +"&idk="+ idk , tag: "adchip" });
}
