// JavaScript Document

	var unicode			= new Array();
	unicode["-"]		= "&#45;";
	unicode["."]		= "&#46;";
	unicode["0"]		= "&#48;";
	unicode["1"]		= "&#49;";
	unicode["2"]		= "&#50;";
	unicode["3"]		= "&#51;";
	unicode["4"]		= "&#52;";
	unicode["5"]		= "&#53;";
	unicode["6"]		= "&#54;";
	unicode["7"]		= "&#55;";
	unicode["8"]		= "&#56;";
	unicode["9"]		= "&#57;";
	unicode["@"]		= "&#64;";
	unicode["_"]		= "&#95;";
	unicode["a"]		= "&#97;";
	unicode["b"]		= "&#98;";
	unicode["c"]		= "&#99;";
	unicode["d"]		= "&#100;";
	unicode["e"]		= "&#101;";
	unicode["f"]		= "&#102;";
	unicode["g"]		= "&#103;";
	unicode["h"]		= "&#104;";
	unicode["i"]		= "&#105;";
	unicode["j"]		= "&#106;";
	unicode["k"]		= "&#107;";
	unicode["l"]		= "&#108;";
	unicode["m"]		= "&#109;";
	unicode["n"]		= "&#110;";
	unicode["o"]		= "&#111;";
	unicode["p"]		= "&#112;";
	unicode["q"]		= "&#113;";
	unicode["r"]		= "&#114;";
	unicode["s"]		= "&#115;";
	unicode["t"]		= "&#116;";
	unicode["u"]		= "&#117;";
	unicode["v"]		= "&#118;";
	unicode["w"]		= "&#119;";
	unicode["x"]		= "&#120;";
	unicode["y"]		= "&#121;";
	unicode["z"]		= "&#122;";

function agent( region, level, company, address, localphone, localfax, email, url, dialog, dcg ) {
	this.region		= region || "DE";
	this.level		= level || "";
	this.company	= company || "";
	this.address	= address || "";
	this.localphone	= localphone || "";
	this.localfax	= localfax || "";
	this.email		= email || "";
	this.url 		= url || "";
	this.dialog		= dialog || false;
}
		
function country( ISO3166, de, en){
	this.ISO3166	= ISO3166 || "";
	this.de			= de || "";
	this.en			= en || "";
}

var weCountries = new Array();
weCountries['DE']	= new country('DE','DEUTSCHLAND','GERMANY');
weCountries['CZ']	= new country('CZ','Tschechische Republik','CZECH REPUBLIC');
weCountries['PL']	= new country('PL','POLEN','POLAND');
weCountries['SK']	= new country('SK','SLOWAKEI','SLOVAKIA');
weCountries['RU']	= new country('RU','RUSSLAND','RUSSIAN FEDERATION');
weCountries['UA']	= new country('UA','UKRAINE','UKRAINE');
weCountries['GB']	= new country('GB','GROSSBRITANIEN','UNITED KINGDOM');
weCountries['ES-PT']	= new country('ES-PT','SPANIEN + PORTUGAL','SPAIN + PORTUGAL');
weCountries['AU']	= new country('AU','AUSTRALIEN','AUSTRALIA');
weCountries['NZ']	= new country('NZ','NEUSEELAND','NEW ZEALAND');
weCountries['ID']	= new country('ID','INDONESIEN','INDONESIA');
weCountries['IL']	= new country('IL','ISRAEL','ISRAEL');
weCountries['IR']	= new country('IR','IRAN','ISLAMIC REPUBLIC OF IRAN');
weCountries['KRS']	= new country('KR','KOREA','REPUBLIC OF KOREA');
weCountries['JP']	= new country('JP','JAPAN','JAPAN');
weCountries['SG']	= new country('SG','SINGAPUR','SINGAPORE');
weCountries['SI']	= new country('SI','SLOWENIEN','SLOVENIA');
weCountries['TR']	= new country('TR','TÜRKEI','TURKEY');
weCountries['TW']	= new country('TW','TAIWAN','TAIWAN');
weCountries['TH']	= new country('TH','THAILAND','THAILAND');
weCountries['US']	= new country('US','USA','UNITED STATES');
weCountries['CA']	= new country('CA','KANADA','CANADA');
weCountries['AT']	= new country('AT','ÖSTERREICH','AUSTRIA');
weCountries['BE']	= new country('BE','BELGIEN','BELGIUM');
weCountries['BG']	= new country('BG','BULGARIEN','BULGARIA');
weCountries['CH']	= new country('CH','SCHWEIZ','SWITZERLAND');
weCountries['CN']	= new country('CN','CHINA','CHINA');
weCountries['CY']	= new country('CY','ZYPERN','CYPRUS');
weCountries['DK']	= new country('DK','DÄNEMARK','DENMARK');
weCountries['FI']	= new country('FI','FINLAND','FINLAND');
weCountries['FR']	= new country('FR','FRANKREICH','FRANCE');
weCountries['GR']	= new country('GR','GRIECHENLAND','GREECE');
weCountries['HU']	= new country('HU','UNGARN','HUNGARY');
weCountries['HR']	= new country('HR','KROATIEN','CROATIA');
weCountries['IT']	= new country('IT','ITALIEN','ITALY');
weCountries['MY']	= new country('MY','MALAYSIA','MALAYSIA');
weCountries['NO']	= new country('NO','NORWEGEN','NORWAY');
weCountries['NL']	= new country('NL','NIEDERLANDE','NETHERLANDS');
weCountries['PH']	= new country('PH','PHILIPPINEN','PHILIPPINES');
weCountries['SE']	= new country('SE','SCHWEDEN','SWEDEN');
weCountries['AE']	= new country('AE','VEREINIGTE ARABISCHE EMIRATE','UNITED ARAB EMIRATES');
weCountries['RS-ME']	= new country('RS-ME','SERBIEN + MONTENEGRO','SERBIA + MONTENEGRO');
weCountries['ZA']	= new country('ZA','SÜDAFRIKA','SOUTH AFRICA');

var weContacts = new Array();

/* COUNTRY CODES according to ISO 3166 */

weContacts['gs-north-de'] = new agent ( 'DE','branch-offices','Westland Gummiwerke GmbH &amp; Co. KG<br />Geschäftsstelle','Horneburg','+49 4163 805703','+49 4163 805704','gs.horneburg@westland.eu','',true);
weContacts['gs-west-de'] = new agent ( 'DE','branch-offices','Westland Gummiwerke GmbH &amp; Co. KG<br />Geschäftsstelle','Wuppertal','+49 202 724976','+49 202 720260','gs.wuppertal@westland.eu','',true);
weContacts['gs-zentral-de'] = new agent ( 'DE','branch-offices','Peter Leis Grafische Handelsvertretung','Wetzlar','+49 6441 8706-11','+49 6441 8706-13','peter.leis@t-online.de','',false);
weContacts['gs-south-de'] = new agent ( 'DE','branch-offices','Westland Gummiwerke GmbH &amp; Co. KG<br />Geschäftsstelle','Stuttgart','+49 711 8209454','+49 711 8209455','gs.stuttgart@westland.eu','',true);
weContacts['sc-hannover-de'] = new agent ( 'DE','service-center','Westland Gummiwerke GmbH &amp; Co. KG<br />SC Hannover','Laatzen','+49 5102 675493','+49 5102 675495','gs.hannover@westland.eu','',true);
weContacts['gbi-north-de'] = new agent ( 'DE','branch-offices','Westland Gummiwerke GmbH &amp; Co. KG<br />Industriewalzen Nord','Melle','+49 5422 702-246','+49 5422 702-567','martin.drescher@westland.eu','',true);
weContacts['gbi-south-de'] = new agent ( 'DE','branch-offices','Westland Gummiwerke GmbH &amp; Co. KG<br />Industriewalzen Süd','Melle','+49 5422 702-245','+49 5422 702-567','olaf.gengel@westland.eu','',true);

weContacts['westland'] = new agent ( 'DE','headoffice','Westland Gummiwerke GmbH &amp; Co. KG','49324 Melle','+49 5422 702-0','+49 5422 702-260','beate-maria.laug-stroetzel@westland.eu','',true);
weContacts['westland-ir'] = new agent ( 'DE','headoffice','Westland Gummiwerke GmbH &amp; Co. KG','49324 Melle','+49 5422 702-246','+49 5422 702-567','simply-blue@westland.eu','',true);
weContacts['westland-ma'] = new agent ( 'DE','headoffice','Westland Gummiwerke GmbH &amp; Co. KG','49324 Melle','+49 5422 702-314','+49 5422 702-310','verkauf.formteile@westland.eu','',true);
weContacts['westland-spol'] = new agent ( 'CZ','subsidiary','Westland Spol. s.r.o.','76582 Otrokovice','5 77-66 37 91','5 77-66 37 93','info@westland.cz','www.westland.cz');
weContacts['ligum-cz'] = new agent ( 'CZ','subsidiary','LIGUM spol s.r.o','466 05 Jablonec nad Nisou - Rynovice','04 83 - 30 57 10','04 83 - 30 56 33','ligum@ligum.cz','www.ligum.cz' );
weContacts['ligum-pl'] = new agent ( 'PL','subsidiary','LIGUM Pol Sp. z o.o.','67-200 Glogów','+48/76/834-15-65','+48/76/834-50-38','ligum@ligum.home.pl','www.ligum.pl');
weContacts['ligum-sk'] = new agent ( 'SK','subsidiary','LIGUM spol s r.o.','058 02 Poprad 2','05 27 88 05 00','05 27 88 05 01','ligum@ligum.sk','www.ligum.sk');
weContacts['ligum-rus'] = new agent ( 'RU','subsidiary','LIGUM \(Sales Office\)','125993 Moscow','095 257 47 24','095 257 43 38','ligum@ligum.ru','www.ligum.com');
weContacts['ligum-ua'] = new agent ( 'UA','subsidiary','LIGUM SP TzOV','43020 Lutsk','03 32 - 7 88 - 5 48','03 32 - 7 88 - 5 42','ligum@ligum.lutsk.ua','www.ligum.cz\/ua');
weContacts['martin-westland-es-pt'] = new agent ( 'ES-PT','subsidiary','Martín-Westland Soluciones Gráficas, S.L.','28022 Madrid','91 - 7 48 07 35','91 - 7 48 07 36','martinwestland@martinwestland.com','www.martinwestland.com');

weContacts['brissett-aus'] = new agent ( 'AU','licensees','Brissett Rollers Pty. Ltd.','Tempe - NSW 2044','02 - 95 59 39 00','02 - 95 59 38 99','terry@brissett.com.au','www.brissett.com.au');
weContacts['brissett-nz'] = new agent ( 'NZ','licensees','Brissett Rollers Pty. Ltd.','Tempe - NSW 2044','02 - 95 59 39 00','02 - 95 59 38 99','terry@brissett.com.au','www.brissett.com.au');
weContacts['bfs-gb'] = new agent ( 'GB','licensees','bfs pressroom solutions','Calcot - Berkshire RG31 7SD','0118 930 5999','0118 932 3335','info@bfs-pressroomsolutions.co.uk','www.bfs-pressroomsolutions.co.uk');
weContacts['zentrum-id'] = new agent ( 'ID','licensees','PT Zentrum Graphics Asia','Tangerang, Banten - Indonesia 15310','6221 - 5312 3222','6221 - 5312 4525','zga@zengra.com','www.zengra.com');
weContacts['haglil-il'] = new agent ( 'IL','licensees','Haglil Industrial & Printing Rollers','77107 Ashdod','88 56 68 11','88 56 68 13','mail@haglil.com','www.haglil.co.il');
weContacts['enayat-ir'] = new agent ( 'IR','licensees','Enayat Rubber Co.','Teheran 13588','0 21 - 55 70 77 99','0 21 - 55 71 66 22','info@enayatrubberco.com','www.enayatrubberco.com');
weContacts['sam-hwa-krs'] = new agent ( 'KRS','licensees','SAM HWA Industrial Co., Ltd.','Chungnam + Seoul','41 -  5 43 33 30 \/ 2 - 3 33 - 73 73','41  - 5 42 66 61 \/ 2 - 3 33 - 28 80','kkh1824@korea.com','www.samhwacan.co.kr');
weContacts['techno-roll-jp'] = new agent ( 'JP','licensees','Techno Roll Co. Ltd.','Osaka','0 7 - 25 53 39 33','0 7 - 25 53 39 22','info@technoroll.co.jp','www.technoroll.co.jp');
weContacts['trelleborg-sgp'] = new agent ( 'SG','licensees','Trelleborg Hercules Pte. Ltd.','Singapore 619362','62 65 09 55','62 65 98 53','william.pey@trelleborg.com','www.trelleborg.com');
weContacts['elastomeri-si'] = new agent ( 'SI','licensees','Elastomeri d.o.o.','3000 Celje','34 28 28 28','34 28 28 20','elastomeri@eunet.si','www.elastomeri.si');
weContacts['orhan-cakil-tr'] = new agent ( 'TR','licensees','Orhan Cakil','34306 Başakşehir \/ Istanbul','21 24 85 41 16','21 24 85 41 15','info@orhancakil.com','www.orhancakil.com');
weContacts['woei-puu-tw'] = new agent ( 'TW','licensees','Woei Puu Rubber Co., Ltd.','Taipei Hsien','+886-2-2268-6699','+886-2-2268-5599','woeipuu@ms38.hinet.net','');
weContacts['a-korn-can'] = new agent ( 'CA','licensees','A-Korn Roller, Inc.','60609 Chicago, Illinois 1525','7 73 - 2 54 57 00','7 73 - 6 50 73 55','a-kornroller@a-kornroller.com','www.a-kornroller.com');
weContacts['a-korn-usa'] = new agent ( 'US','licensees','A-Korn Roller, Inc.','60609 Chicago, Illinois 1525','7 73 - 2 54 57 00','7 73 - 6 50 73 55','a-kornroller@a-kornroller.com','www.a-kornroller.com');
weContacts['bangkok-roller-th'] = new agent ( 'TH','licensees','Bangkok Roller Co.','Samut Sakhon 74000','0066-2-416-2288','0066-2-416-1881','info@bangkokroller.com','www.bangkokroller.com');

weContacts['korherr-at'] = new agent ( 'AT','agencies','F. R. Korherr Graphischer Fachhandel GmbH','3943 Schrems','0 28 53 - 7 65 18','0 28 53 - 7 60 18','office@korherr.net','');
weContacts['plantin-be'] = new agent ( 'BE','agencies','Plantin N.V.','1140 Brüssel','02 - 7 27 31 11','02 - 7 27 35 03','info@plantin.be','www.plantin.be');
weContacts['bulgraphica-bg'] = new agent ( 'BG','agencies','Bulgraphica Ltd.','1784 Sofia','9 - 29 75 33 97','9 - 29 75 33 97','bulgraph@bgnet.bg','');
weContacts['manroland-ch'] = new agent ( 'CH','agencies','manroland Swiss AG','3422 Kirchberg BE','03 - 44 47 71 11','03 - 44 47 74 22','info@manroland.ch','www.manroland.ch');
weContacts['shanghai-prospective-cn'] = new agent ( 'CN','agencies','Shanghai Prospective Print Supplies \(Ltd.\) Co.','Shanghai 200126','0 21 54 25 04 26','0 21 54 25 04 27','','');
weContacts['attikouris-cy'] = new agent ( 'CY','agencies','Attikouris Enterprises Ltd.','3735 Limassol','25 72 05 61','25 72 04 61','attikouris@attikouris.com','www.attikouris.com');
weContacts['piculell-dk'] = new agent ( 'DK','agencies','Piculell Grafisk Ex-\/ Import A\/S','2635 Ishoj','43 - 71 03 30','43 - 71 03 08','piculell@piculell.dk','www.piculell.dk');
weContacts['manroland-fi'] = new agent ( 'FI','agencies','manroland Finland OY','01511 Vantaa','09 - 72 56 65 00','09 - 72 56 65 55','info@manroland.fi','www.manroland.fi');
weContacts['huber-fr'] = new agent ( 'FR','agencies','Huber France S.A.S.','67670 Mommenheim','03 88 - 59 19 20','03 88 - 59 19 30','info@huberfrance.fr','www.huberfrance.fr');
weContacts['eurograph-gr'] = new agent ( 'GR','agencies','Eurograph S.A.','10442 Athens','210 - 5 15 75 97','210 - 5 15 75 98','eurograph@ontelecoms.gr','');
weContacts['schneider-graphik-hu'] = new agent ( 'HU','agencies','Schneider Graphik Kft.','2800 Tatabanya','0 34 33 16 01','0 34 33 16 01','gyorgy@schneider.axelero.net','');
weContacts['mueller-martini-hr'] = new agent ( 'HR','agencies','Müller Martini Zagreb d.o.o.','10000 Zagreb','3 75 68 95','3 75 68 96','zeljko.pokupec@hr.mullermartini.com','www.mullermartini.com');
weContacts['trelleborg-it'] = new agent ( 'IT','agencies','Trelleborg Coated Systems Italia S.r.l.','20096 Pioltello \(Milano\)','02 - 92 1 60 40','02 - 92 1 61 31','','www.trelleborg.com');
weContacts['printgraph-it'] = new agent ( 'IT','agencies','Printgraph S.P.A.','20019 Settimo Milanese \(MI\) - Via Galvani Luigi\, 25\, 26\, 27','+39.02/32.88.121 ','+39.02/32.87.741 ','info@printgraph.it','www.printgraph.it');
weContacts['ds-chemport-malaysia'] = new agent ( 'MY','agencies','DS Chemport \(M\) SDN BHD','40200 Shah Alam - Selangor Darul Ehsan','6 03 - 56 31 11 73','6 03 - 56 31 22 12','dscmal@tm.net.my','www.dscmal.com.my');
weContacts['manroland-no'] = new agent ( 'NO','agencies','manroland Norge a.s.','1471 Lorenskog','67 92 11 80','67 90 54 50','info@manroland.no','www.manroland.no');
weContacts['manroland-nl'] = new agent ( 'NL','agencies','manroland Benelux N.V. Branch Nederland','1101 AG Amsterdam Zuidoost','0 20 5 87 - 22 22','0 20 5 87 - 26 00','info@manrolandbenelux.nl','www.manrolandbenelux.nl');
weContacts['printing-chemicals-ph'] = new agent ( 'PH','agencies','Printing Chemicals Inc.','1115 Quezon City','2 365 35 16','2 365 72 31','printchem@skydsl.com.ph','');
weContacts['manroland-se'] = new agent ( 'SE','agencies','manroland Sverige AB','46129 Trollhättan','05 20 - 8 93 00','05 20 - 3 98 88','www.manroland.se','info@manroland.se');
weContacts['east-excel-tw'] = new agent ( 'TW','agencies','East Excel Enterprise Co.\, Ltd.','Taipei','02 - 27 69-01 20','02 - 27 56-03 41','east.excel@msa.hinet.net','');
weContacts['universal-graphic-uae'] = new agent ( 'AE','agencies','Universal Graphic Trading','Dubai','4 - 26 77 907','4 - 26 77 908','xyzprint@eim.ae','www.xyzprint.com');
weContacts['intergraphic-xs-xm'] = new agent ( 'RS-ME','agencies','Intergraphic d.o.o.','11000 Belgrade','1 13 94 32 41','1 13 94 32 81','www.intergraphic.co.yu','');
weContacts['printech-za'] = new agent ( 'ZA','agencies','Printech Engineering Pty. Ltd.','7441 Killarney Gardens \/ Cape Town','21 5 56 09 80','21 5 56 09 77','www.printech.co.za','');

function validEmail(checkEmail){
	var a = false;
	var res = false;
	if(typeof(RegExp) == 'function'){
		var b = new RegExp('abc');
		if(b.test('abc') == true){
			a = true;
		}
    }

	if(a == true){
		reg = new RegExp('^([a-zA-Z0-9\\-\\.\\_]+)' + '(\\@)([a-zA-Z0-9\\-\\.]+)' + '(\\.)([a-zA-Z]{2,4})$');
		res = (reg.test(checkEmail));
    }else{
		res = (checkEmail.search('@') >= 1 && checkEmail.lastIndexOf('.') > checkEmail.search('@') && checkEmail.lastIndexOf('.') >= checkEmail.length-5)
    }

	return(res);
}

function validURL(checkURL) {
	var regexp = /(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/
	return regexp.test(checkURL);
}

function emailToUnicode(lang, email, dialog, dcg){
	this.lang			= lang || "de";	
	this.email			= email || "";
	this.dialog			= dialog || false;
	this.dcg			= dcg || "";
	this.unicodedEmail	= "";
	this.i				= 0;
	this.char			= "";
	this.lcEmail		= email.toLowerCase;
	this.linkText		= "";
	this.dcp			= email.split("\@");

	if(lang=="de"){
		linkText = "Nachricht senden...";	
	}

	if(lang=="en"){
		linkText = "Send message...";
	}

	if(!validEmail(email)){
		return false;
	}else{
		for(i; i < email.length; i++){
			char = email.substring(i,i+1);
			unicodedEmail += unicode[char];
		}
		if(dialog==false){
			return "<!-- secured by deetraxx spambottools V0.1--><a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;" + unicodedEmail + "\">" + linkText + "<\/a><!-- secured by deetraxx spambottools V0.1 -->";
		}else{
			return "<a href=\"/dialog30/dialog.dll.php?dlng=" + lang + "&amp;dl=ger&amp;dcg=" + dcg + "&amp;dwf=true&amp;dcp=" + dcp[0] + "\">" + linkText + "<\/a>";			
		}
	}
}

function urlToUnicode(lang, url){
	this.lang			= lang || "de";
	this.url			= url || "";
	this.unicodedURL	= "";
	this.i				= 0;
	this.char			= "";
	this.lcURL			= url.toLowerCase;
	this.linkText		= "";

	if(lang=="de"){
		linkText = "Zur Homepage...";	
	}

	if(lang=="en"){
		linkText = "Visit homepage...";
	}

	if(!validURL(url)){
		return false;	
	}else{
		for(i; i < url.length; i++){
			char = url.substring(i,i+1);
			unicodedURL += unicode[char];
		}
		return "<!-- secured by deetraxx spambottools V0.1--><a href=\"&#104;&#116;&#116;&#112;&#58;&#47;&#47;"+ unicodedURL + "\">" + linkText + "<\/a><!-- secured by deetraxx spambottools V0.1 -->";
	}

}

function insertValidEmail(lang, email, dialog, dcg){
		this.lang			= lang || "de";
		this.email			= email;
		this.dialog			= dialog || false;
		this.dcg			= dcg || "";
		this.insertString	= "";
		if(emailToUnicode(lang,email,dialog,dcg)!=false){
			insertString	= "<div class=\"contactMail\">";
			insertString	+=emailToUnicode(lang,email,dialog,dcg);
			insertString	+= "<\/div>";
			return insertString;
		}else{
			return "";	
		}
}

function insertValidUrl(lang, url){
	this.lang				= lang || "de";
	this.url				= url;
	this.insertString		= "";
	if(urlToUnicode(lang,url)!=false){
		insertString	= "<div class=\"contactExtLink\">";
		insertString	+=urlToUnicode(lang,url);
		insertString	+= "<\/div>";
		return insertString;
	}else{
		return "";
	}
}

function writeContactDetails(lang, location, dcg){
	this.lang			= lang || "de";
	this.dcg			= dcg || "";
	showContactDetails(this);
	document.getElementById('vcard').innerHTML = ""
		+ "<div class=\"vcardTop\"><img id=\"vcardClose\" src=\"/images/icon/icon-close-16x16px.gif\"><\/div>"
//		+ "<div class=\"vcardTR\">"
//		+ "<div class=\"vcardTL\">"
//		+ "<div class=\"vcardBR\">"
//		+ "<div class=\"vcardBL\">"
		+ "<div class=\"vcardDetails\">"
		+ "<p class=\"company\">" + weContacts[location].company + "<\/p>"
		+ "<p class=\"region" + weContacts[location].region +"\">"
		+ weContacts[location].address
		+ "<\/p>"
		+ "<div class=\"contactPhone\">"
		+ weContacts[location].localphone 
		+ "<\/div>"
		+ "<div class=\"contactFax\">"
		+ weContacts[location].localfax 
		+ "<\/div>"
		+ insertValidEmail(lang,weContacts[location].email,weContacts[location].dialog,dcg)
		+ insertValidUrl(lang,weContacts[location].url)
		+ "<\/div>"
//		+ "<\/div>"
//		+ "<\/div>"
//		+ "<\/div>"
//		+ "<\/div>";
		+ "<div class=\"vcardBottom\"><\/div>"
		var objCloseVcard = document.getElementById('vcardClose');
		objCloseVcard.onclick 					= function () {
			hideContactDetails();
			return false;
		}
}

function writeToolTipText(lang, loc){
	this.lang			= lang || "de";
	this.loc			= loc || "DE";
	this.toolTip		= "";
	this.toolTipText	= "";
	this.toolTipCountry = "";
	
	if(lang=="de"){
		toolTipText = "<p class=\'toolTipText\'>Klicken Sie auf die Karte, um die <\/p><p class=\'toolTipText\'>Kontaktinformationen anzeigen zu lassen.<\/p>"; 
		toolTipCountry = weCountries[loc].de;
	}
	
	if(lang=="en"){
		toolTipText = "<p class=\'toolTipText\'>Click on the map, to display<\/p><p class=\'toolTipText\'>the contact information.<\/p>"; 
		toolTipCountry = weCountries[loc].en;
	}
	
	toolTip += "<p class=\'toolTipHeadline\'><img src=\'/images/flags/" + loc + ".gif\'>"+ toolTipCountry +"<\/p>";
	toolTip += "" + toolTipText + "";
	
	return toolTip;
}

function writeMiniMaps(lang, map){
	this.lang			= lang || "de";
	this.mapType		= "";
	this.toolTipMap		= map || "europe";
	this.toolTipText	= "";
	this.toolTip		= "";
		
	if(lang=="de"){
		if(map=="world"){
			mapType="Weltkarte";	
		}
		if(map=="europe"){
			mapType="Europakarte";	
		}
		if(map=="germany"){
			mapType="Deutschlandkarte";	
		}
		toolTipText = "<p class=\'toolTipText\'>Klicken zur Anzeige<\/p><p class=\'toolTipText\'>der " + mapType + "<\/p>"; 
	}
	
	if(lang=="en"){
		if(map=="world"){
			mapType="World Map";	
		}
		if(map=="europe"){
			mapType="Euroboard";	
		}
		if(map=="germany"){
			mapType="Map of Germany";	
		}
		toolTipText = "<p class=\'toolTipText\'>Click here to display<\/p><p class=\'toolTipText\'>the " + mapType + "<\/p>"; 
	}
	
	if((map=="world") || (map=="europe") || (map=="germany")){
		toolTipMap	= "dialog-tool-tip-minimap-" + map + "-127x64px.gif";
	}else{
		toolTipMap	= "dialog-tool-tip-minimap-world-127x64px.gif";	
	}
	
	toolTip += "<p><img src=\'/images/maps/" + toolTipMap + "\'><\/p>";
	toolTip += "" + toolTipText + "";
	
	return toolTip;
}
