﻿function loadScript(key) {
                 var src ='<' + 'script src=' + '"' +
                 'http://maps.google.com/maps?file=api&v=2&key='+key+'"'+
                 ' type="text/javascript"><'+'\/script>';
                 document.write(src);}
this.key_greekfirmes = "ABQIAAAAkSDkos9LOAyTfXmlBiX9axQQ1N4Fq9Ow_ajKNdHufjlv4uIEJBRXi4oYtp_EPO7WqpKRcfwVViQm0w";
this.key_mesitoikein = "ABQIAAAAkSDkos9LOAyTfXmlBiX9axTxwDrVV01X-6YswYLqxlfy5A-udhSUoNjmFQjBfJo4LFFhM4uyY5QY4g"
this.key_ikisis = "ABQIAAAAkSDkos9LOAyTfXmlBiX9axRfeJauLsiK6w6eEmXyJ7f4X_1b3BR3AfvWgussAVKM0rAGBMHq8c2mbw"
this.key_DynamicSolutions = "ABQIAAAAkSDkos9LOAyTfXmlBiX9axQ1Xu1QKOmIcou1vKnHlLxN-sjyPhTeA2d5EV_TwCiqo4jENb0Dl1NPbQ"
this.key_focus = "ABQIAAAAkSDkos9LOAyTfXmlBiX9axQuUw3B80lyVPTbuth5h4bVR-_p-hTklUDfdis-xSnRIQdPT9nzBiyMIw"
this.key_omikronestate = "ABQIAAAAkSDkos9LOAyTfXmlBiX9axQo1qJviwrn0e8U3SlKUYZe81fJrhS_SXafcMAj4DE3YB6IF8Zr1l2gkw"
this.key_localhost = "ABQIAAAAkSDkos9LOAyTfXmlBiX9axQSzhLeshQDNUHnm3cJx0LXPbTneBS-B9uXehKipTHXmN7HoBF2Yl7t"

this.key_lazos = "ABQIAAAAkSDkos9LOAyTfXmlBiX9axQfmoL2mqAQIPV6yJIPQRA3KaeEtxRStMk0UJUJWDmCU-i_Q7Voeq6Fzg"
this.key_realbg = "ABQIAAAAkSDkos9LOAyTfXmlBiX9axTp0YNKmTl-L181Hw75px5vxBsXqhSCWc3bkuQ911y6YEJNIKui5nypvw" 
this.key_1aki = "ABQIAAAAkSDkos9LOAyTfXmlBiX9axRN4Fibf45Sbwcpg5dyo_IG1gS4FxRhG5hJy3UHYb6SDto5HTCtk4rnLg" 
 
var reg_1akinita = new RegExp("1akinita");
  if( reg_1akinita.test(window.location.href) ) {loadScript(  this.key_1aki);}
 var reg_greekfirmes = new RegExp("greekfirmes");
 if( reg_greekfirmes.test(window.location.href) ) {
     loadScript(  this.key_greekfirmes);}
 //same as above for next server
 var reg_lazos = new RegExp("lazos");
 if( reg_lazos.test(window.location.href) ) {
     loadScript(this.key_lazos);}
 //same as above for yet another server
 var reg_mesitoikein = new RegExp("mesitoikein");
 if (reg_mesitoikein.test(window.location.href)) {
     loadScript(key_mesitoikein);
 }  
 var reg_ikisis = new RegExp("ikisis");
 if( reg_ikisis.test(window.location.href) ) {
     loadScript(this.key_ikisis);}
var reg_DynamicSolutions = new RegExp("dynamicsolutions");
 if( reg_DynamicSolutions.test(window.location.href) ) {
     loadScript(this.key_DynamicSolutions);}
var reg_focus = new RegExp("focus-gr");
 if( reg_focus.test(window.location.href) ) {
     loadScript(key_focus);}
var reg_DSolutions = new RegExp("DSolutions");
 if( reg_DSolutions.test(window.location.href) ) {
     loadScript(this.key_DynamicSolutions);}            
 
var reg_localhost = new RegExp("MHTRA");
 if( reg_localhost.test(window.location.href) ) {
     loadScript(this.key_focus);}      
 var reg_OMIKRON = new RegExp("OMIKRON");   
 if (reg_OMIKRON.test(window.location.href) ) {
     loadScript(this.key_host_OMIKRON);  }          
 var reg_realb = new RegExp("realb");
 if( reg_realb.test(window.location.href) ) {
     loadScript(this.key_realbg); }
 
