public function getDiv($params=array())
		{
		
			$t=new Template($this->cheminTemplates);
			$t->set_filenames((array('popup'=>'popupGeneric.tpl')));
		
		
			$width = 500;
			if(isset($params['width']) && $params['width']!='')
			{
				$width = $params['width'];
			}
			
			$height = 500;
			if(isset($params['height']) && $params['height']!='')
			{
				$height = $params['height'];
			}
			
			$left = 100;
			if(isset($params['left']) && $params['left']!='')
			{
				$left = $params['left'];
			}
			
			$top = 50;
			if(isset($params['top']) && $params['top']!='')
			{
				$top = $params['top'];
			}
			
			$titrePopup="";
			if(isset($params['titre']) && $params['titre']!='')
			{
				$titrePopup = $params['titre'];
			}
			
			$codeJsFermer="";
			if(isset($params['codeJsFermerButton']) && $params['codeJsFermerButton']!='')
			{
				$codeJsFermer = $params['codeJsFermerButton'];
			}
			
			
			
			$hiddenFields="";
			if(isset($params['hiddenFields']))
			{
				foreach($params['hiddenFields'] as $indice => $value)
				{
					$hiddenFields .= "<input type='hidden' id='".$indice."' name='".$indice."' value='".$value."'>";
				}
			}
			
			$t->assign_vars(array(
					'width'=>$width,
					'height'=>$height,
					'left'=>$left,
					'top'=> $top,
					'hiddenFields'=>$hiddenFields,
					'divIdPopup'=>'div'.$this->idPopup,
					'tdIdPopup'=>'td'.$this->idPopup,
					'iFrameIdPopup'=>'iFrame'.$this->idPopup,
					'lienSrcIFrame'=>$params['lienSrcIFrame'],
					'titrePopup'=>$titrePopup,
					'codeJsFermer'=>$codeJsFermer
			));
		
		
			ob_start();
			$t->pparse('popup');
			$html=ob_get_contents();
			ob_end_clean();
		
		
			return $html;
		}