Magento redirect from HTML Block
===

Im want to redirect in my custom html block to specific urls. 

What i'm trying:

    class Mage_Page_Block_Html_World extends Mage_Core_Block_Template {
    function __construct()
    {
    	$i = 0;
        parent::__construct();
        $this->setTemplate('page/html/world.phtml');
		$this->setCookie();
    }
	
	public function setCookie()
	{
		$lang = $this->getLanguageCode();
		if(isset($_GET['country'])) {
			$country = $_GET['country']; 
			Mage::getModel('core/cookie')->set('country', $country);
		} else {
			$country = Mage::getModel('core/cookie')->get('country');
		}
		/*Redirect to cookie url*/
		if($country) {
			try {
				$url = "http://myurl.dev/".$country."/";
				Mage::app()->getFrontController()->getResponse()->setRedirect($url);
			} catch (Exception $e) {
    			echo 'Exception: ',  $e->getMessage(), "\n";
			}
		}
	}

Because i use a multistore configuration in my .htaccess i use:

SetEnvIf Host www\.myurl\.dev MAGE_RUN_CODE=base<br/>
SetEnvIf Host www\.myurl\.dev MAGE_RUN_TYPE=website<br/>
SetEnvIf Host ^myurl\.dev MAGE_RUN_CODE=base<br/>
SetEnvIf Host ^myurl\.dev MAGE_RUN_TYPE=website<br/>

SetEnvIf Host www\.myurl1\.dev MAGE_RUN_CODE=vs<br/>
SetEnvIf Host www\.myurl1\.dev MAGE_RUN_TYPE=website<br/>
SetEnvIf Host ^myurl1\.dev MAGE_RUN_CODE=vs<br/>
SetEnvIf Host ^myurl1\.dev MAGE_RUN_TYPE=website<br/>


The Issue:
With this redirect i get the Error 310: Too many redirects.
I can't figure out how to fix this.