              
              var recent3 =''
              
              function moveQuickMenu()
              { var quickMenu =document.getElementById('quickMenu')
              	tmp =parseInt(quickMenu.style.top)
              	if(IE) 	{ scrollTop =document.body.scrollTop
              	          step =5 }
              	else    { scrollTop =window.pageYOffset
                          step =5 }
              	if(tmp < scrollTop +7)
              	{ quickMenu.style.top =tmp + step
              	  if(powerTimer) setTimeout('moveQuickMenu()',10) }
              	
                if(tmp > scrollTop +12 && tmp >178)
              	{ quickMenu.style.top =tmp -step
              	  if(powerTimer) setTimeout('moveQuickMenu()',10)
              } }
              
              
              function quickMenuPrepare()
              { var quickMenu =document.getElementById('quickMenu')
              	if(!IE)  quickMenu.style.left =window.innerWidth/2 +392
              	else     quickMenu.style.left =document.getElementById('mainTable').offsetLeft +794
              	if(!IE)  quickMenu.style.MozOpacity ='1'
                else     quickMenu.style.filter ='alpha(opacity=100)'
                if(mForm.recent3.value.length >3)
                setRecent3('','','') }
              
              
              function setRecent3(id,thumb,type)
              { rec3 =mForm.recent3.value.split('|')
              	rec3.pop()
              	if(thumb !='' && id !='')
              	{ var temp =id +'_'+ thumb +'_'+ type
              	  rec3 =mForm.recent3.value.split('|')
              	  
              	  if(!rec3.inArray(temp))
                  { mForm.recent3.value +=temp +'|'
              	    rec3 =mForm.recent3.value.split('|') }
              	  rec3.pop()
              	  
              	  if(rec3.length ==4)
              	  { rec3.shift()
                    mForm.recent3.value =''
              	    for(var i=0; i<rec3.length; i++)
              	    mForm.recent3.value +=rec3[i] +'|'
              	} }
                
                if(rec3.length >0)
              	{ str ='<table cellspacing="0" cellpadding="0">'
              	  for(var i=0; i<rec3.length; i++)
                  { tmp =rec3[i].split('_')
                  	str +='<tr><td><img src="test2.php?src=http://www.altaicashmere.mn/file/product/'+ tmp[2] +'/'+ tmp[1] +'&w=55&h=73&q=100"'
                    str +='         width="55" style="border:1px solid gray; cursor:pointer"'
                    str +='         onClick="runNewProgram(); getProduct(\''+ tmp[0] +'\')"></td>'
                    str +='</tr>' }	
                  getObj('enteredProductDiv').innerHTML =str +'</table>'
                  getObj('enteredProductDiv').style.overflowY='scroll'
              } }