function postvalid(form){
	$('qr').disabled = true;
	return true;
}

function dropmenu(obj){
$(obj.id + 'list').style.display = $(obj.id + 'list').style.display == 'none' ? '' : 'none';
}

function confirm_delete(id, note, addon)
{
   if(confirm(note))
   {
      self.location.href='?action=del'+(addon ? '&'+addon : '')+'&id='+id;
   }
}
var  getRandomColor = function(){
  return  "#"+("00000"+(Math.random()*0x1000000<<0).toString(16)).substr(-6);  
}
function blinkIt() {	
     for(i=0;i<document.getElementsByTagName("font").length;i++)
	 {
	      s=document.getElementsByTagName("font")[i];
		  if(s.id.indexOf("blinkme")>=0)
		  {
	          s.color=getRandomColor();
		  }
	 }	
	 
	}
