function getIt(actioni, item, repage){
	document.forms.shopform.actioni.value=actioni;
	document.forms.shopform.item.value=item;
	document.forms.shopform.repage.value=repage;
	if(actioni!=""){
		document.forms.shopform.reload.value="yes";
	}
	document.forms.shopform.submit();
}

function showhide(aaid){
	a=document.getElementById(aaid).style.display;
	newstatus='';
	if(a==''){			newstatus='none';		}
	if(a=='none'){		newstatus='';			}
	if(a=='block'){		newstatus='none';			}
	document.getElementById(aaid).style.display=newstatus;
}


function togglediv(id){ 
	a=document.getElementById(id).style.display;
	if(a=='none'){	
		switchx='block'; 
	} else { 
		switchx='none'; 
	}
	document.getElementById(id).style.display=switchx;
}

	function s_togglediv(name){
		a=document.getElementById(name).style.display;
		if(a=="none"){
			document.getElementById(name).style.display='block';
		} else {
			document.getElementById(name).style.display='none';
		}
	}
	
	function s_showdiv(name){
			document.getElementById(name).style.display='block';
	}
	function s_hidediv(name){
			document.getElementById(name).style.display='none';
	}
	
	function loopforms(email){
			//alert(email);
			i=0;
			while(i<document.forms.length){
				if(document.forms[i].email){
					a=document.forms[i].email.value;
					document.forms[i].email.value=email;
				}
				i++;
			}
	}
	

