var display_flag = 0;
//COMMENT THE BELOW LINE IF THE ALERT MESSAGE SHOULD NOT BE DISPLAYED.
//display_flag = 1;
var service_alert_heading = "";
var error_message = "";

function setErrorMessage(country,language)
{
	if((country == 'UK' || country == "IR" || country == 'CMIC' ) && language == 'EN')
    {
		service_alert_heading = "D&B Service Alert";
		error_message="<b>We are very sorry that we are currently experiencing technical difficulties with our web-site. We are working extremely hard to restore the service for you and hope it will be available very shortly. Thank you for your patience.<br/><br/>If you need to obtain a D&B report urgently, please telephone our Customer Services team on 0870 243 2344 (select Option 1) and they will be happy to help you.<br/><br/>Once your confirmation of service restoration email has been received, please refresh your browser.</b>";
	}
	else if((country == 'BL') && language == 'DU')
    {
		service_alert_heading = "D&B Service Alert";
        error_message="<b>Tot onze spijt moeten we u melden dat wij momenteel wat technische moeilijkheden hebben met onze website. Wij doen er alles aan om de dienst voor u zo snel mogelijk te herstellen. Wij danken u voor uw begrip.<br/><br/>Als u dringend een D&B rapport nodig hebt, neem dan rechtstreeks contact op met onze klantendienst op het nummer  02/481 83 00. Ze zullen u graag helpen.<br/><br/>Zodra u van ons een bevestiging via email krijgt dat de DBAI toegang weer actief is, gelieve dan eerst even uw browser te verversen. Bedankt alvast.</b>";
	}
	else if((country == 'BL') && language == 'FR')
    {
		service_alert_heading = "D&B Service Alert";
        error_message="<b>Nous sommes désolés, il y a actuellement des problèmes techniques avec notre site Web. Nous mettons tout en oeuvre pour rétablir le service le plus rapidement possible et espérons qu'il sera disponible très prochainement. Nous vous remercions de votre patience.<br/><br/>Si vous souhaitez obtenir un rapport de D&B d'urgence, veuillez téléphoner à notre Service Clientèle au 02/481 83 00. Ils se feront un plaisir de vous aider sur le champs.<br/><br/>Lorsque vous recevrez un e-mail de confirmation de retour à la normale, merci de bien vouloir d'abord rafraîchir votre navigateur.</b>";
	}
	else if((country == 'BL') && language == 'EN')
    {
		service_alert_heading = "D&B Service Alert";
        error_message="<b>We are very sorry that we are currently experiencing technical difficulties with our web-site. We are working extremely hard to restore the service for you and hope it will be available very shortly. Thank you for your patience.<br/><br/>If you need to obtain a D&B report urgently, please telephone our Customer Services team on 02 - 481 83 00 and they will be happy to help you.<br/><br/>Once your confirmation of service restoration email has been received, please refresh your browser.</b>";
	}
	else if((country == 'NL') && language == 'EN')
    {
		service_alert_heading = "D&B Service Alert";
        error_message="<b>We are very sorry that we are currently experiencing technical difficulties with our web-site. We are working extremely hard to restore the service for you and hope it will be available very shortly. Thank you for your patience.<br/><br/>If you need to obtain a D&B report urgently, please telephone our Customer Services team on 010 7109560 and they will be happy to help you.<br/><br/>Once your confirmation of service restoration email has been received, please refresh your browser.</b>";
	}
	else if((country == 'NL') && language == 'DU')
    {
		service_alert_heading = "D&B Service bericht";
        error_message="<b>Helaas moeten we u mededelen dat er momenteel een technische storing is op onze website. We doen er alles aan om de dienst zo snel mogelijk te herstellen. Onze excuses voor de overlast.<br/><br/>Als u dringend een rapport nodig heeft, dan kunt u contact opnemen met onze afdeling Customer services op telefoonnummer 010 7109560.<br/><br/>Zodra u van ons een bevestiging krijgt dat de web site weer actief is, dient u bij voorkeur uw browser te refreshen.</b>";
	}
    else if((country == 'IT') && language == 'IT')
    {
		service_alert_heading = "D&B Service Alert";
        error_message="<b>Siamo spiacenti, ma al momento stiamo rilevando problemi tecnici sul nostro sito web. Stiamo lavorando al fine di rendere i sistemi stabili e disponibili nel più breve tempo possibile.<br/><br/>Se desidera richiedere i Prodotti D&B, il nostro Customer Service è a Sua completa disposizione, sia telefonando al numero 800-821058  che all'email <a class='newslinks' href='mailto:customerserviceitaly@dnb.com'>customerserviceitaly@dnb.com</a><br/><br/>Non appena i sistemi saranno nuovamente disponibili riceverà una email e La preghiamo di cliccare su 'Aggiorna' all'interno del browser da Lei utilizzato.</b>";
	}
    else if((country == 'IT') && language == 'EN')
    {
		service_alert_heading = "D&B Service Alert";
        error_message="<b>We are very sorry that we are currently experiencing technical difficulties with our web-site. We are working extremely hard to restore the service for you and hope it will be available very shortly. Thank you for your patience.<br/><br/>If you need to obtain a D&B report urgently, please telephone our Customer Services team on 800-821058 or send an e-mail to <a class='newslinks' href='mailto:customerserviceitaly@dnb.com'>customerserviceitaly@dnb.com</a> and they will be happy to help you.<br/><br/>Once your confirmation of service restoration email has been received, please refresh your browser.</b>";
	}
}