Catalonia: What you need to know

The threat of being cut off from Spain is prompting companies in Catalonia to move their head offices to other parts of the country.

Separatist leaders in the wealthy region have threatened to declare independence from Spain — the fourth biggest economy in the eurozone — setting off a severe political crisis that has unsettled businesses and investors.

‘;
var storytext = document.getElementById(‘storytext’);
var heightToSkip = 0;

function resetValues()
{
totalHeight = 0;
targetChildElement = null;
}

// Check if story is in the blacklist of articles to remove smartassets
// [2017.07.27] Results of a one-off request from r.barbieri
if(BLACKLIST[location.pathname] === true) {
return
}
if(storytext == null)
{
console.log(“Error finding storytext element for SA embed”);
return;
}


for ( i = 0; i 0)
{
heightToSkip -= storytext.childNodes[i].clientHeight;
resetValues();
}
else if(heightToSkip minHeight && targetChildElement != null)
{
//console.log(“total height = ” + totalHeight);
//console.log(“childNode = ” + targetChildElement);

storytext.childNodes[targetChildElement].insertAdjacentHTML(‘afterend’, smartAssetDiv);
smartasset = document.getElementById(‘smartasset-article’);
smartasset.style.float = ‘left’; // allows module to have text float to right
smartasset.style.marginRight =’20px’;
smartasset.style.marginBottom =’25px’;

//console.log(storytext.childNodes[targetChildElement]);
//SMARTASSET.setDivIndex(targetChildElement);
SMARTASSET.setSmartAssetScript();

/* bail out since we’re done */
break;
}

}

/* div with id=”smartassetcontainer”. Sanity check to only embed once */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘div’ && storytext.childNodes[i].id !== “undefined” && storytext.childNodes[i].id === “smartassetcontainer”) {
break;
}

/* div with id=”ie_column” */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘div’ && storytext.childNodes[i].id !== “undefined” && storytext.childNodes[i].id === “ie_column”) {
resetValues();
}

/* embeds from twitter, facebook, youtube */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘div’ && storytext.childNodes[i].classList.contains(’embed’)) {
resetValues();
}

/* cnn video player */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘div’ && storytext.childNodes[i].classList.contains(‘cnnplayer’)) {
resetValues();
}

/* images */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘img’)
{
resetValues();
}

/* images stored in figure tags */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘figure’)
{
if(storytext.childNodes[i].clientWidth

Some 90% of Catalans who voted in a disputed referendum on Oct.1 backed independence. But the turnout was 43%, and many other residents want the region to remain a part of Spain.

Related: Spaniards wake up to a week of uncertainty

Some executives aren’t waiting to see what happens next, and have protectively moved their headquarters out of Catalonia.

Here’s a list of some of the biggest firms on the move:

1) CaixaBank: Spain’s third largest lender by market value, CaixaBank, said Friday it would move its registered office from Barcelona to Valencia. It said its priority was to protect “clients, shareholders and employees” given the current political and social situation.

2) Banco Sabadell: The 135-year-old bank announced late Thursday that its board had decided to shift its legal home to Alicante in southeastern Spain. It said the relocation wouldn’t involve the transfer of any employees.

Banks would be particularly hard hit by a split with Spain as Catalonia would like find itself outside the European Union and its system of regulation and safeguards. In that case, they would also lose the right to do business across the EU.

3) Gas Natural Fenosa: The energy supplier said Friday that legal uncertainty stemming from recent events had prompted its move to the national capital Madrid, which was aimed at protecting the “interests of the company, its customers, employees, creditors and shareholders.”

4) Dogi International Fabrics: The textile maker said on Friday that it would also move to Madrid.

5) Oryzon Genomics: The biotech firm said last week that it was moving from Barcelona to Madrid to “optimize its operational effectiveness and the relationship with its investors.”

Related: More companies quit Catalonia as break from Spain looms

The trickle of companies on the move could turn into a flood if uncertainty increases further.

Spain’s national government made it easier for firms to relocate on Friday, passing a law that removes some of the red tape required to shift a company’s legal home.

CNNMoney (London) First published October 9, 2017: 5:51 AM ET